var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983828&x=1811',
		'title': '',
		'imageId': '71983828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983823&x=1811',
		'title': '',
		'imageId': '71983823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983824&x=1811',
		'title': '',
		'imageId': '71983824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983817&x=1811',
		'title': '',
		'imageId': '71983817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983826&x=1811',
		'title': '',
		'imageId': '71983826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983818&x=1811',
		'title': '',
		'imageId': '71983818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983822&x=1811',
		'title': '',
		'imageId': '71983822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983827&x=1811',
		'title': '',
		'imageId': '71983827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983819&x=1811',
		'title': '',
		'imageId': '71983819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983816&x=1811',
		'title': '',
		'imageId': '71983816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091347&docid=71983825&x=1811',
		'title': '',
		'imageId': '71983825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4091347';

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