var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457932&x=5925',
		'title': '',
		'imageId': '69457932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457940&x=5925',
		'title': '',
		'imageId': '69457940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457931&x=5925',
		'title': '',
		'imageId': '69457931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457938&x=5925',
		'title': '',
		'imageId': '69457938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457935&x=5925',
		'title': '',
		'imageId': '69457935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457933&x=5925',
		'title': '',
		'imageId': '69457933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457930&x=5925',
		'title': '',
		'imageId': '69457930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457937&x=5925',
		'title': '',
		'imageId': '69457937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457939&x=5925',
		'title': '',
		'imageId': '69457939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457934&x=5925',
		'title': '',
		'imageId': '69457934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995171&docid=69457936&x=5925',
		'title': '',
		'imageId': '69457936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995171';

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