var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419671&x=3156',
		'title': '',
		'imageId': '71419671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419672&x=3156',
		'title': '',
		'imageId': '71419672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419673&x=3156',
		'title': '',
		'imageId': '71419673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419674&x=3156',
		'title': '',
		'imageId': '71419674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419675&x=3156',
		'title': '',
		'imageId': '71419675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419676&x=3156',
		'title': '',
		'imageId': '71419676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419678&x=3156',
		'title': '',
		'imageId': '71419678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419679&x=3156',
		'title': '',
		'imageId': '71419679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419680&x=3156',
		'title': '',
		'imageId': '71419680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419681&x=3156',
		'title': '',
		'imageId': '71419681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067394&docid=71419682&x=3156',
		'title': '',
		'imageId': '71419682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067394';

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