var path = "";

function showBlock(id) {
	lyr = eval("document.getElementById('" + id + "')");
	if(!lyr)	lyr = eval("document.all." + id);
	if(lyr)		lyr.style.visibility = "visible";
}
function hideBlock(id) {
	lyr = eval("document.getElementById('" + id + "')");
	if(!lyr)	lyr = eval("document.all." + id);
	if(lyr)		lyr.style.visibility = "hidden";
}
function swapimg(id, img) {
	lyr = eval("document.getElementById('" + id + "')");
	if(!lyr)	lyr = eval("document.all." + id);
	if(lyr)		lyr.src = img;
}
function move_menu(me, verticalpos, x, y)
{
	var point_x =x,
	point_y =y
	var ns = (navigator.appName.indexOf("Netscape") != -1);
	var d = document;
	function ml(id)
	{
		var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
		if(d.layers)el.style=el;
		el.sP=function(x,y){this.style.left=x;this.style.top=y;};
		el.x = point_x;
		if (verticalpos=="fromtop")
		el.y = point_y;
		else{
		el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
		el.y -= point_y;
		}
		return el;
	}
	window.side_menu=function()
	{
		if (verticalpos=="fromtop"){
		var pY = ns ? pageYOffset : document.body.scrollTop;
		ftlObj.y += (pY + point_y - ftlObj.y)/10;
		}
		else{
		var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
		ftlObj.y += (pY - point_y - ftlObj.y)/8;
		}
		ftlObj.sP(ftlObj.x, ftlObj.y);
		setTimeout("side_menu()", 10);
	}
	ftlObj = ml(me);
	side_menu();
}

function openConcertoWin(url){
	cctwin=window.open(url,'concerto','width=720,height=700');
	cctwin.focus();
}

function mbHover(lang,numb,mode){
	var posY;
	if(lang){
		posY = new Array("0px","-103px","-191px","-283px","-352px","-417px");
	}else{
		posY = new Array("0px","-102px","-210px","-302px");
	}

	if(obj=document.getElementById("pdb0" + numb)){
		if(mode){
			obj.style.backgroundPosition = posY[numb-1] + " bottom";
		}else{
			obj.style.backgroundPosition = posY[numb-1] + " top";
		}
	}
}