var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559070&x=3642',
		'title': '',
		'imageId': '67559070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559072&x=3642',
		'title': '',
		'imageId': '67559072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559073&x=3642',
		'title': '',
		'imageId': '67559073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559071&x=3642',
		'title': '',
		'imageId': '67559071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559075&x=3642',
		'title': '',
		'imageId': '67559075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559076&x=3642',
		'title': '',
		'imageId': '67559076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559067&x=3642',
		'title': '',
		'imageId': '67559067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559074&x=3642',
		'title': '',
		'imageId': '67559074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559078&x=3642',
		'title': '',
		'imageId': '67559078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559069&x=3642',
		'title': '',
		'imageId': '67559069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559068&x=3642',
		'title': '',
		'imageId': '67559068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906451&docid=67559077&x=3642',
		'title': '',
		'imageId': '67559077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906451';

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