  	text=new Array();
  	title=new Array();
 	

	title[1]="Bloemfontain";
	text[1]="Free State Stadium:<br> A second tier will be added to the main grandstand before the World Cup. This will increase the seating capacity to 40,000. In addition, new turnstiles will be erected, the floodlights will be upgraded, electronic scoreboards will be installed and the sound system will be replaced. The stadium has been ear-marked for 1st and 2nd Round matches.";
		
	title[2]="Port Elizabeth";
	text[2]="Nelson Mandela Stadium:<br>The stadium which will be constructed over the next three years, will have a capacity of 49 500 venue and will meet every requirement needed to host first and second round matches. It will be located two kilometres from the coast, close to the N2 highway and no more than fifteen minutes' drive from the city's main hotel sector.";
		
	title[3]="Cape Town";
	text[3]="Green Point Stadium:<br>The Green Point Stadium will be rebuilt into a completely new 68 000 seater, all-weather, multi-purpose, environmentally sustainable stadium. It will be located within walking distance of the city centre and close to major hotels and the V & A Waterfront, South Africa's biggest tourist attraction.";
		
	title[4]="Durban";
	text[4]="King Senzangakhona Stadium:<br>The Kings Park Stadium has been demolished, paving the way for the start of construction of the new King Senzangakhona Stadium to be used in the 2010 Fifa World Cup. The 70000-seater stadium is expected to be completed by the end of 2008. The pitch will accommodate football, rugby and athletics and will be suitable to host a Commonwealth games and, with minor modifications, an Olympic games. Concerts, large gatherings, motocross and other sports will be accommodated.";
		
	title[5]="Rustenburg";
	text[5]="Royal Bafokeng Sports Palace:<br>Minor renovations will be required to bring the stadium in line with requirements for a stadium able to host first and second round matches for the World Cup. Seating capacity will be increased to just over 40 000. It is already well equipped and will require only minor renovations to bring it up to FIFA standards.";

	title[6]="Johannesburg";
	text[6]="Soccer City:<br>Soccer City (also know as the FNB Stadium) is earmarked to host both the opening and final matches of the 2010 Soccer World Cup. Built in 1987, it has played host to some of the most memorable matches in South Africa's soccer history. The stadium will be enlarged from its present seating capacity of 80 000 to 94 700 for the tournament. The upper tier will be extended around the stadium, while an encircling roof will be added. <br><br>Ellis Park Stadium:<br>The Ellis Park Stadium is a major football venue in South Africa and it has been ear-marked as a semi-final venue for the World Cup. The Stadium will be undergoing major renovations with two new upper tiers constructed behind each goal. It will add an extra 10 000 seats and bringing the seating capacity to the required 70 000.";

	title[7]="Pretoria";
	text[7]="Loftus Versveld:<br>To qualify for selection as a first and second round venue the floodlights, sound system and scoreboard at Loftus Versveld will be upgraded and designated media areas will be constructed in the lower level of the west stand. The renovations are expected to be completed by 2009. Loftus is the homeground of the Sundowns Football Club, one of South Africa's top professional clubs.";

	title[8]="Nelspruit";
	text[8]="Mbombela Stadium:<br>Construction of the new stadium should be completed by 2008. It has been designed as an adaptable sports, entertainment and exhibition venue. With a capacity of just 40 000, it has been earmarked for both the first and second round matches.";

	title[9]="Polokwane";
	text[9]="Peter Mokaba Stadium:<br>The stadium currently serves as a football stadium and international athletics venue. It comprises only a main stand and three grass banks, but it will be upgraded in preparation for the World Cup. The roof over the existing west stand will be removed and replaced by a roof that covers the entire western stand of the new stadium. Seating capacity will be increased to 40,000.";

	var x = 0;
	var xx=150;
	var yy=-80
	var y = 0;
	var showit = 0;

    // Welchen Browser haben wir denn...
    // ----------------------------------
    ns = (document.layers)? true:false
    ie4 = (document.all)? true:false
    ie5 = false;
    if (ie4) {
    	if (navigator.userAgent.indexOf('MSIE 5')>0) {
    		ie5 = 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.popDiv
    	if (ie4) over = popDiv.style
    	document.onmousemove = mouseMove
    	if (ns) document.captureEvents(Event.MOUSEMOVE)
    }


    function wtl(txt) {
    	if (ns) {
    		var lll = document.popDiv.document
    		lll.write(txt)
    		lll.close()
    	} else {
    		if (ie4) document.all["popDiv"].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);
    	}
    }


    // Popup zusammenbasteln
    // ---------------------
    function rpopi(text, title) {
    	txt = "<TABLE WIDTH=200 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\"#F4EE9D\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0><TR><TD><SPAN ID=\"thetext\"><B><FONT face=\"Arial, Helvetica\" size=-1 class=\"lt\" color=\"#4D485B\">"+title+"</FONT></B></SPAN></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR=\"#ffffff\"><TR><TD><SPAN ID=\"thetext2\"><FONT face=\"Arial, Helvetica\" COLOR=\"#4D485B\" size=-2>"+text+"</FONT><SPAN></TD></TR></TABLE></TD></TR></TABLE>"
       	wtl(txt);
    	display_it();
    }


	function popi(i,xm) {
		if (mac) {return;}
		xx=xm;
		rpopi(text[i],title[i]);
    }


    // ...und jetzt anzeigen
    // ---------------
    function display_it() {
    	if ( (ns) || (ie4) ) {
    		if (showit == 0) 	{
    			moveTo(over,x+xx,y+yy);
    			show(over);
    			showit = 1;
    		}
    	}
    }


    // Auf mousemoves reagieren
    // -----------------------
    function mouseMove(e) {
    	if (ns) {x=e.pageX; y=e.pageY;}
    	if (ie4) {x=event.x; y=event.y;}
    	if (ie5) {x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
    	if (showit) {
    		moveTo(over,x+xx,y+yy);
    	}
    }





