var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501275&x=4158',
		'title': '',
		'imageId': '4501275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501281&x=4158',
		'title': '',
		'imageId': '4501281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501284&x=4158',
		'title': '',
		'imageId': '4501284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501272&x=4158',
		'title': '',
		'imageId': '4501272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501287&x=4158',
		'title': '',
		'imageId': '4501287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501292&x=4158',
		'title': '',
		'imageId': '4501292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501295&x=4158',
		'title': '',
		'imageId': '4501295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=670176&docid=4501298&x=4158',
		'title': '',
		'imageId': '4501298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #670176';

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