var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583792&x=4214',
		'title': '',
		'imageId': '69583792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583793&x=4214',
		'title': '',
		'imageId': '69583793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583796&x=4214',
		'title': '',
		'imageId': '69583796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583795&x=4214',
		'title': '',
		'imageId': '69583795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583794&x=4214',
		'title': '',
		'imageId': '69583794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583802&x=4214',
		'title': '',
		'imageId': '69583802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583799&x=4214',
		'title': '',
		'imageId': '69583799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583801&x=4214',
		'title': '',
		'imageId': '69583801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583800&x=4214',
		'title': '',
		'imageId': '69583800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583797&x=4214',
		'title': '',
		'imageId': '69583797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994025&docid=69583798&x=4214',
		'title': '',
		'imageId': '69583798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994025';

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