var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603256&x=025',
		'title': '',
		'imageId': '71603256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603260&x=025',
		'title': '',
		'imageId': '71603260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603259&x=025',
		'title': '',
		'imageId': '71603259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603264&x=025',
		'title': '',
		'imageId': '71603264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603262&x=025',
		'title': '',
		'imageId': '71603262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603257&x=025',
		'title': '',
		'imageId': '71603257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603258&x=025',
		'title': '',
		'imageId': '71603258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603261&x=025',
		'title': '',
		'imageId': '71603261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075740&docid=71603263&x=025',
		'title': '',
		'imageId': '71603263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075740';

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