var maindomain = "bahiacarnival.info"

document.write('<table cellpadding=0  cellspacing=0 width="100%" align=center><tr>')
document.write('<td colspan=2 valign=top align=center>')
document.write('<img src=bahiacarnival_logo.gif border=0>')
document.write('<br><b>')

document.write('<a href="' + pagename + '">Home</a>&nbsp; &nbsp; &nbsp; &nbsp; ')
document.write('<a href="' + pagename2 + '?vid">Videos</a>&nbsp; &nbsp; &nbsp; &nbsp; ')
document.write('<a href="' + pagename2 + '?for">Contact</a>')
document.write('</b></font><br><br><br>')

//document.write('<form name="xform"  method="post" action="http://www.'+maindomain+'/zendmsg.php">')

document.write('<form name="xform" method="post" action="http://www.in21.com/services/zcatchm.php">')
document.write('<INPUT TYPE="HIDDEN" NAME="redirect"  VALUE="http://www.bahiacarnival.info/">')
document.write('<INPUT TYPE="HIDDEN" NAME="sender"    VALUE="fun@bahiacarnival.info">')
document.write('<INPUT TYPE="HIDDEN" NAME="subject"   VALUE="Web">')
document.write('<INPUT TYPE="HIDDEN" NAME="texto"     VALUE="">')
document.write('<INPUT TYPE="HIDDEN" NAME="server"    VALUE="BAHIACARNIVAL.INFO">')
document.write('<INPUT TYPE="HIDDEN" NAME="sbgcolor"  VALUE="#ffffff">')
 



//CONTACT US 
if (thisoption == 101)
{ 
  document.write('<table width=546 height=35 cellspacing=3 cellpadding=3 >')
  document.write('<tr><td colspan=2><font color="#ffffff" size=3><b>Contact ') // &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <a href="javascript:goback()"><font size=1 color="#ffffff">back to list</a></td></tr>')
  document.write('</table>')

  document.write('<table width=546 height=225>')
  document.write('<tr><td width=120>Your name:  </td><td><input type=text name=name  value="" size=30 maxlength=60></td></tr>')
  document.write('<tr><td>Your email: </td><td><input type=text name=email value="" size=30 maxlength=60></td></tr>')
  document.write('<tr><td colspan=2>Comments: </td></tr>')
  document.write('<tr><td colspan=2><textarea name=comment rows=5 cols=40></textarea></td></tr>')
  document.write('<tr><td><input type=button value="submit" onClick="gosubmit2()"></td><td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="javascript:goback()"><font size=1 color="' + corlink + '">back to list</a>')
  document.write('<input type=hidden name=emailto value=""><input type=hidden name=payment value=""><input type=hidden name=xsource value="' + pagename + '"><input type=hidden name=subject value="bahiacarnival: "></td></tr>')
  document.write('</table><br><br><br>')
}

////////////////////////////////////////////////
//VIDEOS 
/////////////////////////////////////////////
else if (thisoption == 110)
{
  document.write('<table width=546 height=35 cellspacing=3 cellpadding=3>')
  document.write('<tr><td colspan=2>&nbsp;<font size=3 color="#ffffff"><b> ') //&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <a href="javascript:goback()"><font size=1 color="#ffffff">back to list</a></td></tr>')
  document.write('</table>')

  document.write('<br><table width=' + itemwidth + ' height=' + itemheight + '>')
  var q = 0
  for (i=1; i<tvideos.length; i++)
  { if (q == 0)
      document.write('<tr>')
    document.write('<td><b>'+ tvideos[i][2] + '<br><font size=2>' + tvideos[i][0] + '</td>')
    if (q == 1)
    {  document.write('</tr><tr><td colspan=2 height=30></td></tr>')
       q = 0
    } else
       q = 1  
  }
  if (q == 1)
     document.write('</tr>') 

  document.write('</table><br><br><br>')
}



/////////////////////////////////////////////////////

 

  

