var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928761&x=472',
		'title': '',
		'imageId': '69928761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928760&x=472',
		'title': '',
		'imageId': '69928760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928762&x=472',
		'title': '',
		'imageId': '69928762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928764&x=472',
		'title': '',
		'imageId': '69928764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928776&x=472',
		'title': '',
		'imageId': '69928776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928778&x=472',
		'title': '',
		'imageId': '69928778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928783&x=472',
		'title': '',
		'imageId': '69928783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928765&x=472',
		'title': '',
		'imageId': '69928765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928785&x=472',
		'title': '',
		'imageId': '69928785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928763&x=472',
		'title': '',
		'imageId': '69928763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928786&x=472',
		'title': '',
		'imageId': '69928786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928774&x=472',
		'title': '',
		'imageId': '69928774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928768&x=472',
		'title': '',
		'imageId': '69928768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928790&x=472',
		'title': '',
		'imageId': '69928790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928792&x=472',
		'title': '',
		'imageId': '69928792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008734&docid=69928795&x=472',
		'title': '',
		'imageId': '69928795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008734';

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