var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187168&x=1810',
		'title': '',
		'imageId': '68187168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187145&x=1810',
		'title': '',
		'imageId': '68187145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187166&x=1810',
		'title': '',
		'imageId': '68187166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187153&x=1810',
		'title': '',
		'imageId': '68187153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187148&x=1810',
		'title': '',
		'imageId': '68187148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187146&x=1810',
		'title': '',
		'imageId': '68187146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187149&x=1810',
		'title': '',
		'imageId': '68187149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187150&x=1810',
		'title': '',
		'imageId': '68187150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187158&x=1810',
		'title': '',
		'imageId': '68187158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187159&x=1810',
		'title': '',
		'imageId': '68187159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932427&docid=68187162&x=1810',
		'title': '',
		'imageId': '68187162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932427';

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