var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435633&x=2854',
		'title': '',
		'imageId': '68435633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435634&x=2854',
		'title': '',
		'imageId': '68435634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435631&x=2854',
		'title': '',
		'imageId': '68435631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435637&x=2854',
		'title': '',
		'imageId': '68435637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435638&x=2854',
		'title': '',
		'imageId': '68435638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435629&x=2854',
		'title': '',
		'imageId': '68435629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435630&x=2854',
		'title': '',
		'imageId': '68435630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435635&x=2854',
		'title': '',
		'imageId': '68435635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435632&x=2854',
		'title': '',
		'imageId': '68435632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435639&x=2854',
		'title': '',
		'imageId': '68435639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943805&docid=68435636&x=2854',
		'title': '',
		'imageId': '68435636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943805';

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