var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317437&x=67',
		'title': '',
		'imageId': '68317437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317440&x=67',
		'title': '',
		'imageId': '68317440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317435&x=67',
		'title': '',
		'imageId': '68317435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317439&x=67',
		'title': '',
		'imageId': '68317439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317434&x=67',
		'title': '',
		'imageId': '68317434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317441&x=67',
		'title': '',
		'imageId': '68317441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317433&x=67',
		'title': '',
		'imageId': '68317433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317436&x=67',
		'title': '',
		'imageId': '68317436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317432&x=67',
		'title': '',
		'imageId': '68317432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317430&x=67',
		'title': '',
		'imageId': '68317430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317431&x=67',
		'title': '',
		'imageId': '68317431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937879&docid=68317438&x=67',
		'title': '',
		'imageId': '68317438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937879';

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