var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917451&x=2938',
		'title': '',
		'imageId': '69917451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917454&x=2938',
		'title': '',
		'imageId': '69917454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917455&x=2938',
		'title': '',
		'imageId': '69917455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917456&x=2938',
		'title': '',
		'imageId': '69917456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917457&x=2938',
		'title': '',
		'imageId': '69917457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917458&x=2938',
		'title': '',
		'imageId': '69917458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917459&x=2938',
		'title': '',
		'imageId': '69917459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917460&x=2938',
		'title': '',
		'imageId': '69917460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917461&x=2938',
		'title': '',
		'imageId': '69917461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917462&x=2938',
		'title': '',
		'imageId': '69917462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008304&docid=69917463&x=2938',
		'title': '',
		'imageId': '69917463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008304';

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