var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608766&x=5733',
		'title': '',
		'imageId': '70608766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608768&x=5733',
		'title': '',
		'imageId': '70608768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608769&x=5733',
		'title': '',
		'imageId': '70608769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608767&x=5733',
		'title': '',
		'imageId': '70608767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608771&x=5733',
		'title': '',
		'imageId': '70608771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608775&x=5733',
		'title': '',
		'imageId': '70608775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608770&x=5733',
		'title': '',
		'imageId': '70608770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608773&x=5733',
		'title': '',
		'imageId': '70608773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608772&x=5733',
		'title': '',
		'imageId': '70608772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608774&x=5733',
		'title': '',
		'imageId': '70608774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035857&docid=70608776&x=5733',
		'title': '',
		'imageId': '70608776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035857';

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