var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131993&x=337',
		'title': '',
		'imageId': '69131993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131992&x=337',
		'title': '',
		'imageId': '69131992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131998&x=337',
		'title': '',
		'imageId': '69131998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131999&x=337',
		'title': '',
		'imageId': '69131999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131997&x=337',
		'title': '',
		'imageId': '69131997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131994&x=337',
		'title': '',
		'imageId': '69131994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69132001&x=337',
		'title': '',
		'imageId': '69132001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131995&x=337',
		'title': '',
		'imageId': '69131995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69132000&x=337',
		'title': '',
		'imageId': '69132000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131991&x=337',
		'title': '',
		'imageId': '69131991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974357&docid=69131996&x=337',
		'title': '',
		'imageId': '69131996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974357';

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