function addBookmark(title,url) {
  if (window.sidebar) { 
  window.sidebar.addPanel(title, url,""); 
  } else if( document.all ) {
    window.external.AddFavorite( url, title);
  } else if( window.opera && window.print ) {
return true;
  }
}


var win = null;
function NewWindow(mypage,myname,w,h,scroll){
  settings ='height='+h+',width='+w+',scrollbars='+scroll+',unresizable'
  win = window.open(mypage,myname,settings)
  }
  

function check() {
 if(document.formel2.r.checked==true) {
  document.formel2.elements['GehWeiter'].disabled="";
 }
 else {
  document.formel2.elements['GehWeiter'].disabled="disabled";
 }
}

wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(e) {
	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;
	if (wmtt != null) {
		wmtt.style.left = (x + 20) + "px";
		wmtt.style.top 	= (y + 20) + "px";
	}
}

function showWMTT(id) {
	wmtt = document.getElementById(id);
	wmtt.style.display = "block"
}

function hideWMTT() {
	wmtt.style.display = "none";
}
