var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917464&x=156',
		'title': '',
		'imageId': '69917464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917466&x=156',
		'title': '',
		'imageId': '69917466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917467&x=156',
		'title': '',
		'imageId': '69917467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917468&x=156',
		'title': '',
		'imageId': '69917468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917469&x=156',
		'title': '',
		'imageId': '69917469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917470&x=156',
		'title': '',
		'imageId': '69917470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917471&x=156',
		'title': '',
		'imageId': '69917471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917472&x=156',
		'title': '',
		'imageId': '69917472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917473&x=156',
		'title': '',
		'imageId': '69917473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917474&x=156',
		'title': '',
		'imageId': '69917474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052981&docid=69917475&x=156',
		'title': '',
		'imageId': '69917475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052981';

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