var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629585&x=5724',
		'title': '',
		'imageId': '2629585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629590&x=5724',
		'title': '',
		'imageId': '2629590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629593&x=5724',
		'title': '',
		'imageId': '2629593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629596&x=5724',
		'title': '',
		'imageId': '2629596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629599&x=5724',
		'title': '',
		'imageId': '2629599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629602&x=5724',
		'title': '',
		'imageId': '2629602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629606&x=5724',
		'title': '',
		'imageId': '2629606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629609&x=5724',
		'title': '',
		'imageId': '2629609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629612&x=5724',
		'title': '',
		'imageId': '2629612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629615&x=5724',
		'title': '',
		'imageId': '2629615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629618&x=5724',
		'title': '',
		'imageId': '2629618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=479099&docid=2629621&x=5724',
		'title': '',
		'imageId': '2629621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #479099';

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