text=new Array();
title=new Array();

// Anzeigetexte
// ----------------------------------
	text[1]="Hier geht es zur Startseite mit den <b>aktuellsten Informationen, Berichten und Terminen</b>.";
	text[2]="Hier gibt es die Men&uuml;punkte<b><br>&nbsp;&nbsp;&nbsp;CVJM Lippe<br>&nbsp;&nbsp;&nbsp;CVJM weltweit<br>&nbsp;&nbsp;&nbsp;Pariser Basis<br>&nbsp;&nbsp;&nbsp;Historisches<br>&nbsp;&nbsp;&nbsp;Organisation</b>";
	text[3]="Hier gibt es die Men&uuml;punkte<b><br>&nbsp;&nbsp;&nbsp;Der Kreisverband<br>&nbsp;&nbsp;&nbsp;Mitarbeiterausbildung<br>&nbsp;&nbsp;&nbsp;Ortsvereine<br>&nbsp;&nbsp;&nbsp;Internationale Kontakte<br>&nbsp;&nbsp;&nbsp;Projekte<br>&nbsp;&nbsp;&nbsp;Förderinitiative<br>&nbsp;&nbsp;&nbsp;Termine</b>";
	text[4]="Hier gibt es die Men&uuml;punkte<b><br>&nbsp;&nbsp;&nbsp;Der Freizeitdienst<br>&nbsp;&nbsp;&nbsp;Freizeitangebote<br>&nbsp;&nbsp;&nbsp;Freizeitsammlung<br>&nbsp;&nbsp;&nbsp;Allgemeine Hinweise<br>&nbsp;&nbsp;&nbsp;AGB-Reisebedingungen<br>&nbsp;&nbsp;&nbsp;Anmeldeformular</b>";
	text[5]="Hier gibt es Informationen zu unseren Freizeitheimen in <b>B&ouml;singfeld</b> und <b>Gr&ouml;mitz</b>";
	text[6]="Hier gibt es die Men&uuml;punkte<b><br>&nbsp;&nbsp;&nbsp;Artikelarchiv<br>&nbsp;&nbsp;&nbsp;der Kurier<br>&nbsp;&nbsp;&nbsp;Downloads<br>&nbsp;&nbsp;&nbsp;Links ins WWW<br>&nbsp;&nbsp;&nbsp;CVJM-Lippe Shop<br>&nbsp;&nbsp;&nbsp;Sponsoring<br>&nbsp;&nbsp;&nbsp;Presseinformationen<br>&nbsp;&nbsp;&nbsp;Computertipps und Vireninfos</b>";
	text[7]="Hier gibt es die Men&uuml;punkte<b><br>&nbsp;&nbsp;&nbsp;Adressen<br>&nbsp;&nbsp;&nbsp;E-Mailformular<br>&nbsp;&nbsp;&nbsp;Unser Team</b>";
	text[8]="&Uuml;ber einen Eintrag in unserem <b>G&auml;stebuch</b> w&uuml;rden wir uns freuen.";	
	text[9]="Über eine <b>Spende</b> für unsere Arbeite freuen wir uns sehr.";
	text[10]="Alle relevanten Daten auf einen Blick im <b>Impressum</b>.";

	
				
// Variablen setzen
// ----------------------------------
	var x = 0;
	var xx=11;
	var yy=0;
	var y = 0;
	var showit = 0;


	
// Browserabfragen
// ----------------------------------
    ns = (document.layers)? true:false
    ie4 = (document.all)? true:false
    ie5 = false;
    ie6 = false;
    if (ie4) 
		{
    	if (navigator.userAgent.indexOf('MSIE 5')>0) 
			{
    		ie5 = true;
    		}
    	}
		
    if (ie4) 
		{
    	if (navigator.userAgent.indexOf('MSIE 6')>0) 
			{
    		ie6 = true;
    		}
    	}    

		
 // Welche Plattform? bei IE auf MAC keine popi-Fenster
 // ----------------------------------
	if ( navigator.platform.substring(0,3).toUpperCase() == "MAC" && (ie4 || ie5) )  
		{
	   	mac = true;
	   	} 
	else 
		{
	   	mac = false;
	   	}

    if ( (ns) || (ie4) ) 
		{
    	if (ns) over = document.maustext
    	if (ie4) over = maustext.style
		document.onmousemove = mouseMove
    	if (ns) document.captureEvents(Event.MOUSEMOVE)
    	}

    
function wtl(txt) 
	{
	if (ns) 
		{
   		var lll = document.maustext.document
   		lll.write(txt)
   		lll.close()
    	} 
	else 
		{
   		if (ie4) document.all["maustext"].innerHTML = txt
    	}
    }


function show(obj) 
	{
   	if (ns) obj.visibility = "show"
   	else if (ie4) obj.visibility = "visible"
    }


function hide(obj) 
	{
   	if (ns) obj.visibility = "hide"
   	else if (ie4) obj.visibility = "hidden"
    }


function moveTo(obj,lx,ly) 
	{
   	obj.left = lx
   	obj.top = ly
    }


function hideit() 
	{
 	if (mac) {return;}
   	if ( (ns) || (ie4) ) 
		{
   		showit = 0;
   		hide(over);
	   	}
    }



// Maustext erstellen
// ---------------------

function rpopi(text, title) 
	{
   	txt = "<br><TABLE BORDER=0 CELLPADDING=1 CELLSPACING=0 BGCOLOR=\"#000000\"><TR><TD><TABLE WIDTH=250 BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR=\"#ffffff\"><TR><TD><span class=\"smallbold\">"+text+"</span></TD></TR></TABLE></TD></TR></TABLE>"

   	wtl(txt);
   	display_it();
	}

function popi(i,yn) 
	{
	if (mac) {return;}
	yy=yn;
	xx=11;

	if (yy==-111) xx=-335;
	if (yy==-244) xx=-335;

	rpopi(text[i],title[i]);
    }


function popi_adjustxy(i,yn,xn) 
	{
	if (mac) {return;}
	yy=yn;
	xx=xn;

	if (yy==-111) xx=-335;
	if (yy==-244) xx=-335;

	rpopi(text[i],title[i]);
	}


function popi(i,xm) 
	{
	if (mac) {return;}
	xx=xm;
	rpopi(text[i],title[i]);
    }



// Maustext anzeigen
// ---------------

function display_it() 
	{
   	if ( (ns) || (ie4) ) 
		{
		if (showit == 0) 	
			{
   			moveTo(over,x+xx,y+yy);
   			show(over);
			showit = 1;
    		}
    	}
    }


// Mausbewegungen abfragen
// -----------------------

function mouseMove(e) 
	{
	if (ns) {x=e.pageX; y=e.pageY;}
   	if (ie4) {x=event.x; y=event.y;}
   	if (ie5 || ie6) {x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
   	
	if (showit) 
		{
   		moveTo(over,x+xx,y+yy);
    	}
    }
