var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974121&x=321',
		'title': '',
		'imageId': '71974121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974144&x=321',
		'title': '',
		'imageId': '71974144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974129&x=321',
		'title': '',
		'imageId': '71974129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974127&x=321',
		'title': '',
		'imageId': '71974127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974133&x=321',
		'title': '',
		'imageId': '71974133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974143&x=321',
		'title': '',
		'imageId': '71974143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974142&x=321',
		'title': '',
		'imageId': '71974142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974141&x=321',
		'title': '',
		'imageId': '71974141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974134&x=321',
		'title': '',
		'imageId': '71974134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974123&x=321',
		'title': '',
		'imageId': '71974123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974147&x=321',
		'title': '',
		'imageId': '71974147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974124&x=321',
		'title': '',
		'imageId': '71974124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974122&x=321',
		'title': '',
		'imageId': '71974122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974126&x=321',
		'title': '',
		'imageId': '71974126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974130&x=321',
		'title': '',
		'imageId': '71974130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974128&x=321',
		'title': '',
		'imageId': '71974128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974137&x=321',
		'title': '',
		'imageId': '71974137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974131&x=321',
		'title': '',
		'imageId': '71974131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974136&x=321',
		'title': '',
		'imageId': '71974136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974138&x=321',
		'title': '',
		'imageId': '71974138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974146&x=321',
		'title': '',
		'imageId': '71974146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974139&x=321',
		'title': '',
		'imageId': '71974139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974145&x=321',
		'title': '',
		'imageId': '71974145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974135&x=321',
		'title': '',
		'imageId': '71974135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974132&x=321',
		'title': '',
		'imageId': '71974132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974140&x=321',
		'title': '',
		'imageId': '71974140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091120&docid=71974125&x=321',
		'title': '',
		'imageId': '71974125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4091120';

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