var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400927&x=4023',
		'title': '',
		'imageId': '69400927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400924&x=4023',
		'title': '',
		'imageId': '69400924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400930&x=4023',
		'title': '',
		'imageId': '69400930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400929&x=4023',
		'title': '',
		'imageId': '69400929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400926&x=4023',
		'title': '',
		'imageId': '69400926',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400925&x=4023',
		'title': '',
		'imageId': '69400925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400923&x=4023',
		'title': '',
		'imageId': '69400923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400922&x=4023',
		'title': '',
		'imageId': '69400922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985743&docid=69400928&x=4023',
		'title': '',
		'imageId': '69400928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985743';

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