function extractScripts(str) {<br/>
var reg = /<script.*?>((?:\n|\r|.)*?)<\/script>/gi;<br/>
var results = str.match(reg);<br/>
if(results){<br/>
for (var i = 0; i < results.length; i++){<br/>
eval(results[i].replace(reg,\'$1\'));<br/>
}}}<br/>
function test(test){<br/>
alert(document.forms.data.elements.length);<br/>
}