var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626325&x=1256',
		'title': '',
		'imageId': '67626325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626317&x=1256',
		'title': '',
		'imageId': '67626317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626319&x=1256',
		'title': '',
		'imageId': '67626319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626322&x=1256',
		'title': '',
		'imageId': '67626322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626318&x=1256',
		'title': '',
		'imageId': '67626318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626327&x=1256',
		'title': '',
		'imageId': '67626327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626320&x=1256',
		'title': '',
		'imageId': '67626320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626326&x=1256',
		'title': '',
		'imageId': '67626326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626321&x=1256',
		'title': '',
		'imageId': '67626321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626323&x=1256',
		'title': '',
		'imageId': '67626323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909353&docid=67626324&x=1256',
		'title': '',
		'imageId': '67626324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909353';

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