var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157611&x=2320',
		'title': '',
		'imageId': '69157611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157612&x=2320',
		'title': '',
		'imageId': '69157612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157613&x=2320',
		'title': '',
		'imageId': '69157613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157614&x=2320',
		'title': '',
		'imageId': '69157614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157615&x=2320',
		'title': '',
		'imageId': '69157615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157616&x=2320',
		'title': '',
		'imageId': '69157616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157617&x=2320',
		'title': '',
		'imageId': '69157617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157618&x=2320',
		'title': '',
		'imageId': '69157618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157619&x=2320',
		'title': '',
		'imageId': '69157619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157620&x=2320',
		'title': '',
		'imageId': '69157620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157621&x=2320',
		'title': '',
		'imageId': '69157621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975458&docid=69157622&x=2320',
		'title': '',
		'imageId': '69157622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975458';

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