var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372603&x=5045',
		'title': '',
		'imageId': '68372603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372598&x=5045',
		'title': '',
		'imageId': '68372598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372602&x=5045',
		'title': '',
		'imageId': '68372602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372604&x=5045',
		'title': '',
		'imageId': '68372604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372606&x=5045',
		'title': '',
		'imageId': '68372606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372601&x=5045',
		'title': '',
		'imageId': '68372601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372600&x=5045',
		'title': '',
		'imageId': '68372600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372599&x=5045',
		'title': '',
		'imageId': '68372599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372607&x=5045',
		'title': '',
		'imageId': '68372607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372608&x=5045',
		'title': '',
		'imageId': '68372608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935835&docid=68372605&x=5045',
		'title': '',
		'imageId': '68372605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935835';

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