var newWin;
function jsCheckPlayer() {
/*
    if (document.getElementById("PageMusic") != null)
    {
        if (detect_browser() == "MSIE" || detect_browser() == "Netscape")
        {
        } else {
            oDiv = document.getElementById("PageMusic");
            oDiv.style.display = "none";
        }
    }
*/    
}
function jsOpenPDF() 
{
   if (newWin == null) {
       newWin = window.open("Docs/IsClementasciencefiction-Essay.pdf","essayWin", "toolbar=false,menubar=false,location=false,resizable=true,scrollbars=true");
       newWin.focus();
   } else {
       newWin.focus();
   }
}
function resetVideo(divId) {
  if (typeof(divId)=="string") { divId=document.getElementById(divId); }
  if (divId.innerHTML) {
    org=divId.innerHTML;
    divId.innerHTML='';
    divId.innerHTML=org;
  }
  return false;
}
function jsOpenProtoWin(_title, _height, _width, _url, _maximize)  {
window.alert("jsOpenProtoWin");
    if (_maximize == undefined) _maximize = false;
    win = new Window({className: "default", title: _title, 
              top:70, left:100, width:_width, height:_height, 
              url:_url, showEffectOptions: {duration:0}});
    Window.keepMultiModalWindow=true;
    win.show(true);
    if (_maximize) {
        window.setTimeout(delayMax, 1000);
    }  
}
function delayMax() {
    if (win != null) {
        win.maximize();
    }
}
function jsOpenBlog() {
    if (document.getElementById("ABlog") != null) {
        document.getElementById("ABlog").click();
    }            
}    
