var newWin = null; function popUp(strURL, strType, strHeight, strWidth) { if (newWin != null && !newWin.closed) newWin.close(); var strOptions=""; if (strType=="mediaplayer") strOptions="height="+strHeight+",width="+strWidth; if (strType=="terms") strOptions="scrollbars,"+"resizable,height="+strHeight+",width="+strWidth; if (strType=="address") strOptions="height="+strHeight+",width="+strWidth; newWin = window.open(strURL, 'newWin', strOptions); newWin.focus(); } var isIE=document.all?true:false; var isDOM=document.getElementById?true:false; var isNS4=document.layers?true:false; function togglenav(_w,_h) { if (isDOM) { if (_h=='s') document.getElementById(_w).style.display='block'; if (_h=='h') document.getElementById(_w).style.display='none'; } else if (isIE) { if (_h=='s') eval("document.all."+_w+".style.display='block';"); if (_h=='h') eval("document.all."+_w+".style.display='none';"); } else if(isNS4) { if (_h=='s') eval("document.layers['"+_w+"'].display='block';"); if (_h=='h') eval("document.layers['"+_w+"'].display='none';"); } } function toggleinfopanel(_w,_h,_lp) { if (isDOM) { if (_h=='s') document.getElementById(_w).style.left=_lp+"px"; if (_h=='h') document.getElementById(_w).style.left='-9999px'; } else if (isIE) { if (_h=='s') eval("document.all."+_w+".style.left='"+_lp+"px';"); if (_h=='h') eval("document.all."+_w+".style.left='-9999px';"); } else if(isNS4) { if (_h=='s') eval("document.layers['"+_w+"'].left='"+_lp+"px';"); if (_h=='h') eval("document.layers['"+_w+"'].left='-9999px';"); } }