var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640845&x=4825',
		'title': '',
		'imageId': '68640845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640824&x=4825',
		'title': '',
		'imageId': '68640824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640846&x=4825',
		'title': '',
		'imageId': '68640846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640844&x=4825',
		'title': '',
		'imageId': '68640844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640847&x=4825',
		'title': '',
		'imageId': '68640847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640829&x=4825',
		'title': '',
		'imageId': '68640829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640827&x=4825',
		'title': '',
		'imageId': '68640827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640831&x=4825',
		'title': '',
		'imageId': '68640831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640828&x=4825',
		'title': '',
		'imageId': '68640828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640843&x=4825',
		'title': '',
		'imageId': '68640843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640826&x=4825',
		'title': '',
		'imageId': '68640826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640835&x=4825',
		'title': '',
		'imageId': '68640835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640841&x=4825',
		'title': '',
		'imageId': '68640841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640837&x=4825',
		'title': '',
		'imageId': '68640837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640825&x=4825',
		'title': '',
		'imageId': '68640825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640836&x=4825',
		'title': '',
		'imageId': '68640836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640840&x=4825',
		'title': '',
		'imageId': '68640840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640833&x=4825',
		'title': '',
		'imageId': '68640833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640838&x=4825',
		'title': '',
		'imageId': '68640838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640832&x=4825',
		'title': '',
		'imageId': '68640832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640842&x=4825',
		'title': '',
		'imageId': '68640842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640839&x=4825',
		'title': '',
		'imageId': '68640839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640830&x=4825',
		'title': '',
		'imageId': '68640830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952396&docid=68640834&x=4825',
		'title': '',
		'imageId': '68640834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952396';

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