var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241120&x=2822',
		'title': '',
		'imageId': '69241120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241122&x=2822',
		'title': '',
		'imageId': '69241122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241123&x=2822',
		'title': '',
		'imageId': '69241123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241124&x=2822',
		'title': '',
		'imageId': '69241124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241126&x=2822',
		'title': '',
		'imageId': '69241126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241125&x=2822',
		'title': '',
		'imageId': '69241125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241127&x=2822',
		'title': '',
		'imageId': '69241127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241128&x=2822',
		'title': '',
		'imageId': '69241128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241129&x=2822',
		'title': '',
		'imageId': '69241129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241130&x=2822',
		'title': '',
		'imageId': '69241130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042640&docid=69241131&x=2822',
		'title': '',
		'imageId': '69241131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042640';

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