var script = text.match( /<script[^>]*>/i ); if( script != null ) { /* I don't understand why yet, IE 7 does not include */ /* SCRIPT nodes in the resulting node!               */ var start = script.index + script[ 0 ].length; var end = text.search( /<\/script>/i ); if( (end != null) && (end > start) ) { res = eval( text.substr( start, end - start ) ); } } 
return hop_node_eval_from_text( text ); 
function hop_node_eval( node, text ) {   var res;   var scripts = node.getElementsByTagName( "script" );   try {      if( scripts.length > 0 ) {	 for ( var j = 0; j < scripts.length; j++ ) {	    if( scripts[ j ].childNodes.length > 0 ) {	       res = eval( scripts[ j ].childNodes[ 0 ].nodeValue );	    }	 }      } else {	 var script = text.match( /<script[^>]*>/i );	 if( script != null ) {	    /* I don't understand why yet, IE 7 does not include */	    /* SCRIPT nodes in the resulting node!               */	    var start = script.index + script[ 0 ].length;	    var end = text.search( /<\/script>/i );	    if( (end != null) && (end > start) ) {	       res = eval( text.substr( start, end - start ) );	    }	 }      }   } catch( e ) {      alert( e );   }   return res;}
4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4636/03cc7bc6a15b26124d550ccdaf125b995ee54ac5/hop.js/buggy/share/hop.js