var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490284&x=443',
		'title': '',
		'imageId': '69490284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490288&x=443',
		'title': '',
		'imageId': '69490288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490286&x=443',
		'title': '',
		'imageId': '69490286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490285&x=443',
		'title': '',
		'imageId': '69490285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490290&x=443',
		'title': '',
		'imageId': '69490290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490287&x=443',
		'title': '',
		'imageId': '69490287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490291&x=443',
		'title': '',
		'imageId': '69490291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490292&x=443',
		'title': '',
		'imageId': '69490292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490293&x=443',
		'title': '',
		'imageId': '69490293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490289&x=443',
		'title': '',
		'imageId': '69490289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990099&docid=69490294&x=443',
		'title': '',
		'imageId': '69490294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990099';

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