
var tab;
tab=new Array("mtel","mcin","mliv","mmus","mmul","mspe");
function sh(m)
{
var i=0;
for (i=0;i<=5;i++)
	{
	var j=tab[i];
	if (document.all)
		{document.all[j].style.visibility="hidden";}
	if (document.layers)
		{document.layers[j].visibility="hidden";}
	if (document.getElementById)
		{document.getElementById(j).style.visibility="hidden";}
	}
if (document.all)
	{document.all[m].style.visibility="visible";}
if (document.layers)
	{document.layers[m].visibility="visible";}
if (document.getElementById)
	{document.getElementById(m).style.visibility="visible";}
}

var tab2;
tab2=new Array("c1","c2","c3","c4","c5","c6","c7","c8","c9","c10","c11","c12","c13","c14","c15","c16","c17","c18","c19","c20","c21","c22","c23","c24","c25","c26","c27","c28","c29","c30","c31");
function sh2()
{
var p=0;
for (p=0;p<=30;p++)
	{
	var q=tab2[p];
	if (document.all)
		{document.all[q].style.visibility="hidden";}
	if (document.layers)
		{document.layers[q].visibility="hidden";}
	if (document.getElementById)
		{document.getElementById(q).style.visibility="hidden";}
	}
}

function show(m)
{
if (document.all)
	{document.all[m].style.visibility="visible";}
if (document.layers)
	{document.layers[m].visibility="visible";}
if (document.getElementById)
	{document.getElementById(m).style.visibility="visible";}
}

function hide(m)
{
if (document.all)
	{document.all[m].style.visibility="hidden";}
if (document.layers)
	{document.layers[m].visibility="hidden";}
if (document.getElementById)
	{document.getElementById(m).style.visibility="hidden";}
}

function roll(i,k)
{
	document[i].src=k;
}

function change(sel,restore)
{
	/*eval("parent.zone1.location='"+sel.options[sel.selectedIndex].value+"'");
	if (restore) sel.selectedIndex=0;*/

		window.location=sel.options[sel.selectedIndex].value;

}

function changeforum(sel)
{
	parent.location.href=sel.options[sel.selectedIndex].value;
}

function changewebzine(sel)
{
	parent.milieu.location.href=sel.options[sel.selectedIndex].value;
}

function change2(sel)
{
if (sel.selectedIndex != 0)
	{
	location.href=sel.options[sel.selectedIndex].value;
	}
}

function fo(n,b,c)
{
if (document.all)
	{
	document.all[n].style.color=c ;
	document.all[n].style.background=b;
	}	
if (document.getElementById)
	{
	document.getElementById(n).style.color=c;
	document.getElementById(n).style.background=b;
	}
else 
	{
	}
}

function cadr(a,b)
{
	parent.zone1.location.href=a;
	parent.zone2.location.href=b;
}

function openwindow(theURL,winName,features)

{
	window.open(theURL,winName,features);

}


function rel()
{
if (document.layers)
	{
	parent.zone2.location.href="/pub.asp";
	}
else
	{
	parent.zone2.location.href="/pub.asp";
	}
}

function roll2(i,k)
{
if (document.layers)
	{
	}
else
	{
	document[i].src=k;
	}
}


function openmil(l,n,larg,haut)
{
w=screen.width;
h=screen.height;
pl=(w-larg)/2;
ph=(h-haut)/2;
window.open(l,n,'scrollbars=no,width='+larg+',height='+haut+',top='+ph+',left='+pl);
window.status="by @x";
setTimeout("window.status=''",600)
}

function openmil2(l,n,larg,haut)
{
w=screen.width;
h=screen.height;
pl=(w-larg)/2;
ph=(h-haut)/2;
window.open(l,n,'scrollbars=yes,width='+larg+',height='+haut+',top='+ph+',left='+pl);
window.status="by @x";
setTimeout("window.status=''",600)
}

function op(sel)
{
window.open(sel.options[sel.selectedIndex].value,'','')
}
