<!--

//specify interval between slide (in mili seconds)
var slidespeed=3000
//specify images
var slideimages=new Array("imgs/gif/imagem14.gif","imgs/gif/imagem17.gif","imgs/gif/imagem3.gif","imgs/gif/imagem15.gif","imgs/gif/imagem16.gif","imgs/gif/imagem7.gif","imgs/gif/imagem8.gif","imgs/gif/imagem9.gif","imgs/gif/imagem13.gif","imgs/gif/imagem11.gif","imgs/gif/imagem12.gif")
//specify corresponding links
var slidelinks=new Array("http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp","http://www.manneflon.com.br/dugallery/produtos.asp")

var imageholder=new Array()
var ie55=window.createPopup
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}

function gotoshow(){
window.location=slidelinks[whichlink]
}

//-->
<!-- begin

function popup(Site)
{
window.open(Site,'PopupName','toolbar=no,menubar=no,statusbar=no,location=no,scrollbars=no,resizable=no,width=300,height=413')
}

// end -->

<!-- Begin
function popUp1(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=465');");
}
// End -->

<!-- Begin
function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=400');");
}
// End -->

<!-- Begin
function popUp3(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=735,height=410');");
}
// End -->

function formCheck(formobj){
	//1) Enter name of mandatory fields
	var fieldRequired = Array("depto","email","dominio","descricao","email","Nome","nome","E_mail","Assunto","Mensagem","login","senha","palavra-chave", "endereco", "cidade", "estado", "tel", "LINK_CAT", "LINK_SUB","LINK_NAME" ,"LINK_URL", "LINK_DESC", "mensagem", "tipo_aco", "tratamento");
	//2) Enter field description to appear in the dialog box
	var fieldDescription = Array("depto","email","dominio","descricao","email","Nome","nome","E_mail","Assunto","Mensagem","login","senha","palavra-chave","endereco", "cidade", "estado", "tel","LINK_CAT", "LINK_SUB","LINK_NAME" ,"LINK_URL", "LINK_DESC", "mensagem", "tipo_aco", "tratamento");
	//3) Enter dialog message
	var alertMsg = "Para melhor a MANNEFLON atendê-lo, por favor, preencha o fomulário corretamente:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}
//-->
function topo1(){
    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='768' height='124'>");
   document.write("<param name='movie' value='imgs/flash/cabec1.swf'>");
   document.write("<param name='quality' value='high'>");
   document.write("<embed src='imgs/flash/cabec1.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='768' height='124'></embed>");
   document.write("</object>");
}

