<!-- // hide from old browsers
function resize(num,target) {
	document.getElementById("conteudo").src = target;
	document.getElementById("conteudo").height = num;
}
function redefine(num,target,item) {
	parent.document.getElementById("conteudo").src = target;
	parent.document.getElementById("conteudo").height = num;
	if(parent.window.menu) parent.window.document["menu"].SetVariable("itens", item);
	if(parent.document.menu) parent.document.menu.SetVariable("itens", item);
}
function voltar(num){
	history.back();
	parent.document.getElementById("conteudo").height = num;
}
function swap(id,status){
    obj = document.getElementById(id);
    if (obj){
        obj.style.display = status;
    }
}
function loadIF() {
  iFrameSrc=location.href.split('?');
    if ( iFrameSrc[1] != null ) {
      document.getElementById('conteudo').src=iFrameSrc[1];
      }
    else {
      document.getElementById('conteudo').src='home.html'
      }
}

function verificamigo() {
		if (document.form.nome.value == "Seu Nome") {
		alert ("Por favor, preencha o campo Nome")
		document.form.nome.focus();
		return false;
	}
	if (document.form.email.value == "Seu E-mail") {
		alert ("Por favor, preencha o campo E-mail")
		document.form.email.focus();
		return false;
	}
		if (document.form.amigo.value == "Nome do Amigo") {
		alert ("Por favor, preencha o campo Nome do Amigo")
		document.form.amigo.focus();
		return false;
	}
		if (document.form.email_amigo.value == "E-mail do Amigo") {
		alert ("Por favor, preencha o campo E-mail do Amigo")
		document.form.email_amigo.focus();
		return false;
	}
		if (document.form.comentario.value == "Comentário") {
		alert ("Por favor, preencha o campo Comentário")
		document.form.comentario.focus();
		return false;
	}
	else {
		document.form.submit();
	}
}

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

//-->
