var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587884&x=411',
		'title': '',
		'imageId': '68587884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587885&x=411',
		'title': '',
		'imageId': '68587885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587886&x=411',
		'title': '',
		'imageId': '68587886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587889&x=411',
		'title': '',
		'imageId': '68587889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587888&x=411',
		'title': '',
		'imageId': '68587888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587894&x=411',
		'title': '',
		'imageId': '68587894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587887&x=411',
		'title': '',
		'imageId': '68587887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587890&x=411',
		'title': '',
		'imageId': '68587890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587892&x=411',
		'title': '',
		'imageId': '68587892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587893&x=411',
		'title': '',
		'imageId': '68587893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956707&docid=68587891&x=411',
		'title': '',
		'imageId': '68587891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956707';

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