// e-mail: kh@javarea.de
// www: http://www.javarea.de
// ScriptName: ultimate Tooltipp

Xoffset= -200;                    // Entfernung vom Mauszeiger auf der X Achse
Yoffset= -315;			// Entfernung vom Mauszeiger auf der Y Achse
var tnew,kh;
iex=(document.all),popup=-1000;
nsx=(document.layer),popup=-1000;

// Textinhalte für Popups
var tipp1 =('<img src="image_tausch/follicrinus_400px.jpg" width="400" height="300" border="0">');
var tipp2 =('<img src="image_tausch/nahecaris_non_det400px.jpg" width="400" height="300" border="0">');
var tipp3 =('<img src="image_tausch/urasterella_asperula1a_400p.jpg" width="400" height="300" border="0">');
var tipp4 =('<img src="image_tausch/urasterella_asperula1b_400p.jpg" width="400" height="300" border="0">');
var tipp5 =('<img src="image_tausch/chotecops_v_unt_u_Orthoc_40.jpg" width="400" height="300" border="0">');
var tipp6 =('<img src="image_tausch/chotecops_v_unten_400px.jpg" width="400" height="300" border="0">');
var tipp7 =('<img src="image_tausch/chotecops_verdreht400.jpg" width="400" height="300" border="0">');
var tipp8 =('<img src="image_tausch/furcaster_pal_400px.jpg" width="400" height="300" border="0">');
var tipp9 =('<img src="image_tausch/orthoceras_m_bewuchs_400px.jpg" width="400" height="300" border="0">');
var tipp10 =('<img src="image_tausch/urasterella_asperula3_400px.jpg" width="400" height="300" border="0">');
var tipp11 =('<img src="image_tausch/taeniaster_fehlender_arm400.jpg" width="400" height="300" border="0">');
var tipp12 =('<img src="image_tausch/taeniaster1_400px.jpg" width="400" height="300" border="0">');
var tipp13 =('<img src="image_tausch/taeniaster2_400px.jpg" width="400" height="300" border="0">');
var tipp14 =('<img src="image_tausch/urast_verruc1_400px.jpg" width="400" height="300" border="0">');
var tipp15 =('<img src="image_tausch/schlangensterne_schwamm_400.jpg" width="400" height="300" border="0">');
var tipp16 =('<img src="image_tausch/jaeckel_petalif_400px.jpg" width="400" height="300" border="0">');
var tipp17 =('<img src="image_tausch/hystrigaster_horridus1_400p.jpg" width="400" height="300" border="0">');
var tipp18 =('<img src="image_tausch/hystrigaster_horridus_400px.jpg" width="400" height="300" border="0">');
var tipp19 =('<img src="image_tausch/rhenoc_latipendunculata_400.jpg" width="400" height="300" border="0">');
var tipp20 =('<img src="image_tausch/schlundring_seegurke1_400px.jpg" width="300" height="400" border="0">');
var tipp21 =('<img src="image_tausch/euzonos_tischb_400px.jpg" width="400" height="300" border="0">');
var tipp22 =('<img src="image_tausch/loriolaster_400px.jpg" width="400" height="300" border="0">');
var tipp23 =('<img src="image_tausch/nahecaris2_400px.jpg" width="400" height="300" border="0">');
var tipp24 =('<img src="image_tausch/nahecaris1_400px.jpg" width="400" height="300" border="0">');
var tipp25 =('<img src="image_tausch/rhenoc_latip_400px.jpg" width="400" height="300" border="0">');
var tipp26 =('<img src="image_tausch/regula_pleurocy_400px.jpg" width="400" height="300" border="0">');
var tipp27 =('<img src="image_tausch/chotecops_400px.jpg" width="400" height="300" border="0">');
var tipp28 =('<img src="image_tausch/taxocrinus-stuertzi_400px.jpg" width="400" height="300" border="0">');
var tipp29 =('<img src="image_tausch/taxocr_stuertzi_follmann_40.jpg" width="400" height="300" border="0">');
var tipp30 =('<img src="image_tausch/crinoide_non_de_400px.jpg" width="400" height="300" border="0">');
var tipp31 =('<img src="image_tausch/trilobitenfriedhof_400px.jpg" width="400" height="300" border="0">');
var tipp32 =('<img src="image_tausch/orthoceras-sp_400px.jpg" width="400" height="300" border="0">');
var tipp33 =('<img src="image_tausch/palaeoisopus_problema1_400p.jpg" width="400" height="300" border="0">');
var tipp34 =('<img src="image_tausch/palaeoisopus_problematicus_.jpg" width="400" height="300" border="0">');
var tipp35 =('<img src="image_tausch/muschel_sp_400px.jpg" width="400" height="300" border="0">');
var tipp36 =('<img src="image_tausch/chotecops_koepfe_u_rumpf_40.jpg" width="400" height="300" border="0">');
var tipp37 =('<img src="image_tausch/furcaster_palaeozoicus1_400.jpg" width="400" height="300" border="0">');
var tipp38 =('<img src="image_tausch/furcaster_decheni_400px.jpg" width="400" height="300" border="0">');
var tipp39 =('<img src="image_tausch/furcaster_pal_2_stk400px.jpg" width="400" height="300" border="0">');
var tipp40 =('<img src="image_tausch/taeniaster070702_400px.jpg" width="400" height="300" border="0">');
kh = (tnew) ? document.css : css.style;
if(tnew)
	document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=mouse;

function zeige(tooltipp)
{
	var content="<table bgcolor=#808080 width=410 border=1 cellpadding=2 cellspacing=2><td>"+tooltipp+"</td></table>";
	if(iex)
	{
		popup=Yoffset;
		document.all("css").innerHTML=content;
		kh.visibility="visible"
	}else{
		popup=Yoffset;
		document.layer("css").innerHTML=content;
		kh.visibility="visible"
	}

}

// überwachen der Mouse auf den Achsen
function mouse(e)
{
	var x = (tnew) ? e.pageX:event.x + document.body.scrollLeft;
	kh.left=x+Xoffset;
	var y = (tnew) ? e.pageY:event.y + document.body.scrollTop;
	kh.top=y+popup;
}

// Schliessfunktion
function verberge()
{
	popup=-1000;
	kh.visibility="hidden";
}
