var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678225&x=3910',
		'title': '',
		'imageId': '71678225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678226&x=3910',
		'title': '',
		'imageId': '71678226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678223&x=3910',
		'title': '',
		'imageId': '71678223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678232&x=3910',
		'title': '',
		'imageId': '71678232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678224&x=3910',
		'title': '',
		'imageId': '71678224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678230&x=3910',
		'title': '',
		'imageId': '71678230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678231&x=3910',
		'title': '',
		'imageId': '71678231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678227&x=3910',
		'title': '',
		'imageId': '71678227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678228&x=3910',
		'title': '',
		'imageId': '71678228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678229&x=3910',
		'title': '',
		'imageId': '71678229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078669&docid=71678222&x=3910',
		'title': '',
		'imageId': '71678222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4078669';

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