Warning : include_once(../ligacao/.php) [function.include-once ]: failed to open stream: No such file or directory in /home/arterco/public_html/java/menu.php on line 8
Warning : include_once() [function.include ]: Failed opening '../ligacao/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/arterco/public_html/java/menu.php on line 8
/***********************************************
* Email Validation script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
function movie()
{
document.write('\n');
document.write(' ');
document.write(' ');
document.write(' \n');
document.write(' \n');
}
function movie2()
{
document.write('\n');
document.write(' ');
document.write(' ');
document.write(' \n');
document.write(' \n');
}
function movie3()
{
document.write('\n');
document.write(' \n');
document.write(' \n');
document.write(' \n');
document.write(' \n');
}
function checkmail(str)
{
var at="@"
var dot="."
var lat=str.indexOf(at)
var lstr=str.length
var ldot=str.indexOf(dot)
if (str.indexOf(at)==-1)
{
return false
}
if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr)
{
return false
}
if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr)
{
return false
}
if (str.indexOf(at,(lat+1))!=-1)
{
return false
}
if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot)
{
return false
}
if (str.indexOf(dot,(lat+2))==-1)
{
return false
}
if (str.indexOf(" ")!=-1)
{
return false
}
return true
}
function submitform()
{
if(document.mail.email.value=="")
{
alert('ERRO_MAIL');
return false;
}
if(document.mail.email.value!="")
{
alert(document.mail.email.value)
if (checkmail(document.mail.email.value) == false)
{
alert('ERRO_MAIL!!');
return false;
}
}
return true;
}
function submitform()
{
alert("asdasd");
if(document.cat.data.value!="")
document.cat.submit();
}
function form_email()
{
document.mail.email.value="";
document.mail.email.style.backgroundColor='#ffffff';
document.mail.email.style.color='#000000';
}
function menu1_over(c)
{
a = document.getElementById(c);
a.style.visibility = 'visible';
}
function menu1_out(c)
{
a = document.getElementById(c);
a.style.visibility = 'hidden';
}
function toggleBox(szDivID, iState) // 1 visible, 0 hidden
{
var obj = document.layers ? document.layers[szDivID] :
document.getElementById ? document.getElementById(szDivID).style :
document.all[szDivID].style;
obj.visibility = document.layers ? (iState ? "show" : "hide") :
(iState ? "visible" : "hidden");
}
function nova_janela(pagina,nome,w,h,scroll)
{
var winl = (screen.width - w) /2;
var wint = (screen.height - h) /2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resisable'
win = window.open(pagina,nome,winprops)
if(parseInt(navigator.appVersion) >= 4){ win.window.focus();}
}
function news()
{
/***********************************************
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
//specify path to your external page:
var iframesrc="external.php"
//You may change most attributes of iframe tag below, such as width and height:
document.write('')
return;
}
var menu = new Array("texto","ementas","tipo", "quinta", "fotos");
function esconde()
{
for (j=0; jALBERGARIA'
menu1[1]='DETALHES '
menu1[2]='LOCALIZACAO '
var menu2=new Array()
menu2[0]='RESERVAR '
menu2[1]='PRECOSDIA '
var menu3=new Array()
menu3[0]='PROGRAMAS '
var menu4=new Array()
menu4[0]='PEREGRINOS '
menu4[1]='EMPRESAS '
menu4[2]='REUNIOES '
var menu5=new Array()
menu5[0]='INFORMACOES '
menu5[1]='LENDAS '
menu5[2]='METEO '
menu5[3]='GASTRO '
menu5[4]='HISTO '
var menu6=new Array()
menu6[0]='CONTACTOS '
menu6[1]='LIVRO '
menu6[2]='OPINIADE '
menu6[3]='PARCERIAS '
var menuwidth='190px' //default menu width
var menubgcolor='#ffffff' //menu bgcolor
var disappeardelay=350 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
/////No further editting needed
var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ie4||ns6)
document.write('')
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)