-1) {
var s = source.indexOf("", e);
// Add to scripts array
scripts.push(source.substring(s_e+1, e));
// Strip from source
source = source.substring(0, s) + source.substring(e_e+1);
}
// Loop through every script collected and eval it
for(var i=0; i 7)) {
document.getElementById(id).setAttribute(sfunc, txt);
}
else {
myfunc = new Function(txt);
document.getElementById(id).setAttribute(sfunc, function(){
myfunc()
});
}
}
function setOnBlur(txt, id)
{
myfunc = new Function(txt);
document.getElementById(id).onblur = function() { myfunc(); };
}
var counterValue=0;
function incCounter(retdiv) {
counterValue++;
document.getElementById(retdiv).innerHTML = counterValue;
setTimeout(function () {incCounter(retdiv)},1000);
}
//-->