var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987731&x=1910',
		'title': '',
		'imageId': '68987731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987732&x=1910',
		'title': '',
		'imageId': '68987732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987733&x=1910',
		'title': '',
		'imageId': '68987733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987734&x=1910',
		'title': '',
		'imageId': '68987734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987735&x=1910',
		'title': '',
		'imageId': '68987735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987736&x=1910',
		'title': '',
		'imageId': '68987736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968520&docid=68987737&x=1910',
		'title': '',
		'imageId': '68987737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968520';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
