function email(user,domain) {
locationstring = "mailto:" + user + "@" + domain;
window.location = locationstring;
}
	
function OpenComments (c) {
	window.open(c,
		'comments',
		'width=500,height=480,scrollbars=yes,status=yes');
}	

function Creditos (c) {
	window.open(c,
		'Creditos',
		'width=250,height=150,scrollbars=no,status=yes');
}	

function AmpliaImagem (c) {
	window.open(c,
		'AmpliaImagem',
		'width=364,height=500,scrollbars=no,status=yes');
}

function Musica (c) {
	window.open(c,
		'Musica',
		'width=432,height=400,scrollbars=no,status=yes');
}

function PopUp (c) {
	window.open(c,
		'PopUp',
		'width=432,height=400,scrollbars=no,status=yes');
}

function Cadastro (c) {
	window.open(c,
		'Cadastro',
		'width=432,height=400,scrollbars=no,status=yes');
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//Specify affected tags. Add or remove from list:
var tgs = new Array( 'textoTamanho');

//Specify spectrum of different font sizes:
var szs = new Array( 'xx-small','x-small','small','medium','large','x-large','xx-large' );
var startSz = 2;

function ts( trgt,inc ) {
	if (!document.getElementById) return
	var d = document,cEl = null,sz = startSz,i,j,cTags;
	
	sz += inc;
	if ( sz < 0 ) sz = 0;
	if ( sz > 6 ) sz = 6;
	startSz = sz;
		
	if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

	cEl.style.fontSize = szs[ sz ];

	for ( i = 0 ; i < tgs.length ; i++ ) {
		cTags = cEl.getElementsByTagName( tgs[ i ] );
		for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
	}
}