function popup(u,w,h,p,n){
if (typeof(u)!='string') u=u.href;
if(p)p='scrollbars=yes,resizeable=yes';
if(h>0)p='width='+w+',height='+h+','+p;
var w=window.open(u,n,p);
(w)?w.focus():alert('A popup blocker may have blocked access to the page you requested. Try disabling the popup blocker for this site to enable the requested functionality.');
return false;
}


function go_selector(url)
{
  if (navigator.appName == "Microsoft Internet Explorer")
  {
    if ( navigator.appVersion.indexOf( "Macintosh" ) != -1 ) // IE Mac
    {
      window.open(url,'','status=no,location=no,menubar=no,toolbar=no,scrollbars=no,width=600,height=480,top=50,left=50,resizable=yes');
    }
    else // IE Win
    {
      window.open(url,'','status=no,location=no,menubar=no,toolbar=no,scrollbars=no,width=600,height=480,top=50,left=50,resizable=yes');
    }
  }
  if (navigator.appName != "Microsoft Internet Explorer")
  {
    if ( navigator.appVersion.indexOf( "Macintosh" ) != -1 ) // Netscape Mac
    {
      window.open(url,'','status=no,location=no,menubar=no,toolbar=no,scrollbars=no,width=600,height=480,top=50,left=50,resizable=yes');
    }
    else // Netscape WIn
    {
      window.open(url,'','status=no,location=no,menubar=no,toolbar=no,scrollbars=no,width=600,height=480,top=50,left=50,resizable=yes');
    }
  }
}
