var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917904&x=4111',
		'title': '',
		'imageId': '71917904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917911&x=4111',
		'title': '',
		'imageId': '71917911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917912&x=4111',
		'title': '',
		'imageId': '71917912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917928&x=4111',
		'title': '',
		'imageId': '71917928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918123&x=4111',
		'title': '',
		'imageId': '71918123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918129&x=4111',
		'title': '',
		'imageId': '71918129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918124&x=4111',
		'title': '',
		'imageId': '71918124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918002&x=4111',
		'title': '',
		'imageId': '71918002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918003&x=4111',
		'title': '',
		'imageId': '71918003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918014&x=4111',
		'title': '',
		'imageId': '71918014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917983&x=4111',
		'title': '',
		'imageId': '71917983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917968&x=4111',
		'title': '',
		'imageId': '71917968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918001&x=4111',
		'title': '',
		'imageId': '71918001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918054&x=4111',
		'title': '',
		'imageId': '71918054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918052&x=4111',
		'title': '',
		'imageId': '71918052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918056&x=4111',
		'title': '',
		'imageId': '71918056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71918127&x=4111',
		'title': '',
		'imageId': '71918127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089290&docid=71917969&x=4111',
		'title': '',
		'imageId': '71917969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089290';

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