function head(ct,bg){
d=document;
d.write('<SCRIPT LANGUAGE="JavaScript" src="../files/lck.js" TYPE="text/javascript"></SCRIPT>');

if(!ct)d.write('<BODY vLink=#000066 link=#000066 leftmargin=0 topmargin=4 marginheight=0 marginwidth=0 bgcolor=#f5f5f5>');

//d.write('<table border=0 cellpadding=0 cellspacing=0 background="../img/sponsor32x.gif" align=center width=746 height=80><tr><td width=270 height=34>&nbsp;</td><td><a href="../aso/index.htm"><img src="../img/banaso3.gif" border=0 width=460 height=72></a></td></tr></table>');


d.write('<div align="center"><a class=links id=s8>WEB SOLIDARIA CON TODOS LOS PUEBLOS DE LA INDIA</a></div>');

d.write('<TABLE  align="center" cellSpacing=0 cellPadding=0 width=765 height=64 background="../files/container10.gif" bgColor=#f5f5f5 border=0><tr><td width=145 rowspan=2 align=center><a class=head id=s10>Desde el año 2002<br>informando</a>');

//d.write('<a href="../calcuta/index.htm"  class=head id=s18>CALCUTA</a><br><table><tr><td bgcolor=#f5f5f5><a class=links id=s8>Un voluntariado especial</a></td>    </tr><tr><td><A class=head id=s10 href="../calcuta/info_voluntarios.htm" target="_blank"><marquee  direction="left" scrolldelay="120" >Información útil sobre voluntariado en Calcuta para recien llegados - - - CLICKAR AQUI ---</marquee></A></td></tr></table>');

d.write('</td><td align=center valign="middle"><IMG  hspace=0 src="../files/infoban.jpg" width=618 height=45 border=0></td></tr>');
d.write('<tr><td colspan  height=20 class=w11 id=s16>&nbsp;&nbsp;<A class=toplinks id=s9 href="../index.htm">PRINCIPAL</A>&nbsp;&nbsp;|&nbsp;&nbsp;<A class=toplinks id=s9 href="../inis/mpweb.php">ÍNDICE CONTENIDOS</A>&nbsp;&nbsp;|&nbsp;&nbsp;');
d.write('<A class=toplinks id=s9 href="../inis/liabilities.php">QUIÉNES SOMOS</A>&nbsp;&nbsp;|&nbsp;&nbsp;');
d.write('<A class=toplinks id=s9 href="../inis/utiles.php">ÚTILES</A>&nbsp;&nbsp;|&nbsp;&nbsp;');

d.write('<A class=toplinks id=s9 href="../ph/lvisitas/index.php">LIBRO VISITAS</A>&nbsp;&nbsp;|&nbsp;&nbsp;');
d.write('<A class=toplinks id=s9 href="../inis/glosario.php">GLOSARIO</A></td></tr></table>');

d.write('<TABLE  align="center" cellSpacing=0 cellPadding=0 width=695 height=17  bgColor=#f5f5f5 border=0><tr>');
d.write('<td width=139 background="../files/contbox1.gif" align=center valign=bottom><A class=head id=s9 href="../ph/taulell.php">Tablón de anuncios</A></td><td width=139 background="../files/contbox1.gif" align=center valign=bottom><A class=head id=s9 href="../pln/planning.php">Planning voluntarios</A></td>');
d.write('<td width=139 background="../files/contbox1.gif" align=center valign=bottom><A class=head id=s9 href="../ong/ong.htm">Mundo ONG</A></td><td width=139 background="../files/contbox1.gif" align=center valign=bottom><a class=head id=s9  href=\'../travel/travel.htm\'>Prepara tu viaje</A></td><td width=139 background="../files/contbox1.gif" align=center valign=bottom><A class=head id=s9 href="../fotos/fotos.htm">Galeria FOTOS</A></td></tr></table>');
}

function hnext(tdcol,bg,cr){
if(!tdcol || tdcol==0) tdcol="f5f5f5";
if(!bg)bg="";
if(!cr)cr=3;

d.write("</TD><TD vAlign=top bgColor=#",tdcol," width=617>");


d.write("<TABLE bgcolor=#",tdcol," background='",bg,"' align=left  cellpadding=0 cellspacing=0 border=0 width=617>");
d.write("<TR><TD align=left width=10>&nbsp;</TD><TD valign=top>");
for(i=1;i<cr;i++)d.write('<br>');
d.write("<div align=center>");
}

// ===== col menu  ============================================================================

// ===== decode first level of array items =====
function dcv(in_ry){
ret_sbit = new Array;
var goof = new String("");
var i = 0, ie=2, nsp="", cl="", agif="";
var hh,icolor;
ret_sbit[0]="";
ret_sbit[1]="<!--- calcuta --->";
color = new Array ("606060 ","fff0f8 ","8080c0 ","997c39 ","339933 ","8a8a8a ","b900b9","f8f5c2","cc9999","ffffff")
while (i<in_ry.length)
        {
        if(!in_ry[i])mg="left"; else mg="center";i++;
        icolor=in_ry[i];i++;
        hh=in_ry[i];i++;
        nsp="";for (z=0;z<in_ry[i];z++)nsp=nsp + "&nbsp;";i++;
        agif=in_ry[i];if(!agif)agif=kgif;i++;
        cl=in_ry[i];i++;
nlin=goof.concat("<tr><td  valign='middle' width=130 height=",hh," align=",mg," bgcolor=#",color[icolor],">",agif,nsp,"<a class=",cl,in_ry[i],"</a></td></tr>");

ret_sbit[ie]=nlin;

        i++;ie++;
        }return(ret_sbit)
}

function openBrWindow(theURL,w,h,t,l) {
var winName=""
features=("status=yes,scrollbars=yes,width="+w+",height="+h+", top="+t+", left="+l)
window.open(theURL,winName,features);
}

 /* ---  menu builder ------------------------------------------------------------  */
function mn(wm1, wm2, nele, faux) {

lmm = new Array(0,2,20,0,"","head"," href='../index.htm'>Inicio"
,0,2,17,0,"","head"," href='../ibha/bha_pujol.php'>India - Perfiles"
,0,2,17,0,"","head"," href='../bha/geo.htm'>Geografía"
,0,2,17,0,"","head"," href='../bha/pop_billon.htm' >Población"
,0,2,17,0,"","head"," href='../estates/estates.htm' >Estados"
,0,2,17,0,"","head"," href='../places/ganga1.htm' >Lugares de interés"
,0,2,17,0,"","head"," href='../history/history.htm'>Historia y Política"
,0,2,17,0,"","head"," href='../culture/index.htm'>Cultura y Arte"
,0,2,17,0,"","head"," href='../religions/indice.htm'>Espiritualidad"
,0,2,17,0,"","head"," href='../language/lenguas.htm'>Lenguas"
,0,2,17,0,"","head"," href='../economy/economy.htm'>Economía-Industria"
,0,2,17,0,"","head"," href='../ieconomy/agro.php'>Agricultura"
,0,2,17,0,"","head"," href='../economy/ma_prot.htm'>Medio Ambiente"
,0,2,17,0,"","head"," href='../global/indice.htm'>Globalización"
,0,2,17,0,"","head"," href='../health/wat.htm'>Aspectos Sanitarios"
,0,2,17,0,"","head"," href='../health/ay_intro.htm'>Ayurveda"
,0,2,17,0,"","head"," href='../social/inf_nnc.htm'>Temas Sociales"
,0,8,17,0,"","toplinks id=snb11"," href='../ong/ong.htm'>Mundo <b>O.N.G.</b>"
,0,8,17,0,"","toplinks id=snb11"," href='../travel/travel.htm'>Prepara tu <b>VIAJE</b>"
,0,8,17,0,"","toplinks id=snb11"," href='../fotos/fotos.htm'>Galería de <b>Fotos</b>"
,0,2,17,0,"","head id=bold"," href='../tibet/tb_indice.htm'>Tibet"
,0,2,17,0,"","head id=bold"," href='../countries/bdesh.htm'>Bangladesh"
,0,2,17,0,"","head id=bold"," href='../countries/np_intro.htm'>Nepal"
,0,2,17,0,"","head id=bold"," href='../countries/sl_intro.htm'>Sri Lanka"
,0,2,10,0,"<img src='../files/senefa.gif' alt='' border=0 width=145>","",""
,0,5,17,0,"","head"," href='../tribune/sister.htm'>Tribuna"
,0,5,17,0,"","head"," href='../miscel/misce.htm'>Miscelánea"
,0,5,17,0,"","head"," href='../other/biogra.htm'>Biografias"
,0,5,17,0,"","head"," href='../other/links.php'>Enlaces"
,0,5,17,0,"","head"," href='../software/indice.htm'>Descargables"
,0,5,17,0,"","head"," href='../other/books.htm'>Libreria");

kgif="<IMG hspace=3 src='../files/arrowet.gif' align=left>"
lmm=dcv(lmm);

var idx_s1=0, idx_s2=0;
for(xk=0;xk<lmm.length;xk++)if(lmm[xk].search(wm1)>0)idx_s1=xk;
//d.write(wm1 + "Item numero=" + idx_s1)
for(xk=0;xk<sbit.length;xk++)if(sbit[xk].search(wm2)>0)idx_s2=xk;
//idx_s2--;
//d.write(wm2 + "Item numero=" + idx_s2)

sb_one = new Array
sb_one[idx_s1] = sbit

d = document;

d.write("<span class=w11 id=snb4><br><a name='up'></a></span><TABLE   align=center cellSpacing=0 cellPadding=0 width=765 bgColor=#efd994 border=0><TBODY valign=top>");

d.write("<TR valign=top><TD valign=top width=130>");

d.write("<TABLE cellSpacing=1 cellPadding=0  bgColor=#ffffff border=0><TBODY>");


d.write('<tr><td bgcolor=#c0c0c0 align=center class=n12 id=snb1><br></td></tr>');
d.write('<tr><td bgcolor=#cc9999 valign=top align=center class=n12 id=snb1 height=20><a href="../calcuta/index.htm" class=toplinks id=s12>Info. Calcuta</a></td></tr>');

//d.write("<TR><TD   align=center height=15 width=130 bgColor=#F7bb09><a class=toplinks href='../calcuta/index.htm'><strong>&nbsp;&nbsp;Especial CALCUTA</strong></a></TD></TR>");

if(faux=="calcuta")dp();

var sb1 = sb_one[idx_s1];
var sb2 = sb_two;
var sub2 = idx_s2;

for(n=0;n<idx_s1;n++)d.write(lmm[n]);

if(idx_s1){
        for(m=0;m<idx_s2;m++)d.write(sb1[m]);
                if(idx_s2)for(m=0;m<sb2.length;m++)d.write(sb2[m]);
                if(idx_s2)sub2=idx_s2 + 1;
        for(m=sub2;m<sb1.length;m++)d.write(sb1[m]);
        }

if(idx_s1)idx_s1++;
for(n=idx_s1;n<lmm.length;n++)d.write(lmm[n]);

/*<tr><td><table border=1 bordercolor="#330099"><TR><TD  align=center height=30 bgColor="#4a8cbd">
<a class=w11 id=s14 style="TEXT-DECORATION=none" href="http://www.fundacionvicenteferrer.org">Fundación Vicente Ferrer</a></td></tr></table></TD></TR>*/


lm2 = new Array(0,2,6,0,"<img src='../files/senefa.gif' alt='' border=0 width=145>","",""
,1,7,40,0,"","blinks id=snb10"," >Resolución recomendada para monitor: 800x600"
,0,2,5,0,"<img src='../files/senefa.gif' alt='' border=0 width=145>","",""
,1,2,30,0,"","w11 id=s14 style='TEXT-DECORATION=none'"," href='http://www.fundacionvicenteferrer.org' target='_blank'> &nbsp;&nbsp;&nbsp;FUNDACIÓN <br> &nbsp;VICENTE FERRER"
,1,0,20,0,"","head"," href='http://www.hacesfalta.org' target='_blank'><img width=145 border=0 src='../files/hacesfalta.gif'  width=142>"
,1,4,30,0,"","w11 id=s14 style='TEXT-DECORATION=none'"," id=s14 href='http://www.locosdelacolina.com' target='_blank'>&nbsp;&nbsp;LOCOS DE LA COLINA"
,0,2,4,0,"<img src='../files/senefa.gif' alt='' border=0 width=145>","",""
,1,9,10,1,"","head"," href='http://www.haribala.org' target='_blank'><img  align=center width=120 border=0 height=117 src='../ong/pics/logo_haribala.jpg'>"
,1,0,53,0,"","head"," href='http://www.adivasis.org' target='_blank'><img width=145 border=0 height=50 src='../ong/pics/adalogo.gif'>"
,1,0,40,0,"","head"," href='http://www.ajutsi.org/' target='_blank'><img width=145 border=0 height=40 src='../files/ajutsi.gif'>"
,1,6,20,0,"","head"," href='http://www.calcutaondoan.org' target='_blank'><img width=145 border=0  src='../files/andoan.gif'>"
,0,2,4,0,"<img src='../files/senefa.gif' alt='' border=0 width=145>","",""
);

kgif="<a></a>"
dcv(lm2);
lm2=ret_sbit;
for(xk=0;xk<lm2.length;xk++)d.write(lm2[xk]);

d.write(" </TBODY></TABLE>");    // end menu TABLE
}

function up(lang,br){
var  d=document;
if (lang)lang="Tornar al principi"; else lang = "Volver al principio";
if (!br)d.write("<br><br><br>");
d.write("</div><div align=right><table border=1 bordercolor=#c0c0c0 bgcolor=white cellspacing=0 cellpadding=1><tr>");
d.write("<td align=center><a href='#up'><img src='../files/6b.gif' border=0></a></td>");
d.write("<td align=center><a class=blinks id=s10 href='#up'>&nbsp;",lang,"&nbsp;</a></td></tr></table>");
}

function tail(endhtml){
var  d=document;
d.write("<br><table align=center><tr>");
d.write("<td valign=bottom align=center><a href='mailto:infoindia@indiga.org'><img src='../files/i4.gif' alt='mail' border=0></a></td></tr>");
d.write("<tr><td valign=topalign=center><a class=topstories style='FONT-SIZE:10px; color:#800000;' href='mailto:infoindia@indiga.org'>infoindia@indiga.org</a></td></tr></table><br><br><br><br><br>");
d.write('<a style="{FONT-SIZE:1px;COLOR:#f5f5f5;FONT-FAMILY:verdana,arial;}" href="www.pals4you.com">www.pals4you.com</a>');

if(!endhtml){
d.write("</TD><TD align=left width=10>&nbsp;</TD></TR></TBODY></TABLE><!-- Close right side-->");
d.write("</TR></TBODY></TABLE><!-- close page table --></BODY></HTML>");
            }
}
