var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760257&x=3856',
		'title': '',
		'imageId': '69760257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760260&x=3856',
		'title': '',
		'imageId': '69760260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760267&x=3856',
		'title': '',
		'imageId': '69760267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760270&x=3856',
		'title': '',
		'imageId': '69760270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760266&x=3856',
		'title': '',
		'imageId': '69760266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760265&x=3856',
		'title': '',
		'imageId': '69760265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760259&x=3856',
		'title': '',
		'imageId': '69760259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760262&x=3856',
		'title': '',
		'imageId': '69760262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760272&x=3856',
		'title': '',
		'imageId': '69760272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760269&x=3856',
		'title': '',
		'imageId': '69760269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760273&x=3856',
		'title': '',
		'imageId': '69760273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760264&x=3856',
		'title': '',
		'imageId': '69760264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760271&x=3856',
		'title': '',
		'imageId': '69760271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760261&x=3856',
		'title': '',
		'imageId': '69760261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760263&x=3856',
		'title': '',
		'imageId': '69760263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760258&x=3856',
		'title': '',
		'imageId': '69760258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001895&docid=69760268&x=3856',
		'title': '',
		'imageId': '69760268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001895';

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