![]() |
<script language=javascript>
var layers = document.layers;
var style = document.all;
var both = layers || style;
var huliguo_b = 0;
var huliguo_c = 2;
function writeOnText(obj, str) {
if (layers) with (document[obj]){
document.open();
document.write(str);
document.close();
}
if (style) eval(obj+'.innerHTML= str');
}
var dispStr = new Array("无锡开创叉车培训学校 ",
"");
var overMe=0;
function txtTyper(str, idx, idObj, spObj, clr1, clr2, delay, plysnd){
var tmp0 = tmp1 = ''
var skip =100;
if (both && idx <= str.length){
if (str.charAt(idx) == '<'){while (str.charAt(idx) != '>') idx++; idx++;}
if (str.charAt(idx) == '&' && str.charAt(idx+1) != ' ') {while (str.charAt(idx) != ';') idx++; idx++;}
tmp0 = str.slice(0,idx);
tmp1 = str.charAt(idx++);
if (overMe==0 && plysnd==1){
if (navigator.plugins[0]){
if(navigator.plugins["LiveAudio"][0].type=="audio/basic" && navigator.javaEnabled()){
document.embeds[0].stop();
setTimeout("document.embeds[0].play(false)",100);
}
}else if (document.all){
ding.Stop();
setTimeout("ding.Run()",100);
}
overMe=1;
}else{
overMe=0;
}
writeOnText(idObj, ""+tmp0+""+tmp1+"");
setTimeout("txtTyper('"+str+"', "+idx+", '"+idObj+"', '"+spObj+"', '"+clr1+"', '"+clr2+"', "+delay+" ,"+plysnd+")",delay);
}
else{
huliguo_b++;
init();
}
}
function init(){
if (huliguo_b == huliguo_c) huliguo_b = 0;
txtTyper(dispStr[huliguo_b], 0, 'ttl0', 'ttl1', '#NaNNaNNa', '#NaNNaNNa', 250, 0);
}
onload=init;
</script>
无锡开创叉车培训学校
| |
|