function GFind()
{
 SS = document.forms[0].q.value;
 SS = SS.replace (/\s/g,"+");
 if (SS)
  if (document.forms[0].Site[0].checked == true)
   Find = window.open ("http://www.google.com/search?q=" + SS + "&domains=www.starhan.org","Google","width=800,height=400,screenX=0,screenY=0,location,menubar,personalbar,resizable,scrollbars,status,toolbar");
  else
   Find = window.open ("http://www.google.com/search?q=" + SS + "&domains=www.starhan.org&sitesearch=www.starhan.org","Google","width=800,height=400,screenX=0,screenY=0,location,menubar,personalbar,resizable,scrollbars,status,toolbar");
 else
  alert ("Bitte einen Suchbegriff eingeben!");
}

function GHelp()
{
 Help = window.open ("http://www.starhan.org/help/google.html","Hilfe","width=480,height=180,screenX=0,screenY=0,resizable=no");
}

function GGFind()
{
 SS = document.forms[2].q.value;
 SS = SS.replace (/\s/g,"+");
 if (SS)
  if (document.forms[2].Mode[0].checked == true)
   Find = window.open ("http://groups.google.com/groups?q=" + SS,"GoogleGroups","width=800,height=400,screenX=0,screenY=0,location,menubar,personalbar,resizable,scrollbars,status,toolbar");
  else
   Find = window.open ("http://groups.google.com/groups?as_umsgid=" + SS,"GoogleGroups","width=800,height=400,screenX=0,screenY=0,location,menubar,personalbar,resizable,scrollbars,status,toolbar");
 else
  alert ("Bitte einen Suchbegriff eingeben!");
}

function GGHelp()
{
 Help = window.open ("http://www.starhan.org/help/googlegroups.html","Hilfe","width=480,height=180,screenX=0,screenY=0,resizable=no");
}

function GIFind()
{
 SS = document.forms[1].q.value;
 SS = SS.replace (/\s/g,"+");
 if (SS)
  if (document.forms[1].Safe[0].checked == true)
   Find = window.open ("http://images.google.com/images?q=" + SS + "&imgsafe=on","GoogleImages","width=800,height=400,screenX=0,screenY=0,location,menubar,personalbar,resizable,scrollbars,status,toolbar");
  else
   Find = window.open ("http://images.google.com/images?q=" + SS + "&imgsafe=off","GoogleImages","width=800,height=400,screenX=0,screenY=0,location,menubar,personalbar,resizable,scrollbars,status,toolbar");
 else
  alert ("Bitte einen Suchbegriff eingeben!");
}

function GIHelp()
{
 Help = window.open ("http://www.starhan.org/help/googleimages.html","Hilfe","width=480,height=180,screenX=0,screenY=0,resizable=no");
}

function GISFind()
{
 SS = document.forms[3].q.value;
 SS = SS.replace (/\s/g,"_");
 if (document.forms[3].Lupe[0].checked == true)
  Scale = document.forms[3].Lupe[0].value;
 if (document.forms[3].Lupe[1].checked == true)
  Scale = document.forms[3].Lupe[1].value;
 if (document.forms[3].Lupe[2].checked == true)
  Scale = document.forms[3].Lupe[2].value;
 if (document.forms[3].Lupe[3].checked == true)
  Scale = document.forms[3].Lupe[3].value;
 if (SS)
  Find = window.open ("http://service.magwien.gv.at/wien-grafik/inline/gif/" + SS + ".gif?scale=" + Scale,"Wien","width=660,height=500,screenX=0,screenY=0,resizable=no");
 else
  alert ("Bitte eine Adresse eingeben!");
}

function GISHelp()
{
 Help = window.open ("http://www.starhan.org/help/wiengrafik.html","Hilfe","width=520,height=180,screenX=0,screenY=0,resizable=no");
}
