var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717754&x=5941',
		'title': '',
		'imageId': '69717754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717752&x=5941',
		'title': '',
		'imageId': '69717752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717753&x=5941',
		'title': '',
		'imageId': '69717753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717751&x=5941',
		'title': '',
		'imageId': '69717751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717583&x=5941',
		'title': '',
		'imageId': '69717583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717585&x=5941',
		'title': '',
		'imageId': '69717585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717589&x=5941',
		'title': '',
		'imageId': '69717589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717580&x=5941',
		'title': '',
		'imageId': '69717580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717582&x=5941',
		'title': '',
		'imageId': '69717582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717587&x=5941',
		'title': '',
		'imageId': '69717587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991955&docid=69717586&x=5941',
		'title': '',
		'imageId': '69717586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991955';

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