function showContent(id, txt){
document.getElementById(id).innerHTML=txt;
}
function changePic(id, pic){
document.getElementById(id).src=pic;
}
function preloadPics(){
    var pic_arr = new Array('img/alansing.jpg','img/fermob.jpg','img/frenchtouch.jpg','img/ischmid.jpg','img/izp.jpg','img/krebswegweiser.jpg','img/lebensmut.jpg','img/moose.jpg','img/noragres.jpg','img/parkerrose.jpg','img/rsi.jpg', 'img/schrems.jpg', 'img/uweminde.jpg');
        for(var i=0; i< pic_arr.length; i++)
        {
            a = new Image();
            a.src = pic_arr[i];
        }
}

//var text   =           'ActionScript_CMS_CSS_Flash_HTML_JavaScript_Joomla_JQuery_MySQL_osCommerce_PHP_TYPO3_XML';
var text   =           'AS_CMS_CSS_Flash_HTML_JavaScript_Joomla_JQuery_MySQL_osCommerce_PHP_TYPO3_Wordpress_XML';
var l = text.length;
var a = '<span style="color:#FFAA00">';
var e = '</span>';
var i = 0;

function txt(){
	if(i<l)i = i+1;
	else i = 0;
	showTest();
}
function showTest(){
var t = text.substring(0, i) + a + text.substring(i, i+1)+ e+ text.substring(i+1, l);
document.getElementById("programme").innerHTML = t;
}

function gimme(wert){
	location.href = wert+"?i="+i;
}
