	appnum=0;
	appnumP=0;
	
	/* aAppTitles = new Array('3. Gerhard Hanappi', '2. Toni Polster', '1. Mark Janko');
	aAppText = new Array('93 Länderspiele<br>12Tore<br>1948 - 1962', 'auchwas', 'nochwas');
	
	aAppTitlesP = new Array('3. Gerhard Hanappi', '2. Toni Polster', '1. Mark Janko');
	aAppTextP = new Array('93 Länderspiele<br>12Tore<br>1948 - 1962', 'auchwas', 'nochwas');
	*/


	/* aFactlength = aAppTitles.length;

	aFactlengthP = aAppTitlesP.length; */
	
	function getFactboxPixel(op,st) {

  		var OEWA_URL = 'http://sportat.oewabox.at/cgi-bin/ivw/CP/RedContent/Sport/Sonstiges/Factbox';              
		var pixelUrl = OEWA_URL + "?r=" + escape(document.referrer) + "&d=" + (new Date()).getTime();
		var oewaPixel = new Image();
		oewaPixel.src = pixelUrl;   

		//document.write('<img name="ivwpic1" src="http://sportat.oewabox.at/cgi-bin/ivw/CP/'+op+'?r='+escape(document.referrer)+'&d='+(new Date()).getTime()+'" width="1" height="1">');

		sitestat('http://de.sitestat.com/laola1/laola1-at/s?'+st);

		return true;
	}

	
	function OEWApixelStat() {
	
		getFactboxPixel('RedContent/Sport/Sonstiges/Factbox', 'laola1-at.Factbox');
	}


	function getNext(num) {
		appnum=num;
		
		OEWApixelStat();
				
		if (num >= aFactlength) { appnum=0; }
		document.getElementById('facttitle').innerHTML = '<p>' + aAppTitles[appnum] + '</p>';
		document.getElementById('facttext').innerHTML = '<p>' + aAppText[appnum] + '</p>';
	}
	
	function getPrev(num) {
		appnum=num;
		
		OEWApixelStat();
		
		if (num == -1) { appnum=aFactlength-1; }
		document.getElementById('facttitle').innerHTML = '<p>' + aAppTitles[appnum] + '</p>';
		document.getElementById('facttext').innerHTML = '<p>' + aAppText[appnum] + '</p>';
		
		
	}
	
	function getNextP(num) {
		appnumP=num;
		
		OEWApixelStat();
			
		if (num >= aFactlengthP) { appnumP=0; }
		document.getElementById('facttitleP').innerHTML = '<p>' + aAppTitlesP[appnumP] + '</p>';
		document.getElementById('facttextP').innerHTML = '<p>' + aAppTextP[appnumP] + '</p>';
	}
	
	function getPrevP(num) {
		appnumP=num;
		
		OEWApixelStat();
		
		if (num == -1) { appnumP=aFactlengthP-1; }
		document.getElementById('facttitleP').innerHTML = '<p>' + aAppTitlesP[appnumP] + '</p>';
		document.getElementById('facttextP').innerHTML = '<p>' + aAppTextP[appnumP] + '</p>';
		
		
	}