var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307176&x=3832',
		'title': '',
		'imageId': '71307176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307173&x=3832',
		'title': '',
		'imageId': '71307173',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307177&x=3832',
		'title': '',
		'imageId': '71307177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307178&x=3832',
		'title': '',
		'imageId': '71307178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307191&x=3832',
		'title': '',
		'imageId': '71307191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307189&x=3832',
		'title': '',
		'imageId': '71307189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307190&x=3832',
		'title': '',
		'imageId': '71307190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307174&x=3832',
		'title': '',
		'imageId': '71307174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062278&docid=71307175&x=3832',
		'title': '',
		'imageId': '71307175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062278';

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