var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626867&x=4511',
		'title': '',
		'imageId': '626867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626868&x=4511',
		'title': '',
		'imageId': '626868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626869&x=4511',
		'title': '',
		'imageId': '626869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626870&x=4511',
		'title': '',
		'imageId': '626870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626871&x=4511',
		'title': '',
		'imageId': '626871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626872&x=4511',
		'title': '',
		'imageId': '626872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626873&x=4511',
		'title': '',
		'imageId': '626873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179589&docid=626874&x=4511',
		'title': '',
		'imageId': '626874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179589';

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