var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015985&x=508',
		'title': '',
		'imageId': '69015985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015967&x=508',
		'title': '',
		'imageId': '69015967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015968&x=508',
		'title': '',
		'imageId': '69015968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015970&x=508',
		'title': '',
		'imageId': '69015970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015975&x=508',
		'title': '',
		'imageId': '69015975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015976&x=508',
		'title': '',
		'imageId': '69015976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015979&x=508',
		'title': '',
		'imageId': '69015979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015982&x=508',
		'title': '',
		'imageId': '69015982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015965&x=508',
		'title': '',
		'imageId': '69015965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015969&x=508',
		'title': '',
		'imageId': '69015969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969920&docid=69015966&x=508',
		'title': '',
		'imageId': '69015966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969920';

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