fadeObjects = new Object();
fadeTimers = new Object();

function fade(object, destOp, rate, delta){
document.all[object.id].style.cursor = 'hand';
if (!document.all)
return

    if (object != "[object]"){  //do this so I can take a string too
        setTimeout("fade("+object+","+destOp+","+rate+","+delta+")",0);
        return;
    }
        
    clearTimeout(fadeTimers[object.sourceIndex]);
    
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){


        direction = -1;
    }
    delta=Math.min(direction*diff,delta);
    object.filters.alpha.opacity+=direction*delta;

    if (object.filters.alpha.opacity != destOp){
        fadeObjects[object.sourceIndex]=object;
        fadeTimers[object.sourceIndex]=setTimeout("fade(fadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
    }
}

function sintr()
{
parent.txt.location.href = "overinfostudio.html"
parent.topb.location.href = "top/topintr.html"
}
function szuil()
{
parent.txt.location.href = "informatiezuilen2.html"
parent.topb.location.href = "top/topzuil.html"
}
function izg()
{
parent.txt.location.href = "informatiezuilen.html"
parent.topb.location.href = "top/topzuil.html"
}
function izn()
{
parent.txt.location.href = "informatiezuilen2.html"
parent.topb.location.href = "top/topzuil.html"
}
function izm()
{
parent.txt.location.href = "modellen.html"
parent.topb.location.href = "top/topzuil.html"
}
function spres()
{
parent.txt.location.href = "presentaties.html"
parent.topb.location.href = "top/toppres.html"
}
function sinhp()
{
parent.txt.location.href = "inhousepresentaties.html"
parent.topb.location.href = "top/topinhp.html"
}
function sdes()
{
parent.txt.location.href = "designstudio.html"
parent.topb.location.href = "top/topdes.html"
}
function sdbas()
{
parent.txt.location.href = "database.html"
parent.topb.location.href = "top/topdbas.html"
}
function sweb()
{
parent.txt.location.href = "webdesign.html"
parent.topb.location.href = "top/topweb.html"
}
function sport()
{
parent.txt.location.href = "portfolio.html"
parent.topb.location.href = "top/toppor.html"
}
function scon()
{
parent.txt.location.href = "contact.html"
parent.topb.location.href = "top/topcon.html"
}
function sjj()
{
parent.txt.location.href = "jackpotjunction.html"
parent.topb.location.href = "top/topjj.html"
}
function svb()
{
parent.txt.location.href = "vrijbezet.html"
parent.topb.location.href = "top/topvb.html"
}
function slnk()
{
parent.txt.location.href = "links.html"
parent.topb.location.href = "top/toplnk.html"
}
function smain()
{
parent.txt.location.href = "indextxt.html"
parent.topb.location.href = "top.html"
}
