var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750178&x=74',
		'title': '',
		'imageId': '64750178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750179&x=74',
		'title': '',
		'imageId': '64750179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750180&x=74',
		'title': '',
		'imageId': '64750180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750181&x=74',
		'title': '',
		'imageId': '64750181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750186&x=74',
		'title': '',
		'imageId': '64750186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750182&x=74',
		'title': '',
		'imageId': '64750182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750183&x=74',
		'title': '',
		'imageId': '64750183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750184&x=74',
		'title': '',
		'imageId': '64750184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750185&x=74',
		'title': '',
		'imageId': '64750185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750187&x=74',
		'title': '',
		'imageId': '64750187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750188&x=74',
		'title': '',
		'imageId': '64750188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750189&x=74',
		'title': '',
		'imageId': '64750189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750190&x=74',
		'title': '',
		'imageId': '64750190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750191&x=74',
		'title': '',
		'imageId': '64750191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750192&x=74',
		'title': '',
		'imageId': '64750192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750193&x=74',
		'title': '',
		'imageId': '64750193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750194&x=74',
		'title': '',
		'imageId': '64750194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750227&x=74',
		'title': '',
		'imageId': '64750227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750239&x=74',
		'title': '',
		'imageId': '64750239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750195&x=74',
		'title': '',
		'imageId': '64750195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750196&x=74',
		'title': '',
		'imageId': '64750196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750197&x=74',
		'title': '',
		'imageId': '64750197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750198&x=74',
		'title': '',
		'imageId': '64750198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750213&x=74',
		'title': '',
		'imageId': '64750213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750248&x=74',
		'title': '',
		'imageId': '64750248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750254&x=74',
		'title': '',
		'imageId': '64750254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750177&x=74',
		'title': '',
		'imageId': '64750177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922371&docid=64750261&x=74',
		'title': '',
		'imageId': '64750261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922371';

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