
function picPreload()
{
    document.Vorladen = new Array();

    if(document.images)
    {
        for(var i = 0; i < picPreload.arguments.length; i++)
        {
            document.Vorladen[i] = new Image();
            document.Vorladen[i].src = "fileadmin/template/new/images/" + picPreload.arguments[i];
        }
    }
}
function mHover(id)
{
	document.getElementById(id).style.backgroundImage = "url(fileadmin/template/new/images/"+id+"_act.jpg)";
	document.getElementById(id+"_l").firstChild.style.color = "#909090";
}

function mReturn(id)
{
	document.getElementById(id).style.backgroundImage = "url(fileadmin/template/new/images/"+id+".jpg)";
	document.getElementById(id+"_l").firstChild.style.color = "#303030";
}

function smHover(id)
{
	var arr = id.split("_");
	document.getElementById(id).style.backgroundImage = "url(fileadmin/template/new/images/"+arr[0]+"_act.jpg)";
	document.getElementById(id+"_l").firstChild.style.color = "#909090";
}

function smReturn(id)
{
	document.getElementById(id).style.backgroundImage = "url(fileadmin/template/new/images/sm.jpg)";
	document.getElementById(id+"_l").firstChild.style.color = "#303030";
}
