var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314054&x=3334',
		'title': '',
		'imageId': '69314054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314055&x=3334',
		'title': '',
		'imageId': '69314055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314060&x=3334',
		'title': '',
		'imageId': '69314060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314075&x=3334',
		'title': '',
		'imageId': '69314075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314090&x=3334',
		'title': '',
		'imageId': '69314090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314107&x=3334',
		'title': '',
		'imageId': '69314107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314148&x=3334',
		'title': '',
		'imageId': '69314148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69314154&x=3334',
		'title': '',
		'imageId': '69314154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69329499&x=3334',
		'title': '',
		'imageId': '69329499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69329497&x=3334',
		'title': '',
		'imageId': '69329497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982373&docid=69329498&x=3334',
		'title': '',
		'imageId': '69329498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982373';

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