var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278758&x=5513',
		'title': '',
		'imageId': '68278758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278754&x=5513',
		'title': '',
		'imageId': '68278754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278757&x=5513',
		'title': '',
		'imageId': '68278757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278755&x=5513',
		'title': '',
		'imageId': '68278755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278752&x=5513',
		'title': '',
		'imageId': '68278752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278756&x=5513',
		'title': '',
		'imageId': '68278756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278753&x=5513',
		'title': '',
		'imageId': '68278753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278760&x=5513',
		'title': '',
		'imageId': '68278760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278759&x=5513',
		'title': '',
		'imageId': '68278759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278762&x=5513',
		'title': '',
		'imageId': '68278762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946013&docid=68278761&x=5513',
		'title': '',
		'imageId': '68278761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946013';

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