var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165046&x=4212',
		'title': '',
		'imageId': '69165046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165049&x=4212',
		'title': '',
		'imageId': '69165049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165052&x=4212',
		'title': '',
		'imageId': '69165052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165055&x=4212',
		'title': '',
		'imageId': '69165055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165058&x=4212',
		'title': '',
		'imageId': '69165058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165061&x=4212',
		'title': '',
		'imageId': '69165061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165064&x=4212',
		'title': '',
		'imageId': '69165064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165067&x=4212',
		'title': '',
		'imageId': '69165067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975660&docid=69165070&x=4212',
		'title': '',
		'imageId': '69165070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975660';

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