var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076566&x=3915',
		'title': '',
		'imageId': '70076566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076567&x=3915',
		'title': '',
		'imageId': '70076567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076568&x=3915',
		'title': '',
		'imageId': '70076568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076572&x=3915',
		'title': '',
		'imageId': '70076572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076569&x=3915',
		'title': '',
		'imageId': '70076569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076571&x=3915',
		'title': '',
		'imageId': '70076571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015005&docid=70076570&x=3915',
		'title': '',
		'imageId': '70076570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015005';

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