var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110319&x=4345',
		'title': '',
		'imageId': '70110319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110320&x=4345',
		'title': '',
		'imageId': '70110320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110314&x=4345',
		'title': '',
		'imageId': '70110314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110315&x=4345',
		'title': '',
		'imageId': '70110315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110316&x=4345',
		'title': '',
		'imageId': '70110316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110322&x=4345',
		'title': '',
		'imageId': '70110322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110324&x=4345',
		'title': '',
		'imageId': '70110324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110321&x=4345',
		'title': '',
		'imageId': '70110321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110325&x=4345',
		'title': '',
		'imageId': '70110325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110323&x=4345',
		'title': '',
		'imageId': '70110323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110318&x=4345',
		'title': '',
		'imageId': '70110318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015889&docid=70110317&x=4345',
		'title': '',
		'imageId': '70110317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015889';

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