var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855008&x=1439',
		'title': '',
		'imageId': '68855008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855007&x=1439',
		'title': '',
		'imageId': '68855007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855081&x=1439',
		'title': '',
		'imageId': '68855081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855082&x=1439',
		'title': '',
		'imageId': '68855082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855112&x=1439',
		'title': '',
		'imageId': '68855112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855111&x=1439',
		'title': '',
		'imageId': '68855111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855176&x=1439',
		'title': '',
		'imageId': '68855176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855177&x=1439',
		'title': '',
		'imageId': '68855177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855186&x=1439',
		'title': '',
		'imageId': '68855186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855187&x=1439',
		'title': '',
		'imageId': '68855187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961986&docid=68855189&x=1439',
		'title': '',
		'imageId': '68855189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961986';

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