function printPage() {
  if (window.print)
    window.print()
  else
    alert("O script não conseguiu envira o documento diretamente para impressão,\nPressione Ctrl+P ou selecione Imprimir no menu Arquivo para imprimir esta página.");
}

function gothere(mname)
{
var thisform = mname;
 if (thisform.selectsite.options[thisform.selectsite.options.selectedIndex].value != "nolink") {self.location.href=thisform.selectsite.options[thisform.selectsite.options.selectedIndex].value;}
}

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 MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function VerificaForm(){
		if (document.atendimento.nome.value==""){
		window.alert("Please, it fills the Name.");
		document.atendimento.nome.focus();
		return false;
	}	
	if (document.atendimento.email2.value==""){
		window.alert("Please, it fills its E-mail !");
		document.atendimento.email2.focus();
		return false;
	}
		if (document.atendimento.email2.value.indexOf ('@',0) == -1 ||  document.atendimento.email2.value.indexOf ('.',0) == -1) {
		window.alert("Please, it fills its E-mail !");
		document.atendimento.email2.focus();
		return false;
	}
		if (document.atendimento.assunto.value==""){
		window.alert("Please, it fills its Subject !");
		document.atendimento.assunto.focus();
		return false;
	}
			if (document.atendimento.texto.value==""){
		window.alert("Please, it fills its Comments !");
		document.atendimento.texto.focus();
		return false;
	}
}
