var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69762581&x=146',
		'title': '',
		'imageId': '69762581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69762579&x=146',
		'title': '',
		'imageId': '69762579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69762582&x=146',
		'title': '',
		'imageId': '69762582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69762580&x=146',
		'title': '',
		'imageId': '69762580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69762583&x=146',
		'title': '',
		'imageId': '69762583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69762578&x=146',
		'title': '',
		'imageId': '69762578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69898108&x=146',
		'title': '',
		'imageId': '69898108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69898110&x=146',
		'title': '',
		'imageId': '69898110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69898111&x=146',
		'title': '',
		'imageId': '69898111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69898109&x=146',
		'title': '',
		'imageId': '69898109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001972&docid=69898112&x=146',
		'title': '',
		'imageId': '69898112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001972';

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