var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963453&x=1944',
		'title': '',
		'imageId': '68963453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963443&x=1944',
		'title': '',
		'imageId': '68963443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963447&x=1944',
		'title': '',
		'imageId': '68963447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963450&x=1944',
		'title': '',
		'imageId': '68963450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963449&x=1944',
		'title': '',
		'imageId': '68963449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963445&x=1944',
		'title': '',
		'imageId': '68963445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963444&x=1944',
		'title': '',
		'imageId': '68963444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963442&x=1944',
		'title': '',
		'imageId': '68963442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963446&x=1944',
		'title': '',
		'imageId': '68963446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963452&x=1944',
		'title': '',
		'imageId': '68963452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963448&x=1944',
		'title': '',
		'imageId': '68963448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966546&docid=68963451&x=1944',
		'title': '',
		'imageId': '68963451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966546';

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";
	})
}
