var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540814&x=1540',
		'title': '',
		'imageId': '70540814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540817&x=1540',
		'title': '',
		'imageId': '70540817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540818&x=1540',
		'title': '',
		'imageId': '70540818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540819&x=1540',
		'title': '',
		'imageId': '70540819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540820&x=1540',
		'title': '',
		'imageId': '70540820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540821&x=1540',
		'title': '',
		'imageId': '70540821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540822&x=1540',
		'title': '',
		'imageId': '70540822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540823&x=1540',
		'title': '',
		'imageId': '70540823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540824&x=1540',
		'title': '',
		'imageId': '70540824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540825&x=1540',
		'title': '',
		'imageId': '70540825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033333&docid=70540826&x=1540',
		'title': '',
		'imageId': '70540826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4033333';

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