function entrou(fot,tit)
{
document.images.troca.src = tit+".gif";
}

function saiu(fot,tit)
{
document.images.troca.src = tit+".gif";
}

function swap(img)
{
if (img.src.indexOf('_b') >= 0)
	img.src=img.src.substring(0,img.src.length-6)+'.gif';
else
	img.src=img.src.substring(0,img.src.length-4)+'_b.gif';
}

function urllingua()
{
if (location.href.indexOf('/english') >= 0)
    {
    temp=location.href.split('/english');
    temp2=temp[0]+temp[1];
    location.href=temp2;
    }
else
    {
    temp=location.href.lastIndexOf('/');
    temp2=location.href.substring(0,temp)+'/english/'+location.href.substring(temp+1,location.href.length);
    location.href=temp2;
    }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function abrir (url) {
window.open(url,'ver','width=300,height=250,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function radio (url) {
window.open(url,'radio','width=300,height=415,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function toca (url) {
window.open(url,'toca','width=480,height=350,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0');
}

function ver10 (url) {
window.open(url,'ver','width=200,height=439,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver9 (url) {
window.open(url,'ver','width=400,height=304,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}
	
function ver8 (url) {
window.open(url,'ver','width=400,height=279,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver7 (url) {
window.open(url,'ver','width=350,height=426,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver6 (url) {
window.open(url,'ver','width=350,height=416,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver5 (url) {
window.open(url,'ver','width=400,height=266,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver4 (url) {
window.open(url,'ver','width=400,height=267,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver3 (url) {
window.open(url,'ver','width=287,height=287,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver2 (url) {
window.open(url,'ver','width=515,height=386,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

function ver (url) {
window.open(url,'ver','width=515,height=465,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');
}

