var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173132&x=3126',
		'title': '',
		'imageId': '67173132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173133&x=3126',
		'title': '',
		'imageId': '67173133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173134&x=3126',
		'title': '',
		'imageId': '67173134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173135&x=3126',
		'title': '',
		'imageId': '67173135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173136&x=3126',
		'title': '',
		'imageId': '67173136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173137&x=3126',
		'title': '',
		'imageId': '67173137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173138&x=3126',
		'title': '',
		'imageId': '67173138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173139&x=3126',
		'title': '',
		'imageId': '67173139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173140&x=3126',
		'title': '',
		'imageId': '67173140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173141&x=3126',
		'title': '',
		'imageId': '67173141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891090&docid=67173142&x=3126',
		'title': '',
		'imageId': '67173142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891090';

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