var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71862071&x=1153',
		'title': '',
		'imageId': '71862071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722930&x=1153',
		'title': '',
		'imageId': '71722930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722929&x=1153',
		'title': '',
		'imageId': '71722929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722935&x=1153',
		'title': '',
		'imageId': '71722935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722934&x=1153',
		'title': '',
		'imageId': '71722934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722932&x=1153',
		'title': '',
		'imageId': '71722932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722931&x=1153',
		'title': '',
		'imageId': '71722931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722936&x=1153',
		'title': '',
		'imageId': '71722936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722933&x=1153',
		'title': '',
		'imageId': '71722933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71722928&x=1153',
		'title': '',
		'imageId': '71722928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71861991&x=1153',
		'title': '',
		'imageId': '71861991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71861990&x=1153',
		'title': '',
		'imageId': '71861990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71861987&x=1153',
		'title': '',
		'imageId': '71861987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71861989&x=1153',
		'title': '',
		'imageId': '71861989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71861988&x=1153',
		'title': '',
		'imageId': '71861988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71862065&x=1153',
		'title': '',
		'imageId': '71862065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71862073&x=1153',
		'title': '',
		'imageId': '71862073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71862072&x=1153',
		'title': '',
		'imageId': '71862072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080591&docid=71967521&x=1153',
		'title': '',
		'imageId': '71967521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4080591';

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