var agt=navigator.userAgent.toLowerCase();
var isNS = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
var isMac = (agt.indexOf("mac")!=-1);

bootStyle = "<STYLE TYPE='text/css'>"
	+ "div.contentAreaBoot {"
	+ "position:absolute;"
	+ "z-index:20;"
	+ "top:210;"
	+ "left:";

if(isNS || isMac){
	bootStyle += "560";
}
else{
	bootStyle += "395";
}
bootStyle += ";"
	+ "}"
	+ "</STYLE>";

document.write(bootStyle);

var newWin;

function openUp(windowURL, windowWidth, windowHeight) {
  var topPos = "";
  var leftPos = "";
  if(!windowWidth) windowWidth = 0;
  if(!windowHeight) windowHeight = 0;
  if(windowWidth == 0){
    if(screen){
      windowWidth = screen.availWidth -10;
    }
    else{
      windowWidth = 790;
    }
    leftPos = ",left=0";
  }
  if(windowHeight == 0){
    if(screen){
      windowHeight = screen.availHeight -30;
    }
    else{
      windowHeight = 790;
    }
    topPos = ",top=0";
  }


  newWin = window.open(windowURL,"acromedia","toolbar=no,menubar=0,width="+windowWidth+",height="+windowHeight+topPos+leftPos+",scrollbars=yes,resizable=no");

  if(javascript_version > 1.0){
    setTimeout('newWin.focus();',100);
  }
}