var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179369&x=5344',
		'title': '',
		'imageId': '68179369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179371&x=5344',
		'title': '',
		'imageId': '68179371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179366&x=5344',
		'title': '',
		'imageId': '68179366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179362&x=5344',
		'title': '',
		'imageId': '68179362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179372&x=5344',
		'title': '',
		'imageId': '68179372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179368&x=5344',
		'title': '',
		'imageId': '68179368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179365&x=5344',
		'title': '',
		'imageId': '68179365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179367&x=5344',
		'title': '',
		'imageId': '68179367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179364&x=5344',
		'title': '',
		'imageId': '68179364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179370&x=5344',
		'title': '',
		'imageId': '68179370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932157&docid=68179363&x=5344',
		'title': '',
		'imageId': '68179363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932157';

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