var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138101&x=4359',
		'title': '',
		'imageId': '68138101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138102&x=4359',
		'title': '',
		'imageId': '68138102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138103&x=4359',
		'title': '',
		'imageId': '68138103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138104&x=4359',
		'title': '',
		'imageId': '68138104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138105&x=4359',
		'title': '',
		'imageId': '68138105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138106&x=4359',
		'title': '',
		'imageId': '68138106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138107&x=4359',
		'title': '',
		'imageId': '68138107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138108&x=4359',
		'title': '',
		'imageId': '68138108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138109&x=4359',
		'title': '',
		'imageId': '68138109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138110&x=4359',
		'title': '',
		'imageId': '68138110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930521&docid=68138111&x=4359',
		'title': '',
		'imageId': '68138111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930521';

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