/*-- scripts by el-zorro.de */

/* externes fenster */

function FensterOpen(theURL,winName)
{ 
  winName=winName+String(Math.floor(Math.random()*1000));
  window.open(theURL,winName,'menubar=yes,scrollbars=no,width=570,height=430');
}
   
function FensterOpen1(theURL,winName)
{ 
winName=winName+String(Math.floor(Math.random()*1000));
  window.open(theURL,winName,'menubar=no,scrollbars=yes,width=660,height=380,resizable');
}
/* Webversion von FensterOpen1

function FensterOpen1(theURL,winName)
{ 
winName=winName+String(Math.floor(Math.random()*1000));
  window.open('../main/hint.htm',winName,'menubar=no,scrollbars=no,width=480,height=345');
}

*/   
function FensterOpen2(myUrl,winName)
{ 
  winName=winName+String(Math.floor(Math.random()*1000));
  window.open(myUrl, winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=no,width=620,height=400");
}

function FensterOpen3(theURL,winName)
{ 
  winName=winName+String(Math.floor(Math.random()*1000));
  window.open(theURL,winName,'menubar=yes,scrollbars=no,width=560,height=420');
}

/* OnlineLinks */ 
 
 function MyOnlineAll()
 {
   Check = confirm("Sind Sie bereits online?");
   if(Check == true) 
     location.href="http://195.243.105.204/%7Eavatar/expo_forum/cgi-bin/index.pl"; 
   else 
     alert('Verbinden Sie sich erst mit dem Internet!');
 }

function MyPrint()
{
    Check = confirm("Benutzen Sie Netscape?");
    if(Check == true) 
      window.print();
    else 
      alert('Sie können als MSIE-Nutzer nur über das Dateimenü drucken!');

}


function MyLink(myLink)
{
  document.location.href = myLink;
}


function MyClose()
{
  window.close();
} 

function MyMore()
{
  document.location.href="full.htm"
}

function metadesk()
  {
    Check = confirm("Sind Sie bereits online?");
    if(Check == true) 
	   window.open('http://www.metadesk.de','metadesk','menubar=yes,scrollbars=yes,width=600,height=500');
	else 
	  alert('Verbinden Sie sich erst mit dem Internet!');
  }
  
function MyApple(myHref)
{
  parent.parent.frames[1].location.href = myHref;
}    

function MyRelated(myLink)
{
  parent.buttons.ausgabe2(myLink);
}

function MyRemote(myLink)
{
  window.opener.location.href = myLink;
}

/*-- Druckansicht --*/

var MyHeadInfo = 'Hallo <br>'

function BildInfo()
{	
 if (parent.frames.length != 0)
 {
   MyHeadInfo = '<img src="../gif/leer.gif" height="1">'
 }  
 else
 {
   MyHeadInfo = '<img src="../gif/printpic.gif" width="632">'
 }
}   

function InhaltInfo()
{	
 if (parent.frames.length != 0)
 {
   MyHeadInfo = '<img src="../gif/leer.gif" height="1">'
 }  
 else
 {
   MyHeadInfo = '<img src="../gif/printpic.gif" width="632" height="60">'
 }
}   
/*-- ende --*/

/* PrintVersion */

function MyPrintVersion()
{
  winName="Print";
  myUrl = location.href;
  winName=winName+String(Math.floor(Math.random()*1000));
  window.open(myUrl, winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=no,width=660,height=400");
}
/*-- ende --*/
