var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448229&x=5343',
		'title': '',
		'imageId': '4448229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448226&x=5343',
		'title': '',
		'imageId': '4448226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448232&x=5343',
		'title': '',
		'imageId': '4448232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448235&x=5343',
		'title': '',
		'imageId': '4448235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448238&x=5343',
		'title': '',
		'imageId': '4448238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448241&x=5343',
		'title': '',
		'imageId': '4448241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448244&x=5343',
		'title': '',
		'imageId': '4448244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448247&x=5343',
		'title': '',
		'imageId': '4448247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448250&x=5343',
		'title': '',
		'imageId': '4448250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448253&x=5343',
		'title': '',
		'imageId': '4448253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448256&x=5343',
		'title': '',
		'imageId': '4448256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448259&x=5343',
		'title': '',
		'imageId': '4448259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448262&x=5343',
		'title': '',
		'imageId': '4448262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448265&x=5343',
		'title': '',
		'imageId': '4448265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448268&x=5343',
		'title': '',
		'imageId': '4448268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448271&x=5343',
		'title': '',
		'imageId': '4448271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448274&x=5343',
		'title': '',
		'imageId': '4448274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448277&x=5343',
		'title': '',
		'imageId': '4448277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448280&x=5343',
		'title': '',
		'imageId': '4448280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448283&x=5343',
		'title': '',
		'imageId': '4448283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448286&x=5343',
		'title': '',
		'imageId': '4448286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448289&x=5343',
		'title': '',
		'imageId': '4448289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448292&x=5343',
		'title': '',
		'imageId': '4448292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448295&x=5343',
		'title': '',
		'imageId': '4448295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448298&x=5343',
		'title': '',
		'imageId': '4448298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448301&x=5343',
		'title': '',
		'imageId': '4448301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448304&x=5343',
		'title': '',
		'imageId': '4448304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448307&x=5343',
		'title': '',
		'imageId': '4448307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448310&x=5343',
		'title': '',
		'imageId': '4448310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448313&x=5343',
		'title': '',
		'imageId': '4448313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=665027&docid=4448316&x=5343',
		'title': '',
		'imageId': '4448316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #665027';

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