var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451586&x=4445',
		'title': '',
		'imageId': '69451586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451589&x=4445',
		'title': '',
		'imageId': '69451589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451588&x=4445',
		'title': '',
		'imageId': '69451588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451583&x=4445',
		'title': '',
		'imageId': '69451583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451592&x=4445',
		'title': '',
		'imageId': '69451592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451587&x=4445',
		'title': '',
		'imageId': '69451587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451585&x=4445',
		'title': '',
		'imageId': '69451585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451582&x=4445',
		'title': '',
		'imageId': '69451582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451591&x=4445',
		'title': '',
		'imageId': '69451591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451590&x=4445',
		'title': '',
		'imageId': '69451590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988150&docid=69451584&x=4445',
		'title': '',
		'imageId': '69451584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988150';

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