// JavaScript Document
/*-----------------------------------------------------------------------------------------------*/
/*[ Designer Uiliam Cruz -Ínicio do Projeto 03/06/2005- http://uiliam.e1.com.br ]*/
/*-----------------------------------------------------------------------------------------------*/
// Site: http://www.obreiroaprovado.com.br


/*-----------------------------------------------------------------------------------------------*/
/*[ DEFINIÇÃO DO MENU PRINCIPAL ]*/
// O menu para vários tipos de diretórios 
// No mesmo diretório
function MenuPrincipal() {
	document.write('<li><a href="http://www.palavraprudente.com.br/index.html">início</a><br></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/novidades.html">novidades</a><br></li>');	
	document.write('<li><a href="http://www.palavraprudente.com.br/porassunto.html">estudos b&iacute;blicos</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/englishstudies.html">english studies</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/termos.html">termos de uso</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/livros">livros</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/link.html">link</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/assista">assista</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/seminario/Index/index_files/">seminário</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/respostas.html">respostas</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/quemsomos.html">quem somos</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/contato.html">contato</a></li>');
	document.write('<li>&nbsp;<a href="http://www.palavraprudente.com.br/brblog/">- blog</a><img src="http://www.palavraprudente.com.br/img/flagbrazil.gif" border=0></li>');
	document.write('<li>&nbsp;<a href="http://www.palavraprudente.com.br/usablog/">- blog</a><img src="http://www.palavraprudente.com.br/img/flagusa.gif" border=0></li>');
}
// 2 Sub diretórios
function MenuPrincipal2() {
	document.write('<li><a href="http://www.palavraprudente.com.br/index.html">início</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/novidades.html">novidades</a></li>');	
	document.write('<li><a href="http://www.palavraprudente.com.br/porassunto.html">estudos b&iacute;blicos</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/englishstudies.html">english studies</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/termos.html">termos de uso</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/livros">livros</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/link.html">link</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/assista">assista</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/seminario/Index/index_files/">seminário</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/respostas.html">respostas</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/quemsomos.html">quem somos</a></li>');
	document.write(' <li><a href="http://www.palavraprudente.com.br/contato.html">contato</a></li>');
	document.write('<li>&nbsp;<a href="http://www.palavraprudente.com.br/brblog/">- blog</a><img src="http://www.obreiroaprovado.com/img/flagbrazil.gif" border=0></li>');
	document.write('<li>&nbsp;<a href="http://www.palavraprudente.com.br/usablog/">- blog</a><img src="http://www.palavraprudente.com.br/img/flagusa.gif" border=0></li>');
}
// 3 Sub diretórios
function MenuPrincipal3() {
	document.write('<li><a href="http://www.palavraprudente.com.br/index.html">início</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/novidades.html">novidades</a></li>');	
	document.write('<li><a href="http://www.palavraprudente.com.br/porassunto.html">estudos b&iacute;blicos</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/englishstudies.html">english studies</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/termos.html">termos de uso</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/livros">livros</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/link.html">link</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/assista">assista</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/seminario/Index/index_files/">seminário</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/respostas.html">respostas</a></li>');
	document.write('<li><a href="http://www.palavraprudente.com.br/quemsomos.html">quem somos</a></li>');
	document.write(' <li><a href="http://www.palavraprudente.com.br/contato.html">contato</a></li>');	
	document.write('<li>&nbsp;<a href="http://www.palavraprudente.com.br/brblog/">- blog</a><img src="http://www.palavraprudente.com.br/img/flagbrazil.gif" border=0></li>');
	document.write('<li>&nbsp;<a href="http://www.palavraprudente.com.br/usablog/">- blog</a><img src="http://www.palavraprudente.com.br/img/flagusa.gif" border=0></li>');
}
/*[ FIM DO MENU PRINCIPAL ]*/
/*-----------------------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------------------*/
/*[ DEFINIÇÃO DA IMPRESSÃO DO LOGOTIPO ]*/
// logotipo para imprimir
function LogoTipo () {
	document.write('<span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; color: #000000;">');
	document.write('Palavra <b>Prudente</b> <br /></span>');
	
	document.write('<span style="font-family: Arial, Helvetica, sans-serif; font-size: 9px; color: #00000;">');	
	document.write('Procura apresentar-te a Deus aprovado, como obreiro<br />');
	document.write('que não tem de que se envergonhar, que maneja bem a palavra da verdade. II Timóteo 2.15 <br /><br />');
	document.write('</span>');	
	
	document.write('<span style="font-family: Verdana; font-size: 12px;">_______________________________________________________________________________________________</span><br />');
	//document.write('<hr align="center" size="1" width="612"/>');
	
	document.write('<span style="font-family: Arial, Helvetica, sans-serif; font-size: 9px; color: #00000;">');	
	document.write(' <i>fonte: http://www.palavraprudente.com.br/</i> ');
	document.write('</span>');	
}
/*[ FIM DA IMPRESSÃO DO LOGOTIPO ]*/
/*-----------------------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------------------*/
 function linkCapitulos(){
  // possíveis erros
  if(capitulos < 1 || inicio < 1 || capitulos < inicio){
   document.write("<b style='color:red;'>Possível ERRO!<br />");
   document.write("<b style='color:red;'>- Não use sinal (-)menos!</b><br />");
   document.write("<b style='color:red;'>- O número de [ capítulos ] não pode ser 0(zero)!</b><br />");
   document.write("<b style='color:red;'>- O número de [ início ] não pode ser 0(zero)!</b><br />");
   document.write("<b style='color:red;'>- O número de cápitulos não pode ser MAIOR que o início!</b>");
  }
  else{
   document.write('| <a href="index.html">Índice</a> ');
     
   if (capitulos < 10){
    for (inicio; inicio<capitulos+1; inicio++){
     document.write('| <a href="cap0'+ inicio +'.html">0'+ inicio +'</a> ');
                   // acrescenta o ^ 0(zero no link)
    }
   }
     
   if(capitulos >= 10){
      
    if(inicio >= 2 ){
     document.write('| <a href="'+(inicio -1)+'.html"> -</a> ');
    }
     
    for (inicio; inicio<=9; inicio++){
     document.write('| <a href="cap0'+ inicio +'.html">0'+ inicio +'</a> ');
                   // acrescenta o ^ 0(zero no link)
    }
      
    for (inicio; inicio<=capitulos; inicio++){
     document.write('| <a href="cap'+ inicio +'.html">'+ inicio +'</a> ');
    }
   }
     
   document.write('|');
  }// fecha else do 1º if

   /*
      verifica apenas se o número de cápitulos é
      menor que 10 para acrescentar o 0 no nome da pagina
   */
   
   /*
   if(capitulos < 10){
    document.write('| <a href="index.html">Índice</a> ');
    for (inicio; inicio<=capitulos; inicio++){
    document.write('| <a href="cap'+ inicio +'.html">0'+ inicio +'</a> ');
    }
    document.write('|');
   }
   */
   /*
      verifica apenas se o número de cápitulos é
      maior que 25 para listar
   
   if(capitulos >= 10){   
    document.write('| <a href="index.html">Índice</a> ');
    document.write('| <a href="'+(inicio -1)+'.html"> - </a> ');
    for (inicio; inicio<=capitulos; inicio++){
    document.write('| <a href="cap'+ inicio +'.html">'+ inicio +'</a> ');
    }
    document.write('|');   
   } */

   /*
      verifica apenas se o número de cápitulos é
      maior que 25 para listar
   
   if(capitulos >= 25){   
    document.write('| <a href="index.html">Índice</a> ');
    document.write('| <a href="'+(inicio -1)+'.html"> - </a> ');
    for (inicio; inicio<=capitulos; inicio++){
    document.write('| <a href="cap0'+ inicio +'.html">'+ inicio +'</a> ');
    }
    document.write('|');   
   } */
  } // fecha função verifica
/*-----------------------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------------------*/
/*[ DEFINIÇÃO DO MENU DE CAPÍTULOS com introdução ]*/
function CapsIntro1a25() {       /* CAPÍTULOS DE 1 ATÉ 30 */
	
      document.write('<a href="index.html">&Iacute;ndice</a> | <a href="intro.html">intro</a> ') 
	  document.write('| <a href="cap01.html">01</a> | <a href="cap02.html">02</a> | <a href="cap03.html">03</a> | <a href="cap04.html">04</a> ')
      document.write('| <a href="cap05.html">05</a> | <a href="cap06.html">06</a> | <a href="cap07.html">07</a> | <a href="cap08.html">08</a> ')
      document.write('| <a href="cap09.html">09</a> | <a href="cap10.html">10</a> | <a href="cap11.html">11</a> | <a href="cap12.html">12</a> ')
      document.write('| <a href="cap13.html">13</a> | <a href="cap14.html">14</a> | <a href="cap15.html">15</a> | <a href="cap16.html">16</a> ')
      document.write('| <a href="cap17.html">17</a> | <a href="cap18.html">18</a> | <a href="cap19.html">19</a> | <a href="cap20.html">20</a> ')
      document.write('| <a href="cap21.html">21</a> | <a href="cap22.html">22</a> | <a href="cap23.html">23</a> | <a href="cap24.html">24</a> ')
      document.write('| <a href="cap25.html">25</a> | <a href="cap26.html">+</a>  |')
      document.write('<BR /> ')
}
/*[ DEFINIÇÃO DO MENU DE CAPÍTULOS sem introdução ]*/
function Caps1a25() {       /* CAPÍTULOS DE 1 ATÉ 30 */
	
      document.write('<a href="index.html">&Iacute;ndice</a> ') 
	  document.write('| <a href="cap01.html">01</a> | <a href="cap02.html">02</a> | <a href="cap03.html">03</a> | <a href="cap04.html">04</a> ')
      document.write('| <a href="cap05.html">05</a> | <a href="cap06.html">06</a> | <a href="cap07.html">07</a> | <a href="cap08.html">08</a> ')
      document.write('| <a href="cap09.html">09</a> | <a href="cap10.html">10</a> | <a href="cap11.html">11</a> | <a href="cap12.html">12</a> ')
      document.write('| <a href="cap13.html">13</a> | <a href="cap14.html">14</a> | <a href="cap15.html">15</a> | <a href="cap16.html">16</a> ')
      document.write('| <a href="cap17.html">17</a> | <a href="cap18.html">18</a> | <a href="cap19.html">19</a> | <a href="cap20.html">20</a> ')
      document.write('| <a href="cap21.html">21</a> | <a href="cap22.html">22</a> | <a href="cap23.html">23</a> | <a href="cap24.html">24</a> ')
      document.write('| <a href="cap25.html">25</a> | <a href="cap26.html">+</a>  |')
      document.write('<BR /> ')
}
function Caps26a50() {		/* CAPÍTULOS DE 26 ATÉ 50 */
      document.write('<a href="index.html">&Iacute;ndice</a>  ')
      document.write('| <a href="cap25.html">-</a> ')   
      document.write('| <a href="cap26.html">26</a> | <a href="cap27.html">27</a> | <a href="cap28.html">28</a> | <a href="cap29.html">29</a> ')
      document.write('| <a href="cap30.html">30</a> | <a href="cap31.html">31</a> | <a href="cap32.html">32</a> | <a href="cap33.html">33</a> ')
      document.write('| <a href="cap34.html">34</a> | <a href="cap35.html">35</a> | <a href="cap36.html">36</a> | <a href="cap37.html">37</a> ')
      document.write('| <a href="cap38.html">38</a> | <a href="cap39.html">39</a> | <a href="cap40.html">40</a> | <a href="cap41.html">41</a> ')
      document.write('| <a href="cap42.html">42</a> | <a href="cap43.html">43</a> | <a href="cap44.html">44</a> | <a href="cap45.html">45</a> ')
      document.write('| <a href="cap46.html">46</a> | <a href="cap47.html">47</a> | <a href="cap48.html">48</a> | <a href="cap49.html">49</a> ')
      document.write('| <a href="cap50.html">50</a> | <a href="cap51.html">+</a>  |') 
      document.write('<BR /> ')
}
function Caps51a75() {	  /* CAPÍTULOS DE 51 ATÉ 75 */
      document.write('<a href="index.html">&Iacute;ndice</a>  ')
      document.write('| <a href="cap50.html">-</a> ')   
      document.write('| <a href="cap51.html">51</a> | <a href="cap52.html">52</a> | <a href="cap53.html">53</a> | <a href="cap54.html">54</a> ')
      document.write('| <a href="cap55.html">55</a> | <a href="cap56.html">56</a> | <a href="cap57.html">57</a> | <a href="cap58.html">58</a> ')
      document.write('| <a href="cap59.html">59</a> | <a href="cap60.html">60</a> | <a href="cap61.html">61</a> | <a href="cap62.html">62</a> ')
      document.write('| <a href="cap63.html">63</a> | <a href="cap64.html">64</a> | <a href="cap65.html">65</a> | <a href="cap66.html">66</a> ')
      document.write('| <a href="cap67.html">67</a> | <a href="cap68.html">68</a> | <a href="cap69.html">69</a> | <a href="cap70.html">70</a> ')
      document.write('| <a href="cap71.html">71</a> | <a href="cap72.html">72</a> | <a href="cap73.html">73</a> | <a href="cap74.html">74</a> ')
      document.write('| <a href="cap75.html">75</a> |  ') 

}
/*[ FIM DO MENU DE CAPÍTULOS ]*/
/*-----------------------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------------------*/
/*[ DEFINIÇÃO DOS LINKS: | VOLTAR | IMPRIMIR | & | VOLTAR | TOPO | ]*/
// link: Voltar e Imprimir no topo da página
// Caso venha a acrescentar algum link não esquecer de mudar a posição do box no arq CSS
function VoltarImprimir() {
	document.write('| <a href="javascript:history.go(-1)">voltar</a> ');
	document.write('| <a href="javascript:window.print()">imprimir</a> |');		
}

// link: Voltar e âncora: Topo da página
function VoltarTopo() {
	document.write('| <a href="javascript:history.go(-1)">voltar</a> ');
	document.write('| <a href="#top">topo</a> |');			
}
/*[ FIM DOS LINKS: | VOLTAR | IMPRIMIR | & | VOLTAR | TOPO | ]*/
/*-----------------------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------------------*/
/*[ DEFINIÇÃO DOS DIREITOS AUTORAIS & DESEIGNER RESPOSÁVEL ]*/
// Direitos autorais, Ano e Designer
function Copy() { //      
	document.write('copyright &copy; 2010 - Palavra Prudente - www.palavraprudente.com.br<br />');
	document.write('<a href="http://www.uiliamcruz.com/" target="_blank" class="desiner">Designer Uiliam Cruz</a>');			
}
/*[ FIM DOS DIREITOS AUTORAIS & DESEIGNER RESPOSÁVEL ]*/
/*-----------------------------------------------------------------------------------------------*/
