var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945835&x=256',
		'title': '',
		'imageId': '69945835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945825&x=256',
		'title': '',
		'imageId': '69945825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945831&x=256',
		'title': '',
		'imageId': '69945831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945830&x=256',
		'title': '',
		'imageId': '69945830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945826&x=256',
		'title': '',
		'imageId': '69945826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945815&x=256',
		'title': '',
		'imageId': '69945815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945828&x=256',
		'title': '',
		'imageId': '69945828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945832&x=256',
		'title': '',
		'imageId': '69945832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945812&x=256',
		'title': '',
		'imageId': '69945812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945820&x=256',
		'title': '',
		'imageId': '69945820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945813&x=256',
		'title': '',
		'imageId': '69945813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945822&x=256',
		'title': '',
		'imageId': '69945822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945834&x=256',
		'title': '',
		'imageId': '69945834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945827&x=256',
		'title': '',
		'imageId': '69945827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945833&x=256',
		'title': '',
		'imageId': '69945833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945817&x=256',
		'title': '',
		'imageId': '69945817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945814&x=256',
		'title': '',
		'imageId': '69945814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945823&x=256',
		'title': '',
		'imageId': '69945823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945818&x=256',
		'title': '',
		'imageId': '69945818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945816&x=256',
		'title': '',
		'imageId': '69945816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945829&x=256',
		'title': '',
		'imageId': '69945829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945821&x=256',
		'title': '',
		'imageId': '69945821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945824&x=256',
		'title': '',
		'imageId': '69945824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009293&docid=69945819&x=256',
		'title': '',
		'imageId': '69945819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009293';

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