var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408121&x=5352',
		'title': '',
		'imageId': '70408121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408122&x=5352',
		'title': '',
		'imageId': '70408122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408123&x=5352',
		'title': '',
		'imageId': '70408123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408124&x=5352',
		'title': '',
		'imageId': '70408124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408128&x=5352',
		'title': '',
		'imageId': '70408128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408130&x=5352',
		'title': '',
		'imageId': '70408130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408133&x=5352',
		'title': '',
		'imageId': '70408133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408138&x=5352',
		'title': '',
		'imageId': '70408138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408139&x=5352',
		'title': '',
		'imageId': '70408139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408119&x=5352',
		'title': '',
		'imageId': '70408119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028229&docid=70408120&x=5352',
		'title': '',
		'imageId': '70408120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028229';

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