var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400827&x=3951',
		'title': '',
		'imageId': '69400827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400825&x=3951',
		'title': '',
		'imageId': '69400825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400826&x=3951',
		'title': '',
		'imageId': '69400826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400823&x=3951',
		'title': '',
		'imageId': '69400823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400824&x=3951',
		'title': '',
		'imageId': '69400824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400831&x=3951',
		'title': '',
		'imageId': '69400831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400822&x=3951',
		'title': '',
		'imageId': '69400822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400828&x=3951',
		'title': '',
		'imageId': '69400828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400830&x=3951',
		'title': '',
		'imageId': '69400830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400829&x=3951',
		'title': '',
		'imageId': '69400829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985737&docid=69400821&x=3951',
		'title': '',
		'imageId': '69400821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985737';

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