var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481436&x=435',
		'title': '',
		'imageId': '71481436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481435&x=435',
		'title': '',
		'imageId': '71481435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481432&x=435',
		'title': '',
		'imageId': '71481432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481431&x=435',
		'title': '',
		'imageId': '71481431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481429&x=435',
		'title': '',
		'imageId': '71481429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481447&x=435',
		'title': '',
		'imageId': '71481447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481430&x=435',
		'title': '',
		'imageId': '71481430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481445&x=435',
		'title': '',
		'imageId': '71481445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481443&x=435',
		'title': '',
		'imageId': '71481443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481437&x=435',
		'title': '',
		'imageId': '71481437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481439&x=435',
		'title': '',
		'imageId': '71481439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481433&x=435',
		'title': '',
		'imageId': '71481433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481442&x=435',
		'title': '',
		'imageId': '71481442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481448&x=435',
		'title': '',
		'imageId': '71481448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481444&x=435',
		'title': '',
		'imageId': '71481444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481438&x=435',
		'title': '',
		'imageId': '71481438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481440&x=435',
		'title': '',
		'imageId': '71481440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481446&x=435',
		'title': '',
		'imageId': '71481446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481434&x=435',
		'title': '',
		'imageId': '71481434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071059&docid=71481441&x=435',
		'title': '',
		'imageId': '71481441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071059';

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