/*
 * Compressed by JSA(www.xidea.org)
 */
function imgCode(C){var B=new Array("images00/new.gif","images/bullet1.gif"),_=C.split("-"),$=new Date(_[0],_[1]-1,_[2]).getTime(),A=new Date().getTime();if(A-$<=3*1000*3600*24)return"<img src='"+B[0]+"'/>";else return"<img src='"+B[1]+"'/>"}function drawImage(B,A){var _=new Image();_.src=B.src;var $=_.width,C=_.height;if($>C){B.style.width=A;B.style.height=Math.round(C*A/$)}else{B.style.height=A;B.style.width=Math.round($*A/C)}}function ColorEffect($){this.Em=document.getElementById($);if(this.Em==null){alert("\u60a8\u8981\u8bbe\u7f6e\u7684\""+$+"\"\u521d\u59cb\u5316\u9519\u8bef\r\n\u8bf7\u68c0\u67e5\u6807\u7b7eID\u8bbe\u7f6e\u662f\u5426\u6b63\u786e!");return}this.colorArray=new Array("#66CCFF","#9999FF","#99CC33","#CC66FF","#D2691E");if(arguments[1]instanceof Array)this.colorArray=arguments[1];this.time=200;if(typeof arguments[2]=="number")this.time=arguments[2]}ColorEffect.prototype.Start=function(){if(this.Em==null)return;var C=this.Em,_=C.innerHTML,B=this.colorArray,$=this.time,A=0;setInterval(function(){var G=A%_.length,F=A%B.length;A=(G==0&&F==0)?0:A;var E=_.substr(0,G),$="<span style='color:"+B[F]+";'>"+_.substr(G,1)+"</span>",D=_.substr(G+1,_.length);C.innerHTML=E+$+D;A++},$)}