var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690887&x=5050',
		'title': '',
		'imageId': '69690887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690885&x=5050',
		'title': '',
		'imageId': '69690885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690884&x=5050',
		'title': '',
		'imageId': '69690884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690896&x=5050',
		'title': '',
		'imageId': '69690896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690890&x=5050',
		'title': '',
		'imageId': '69690890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690886&x=5050',
		'title': '',
		'imageId': '69690886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690889&x=5050',
		'title': '',
		'imageId': '69690889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690892&x=5050',
		'title': '',
		'imageId': '69690892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690888&x=5050',
		'title': '',
		'imageId': '69690888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690897&x=5050',
		'title': '',
		'imageId': '69690897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690895&x=5050',
		'title': '',
		'imageId': '69690895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690891&x=5050',
		'title': '',
		'imageId': '69690891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690898&x=5050',
		'title': '',
		'imageId': '69690898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690899&x=5050',
		'title': '',
		'imageId': '69690899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690893&x=5050',
		'title': '',
		'imageId': '69690893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999242&docid=69690894&x=5050',
		'title': '',
		'imageId': '69690894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999242';

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