var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565898&x=2636',
		'title': '',
		'imageId': '69565898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565905&x=2636',
		'title': '',
		'imageId': '69565905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565899&x=2636',
		'title': '',
		'imageId': '69565899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565902&x=2636',
		'title': '',
		'imageId': '69565902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565906&x=2636',
		'title': '',
		'imageId': '69565906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565903&x=2636',
		'title': '',
		'imageId': '69565903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565901&x=2636',
		'title': '',
		'imageId': '69565901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565908&x=2636',
		'title': '',
		'imageId': '69565908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565904&x=2636',
		'title': '',
		'imageId': '69565904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565900&x=2636',
		'title': '',
		'imageId': '69565900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993331&docid=69565907&x=2636',
		'title': '',
		'imageId': '69565907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993331';

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