/* Мигалка */ var showdivtimer = new Array(); function showdiv(id,cmd,repet,opacity,n) { repet=repet||11;//сколько раз мигать +1 opacity=opacity||100; n=n||-10; if (opacity==100){n=-10;repet--} if (opacity==0){n=10;} var div = document.getElementById(id); if(cmd==1 && privatok==1) {div = document.getElementById(id)}; if (window.ActiveXObject) {var h=div.offsetHeight; div.style.height=h; div.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity="+opacity+")";} else {div.style.opacity = opacity/100}; opacity+=n; showdivtimer[id] = setTimeout("showdiv('"+id+"',"+cmd+","+repet+","+opacity+","+n+")",100); if (repet==0)clearTimeout(showdivtimer[id]); }
/* Мигалка */ var timeremovez = []; var timeremovez = text.match(/см\.\s(\d\d.\d\d.\d\d)/g); if (timeremovez!=null) { for (var i=0; i<timeremovez.length; i++) { var obj=document.getElementById("leftdiv");var div=obj.getElementsByTagName('div'); for (var k=0; k<div.length; k++) {if (div[k].innerHTML.search(timeremovez[i])>=0){timeremoveid=timeremovez[i].replace(/см\.\s|\:/g, "");text=text.replace(timeremovez[i],"<span onclick=\"parent.showdiv('"+timeremoveid+"',0);\">"+timeremovez[i]+"</span>"); div[k].id=timeremoveid;if (loaded==1&&parent.mynick==tonick) showdiv(timeremoveid,0)}}; }}