var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326564&x=3329',
		'title': '',
		'imageId': '70326564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326575&x=3329',
		'title': '',
		'imageId': '70326575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326578&x=3329',
		'title': '',
		'imageId': '70326578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326581&x=3329',
		'title': '',
		'imageId': '70326581',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326584&x=3329',
		'title': '',
		'imageId': '70326584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326587&x=3329',
		'title': '',
		'imageId': '70326587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326590&x=3329',
		'title': '',
		'imageId': '70326590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326593&x=3329',
		'title': '',
		'imageId': '70326593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024816&docid=70326596&x=3329',
		'title': '',
		'imageId': '70326596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4024816';

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