// On resize reload the page.
reloadPage(true);            

// Link the propper CSS file depending on the browsers. This is necessary for the way that netscape and ie 4 handle fonts on the macintosh.
if((navigator.platform.indexOf("Win") < 0) && (app=="N")){
  document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="' + cssPath + 'llbean_mac_nn.css" TITLE="MASTER">');
}else if((navigator.platform.indexOf("Win") < 0) && (app=="E")){
  document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="' + cssPath + 'llbean_mac_ie.css" TITLE="MASTER">');
}else{
  document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="' + cssPath + 'llbeanStyles.css" TITLE="MASTER">');
}

function reloadPage(init) {  //reloads the window if Nav4 resized                             
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {   
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}                
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();          
}                                                                                             

