<!--
function MM_openBrWindow(nome) {
	largura = 419;
	altura = 600;
	posiDire = 100;
	posiTopo = 100;
	descr = "New Products"
	x = largura;
	y = altura + 5;
	novaJane = window.open( nome ,"","width=" + x + ",height=" + y + ",left=" + posiDire + ",top=" + posiTopo );
	novaJane.document.open();
	novaJane.document.write('<html><head>');
	novaJane.document.write('<title>' + descr + '</title>');
	novaJane.document.write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css"><!-- body { margin: 0; } --></style></head><body>');
	novaJane.document.write('<img src="' + nome + '">');
	novaJane.document.write('</body></html>');
	novaJane.document.close();
	novaJane.focus();
}

// Valida Formulario NewsLetter
function fValidaFormNews(form) {
	if (form.newsnome.value == "") {
		alert("Atenção!\nO campo NOME deve ser preenchido.");
		form.newsnome.value = "" ;
		form.newsnome.focus();
		return false;
	}

	if (form.newsemail.value.search(/^\w+((-\w+)|(\.\w+))*\@\w+((\.|-)\w+)*\.\w+$/) == -1) {
		alert("Atenção!\nO campo E-MAIL deve ser preenchido corretamente.");
		form.newsnome.newsemail = "" ;
		form.newsemail.focus();
		return false;
	}
}

// Abre Pop-up
function AbrePopUp(url, titulo, largura, altura, scrollbar) {
	var info = window.open(url ,titulo ,'width=' + largura + ', height=' + altura +', scrollbars=' + scrollbar + ', toolbar=no, location=no, status=yes, menubar=no, resizable=no, left=10, top=10');
	info.focus();
}

// -->
function fnFlash(str_url, int_largura, int_altura)
{
	document.writeln('<object type="application/x-shockwave-flash" data="' + str_url + '" width="' + int_largura + '" height="' + int_altura + '">');
	document.writeln('<param name="movie" value="' + str_url + '">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="wmode" value="transparent">');
	document.writeln('</object>');
}

