var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153350&x=945',
		'title': '',
		'imageId': '71153350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153372&x=945',
		'title': '',
		'imageId': '71153372',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153361&x=945',
		'title': '',
		'imageId': '71153361',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153367&x=945',
		'title': '',
		'imageId': '71153367',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153358&x=945',
		'title': '',
		'imageId': '71153358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153356&x=945',
		'title': '',
		'imageId': '71153356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153360&x=945',
		'title': '',
		'imageId': '71153360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153365&x=945',
		'title': '',
		'imageId': '71153365',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153371&x=945',
		'title': '',
		'imageId': '71153371',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153362&x=945',
		'title': '',
		'imageId': '71153362',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153359&x=945',
		'title': '',
		'imageId': '71153359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153369&x=945',
		'title': '',
		'imageId': '71153369',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153364&x=945',
		'title': '',
		'imageId': '71153364',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153368&x=945',
		'title': '',
		'imageId': '71153368',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153351&x=945',
		'title': '',
		'imageId': '71153351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153363&x=945',
		'title': '',
		'imageId': '71153363',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153355&x=945',
		'title': '',
		'imageId': '71153355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056067&docid=71153370&x=945',
		'title': '',
		'imageId': '71153370',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056067';

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