function hover(me){
	if($(me.id+"hov").style.display=="none"){
		Effect.Appear(me.id+"hov", { duration: 0.3 });
	}
}
function out(me){
	if(me.className!="selected" && $(me.id+"hov").style.display!="none"){
		$(me.id+"hov").style.display="none";
	}
	
	
}
function goto(place){
		$('social_').className="";
		$('connect_').className="";
		$('contact_').className="";
		$('portfolio_').className="";
		$('social_hov').style.display="none";
		$('connect_hov').style.display="none";
		$('contact_hov').style.display="none";
		$('portfolio_hov').style.display="none";
		$(place+'_').className="selected";
		$(place+'_hov').style.display="block";
	
	if($(place).style.display=="none"){
			
		$('door').morph('height:548px;', { duration: 0.5 });
		Effect.Fade('social', { delay:0.5, duration:0.1});
		Effect.Fade('contact', { delay:0.5, duration:0.1});
		Effect.Fade('connect', { delay:0.5, duration:0.1});
		Effect.Appear(place, { delay:0.6, duration:0.1});
		$('door').morph('height:171px;', { delay:0.6, duration: 0.5 });
		
	}
}
function openclose(){
	if($('door').style.height=="548px"){
		$('door').morph('height:171px;', {duration: 0.5 });
	} else {
		$('door').morph('height:548px;', {duration: 0.5 });		
	}
}