var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444929&x=4023',
		'title': '',
		'imageId': '69444929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444935&x=4023',
		'title': '',
		'imageId': '69444935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444932&x=4023',
		'title': '',
		'imageId': '69444932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444933&x=4023',
		'title': '',
		'imageId': '69444933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444928&x=4023',
		'title': '',
		'imageId': '69444928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444931&x=4023',
		'title': '',
		'imageId': '69444931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444930&x=4023',
		'title': '',
		'imageId': '69444930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987817&docid=69444934&x=4023',
		'title': '',
		'imageId': '69444934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987817';

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