var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70527789&x=4044',
		'title': '',
		'imageId': '70527789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70528065&x=4044',
		'title': '',
		'imageId': '70528065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70528066&x=4044',
		'title': '',
		'imageId': '70528066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70528070&x=4044',
		'title': '',
		'imageId': '70528070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70528069&x=4044',
		'title': '',
		'imageId': '70528069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70528067&x=4044',
		'title': '',
		'imageId': '70528067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032802&docid=70528068&x=4044',
		'title': '',
		'imageId': '70528068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032802';

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