var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508772&x=4038',
		'title': '',
		'imageId': '68508772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508796&x=4038',
		'title': '',
		'imageId': '68508796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508774&x=4038',
		'title': '',
		'imageId': '68508774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508777&x=4038',
		'title': '',
		'imageId': '68508777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508775&x=4038',
		'title': '',
		'imageId': '68508775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508778&x=4038',
		'title': '',
		'imageId': '68508778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508791&x=4038',
		'title': '',
		'imageId': '68508791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508773&x=4038',
		'title': '',
		'imageId': '68508773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508795&x=4038',
		'title': '',
		'imageId': '68508795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508787&x=4038',
		'title': '',
		'imageId': '68508787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947038&docid=68508794&x=4038',
		'title': '',
		'imageId': '68508794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947038';

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