var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401268&x=1351',
		'title': '',
		'imageId': '67401268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401266&x=1351',
		'title': '',
		'imageId': '67401266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401267&x=1351',
		'title': '',
		'imageId': '67401267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401269&x=1351',
		'title': '',
		'imageId': '67401269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401261&x=1351',
		'title': '',
		'imageId': '67401261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401263&x=1351',
		'title': '',
		'imageId': '67401263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401264&x=1351',
		'title': '',
		'imageId': '67401264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401262&x=1351',
		'title': '',
		'imageId': '67401262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401265&x=1351',
		'title': '',
		'imageId': '67401265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401271&x=1351',
		'title': '',
		'imageId': '67401271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899648&docid=67401270&x=1351',
		'title': '',
		'imageId': '67401270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899648';

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