var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606583&x=4010',
		'title': '',
		'imageId': '2606583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606602&x=4010',
		'title': '',
		'imageId': '2606602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606625&x=4010',
		'title': '',
		'imageId': '2606625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606634&x=4010',
		'title': '',
		'imageId': '2606634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606639&x=4010',
		'title': '',
		'imageId': '2606639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606645&x=4010',
		'title': '',
		'imageId': '2606645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606648&x=4010',
		'title': '',
		'imageId': '2606648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476737&docid=2606651&x=4010',
		'title': '',
		'imageId': '2606651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476737';

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