var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539623&x=4610',
		'title': '',
		'imageId': '69539623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539622&x=4610',
		'title': '',
		'imageId': '69539622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539627&x=4610',
		'title': '',
		'imageId': '69539627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539625&x=4610',
		'title': '',
		'imageId': '69539625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539624&x=4610',
		'title': '',
		'imageId': '69539624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539626&x=4610',
		'title': '',
		'imageId': '69539626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539629&x=4610',
		'title': '',
		'imageId': '69539629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539628&x=4610',
		'title': '',
		'imageId': '69539628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539632&x=4610',
		'title': '',
		'imageId': '69539632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539631&x=4610',
		'title': '',
		'imageId': '69539631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992286&docid=69539630&x=4610',
		'title': '',
		'imageId': '69539630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992286';

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