var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049894&x=2214',
		'title': '',
		'imageId': '69049894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049895&x=2214',
		'title': '',
		'imageId': '69049895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049896&x=2214',
		'title': '',
		'imageId': '69049896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049897&x=2214',
		'title': '',
		'imageId': '69049897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049898&x=2214',
		'title': '',
		'imageId': '69049898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049899&x=2214',
		'title': '',
		'imageId': '69049899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049900&x=2214',
		'title': '',
		'imageId': '69049900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049901&x=2214',
		'title': '',
		'imageId': '69049901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049902&x=2214',
		'title': '',
		'imageId': '69049902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049903&x=2214',
		'title': '',
		'imageId': '69049903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69049904&x=2214',
		'title': '',
		'imageId': '69049904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971377&docid=69924115&x=2214',
		'title': '',
		'imageId': '69924115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971377';

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