var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894685&x=3114',
		'title': '',
		'imageId': '71894685',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894683&x=3114',
		'title': '',
		'imageId': '71894683',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894680&x=3114',
		'title': '',
		'imageId': '71894680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894686&x=3114',
		'title': '',
		'imageId': '71894686',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894684&x=3114',
		'title': '',
		'imageId': '71894684',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894679&x=3114',
		'title': '',
		'imageId': '71894679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894681&x=3114',
		'title': '',
		'imageId': '71894681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894682&x=3114',
		'title': '',
		'imageId': '71894682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088324&docid=71894678&x=3114',
		'title': '',
		'imageId': '71894678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088324';

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