var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790829&x=2930',
		'title': '',
		'imageId': '69790829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790836&x=2930',
		'title': '',
		'imageId': '69790836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790833&x=2930',
		'title': '',
		'imageId': '69790833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790844&x=2930',
		'title': '',
		'imageId': '69790844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790845&x=2930',
		'title': '',
		'imageId': '69790845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790810&x=2930',
		'title': '',
		'imageId': '69790810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790812&x=2930',
		'title': '',
		'imageId': '69790812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790808&x=2930',
		'title': '',
		'imageId': '69790808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790811&x=2930',
		'title': '',
		'imageId': '69790811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790807&x=2930',
		'title': '',
		'imageId': '69790807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790809&x=2930',
		'title': '',
		'imageId': '69790809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790815&x=2930',
		'title': '',
		'imageId': '69790815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790824&x=2930',
		'title': '',
		'imageId': '69790824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790819&x=2930',
		'title': '',
		'imageId': '69790819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790828&x=2930',
		'title': '',
		'imageId': '69790828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790830&x=2930',
		'title': '',
		'imageId': '69790830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016375&docid=69790839&x=2930',
		'title': '',
		'imageId': '69790839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016375';

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