<!--

// redirect exit url e-conomic script til tracking 
  function exithref(obj)
  {
	var exiturl = "/exit.php?link=";
	if (obj.href.indexOf(exiturl) == -1) obj.href = exiturl + obj.href;
	return true;
  }


// open window (intro)
function getWindowSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else {
    if( document.documentElement &&
        ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
      //IE 6+ in 'standards compliant mode'
      myWidth = document.documentElement.clientWidth;
      myHeight = document.documentElement.clientHeight;
    } else {
      if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
        //IE 4 compatible
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
      }
    }
  }
 windowWidth = myWidth;
 windowHeight = myHeight;
}


function openCenterWindow(url,winName,width,height,toppercent,features){
 	screenWidth = screen.width;
	screenHeight = screen.height;
  	
	winLeft=(screenWidth-width)/2;
	winTop=(screenHeight-height)/2*(toppercent/100);
	window.open(url,winName,'width='+width+',height='+height+',top='+winTop+',left='+winLeft+(features?(','+features):''));

}

// macromedia resize fix
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->