var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182887&x=042',
		'title': '',
		'imageId': '69182887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182882&x=042',
		'title': '',
		'imageId': '69182882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182881&x=042',
		'title': '',
		'imageId': '69182881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182884&x=042',
		'title': '',
		'imageId': '69182884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182886&x=042',
		'title': '',
		'imageId': '69182886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182890&x=042',
		'title': '',
		'imageId': '69182890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182885&x=042',
		'title': '',
		'imageId': '69182885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182891&x=042',
		'title': '',
		'imageId': '69182891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182889&x=042',
		'title': '',
		'imageId': '69182889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182883&x=042',
		'title': '',
		'imageId': '69182883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182880&x=042',
		'title': '',
		'imageId': '69182880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987344&docid=69182888&x=042',
		'title': '',
		'imageId': '69182888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987344';

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