function popupPage(winname,l, t, w, h,url) 
{
var windowprops = "location=no,scrollbars=yes,menubars=no,status=yes,toolbars=yes,resizable=yes" +
",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
popup = window.open(url,winname,windowprops);
popup.focus();

}


var tooltip_window = null;
function tooltip(mensaje, status)
  {
    if(status != 0)
      {
        if(tooltip != null) tooltip.focus();
        else
        {
          var tooltip = open('', 'Tooltip', 'width=250,height=60,left=300,top=200');
          tooltip_window = tooltip;
          tooltip.document.open();
          tooltip.document.writeln('<html><head>');
          tooltip.document.writeln('<title>Angebot</title></head><body text=black bgcolor=#FFFFE1>');
          tooltip.document.writeln('<CENTER><FONT size=2><B>' + mensaje + '</B></FONT></CENTER>');
          tooltip.document.writeln('');
          tooltip.document.writeln('</body></html>');
          tooltip.document.close();
        }
      }
      else
      {
        if(tooltip_window != null) tooltip_window.close();
      }
    
  }

  
function zweiframes(URL1, URL2)
	{
    	parent.navigation.location.href=URL1;
		parent.mainframe.location.href=URL2;
	}	
	
<!--
  if(window.attachEvent)
    window.attachEvent("onload",setListeners);

  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  }//-->
