function directTo(place){
   location = place;         
}

function show(loc, langId){
	//position in the site page				
	screenSite(loc, langId);
   div = eval ("document.all.menu"+loc);      
	div.style.visibility = "visible";
}

function hide(loc,first){
   div = eval ("document.all.menu"+loc);      
   div.style.visibility = "hidden";
}

function drawTd(me){
	me.style.backgroundColor = "#E9E9E9";
	me.style.color = "#FF8603";
	//me.style.a.color
	
}


function clearTd(me){
	me.style.backgroundColor = "#E9E9E9";    
	me.style.color = "#000000";	
}

function screenSite(loc, langId){
   obj = eval ("document.all.menu"+loc);      	
	width = document.body.clientWidth ;  
  	height = document.body.clientHeight;
	if(width<779){
		far1 = 0;
	}
	else{
		far1 = (width-780)/2;
	}
	
	if(loc==0)
		obj.style.left=far1 + 25;
	else
		obj.style.left=far1+390;	
	obj.style.top=266;
}	
