
// ################################### //

USA=navigator.userAgent.toUpperCase();
//alert(USA)

ie4 = (document.all) ? 1 : 0
n4 = ((navigator.userAgent.indexOf("Mozilla/4") >= 0) && (navigator.appName=="Netscape")) ? 1 : 0 ;
nodom = 0;

ff = (USA.indexOf("FIREFOX") >= 0) ? 1 : 0 ;
n6 = (USA.indexOf("GECKO") >= 0) ? 1 : 0 ;
ie = (USA.indexOf("MSIE") >= 0) ? 1 : 0 ;

dom = (document.getElementById) ? 1 : 0 ;
if(dom){
	ie4 = 0;
} else {
	nodom = 1;
}



// ################################### //
function markiere(myX, myY){	
	if(dom){
		// window.status='Standort anzeigen' + ' - ' + (myY - 3) + ' / ' + (myX - 6);
		// window.status='Standort anzeigen' + ' - ' + (myY - 7) + ' / ' + (myX - 8);
		window.status='Standort anzeigen';
		document.getElementById('XYQ').style.left = eval('"'+(myY - 11)+'px"');
		document.getElementById('XYQ').style.top = eval('"'+(myX - 12)+'px"');
		document.getElementById('XYQ').style.visibility = "visible";
		/* Variante 'Fadenkreuz'
		document.getElementById('Yax').style.left = eval('"'+(myY - 1)+'px"');
		document.getElementById('Xax').style.top = eval('"'+(myX - 1)+'px"');
		document.getElementById('Yax').style.visibility = "visible";
		document.getElementById('Xax').style.visibility = "visible";
		*/
	}
}

// ################################### //
function markoff(){
	if(dom){
		window.status='';
		document.getElementById('XYQ').style.visibility = "hidden";
		/* Variante 'Fadenkreuz'
		document.getElementById('Yax').style.visibility = "hidden";
		document.getElementById('Xax').style.visibility = "hidden";
		*/
	}
}

// ################################### //
