Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
345 lines (329 sloc)
17.4 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Coordenadoria de Pesquisa dos Agronegócios - CPA</title> | |
| <base target="main"> | |
| <script LANGUAGE="JavaScript" FPTYPE="dynamicanimation"> | |
| <!-- | |
| // If you want to change this script, you must also make the following | |
| // changes so that FrontPage will not overwrite your new script. | |
| // In the script tag, change type="dynamicanimation" to type="mydynamicanimation" | |
| // In the first script statement, change "dynamicanimation" to "mydynamicanimation" | |
| // Throughout the HTML content, change dynamicanimation= to mydynamicanimation= | |
| // Change function dynAnimation to function mydynAnimation | |
| // In the body tag, change onload="dynAnimation()" to onload="mydynAnimation()" | |
| dynamicanimAttr = "dynamicanimation" | |
| animateElements = new Array() | |
| currentElement = 0 | |
| speed = 0 | |
| stepsZoom = 8 | |
| stepsWord = 8 | |
| stepsFly = 12 | |
| stepsSpiral = 16 | |
| steps = stepsZoom | |
| step = 0 | |
| outString = "" | |
| function dynAnimation() | |
| { | |
| var ms = navigator.appVersion.indexOf("MSIE") | |
| ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4) | |
| if(!ie4) | |
| { | |
| if((navigator.appName == "Netscape") && | |
| (parseInt(navigator.appVersion.substring(0, 1)) >= 4)) | |
| { | |
| for (index=document.layers.length-1; index >= 0; index--) | |
| { | |
| layer=document.layers[index] | |
| if (layer.left==10000) | |
| layer.left=0 | |
| } | |
| } | |
| return | |
| } | |
| for (index=document.all.length-1; index >= document.body.sourceIndex; index--) | |
| { | |
| el = document.all[index] | |
| animation = el.getAttribute(dynamicanimAttr, false) | |
| if(null != animation) | |
| { | |
| if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord") | |
| { | |
| ih = el.innerHTML | |
| outString = "" | |
| i1 = 0 | |
| iend = ih.length | |
| while(true) | |
| { | |
| i2 = startWord(ih, i1) | |
| if(i2 == -1) | |
| i2 = iend | |
| outWord(ih, i1, i2, false, "") | |
| if(i2 == iend) | |
| break | |
| i1 = i2 | |
| i2 = endWord(ih, i1) | |
| if(i2 == -1) | |
| i2 = iend | |
| outWord(ih, i1, i2, true, animation) | |
| if(i2 == iend) | |
| break | |
| i1 = i2 | |
| } | |
| document.all[index].innerHTML = outString | |
| document.all[index].style.posLeft = 0 | |
| document.all[index].setAttribute(dynamicanimAttr, null) | |
| } | |
| if(animation == "zoomIn" || animation == "zoomOut") | |
| { | |
| ih = el.innerHTML | |
| outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">" | |
| outString += ih | |
| outString += "</SPAN>" | |
| document.all[index].innerHTML = outString | |
| document.all[index].style.posLeft = 0 | |
| document.all[index].setAttribute(dynamicanimAttr, null) | |
| } | |
| } | |
| } | |
| i = 0 | |
| for (index=document.body.sourceIndex; index < document.all.length; index++) | |
| { | |
| el = document.all[index] | |
| animation = el.getAttribute(dynamicanimAttr, false) | |
| if (null != animation) | |
| { | |
| if(animation == "flyLeft") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth | |
| el.style.posTop = 0 | |
| } | |
| else if(animation == "flyRight") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth | |
| el.style.posTop = 0 | |
| } | |
| else if(animation == "flyTop" || animation == "dropWord") | |
| { | |
| el.style.posLeft = 0 | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight | |
| } | |
| else if(animation == "flyBottom") | |
| { | |
| el.style.posLeft = 0 | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight | |
| } | |
| else if(animation == "flyTopLeft") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight | |
| } | |
| else if(animation == "flyTopRight" || animation == "flyTopRightWord") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight | |
| } | |
| else if(animation == "flyBottomLeft") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight | |
| } | |
| else if(animation == "flyBottomRight" || animation == "flyBottomRightWord") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight | |
| } | |
| else if(animation == "spiral") | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth | |
| el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight | |
| } | |
| else if(animation == "zoomIn") | |
| { | |
| el.style.posLeft = 10000 | |
| el.style.posTop = 0 | |
| } | |
| else if(animation == "zoomOut") | |
| { | |
| el.style.posLeft = 10000 | |
| el.style.posTop = 0 | |
| } | |
| else | |
| { | |
| el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth | |
| el.style.posTop = 0 | |
| } | |
| el.initLeft = el.style.posLeft | |
| el.initTop = el.style.posTop | |
| animateElements[i++] = el | |
| } | |
| } | |
| window.setTimeout("animate();", speed) | |
| } | |
| function offsetLeft(el) | |
| { | |
| x = el.offsetLeft | |
| for (e = el.offsetParent; e; e = e.offsetParent) | |
| x += e.offsetLeft; | |
| return x | |
| } | |
| function offsetTop(el) | |
| { | |
| y = el.offsetTop | |
| for (e = el.offsetParent; e; e = e.offsetParent) | |
| y += e.offsetTop; | |
| return y | |
| } | |
| function startWord(ih, i) | |
| { | |
| for(tag = false; i < ih.length; i++) | |
| { | |
| c = ih.charAt(i) | |
| if(c == '<') | |
| tag = true | |
| if(!tag) | |
| return i | |
| if(c == '>') | |
| tag = false | |
| } | |
| return -1 | |
| } | |
| function endWord(ih, i) | |
| { | |
| nonSpace = false | |
| space = false | |
| while(i < ih.length) | |
| { | |
| c = ih.charAt(i) | |
| if(c != ' ') | |
| nonSpace = true | |
| if(nonSpace && c == ' ') | |
| space = true | |
| if(c == '<') | |
| return i | |
| if(space && c != ' ') | |
| return i | |
| i++ | |
| } | |
| return -1 | |
| } | |
| function outWord(ih, i1, i2, dyn, anim) | |
| { | |
| if(dyn) | |
| outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">" | |
| outString += ih.substring(i1, i2) | |
| if(dyn) | |
| outString += "</SPAN>" | |
| } | |
| function animate() | |
| { | |
| el = animateElements[currentElement] | |
| animation = el.getAttribute(dynamicanimAttr, false) | |
| step++ | |
| if(animation == "spiral") | |
| { | |
| steps = stepsSpiral | |
| v = step/steps | |
| rf = 1.0 - v | |
| t = v * 2.0*Math.PI | |
| rx = Math.max(Math.abs(el.initLeft), 200) | |
| ry = Math.max(Math.abs(el.initTop), 200) | |
| el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx) | |
| el.style.posTop = Math.ceil(-rf*Math.sin(t)*ry) | |
| } | |
| else if(animation == "zoomIn") | |
| { | |
| steps = stepsZoom | |
| el.style.fontSize = Math.ceil(50+50*step/steps) + "%" | |
| el.style.posLeft = 0 | |
| } | |
| else if(animation == "zoomOut") | |
| { | |
| steps = stepsZoom | |
| el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%" | |
| el.style.posLeft = 0 | |
| } | |
| else | |
| { | |
| steps = stepsFly | |
| if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord") | |
| steps = stepsWord | |
| dl = el.initLeft / steps | |
| dt = el.initTop / steps | |
| el.style.posLeft = el.style.posLeft - dl | |
| el.style.posTop = el.style.posTop - dt | |
| } | |
| if (step >= steps) | |
| { | |
| el.style.posLeft = 0 | |
| el.style.posTop = 0 | |
| currentElement++ | |
| step = 0 | |
| } | |
| if(currentElement < animateElements.length) | |
| window.setTimeout("animate();", speed) | |
| } | |
| //--> | |
| </script></head> | |
| <body bgcolor="#FF8040" link="#000080" vlink="#800000" alink="#FFFF00" onload="dynAnimation()"> | |
| <div align="center"><center> | |
| <address> | |
| <i><blink><font face="Arial" color="#800040"><strong>Fale conosco</strong></font></blink></i> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><font face="Arial"><em><a href="mailto:webcpa@cpa.sp.gov.br">webcpa@cpa.sp.gov.br</a></em></font></small> | |
| </address> | |
| </center></div> | |
| <hr> | |
| <div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(4,3) (162, 25) {Sobre a CPA} {Arial} 12 B #ffffff CT 0 sobre.htm" src="botao.gif" alt="sobre a CPA" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao.gif" startspan --><MAP NAME="FrontPageMap"><AREA SHAPE="RECT" COORDS="4, 3, 162, 25" HREF="sobre.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map"><img ismap usemap="#FrontPageMap" border="0" height="28" alt="sobre a CPA" src="_derived/frame.htm_txt_botao.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="12599" --> </small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(4,3) (164, 25) {Estrutura} {Arial} 12 B #ffffff CT 0 estrutura.htm" src="botao.gif" alt="Estrutura" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao_2.gif" startspan --><MAP NAME="FrontPageMap1"><AREA SHAPE="RECT" COORDS="4, 3, 164, 25" HREF="estrutura.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map1"><img ismap usemap="#FrontPageMap1" border="0" height="28" alt="Estrutura" src="_derived/frame.htm_txt_botao_2.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="41104" --> </small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(5,1) (163, 25) {Departamentos} {Arial} 12 B #ffffff CT 0 ud-new.htm" src="frame.1.gif" alt="Departamentos" border="0" u-originalsrc="frame.1.gif" u-overlaysrc="_overlay/frame.htm_txt_frame.1.gif" startspan --><MAP NAME="FrontPageMap2"><AREA SHAPE="RECT" COORDS="5, 1, 163, 25" HREF="ud-new.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map2"><img ismap usemap="#FrontPageMap2" border="0" height="27" alt="Departamentos" src="_derived/frame.htm_txt_frame.1.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="51023" --><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small> | |
| </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address dynamicanimation="spiral" style="position: relative !important; left: 10000 !important"> | |
| <small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small> </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small><!--webbot bot="ImageMap" text="(3,3) (163, 25) {Novidades} {Arial} 12 B #ffff00 CT 0 PULVERIZADOR.htm" src="botao.gif" alt="Novidades" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao_3.gif" startspan --><MAP NAME="FrontPageMap3"><AREA SHAPE="RECT" COORDS="3, 3, 163, 25" HREF="PULVERIZADOR.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map3"><img ismap usemap="#FrontPageMap3" border="0" height="28" alt="Novidades" src="_derived/frame.htm_txt_botao_3.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="35004" --> </small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address dynamicanimation="spiral" style="position: relative !important; left: 10000 !important"> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(1,3) (164, 25) {Cursos e eventos} {Arial} 12 B #ffff00 CT 0 agenda.htm" src="botao.gif" alt="Cursos e eventos" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao_4.gif" startspan --><MAP NAME="FrontPageMap4"><AREA SHAPE="RECT" COORDS="1, 3, 164, 25" HREF="agenda.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map4"><img ismap usemap="#FrontPageMap4" border="0" height="28" alt="Cursos e eventos" src="_derived/frame.htm_txt_botao_4.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="45924" --><small><small><small><small><small><small><small><small><small><small><small><small><small> | |
| </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(10,3) (160, 25) {Links de interesse} {Arial} 12 B #ffffff CT 0 LINKS-1.htm" src="botao.gif" alt="Links de interesse" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao_5.gif" startspan --><MAP NAME="FrontPageMap5"><AREA SHAPE="RECT" COORDS="10, 3, 160, 25" HREF="LINKS-1.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map5"><img ismap usemap="#FrontPageMap5" border="0" height="28" alt="Links de interesse" src="_derived/frame.htm_txt_botao_5.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="42928" --><small><small><small><small><small><small><small><small><small><small><small><small><small> | |
| </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(4,0) (159, 25) {Veja a pesquisa} {Arial} 12 B #ffffff CT 0 região.htm" src="botao.gif" alt="botao.gif (949 bytes)" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao_6.gif" startspan --><MAP NAME="FrontPageMap6"><AREA SHAPE="RECT" COORDS="4, 0, 159, 25" HREF="região.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map6"><img ismap usemap="#FrontPageMap6" border="0" height="28" alt="botao.gif (949 bytes)" src="_derived/frame.htm_txt_botao_6.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="1663" --><small><small><small><small><small><small><small><small><small><small><small><small><small> | |
| </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(25,1) (142, 25) {Participe} {Arial} 12 B #ffffff CT 0 formular.htm" src="frame.2.gif" alt="Participe" border="0" u-originalsrc="frame.2.gif" u-overlaysrc="_overlay/frame.htm_txt_frame.2.gif" startspan --><MAP NAME="FrontPageMap7"><AREA SHAPE="RECT" COORDS="25, 1, 142, 25" HREF="formular.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map7"><img ismap usemap="#FrontPageMap7" border="0" height="27" alt="Participe" src="_derived/frame.htm_txt_frame.2.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="38369" --><small><small><small><small><small><small><small><small><small><small><small><small><small> | |
| </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small> | |
| </address> | |
| </center></div><div align="center"><center> | |
| <address> | |
| <small><small><small><small><small><small><small><!--webbot bot="ImageMap" text="(9,1) (162, 25) {Página inicial} {Arial} 12 B #ffffff CT 0 cpa.htm" src="botao.gif" alt="Página inicial" border="0" u-originalsrc="botao.gif" u-overlaysrc="_overlay/frame.htm_txt_botao_7.gif" startspan --><MAP NAME="FrontPageMap8"><AREA SHAPE="RECT" COORDS="9, 1, 162, 25" HREF="cpa.htm"></MAP><a href="_vti_bin/shtml.dll/frame.htm/map8"><img ismap usemap="#FrontPageMap8" border="0" height="28" alt="Página inicial" src="_derived/frame.htm_txt_botao_7.gif" width="170"></a><!--webbot bot="ImageMap" endspan i-checksum="48135" --><small><small><small><small><small><small><small><small><small><small><small><small><small> | |
| </small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small></small> | |
| </address> | |
| </center></div> | |
| <hr> | |
| <div align="center"><center> | |
| <address> | |
| <small><small><em><font face="Arial"><a href="http://www.agricultura.sp.gov.br">SAA</a> | <a href="http://www.cati.sp.gov.br">CATI</a> | <a href="http://www.cda.sp.gov.br">CDA</a> | <a href="http://www.codeagro.sp.gov.br">CODEAGRO</a> | <a href="http://www.iac.br">IAC</a> | <a href="http://www.biologico.br">IB</a> | <a href="http://www.iea.sp.gov.br">IEA</a> | <a href="pesca.htm">IP</a> | <a href="http://www.ital.org.br">ITAL</a> | |
| | <a href="http://www.izsp.br">IZ</a></font></em></small></small> | |
| </address> | |
| </center></div> | |
| </body> | |
| </html> |