"; html += "
"; html += (e) ? "" : " "; html += posA + fontstyle + str + posB; html += ""; return html; } var playcheck = true; var temphtml=""; var current = 0; var currentchat= 0; var output = ""; var SID; function movieplay() { if(!playcheck) { return; } if(movietype == 0) { if(!msg[current]) { location.href = gourl; return; } var str = msg[current]; output = makeHTML(str,true); parent.f1.location.href = "javascript:parent.output"; current++; SID = setTimeout("movieplay()",c_time); } else { if(SID != null) { clearTimeout(SID); } if(!msg[current]) { location.href = gourl; return; } var str = msg[current]; var exit= (currentchat+1 > str.length) ? true : false; output = makeHTML(str.substring(0, currentchat),exit); parent.f1.location.href = "javascript:parent.output"; currentchat++; if(currentchat > str.length) { current++; currentchat = 0; if(!playcheck) { return; } SID = setTimeout("movieplay()",c_time); } else { if(!playcheck) { return; } SID = setTimeout("movieplay()",a_time); } } } document.write(''); //-->