var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070287&x=936',
		'title': '',
		'imageId': '68070287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070288&x=936',
		'title': '',
		'imageId': '68070288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070289&x=936',
		'title': '',
		'imageId': '68070289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070290&x=936',
		'title': '',
		'imageId': '68070290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070291&x=936',
		'title': '',
		'imageId': '68070291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070292&x=936',
		'title': '',
		'imageId': '68070292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070293&x=936',
		'title': '',
		'imageId': '68070293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070297&x=936',
		'title': '',
		'imageId': '68070297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070294&x=936',
		'title': '',
		'imageId': '68070294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070298&x=936',
		'title': '',
		'imageId': '68070298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070295&x=936',
		'title': '',
		'imageId': '68070295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927258&docid=68070296&x=936',
		'title': '',
		'imageId': '68070296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927258';

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