var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653615&x=2740',
		'title': '',
		'imageId': '69653615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653613&x=2740',
		'title': '',
		'imageId': '69653613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653614&x=2740',
		'title': '',
		'imageId': '69653614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653616&x=2740',
		'title': '',
		'imageId': '69653616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653629&x=2740',
		'title': '',
		'imageId': '69653629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653617&x=2740',
		'title': '',
		'imageId': '69653617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653621&x=2740',
		'title': '',
		'imageId': '69653621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653630&x=2740',
		'title': '',
		'imageId': '69653630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653632&x=2740',
		'title': '',
		'imageId': '69653632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653631&x=2740',
		'title': '',
		'imageId': '69653631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997781&docid=69653612&x=2740',
		'title': '',
		'imageId': '69653612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997781';

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