// JavaScript Document
// JavaScript Document
function bfoto(queac,qu2) { 

qurl="tmfoto1.php?f="+queac+"&i=0";
window.open(qurl ,'ventaprg','status=no,fullscreen=no,location=no,resizable=no,scrollbars=no, width=695, height=535, screenx=20,screeny=20,left=20, top=20' );
}
 function abru(nnh) {
    if (nnh==1){
	 qurl='tmundorules.html';
	}else{
	 qurl='tmundoruleses.html';
	}
    
	window.open(qurl, 'nventaa22', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=675,height=525,screenx=20,screeny=5,left = 20,top = 5')
}
 function  ab(cn){
	     
	 if(cn==1){
            if (screen.width==800){
			window.open('fla/ini1.html' ,'ventaprg','location=no,status=0,resizable=no,scrollbars=0, width=795, height=590, screex=0,screeny=0,left=0, top=0' );
	        }else{
			window.open('fla/ini1.html' ,'ventaprg','location=no,status=0,resizable=no,scrollbars=0, width=1024, height=768, screex=0,screeny=0,left=0, top=0' );
			}
	 }else if(cn==2){
            window.open( 'index.php' ,'ventana22','status=no,location=no,resizable=yes,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0' );	   
    }else if(cn==3){
            window.open( 'web/caracter.html ' ,'ventana23','status=no,location=no,resizable=yes,scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );	   
	 }else if(cn==4){
		 alert("Descargas deshabilitadas - Página provisional")
					
  	 }else if(cn==5){
           window.open( 'web/pantallas.html ' ,'ventana1','status=no,location=no,resizable=yes,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0' );	   			
  	 }else if(cn==6){
             window.open( 'material/resources.pdf' ,'ventana6','status=no,location=no,resizable=yes,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0'  );	   			
	 }else if(cn==62){		 
	         window.open( 'material/recursos.pdf' ,'ventana62','status=no,location=no,resizable=yes,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0'  );	   			
   	 }else if(cn==7){
           window.open( 'manual/manual.pdf' ,'ventanaweb2');	   			
   	 }else if(cn==8){
           window.open('soporte/index.php' ,'ventanaweb3','status=no,location=no,resizable=yes,scrollbars=yes' );	   			
   	 }else if(cn==9){
           window.open( 'contacto' ,'ventanaweb4');	   			
   	 }else if(cn==10){
           //window.open( 'signup/signup.php' ,'_blank','status=no,location=no,resizable=no,scrollbars=no, width=750, height=520, screenx=10,screeny=10,left=10, top=10' );	   			
		   //alert ("Online registration for  tMundo World Contest 1006 has finished.\n If you want your school to be registered for tMWC 2006 \n Please send your school details to info@tmundo.com");
 	       alert (" tMundo World Contest 2007 has finished.");
		   //alert ("Online registration for  tMundo World Contest 2006 has finished.\n  Your school can be registered by e-mail until April 15th. \n Please send your full name and school details to info@tmundo.com");
 	 
	 }else if(cn==102){
          // window.open( 'signup/signupes.php' ,'_blank','status=no,location=no,resizable=no,scrollbars=no, width=750, height=520, screenx=10,screeny=10,left=10, top=10' );	   			
 	       //alert ("Ha finalizado el periodo de registro para el Concurso Mundial tMundo 2005. \n Si quiere que su Escuela o Instituto sea registrado \n Por favor, mande sus datos a info@tmundo.com");
	       
           alert ("El Concurso Mundial tMundo 2007 ha finalizado.");
		   //alert ("Ha finalizado el periodo de registro online para el Concurso Mundial tMundo 2007. \n Su Escuela o Instituto puede aún registarse por email hasta el 15 de abril.  \n Por favor, mande su nombre y los datos de su escuela a info@tmundo.com");
	 
	 }else if(cn==11){
           window.open( 'vota/vermonus.php' ,'ventanaweb155','status=no,location=no,resizable=yes,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0' );	   			
     }else if(cn==12){
               
	}else if(cn==1000){
	      if (screen.width==800){
	       window.open( 'php/tmconectar.php' ,'ventanaweb155','status=no,location=no,resizable=no,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
          }else{
		   window.open( 'php/tmconectar.php' ,'ventanaweb155','status=no,location=no,resizable=no,scrollbars=no, width=1024, height=768, screex=0,screeny=0,left=0, top=0' );
		  } 
     }else if(cn==2000){
	      if (screen.width==800){
	       window.open( 'php/tmconectarp.php' ,'ventanaweb11155','status=no,location=no,resizable=no,scrollbars=no, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
          }else{
		   window.open( 'php/tmconectarp.php' ,'ventanaweb15ww5','status=no,location=no,resizable=no,scrollbars=no, width=1024, height=768, screex=0,screeny=0,left=0, top=0' );
		  }
		}else if(cn==3000){
	      if (screen.width==800){
	       window.open( 'php/schoollist.php' ,'ventanaweb1r1155','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=500, screex=0,screeny=0,left=0, top=0' );
          }else{
		   window.open( 'php/schoollist.php' ,'ventanaweb1e5ww5','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=500, screex=0,screeny=0,left=0, top=0' );
		  }
		  
		  }else if(cn==20052){
	      if (screen.width==800){
	       window.open( 'htm/resultsp1.html' ,'ventansaweb1r1155','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=596, screenx=0,screeny=0,left=0, top=0' );
          }else{
		   window.open( 'htm/resultsp1.html' ,'ventasnaweb1e5ww5','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=786, screenx=0,screeny=0,left=0, top=0' );
		  }

   	     }else if(cn==20053){
	          if (screen.width==800){
		        window.open( 'htm/resultss1.html' ,'ventanaweb1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=596, screenx=0,screeny=0,left=0, top=0' );
		      }else{
			     window.open( 'htm/resultss1.html' ,'ventanaweb1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=786, screenx=0,screeny=0,left=0, top=0' );
			  }
			  
		  }else if(cn==20061){
		     if (screen.width==800){
		         window.open( 'htm/centros2.html' ,'ventanawebkg1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=596, screenx=0,screeny=0,left=0, top=0' );		      
			  }else{
			     window.open( 'htm/centros2.html' ,'ventanawejb1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=786, screenx=0,screeny=0,left=0, top=0' );
             	
			  }
		   
		   }else if(cn==20062){
	          if (screen.width==800){
		        window.open( 'htm/resultsp2.html' ,'ventanaweb1r1g1595','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=596, screenx=0,screeny=0,left=0, top=0' );

		      }else{
		       window.open( 'htm/resultsp2.html' ,'ventanaweb1r11g595','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=790, screenx=0,screeny=0,left=0, top=0' );
			  }
			  
		  }else if(cn==20063){
		     if (screen.width==800){
	              window.open( 'htm/resultss2.html' ,'ventanawebk1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=590, screenx=0,screeny=0,left=0, top=0' );
		      }else{
			
			  window.open( 'htm/resultss2.html' ,'ventanawejb1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=790, screenx=0,screeny=0,left=0, top=0' );
			
			  }
		   
		   }else if(cn==2006){
		     
			 if (screen.width==800){
		        window.open( 'album-06' ,'_blank','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
		      }else{
			     window.open( 'album-06' ,'_blank','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=790, screex=0,screeny=0,left=0, top=0' );
			  }
			  
		   }else if(cn==2007){
		     
		     
			 if (screen.width==800){
		        window.open( 'album-07' ,'_blank','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
		      }else{
			     window.open( 'album-07' ,'_blank','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=790, screex=0,screeny=0,left=0, top=0' );
			  }	  
		   }else if(cn==7777){
		      //alert ("Please visit our site this week for some pictures of this year's competition")
		     
			  if (screen.width==800){
		        window.open( 'php/schoollist.php' ,'_blank','status=no,location=no,resizable=no, scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
		      }else{
			    window.open( 'php/schoollist.php' ,'_blank','status=no,location=no,resizable=no, scrollbars=yes, width=1024, height=790, screex=0,screeny=0,left=0, top=0' );
			  }
		   
		   }else if(cn==77771){
		      //alert ("Please visit our site this week for some pictures of this year's competition")
		     
			  if (screen.width==800){
		        window.open( 'php/resultsp.php' ,'_blank','status=no,location=no,resizable=no, scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
		      }else{
			    window.open( 'php/resultsp.php' ,'_blank','status=no,location=no,resizable=no, scrollbars=yes, width=1024, height=790, screex=0,screeny=0,left=0, top=0' );
			  }	  
			  
			 }else if(cn==77772){
		      //alert ("Please visit our site this week for some pictures of this year's competition")
		     
			  if (screen.width==800){
		        window.open( 'php/resultss.php' ,'_blank','status=no,location=no,resizable=no, scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
		      }else{
			    window.open( 'php/resultss.php' ,'_blank','status=no,location=no,resizable=no, scrollbars=yes, width=1024, height=790, screex=0,screeny=0,left=0, top=0' );
			  }	    
		   }else if(cn==3333){
		  
		     
			 if (screen.width==800){
		        window.open( 'pfnepal' ,'ventanawdebk1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=790, height=590, screex=0,screeny=0,left=0, top=0' );
		      }else{
			     window.open( 'pfnepal' ,'ventadnawejb1r11595','status=no,location=no,resizable=no,scrollbars=yes, width=1024, height=790, screex=0,screeny=0,left=0, top=0' );
			  }
			  
		   }	  
 
 } 
  


