/**
 * @author Hilton Gonçalves (hilton.goncalves@yahoo.com.br)
 * @copyright 2008
 */
function getTamanho() {
	if (window.innerHeight){		
		//navegadores baseados em mozilla
		_w = window.innerWidth 
		_h = window.innerHeight
	}
	else{
		if (document.body.clientHeight){
			//Navegadores baseados em IExplorer, pois nao tem innerheight
			_w = document.body.clientWidth
			_h = document.body.clientHeight
		}else{
			//outros navegadores
			_w = 1024
			_h = 520
		}
	} 
	//return "X: " + _w + " e Y: " + _h;	
	return _w + "," + _h;	
}

function resizeDivs(){
	//alert(getTamanho());
	_div = getTamanho().split(",");
	//alert(_div[0] + " - " + _div[1]); 
	//document.getElementById('menucontent').style.height = "30px";
	//document.getElementById('signaturecontent').style.height = "15px";
	
	if (document.all)
		document.getElementById('flashcontent').style.height = (_div[1] - 57) + "px";
	else
		document.getElementById('flashcontent').style.height = (_div[1] - 79) + "px";
	
}

function getAutor(sUser, sUserSky, sCel)
{
  var sDom = 'yahoo%23com%23br';
  var sMail = sUser+"@"+sDom.replace(/%23/g,".");
  var sTitle = "\nemail: " + sMail + " ";
  sTitle += "\ncelular: " + sCel + " ";
  sTitle += "\nskype: " + sUserSky;

  //var w = "by <a href=\"#\" title=\""+sTitle+"\" style='color:white'>"+sUser+"</a>";
  var w = "by "+sUser+sTitle;
/*
   var w = "<a href=\"#\" title=\""+sMail+"\" onmouseover=\"this.href=mailto:"+sMail+"\" onfocus=\"this.href=mailto:"+sMail+"\"><img src=\"images/icone_mail.png\" width=\"12\" height=\"9\" /> "+sMail+"</a><br />";
   w += (sUserSky) ? "<a href=\"skype:"+sUserSky+"?chat\" title=\"Chamar no Skype\"><img src=\"images/icone_skype.png\" width=\"12\" height=\"10\" /> "+sUserSky+"</a>" : "";
 */
  return(w);
}
