function openURL() { 
  selInd = document.dropdownmenu.aaa.selectedIndex; 
  goURL = document.dropdownmenu.aaa.options[selInd].value;
  top.location.href = goURL; 
}

//Produkte login und hires /////////////////////////////////////////////////////////////////////////////////////////////////
var cr_checker = 0;
var cr_counter = 0;

function cr_stay(){
	cr_checker = 1;
}

function cr_hide(){
	cr_counter = 1;
	cr_checker = 0;
	zaehler();
}


function zaehler() {
	if (cr_counter > 0) {
		cr_counter --;
		setTimeout("zaehler()",200);
	} else {
		if (cr_checker < 1) {
			cr_showHideLayers('hires_layer','','hide');
		}
	}
}

function cr_showHideLayers() {
  var i,p,v,z,obj,args=cr_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; z=(v=='visible')?'99999999':(v=='hidden')?'-3':z;}
    obj.visibility=v; obj.zIndex=z; }//alert(args[i]+' '+z);
}

wmtt = null;
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 + 0) + "px";
    wmtt.style.top 	= (y + 15) + "px";
    }
}

function updateWMTT_tour(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 - 275) + "px";
    wmtt.style.top 	= (y - 15) + "px";
    }
}

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

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

function MM_findObj(n, d) {
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}

