function muda_frame ( ifram , valor ) {
	var oFrame = document.all(ifram);
    oFrame.style.height = valor;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+','
win = window.open(mypage,myname,settings)
}

var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function stuff(s)
{
	document.msgForm.message.value = s;
}

function map_DoFSCommand(command, args)	{
}

function citrus(){
	var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/prod", "citrus")
	//var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/inserts", "citrus")
}
function cafes(){
	var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/prod", "cafes")
}
function cereais(){
	var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/prod", "cereais")
}
function frutas(){
	var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/prod", "frutas")
}
function vazio(){
	var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/prod", "vazio")
}
function cana(){
	var m = InternetExplorer ? log : document.embeds[0]; m.TGotoLabel("_level0/prod", "cana")
}


