var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949825&x=374',
		'title': '',
		'imageId': '69949825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949820&x=374',
		'title': '',
		'imageId': '69949820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949822&x=374',
		'title': '',
		'imageId': '69949822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949828&x=374',
		'title': '',
		'imageId': '69949828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949819&x=374',
		'title': '',
		'imageId': '69949819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949823&x=374',
		'title': '',
		'imageId': '69949823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949826&x=374',
		'title': '',
		'imageId': '69949826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949827&x=374',
		'title': '',
		'imageId': '69949827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949821&x=374',
		'title': '',
		'imageId': '69949821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949824&x=374',
		'title': '',
		'imageId': '69949824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=69949829&x=374',
		'title': '',
		'imageId': '69949829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009587&docid=70054650&x=374',
		'title': '',
		'imageId': '70054650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009587';

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