var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865312&x=5352',
		'title': '',
		'imageId': '69865312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865310&x=5352',
		'title': '',
		'imageId': '69865310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865353&x=5352',
		'title': '',
		'imageId': '69865353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865313&x=5352',
		'title': '',
		'imageId': '69865313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865311&x=5352',
		'title': '',
		'imageId': '69865311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865315&x=5352',
		'title': '',
		'imageId': '69865315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865316&x=5352',
		'title': '',
		'imageId': '69865316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865317&x=5352',
		'title': '',
		'imageId': '69865317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865444&x=5352',
		'title': '',
		'imageId': '69865444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865445&x=5352',
		'title': '',
		'imageId': '69865445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865447&x=5352',
		'title': '',
		'imageId': '69865447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006289&docid=69865446&x=5352',
		'title': '',
		'imageId': '69865446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006289';

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