var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834424&x=5136',
		'title': '',
		'imageId': '69834424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834375&x=5136',
		'title': '',
		'imageId': '69834375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834370&x=5136',
		'title': '',
		'imageId': '69834370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834372&x=5136',
		'title': '',
		'imageId': '69834372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834373&x=5136',
		'title': '',
		'imageId': '69834373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834374&x=5136',
		'title': '',
		'imageId': '69834374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834371&x=5136',
		'title': '',
		'imageId': '69834371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834410&x=5136',
		'title': '',
		'imageId': '69834410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834409&x=5136',
		'title': '',
		'imageId': '69834409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834408&x=5136',
		'title': '',
		'imageId': '69834408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004888&docid=69834411&x=5136',
		'title': '',
		'imageId': '69834411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004888';

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