var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688282&x=3622',
		'title': '',
		'imageId': '68688282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688283&x=3622',
		'title': '',
		'imageId': '68688283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688284&x=3622',
		'title': '',
		'imageId': '68688284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688285&x=3622',
		'title': '',
		'imageId': '68688285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688286&x=3622',
		'title': '',
		'imageId': '68688286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688287&x=3622',
		'title': '',
		'imageId': '68688287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688288&x=3622',
		'title': '',
		'imageId': '68688288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688289&x=3622',
		'title': '',
		'imageId': '68688289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688292&x=3622',
		'title': '',
		'imageId': '68688292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688293&x=3622',
		'title': '',
		'imageId': '68688293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954686&docid=68688295&x=3622',
		'title': '',
		'imageId': '68688295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954686';

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