var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724431&x=354',
		'title': '',
		'imageId': '69724431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724429&x=354',
		'title': '',
		'imageId': '69724429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724433&x=354',
		'title': '',
		'imageId': '69724433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724432&x=354',
		'title': '',
		'imageId': '69724432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724441&x=354',
		'title': '',
		'imageId': '69724441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724436&x=354',
		'title': '',
		'imageId': '69724436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724444&x=354',
		'title': '',
		'imageId': '69724444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724451&x=354',
		'title': '',
		'imageId': '69724451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724447&x=354',
		'title': '',
		'imageId': '69724447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724430&x=354',
		'title': '',
		'imageId': '69724430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000373&docid=69724448&x=354',
		'title': '',
		'imageId': '69724448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000373';

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