function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=outerWidth; document.MM_pgH=outerHeight; onresize=MM_reloadPage; }}
  else if (outerWidth!=document.MM_pgW || outerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function BW_centerLayers() { //v1.0
  var i, horz, vert, width, height, x, y, args;
  args = BW_centerLayers.arguments;
  for (i=0; i<(args.length-5); i+=6) {
    horz   = args[i+2];
    vert   = args[i+3];
    width   = args[i+4];
    height   = args[i+5];
    if (navigator.appName == 'Netscape') {
      (horz) ? x = (window.outerWidth - width)/2 +344 : x = eval(args[i]+'.left');
	   (vert) ? y = (window.innerHeight - height)/2 : y = eval(args[i]+'.top');
      if (document.layers != null) eval(args[i]+'.moveTo ('+x+','+y+')');
    } else { //IE
      	if (document.all != null){
			if (horz){
				eval(args[i+1]+'.style.left ='+((document.body.clientWidth - width)/2 +344));
			}
			//if (vert){
      			//eval(args[i+1]+'.style.top ='+ ((document.body.clientHeight - height)/2));
			//}
       }   
	 }
  }
}

