/*
			llamar a la funcion superior
		*/
		function ffff(str){
		window.parent.callFlash(str);
		window.parent.callFlashTop(1/*parar*/);
		}
		
		function shuuu( aca ){
			if (parent.frames.length != 0 ){
			//	var el = $('mi');
			//	e1.fade(0.2);
			//window.parent.document.getElementById('mi').style.display  = 'none';
		document.body.style.display  = 'none';
			//alert("ocultate sesamo");
			}
		}
		
		function abc(){
			
		document.body.style.display  = 'block';
			//window.parent.document.getElementById('mi').style.display  = 'block';
		
			
			//despues de cargar compara de donde se trata y actualiza al swf
			//alert( window.location.href );
			
			//quitar el letrero
			//alert( window.location.href);
			
			if( 1 || !strstr( window.location.href , "el-claustro",1 ) 
				&& (
				strstr( window.location.href , "html",1 ) 
				||
				strstr( window.location.href , "option=",1 )
				||
				strstr( window.location.href , "=com",1 )
				||
                                ! strstr( window.location.href , "html",1 )
				 
				)
	
			){								
			
				window.parent.document.getElementById('fixmemsg').style.display  = 'none';
				
			} else {
					window.parent.document.getElementById('fixmemsg').style.display  = 'block';
				//	req.send();
			}
			
			if( strstr( window.location.href , "etapa-0",1 ) ){								
			ffff("e0");
			}
			else
			if( strstr( window.location.href , "etapa-1",1 ) ){								
			ffff("e1");
			}
			else
			if( strstr( window.location.href , "etapa-2",1 ) ){								
			ffff("e2");
			}
			else
			if( strstr( window.location.href , "etapa-3",1 ) ){								
			ffff("e3");
			}
			else
			if( strstr( window.location.href , "etapa-4",1 ) ){								
			ffff("e4");			
			}
			else
			if( strstr( window.location.href , "grado-",1 ) ){								
			///nadita
			}
			else
			{								
			ffff("none");			
			}
		}
		

			//lo usual no tocar
		function strstr( haystack, needle, bool ) {
	    // http://kevin.vanzonneveld.net
	    // +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	    // *     example 1: strstr('Kevin van Zonneveld', 'van');
	    // *     returns 1: 'van Zonneveld'
	    // *     example 2: strstr('Kevin van Zonneveld', 'van', true);
	    // *     returns 2: 'Kevin '
	 
			var pos = 0;
	 
			pos = haystack.indexOf( needle );
			if( pos == -1 ){
		        return false;
		    } else{
		        if( bool ){
		            return haystack.substr( 0, pos );
		        } else{
		            return haystack.slice( pos );
		        }
		    }
		}
