var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132133&x=3845',
		'title': '',
		'imageId': '69132133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132134&x=3845',
		'title': '',
		'imageId': '69132134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132135&x=3845',
		'title': '',
		'imageId': '69132135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132136&x=3845',
		'title': '',
		'imageId': '69132136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132139&x=3845',
		'title': '',
		'imageId': '69132139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132146&x=3845',
		'title': '',
		'imageId': '69132146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132150&x=3845',
		'title': '',
		'imageId': '69132150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132147&x=3845',
		'title': '',
		'imageId': '69132147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132131&x=3845',
		'title': '',
		'imageId': '69132131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974419&docid=69132132&x=3845',
		'title': '',
		'imageId': '69132132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974419';

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