var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917499&x=5230',
		'title': '',
		'imageId': '69917499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917500&x=5230',
		'title': '',
		'imageId': '69917500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917501&x=5230',
		'title': '',
		'imageId': '69917501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917502&x=5230',
		'title': '',
		'imageId': '69917502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917503&x=5230',
		'title': '',
		'imageId': '69917503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917504&x=5230',
		'title': '',
		'imageId': '69917504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917505&x=5230',
		'title': '',
		'imageId': '69917505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917506&x=5230',
		'title': '',
		'imageId': '69917506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917507&x=5230',
		'title': '',
		'imageId': '69917507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917508&x=5230',
		'title': '',
		'imageId': '69917508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008308&docid=69917509&x=5230',
		'title': '',
		'imageId': '69917509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008308';

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