var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388895&x=443',
		'title': '',
		'imageId': '69388895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388892&x=443',
		'title': '',
		'imageId': '69388892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388894&x=443',
		'title': '',
		'imageId': '69388894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388893&x=443',
		'title': '',
		'imageId': '69388893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388888&x=443',
		'title': '',
		'imageId': '69388888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388887&x=443',
		'title': '',
		'imageId': '69388887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388890&x=443',
		'title': '',
		'imageId': '69388890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388886&x=443',
		'title': '',
		'imageId': '69388886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388891&x=443',
		'title': '',
		'imageId': '69388891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388896&x=443',
		'title': '',
		'imageId': '69388896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985270&docid=69388889&x=443',
		'title': '',
		'imageId': '69388889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985270';

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