var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728137&x=2228',
		'title': '',
		'imageId': '68728137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728133&x=2228',
		'title': '',
		'imageId': '68728133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728132&x=2228',
		'title': '',
		'imageId': '68728132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728141&x=2228',
		'title': '',
		'imageId': '68728141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728134&x=2228',
		'title': '',
		'imageId': '68728134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728139&x=2228',
		'title': '',
		'imageId': '68728139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728136&x=2228',
		'title': '',
		'imageId': '68728136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728138&x=2228',
		'title': '',
		'imageId': '68728138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728140&x=2228',
		'title': '',
		'imageId': '68728140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955975&docid=68728135&x=2228',
		'title': '',
		'imageId': '68728135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955975';

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