var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351157&x=1836',
		'title': '',
		'imageId': '70351157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351158&x=1836',
		'title': '',
		'imageId': '70351158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351152&x=1836',
		'title': '',
		'imageId': '70351152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351153&x=1836',
		'title': '',
		'imageId': '70351153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351159&x=1836',
		'title': '',
		'imageId': '70351159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351161&x=1836',
		'title': '',
		'imageId': '70351161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351160&x=1836',
		'title': '',
		'imageId': '70351160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025840&docid=70351155&x=1836',
		'title': '',
		'imageId': '70351155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025840';

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