var box = {};
window.addEvent('domready', function(){
		setContent();
		$$('a').addEvent('click', function(){ this.blur(); });
		box = new MultiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: true});	
		
function externalLinks() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (
			anchor.getAttribute("href") && ( 
			anchor.getAttribute("rel") == "external" || 
			anchor.getAttribute("rel") == "external nofollow" || 
			anchor.getAttribute("rel") == "nofollow external" )
			)
		anchor.target = "_blank";
	}
}		

 externalLinks();
});

function openWindow(theURL,winName,features, myWidth, myHeight, isCenter) 
{ //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)-30;
    var myTop = (screen.height-myHeight)-100;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

