var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404142&x=1554',
		'title': '',
		'imageId': '70404142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404130&x=1554',
		'title': '',
		'imageId': '70404130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404145&x=1554',
		'title': '',
		'imageId': '70404145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404121&x=1554',
		'title': '',
		'imageId': '70404121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404154&x=1554',
		'title': '',
		'imageId': '70404154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404120&x=1554',
		'title': '',
		'imageId': '70404120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404119&x=1554',
		'title': '',
		'imageId': '70404119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404122&x=1554',
		'title': '',
		'imageId': '70404122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404124&x=1554',
		'title': '',
		'imageId': '70404124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404133&x=1554',
		'title': '',
		'imageId': '70404133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404136&x=1554',
		'title': '',
		'imageId': '70404136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404123&x=1554',
		'title': '',
		'imageId': '70404123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404127&x=1554',
		'title': '',
		'imageId': '70404127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404140&x=1554',
		'title': '',
		'imageId': '70404140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404148&x=1554',
		'title': '',
		'imageId': '70404148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404151&x=1554',
		'title': '',
		'imageId': '70404151',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028016&docid=70404160&x=1554',
		'title': '',
		'imageId': '70404160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028016';

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