var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338255&x=1342',
		'title': '',
		'imageId': '69338255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338257&x=1342',
		'title': '',
		'imageId': '69338257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338253&x=1342',
		'title': '',
		'imageId': '69338253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338249&x=1342',
		'title': '',
		'imageId': '69338249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338248&x=1342',
		'title': '',
		'imageId': '69338248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338250&x=1342',
		'title': '',
		'imageId': '69338250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338256&x=1342',
		'title': '',
		'imageId': '69338256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338251&x=1342',
		'title': '',
		'imageId': '69338251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338252&x=1342',
		'title': '',
		'imageId': '69338252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338254&x=1342',
		'title': '',
		'imageId': '69338254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992848&docid=69338247&x=1342',
		'title': '',
		'imageId': '69338247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992848';

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