<!--

function Go(Url){parent.location.href = Url;}
function getRadioValue(name)
    {
    var arrEl, i, el;
    arrEl = document.getElementsByName(name);
    for (i = 0; i < arrEl.length; i++)
        {
        el = arrEl[i];
        if (el.checked == true) return el.value;
        }
    return null;
    }
function poisk(name)
    {
    var sm = document.Form.index.options[document.Form.index.selectedIndex].value
    var sp = getRadioValue(name);
    if (document.Form.suche.value == "") {
    window.open(sm);
    }
    else{
    if (document.Form.suche.value != "") {
    if (document.Form.suche.value.indexOf("www.",0) == -1) {
    if (sm == "http://de.ask.com") {
    if (sp == "web"){
    window.open(sm + "/web?q=" + document.Form.suche.value + "&qsrc=0&o=312&l=dir&s=&part=&dm=all");
    }
    if (sp == "de"){
    window.open(sm + "/web?q=" + document.Form.suche.value + "&qsrc=0&o=312&l=dir&s=&part=&dm=lang&dm=all");
    }
    }
    if (sm == "http://search.bing.com") {
    if (sp == "web"){
    window.open(sm + "/results.aspx?q=" + document.Form.suche.value + "&go=&form=QBRE&filt=all");
    }
    if (sp == "de"){
    window.open(sm + "/results.aspx?q=" + document.Form.suche.value + "&go=&form=QBRE&filt=lf");
    }
    }
    if (sm == "http://www.google.de") {
    if (sp == "web"){
    window.open(sm + "/search?hl=de&q=" + document.Form.suche.value + "&btnG=Google-Suche&meta=");
    }
    if (sp == "de"){
    window.open(sm + "/search?hl=de&q=" + document.Form.suche.value + "&btnG=Suche&meta=lr%3Dlang_de");
    }
    }
    if (sm == "http://www.dogpile.com") {
    if (sp == "web"){
    window.open(sm + "/dogpile/ws/results/Web/" + document.Form.suche.value + "/1/417/TopNavigation/Relevance/iq=true/zoom=off/_iceUrlFlag=7?_IceUrl=true");
    }
    if (sp == "de"){
    window.open(sm + "/dogpile/ws/results/Web/" + document.Form.suche.value + "!FEde/1/485/TopNavigation/Relevance/iq=true/zoom=off/_iceUrlFlag=7?_IceUrl=true&adv=qall%3d" + document.Form.suche.value + "%26lang%3dde%26domaini%3dexclude");
    }
    }
    if (sm == "http://www.lycos.de") {
    if (sp == "web"){
    window.open("http://www.lycos.de/?tab=web&query=" + document.Form.suche.value + "&Search=Suchen&searchArea=web");
    }
    if (sp == "de"){
    window.open("http://www.lycos.de/?tab=web&query=" + document.Form.suche.value + "&Search=Suchen&searchArea=loc");
    }
    }
    if (sm == "http://de.yahoo.com") {
     if (sp == "web"){
    window.open("http://de.search.yahoo.com/search/de?p=" + document.Form.suche.value + "&&fr=yfp-t-501&ei=UTF-8&rd=r1");
    }
    if (sp == "de"){
    window.open("http://de.search.yahoo.com/search/de?p=" + document.Form.suche.value + "&&fr=yfp-t-501&ei=UTF-8&rd=r2");
    }
    }
    }
    else {
      window.open("http://"+document.Form.suche.value);
    }
    }
    }
    }
<!--
function createPalitraArray(n)
{
     this.length = n;
     for (var i = 1; i <= n; i++)
     this[i] = i - 1;

     this[11] = "A";
     this[12] = "B";
     this[13] = "C";
     this[14] = "D";
     this[15] = "E";
     this[16] = "F";
     return this;
}

hx = new createPalitraArray(16);
function convtoPalitra(x)
{
   if (x < 17) x = 16;
   var high = x / 16;
   var s = high+"";
   s = s.substring(0, 2);
   high = parseInt(s, 10);
   var left = hx[high + 1];
   var low = x - high * 16;
   if (low < 1) low = 1;
   s = low + "";
   s = s.substring(0, 2);
   low = parseInt(s, 10);
   var right = hx[low + 1];
   var string = left + "" + right;
   return string;
}

function Raduga(text)
{
 text = text.substring(0, text.length);
 color_d1 = 255;
 mult = color_d1 / text.length;
 for(var i = 0; i < text.length; i++)
 {
  color_d1 = 255*Math.sin(i / (text.length / 3));
  color_h1 = convtoPalitra(color_d1);
  color_d2 = mult * i;
  color_h2 = convtoPalitra(color_d2);
  k = text.length;
  j = k - i;
  if (j < 0) j = 0;
  color_d3 = mult * j;
  color_h3 = convtoPalitra(color_d3);
  document.write("<FONT size=4px COLOR=\"#" + color_h3 + color_h1 + color_h2 + "\">" + text.substring(i, i + 1) + "</FONT>");
 }
}

function Raduga1(text)
{
 text = text.substring(0, text.length);
 color_d1 = 255;
 mult = color_d1 / text.length;
 for(var i = 0; i < text.length; i++)
 {
  color_d1 = 255*Math.sin(i / (text.length / 3));
  color_h1 = convtoPalitra(color_d1);
  color_d2 = mult * i;
  color_h2 = convtoPalitra(color_d2);
  k = text.length;
  j = k - i;
  if (j < 0) j = 0;
  color_d3 = mult * j;
  color_h3 = convtoPalitra(color_d3);
  document.write("<FONT size=6px COLOR=\"#" + color_h3 + color_h1 + color_h2 + "\">" + text.substring(i, i + 1) + "</FONT>");
 }
}

String.prototype.trim = function() {
  var x = this;
  x = x.replace(/^\s*(.*)/, "$1");
  x = x.replace(/(.*?)\s*$/, "$1");
  return x;
}

function pwcheck(pf)
{
  var x = 8;
  pw = pf.value.trim();
  if(!pw.match(/[a-z]/)||!pw.match(/[A-Z]/)){x-=2};
  if(pw.length<8)                          {x-=2};
  if(!pw.match(/[^a-z\d]/i))               {x-=2};
  if(!pw.match(/[\d]/i))                   {x-=2};

  img = 'img/ampel_green.gif';
  if(x<8)img='img/ampel_gelb.gif';
  if(x<4)img='img/ampel_rot.gif';

  document.getElementById('image').src = img;
}
function pwcheckcms(pf)
{
  var x = 8;
  pw = pf.value.trim();
  if(!pw.match(/[a-z]/)||!pw.match(/[A-Z]/)){x-=2};
  if(pw.length<8)                          {x-=2};
  if(!pw.match(/[^a-z\d]/i))               {x-=2};
  if(!pw.match(/[\d]/i))                   {x-=2};

  img = 'img/ampel_green.gif';
  if(x<8)img='img/ampel_gelb.gif';
  if(x<4)img='img/ampel_rot.gif';

  document.getElementById('image').src = img;
}
/************************Begin Input Type*********************************/
var brTPS = new Array();

function inputFocus(brObj) {
  if (brObj.className=='inputGRU') {
    if (brObj.id=='password') {
      aendernInputType('password', 'password');
      brObj = document.getElementById('password');
    }
    brTPS[brObj.id] = brObj.value;
    if (brObj.value=='Name') {brObj.value = '';}
    if (brObj.value=='Passwort') {brObj.value = '';}
    brObj.className = 'inputSWZ';
    brObj.select();
    brObj.focus();
  }
}

function inputBlur(brObj) {
  if (brObj.value=='') {
    if (brObj.id=='password') {
      aendernInputType('password', 'text');
      brObj = document.getElementById('password');
    }
    brObj.value = brTPS[brObj.id];
    brObj.className = 'inputGRU';
  }
}

function aendernInputType(objID, oType) {
  var oldObject = document.getElementById(objID);
  var newObject = document.createElement('input');
  newObject.type = oType;
  if(oldObject.value) newObject.value = oldObject.value;
  if(oldObject.size) newObject.size = oldObject.size;
  if(oldObject.name) newObject.name = oldObject.name;
  if(oldObject.id) newObject.id = oldObject.id;
  if(oldObject.onfocus) newObject.onfocus = oldObject.onfocus;
  if(oldObject.onblur) newObject.onblur = oldObject.onblur;
  if(oldObject.className) newObject.className = oldObject.className;
  oldObject.parentNode.replaceChild(newObject,oldObject);
  return;
}

function setTP() { //Run onload of the page
  document.getElementById('username').className = 'inputGRU';

  aendernInputType('password', 'text');
  document.getElementById('password').value = 'Passwort';
  document.getElementById('password').className = 'inputGRU';
}
/************************Ende Input Type*********************************/
/************************BEGIN*********************************
function anzeigen(bild){
 if(document.getElementById(bild).style.display=="none") {
  document.getElementById(bild).style.display="inline";
 }
 else {
  document.getElementById(bild).style.display="none";
 }
}
/************************Ende*********************************/
-->
