var t,o,l,i,a,r,s,m,p,y,u,d,b,f,c;
t=l=0;
o="";
i="display";
a="block";
r="none";
s="likenew";
m="salzburg";
p="movingmemories";
y="jensen"; 
u="title";
d="logo";
b="content";

f=Array();
f[s]=m;
f[m]=s;
f[p]=y;
f[y]=p;


function n(e){return document.getElementById(e).style}

function show(e){
    n(e)[i]=a;
    
    if(o!="")n(o)[i]=r;
    
    o=e;
    
    h(75);
	
    return false
}

function hide() {
    // Hide the visible baloon
    h(0);
    if(o!="")n(o)[i]=r;
    o=""
}

function h(e) {
	c=n("whitebox");
	
    if(l!=0)clearTimeout(l);
    l=0;
    if(t!=e){
		if(t<e){
			if(t==0)c[i]=a;
			t=t+5>e?e:t+5
		}else{
			t=t-5<e?e:t-5;
			if(t==0)c[i]=r;
		}
		
  		c["filter"]="alpha(opacity:"+t+")";
  		c["KHTMLOpacity"]=c["MozOpacity"]=c["opacity"]=t/100;
		
		l=setTimeout("h("+e+")",50)
    }
}

function g(e,w,j) {
	n(e+u)[i]=n(f[e]+u)[i]=w;
    n(e+d)[i]=n(e+b)[i]=j
}

function showRecentProject(e){g(e,r,a)}
function hideRecentProject(e){g(e,a,r)}
