var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611698&x=2710',
		'title': '',
		'imageId': '68611698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611696&x=2710',
		'title': '',
		'imageId': '68611696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611699&x=2710',
		'title': '',
		'imageId': '68611699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611697&x=2710',
		'title': '',
		'imageId': '68611697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611701&x=2710',
		'title': '',
		'imageId': '68611701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611703&x=2710',
		'title': '',
		'imageId': '68611703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611702&x=2710',
		'title': '',
		'imageId': '68611702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611704&x=2710',
		'title': '',
		'imageId': '68611704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611706&x=2710',
		'title': '',
		'imageId': '68611706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611705&x=2710',
		'title': '',
		'imageId': '68611705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951086&docid=68611700&x=2710',
		'title': '',
		'imageId': '68611700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951086';

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