function loadXMLDoc(dname)
{
try //Internet Explorer
  {
  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  }
catch(e)
  {
  try //Firefox, Mozilla, Opera, etc.
    {
    xmlDoc=document.implementation.createDocument("","",null);
    }
  catch(e) {alert(e.message)}
  }
try
  {
  xmlDoc.async=false;
  xmlDoc.load(dname);
  return(xmlDoc);
  }
catch(e) {alert(e.message)}
return(null);
} 


function f_open_window_max( aURL, aWinName )
{
   var wOpen;
   var sOptions;

   sOptions = 'toolbar=0,location=0,menubar=0,status=0,resizable=1';
   sOptions = sOptions + ',width=' + (screen.availWidth - 10).toString();
   sOptions = sOptions + ',height=' + (screen.availHeight - 122).toString();
   sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
	
   wOpen = window.open( '', aWinName, sOptions );
   wOpen.location = aURL;
   wOpen.focus();
   wOpen.moveTo( 0, 0 );
   wOpen.resizeTo( screen.availWidth, screen.availHeight );
   return wOpen;
}

//<script language="javascript">
function showpage(){
   var glasilo = document.getElementById('glasilo').value;		  
   
   
   if(glasilo==1) f_open_window_max( "glasilo/index.html", "" );
   if(glasilo==2) f_open_window_max( "glasilo/index.html", "" );
   if(glasilo==3) f_open_window_max( "glasilo/index.html", "" );
   if(glasilo==4) f_open_window_max( "glasilo/index.html", "" );
   if(glasilo==5) f_open_window_max( "glasilo/index.html", "" );
   if(glasilo==6) f_open_window_max( "glasilo/index.html", "" );

}

//</script> 

