<!--
function sIR() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function sI() { //v3.0
  var i,j=0,x,a=sI.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function show(img) {
	document.getElementById(img).style.display = '';
}
function hide(img) {
	document.getElementById(img).style.display = 'none';
}


function on(menu,imgName,mainImg) {
	bSzintLe(menu);
	if (imgName != 0){
		onImg(imgName,lang);
	}
	if (mainImg != 0){
		onImg(mainImg,lang);
	}
}

function off(imgName,mainImg) {
	bSzintLe(0);
	if (imgName != 0){
		offImg(imgName);
	}
	if (mainImg != 0){
		offImg(mainImg);
	}
}

function bSzintLe(menu) {
	
	var menuB1 = document.getElementById('menu_B1');
	var menuB2 = document.getElementById('menu_B2');
	var menuB3 = document.getElementById('menu_B3');
	var menuB4 = document.getElementById('menu_B4');
	var menuB5 = document.getElementById('menu_B5');
	var menuB6 = document.getElementById('menu_B6');
	var menuB7 = document.getElementById('menu_B7');
	var menuB8 = document.getElementById('menu_B8');
	var menuB9 = document.getElementById('menu_B9');
	var menuB10 = document.getElementById('menu_B10');
	var menuB11 = document.getElementById('menu_B11');
	var menuB12 = document.getElementById('menu_B12');
	
		
	if (menuB1 != null && menu != 1) { menuB1.style.display = 'none'; }
	if (menuB2 != null && menu != 2) { menuB2.style.display = 'none'; }
	if (menuB3 != null && menu != 3) { menuB3.style.display = 'none'; }
	if (menuB4 != null && menu != 4) { menuB4.style.display = 'none'; }
	if (menuB5 != null && menu != 5) { menuB5.style.display = 'none'; }
	if (menuB6 != null && menu != 6) { menuB6.style.display = 'none'; }
	if (menuB7 != null && menu != 7) { menuB7.style.display = 'none'; }
	if (menuB8 != null && menu != 8) { menuB8.style.display = 'none'; }
	if (menuB9 != null && menu != 9) { menuB9.style.display = 'none'; }
	if (menuB10 != null && menu != 10) { menuB10.style.display = 'none'; }
	if (menuB11 != null && menu != 11) { menuB11.style.display = 'none'; }
	if (menuB12 != null && menu != 12) { menuB12.style.display = 'none'; }


	if (menu == 1) { document.getElementById('menu_B1').style.display = ''; }
	if (menu == 2) { document.getElementById('menu_B2').style.display = ''; }
	if (menu == 3) { document.getElementById('menu_B3').style.display = ''; }
	if (menu == 4) { document.getElementById('menu_B4').style.display = ''; }
	if (menu == 5) { document.getElementById('menu_B5').style.display = ''; }
	if (menu == 6) { document.getElementById('menu_B6').style.display = ''; }
	if (menu == 7) { document.getElementById('menu_B7').style.display = ''; }
	if (menu == 8) { document.getElementById('menu_B8').style.display = ''; }
	if (menu == 9) { document.getElementById('menu_B9').style.display = ''; }
	if (menu == 10) { document.getElementById('menu_B10').style.display = ''; }
	if (menu == 11) { document.getElementById('menu_B11').style.display = ''; }
	if (menu == 12) { document.getElementById('menu_B12').style.display = ''; }
	
}

function onImg(imgName) {
	
	imgSrc= 'skin/menu/'+imgName+'_on'+lang+'.gif';
	document[imgName].src=imgSrc;
}

function offImg(imgName) {

	imgSrc= 'skin/menu/'+imgName+lang+'.gif';
	document[imgName].src=imgSrc;
}

function show_targy_left_bg() {
		document['targy_left_bg'].src='skin/left_bgs.gif';		
}

//-->