var GB_ROOT_DIR = "/globaljs/GreyBox_v5_53/greybox/";
function loadLink(caption,url){ 
	window.open(url,'_blank');
	// GB_showFullScreen(caption, url);	//GB_showCenter 
} 

var addthis_options = 'favorites,print,delicious,digg,google,myspace,live,facebook,stumbleupon,twitter,more';
function shareLink(url){
	addthis_open( document.getElementsByTagName('embed').item(0), '', url);
}

// Remove print from "Share" box
var addthis_config = {
  services_exclude: 'print'
}

function hideElement(elID) {
	//alert('hiding ' + elID);
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(elID).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.elID.display = 'none';
		}
		else { // IE 4
			document.all.elID.style.display = 'none';
		}
	}
}

function showElement(elID) {
	//alert('showing ' + elID);

	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(elID).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.elID.style.display = 'block';
		}
	}
}
