function SetCookie(b,d,a,f,c,e){document.cookie=b+"="+escape(d)+((a)?"; expires="+a.toGMTString():"")+((f)?"; path="+f:"")+((c)?"; domain="+c:"")+((e)?"; secure":"")
}function FixCookieDate(b){var c=new Date(0),a=c.getTime();
if(a>0){b.setTime(b.getTime()-a)
}}function getCookieVal(b){var a=document.cookie.indexOf(";",b);
if(a==-1){a=document.cookie.length
}return unescape(document.cookie.substring(b,a))
}function GetCookie(d){var b=d+"=",f=b.length,a=document.cookie.length,e=0,c;
while(e<a){c=e+f;
if(document.cookie.substring(e,c)==b){return getCookieVal(c)
}e=document.cookie.indexOf(" ",e)+1;
if(e==0){break
}}return null
}function highLight(b,d,a){var c=document.getElementById(b);
if(d%2==0){c.style.color="#FE7807"
}else{c.style.color="#FFFEE6"
}if(d==a){c.style.color="#2954B3"
}else{d=d+1;
timer=window.setTimeout("highLight('"+b+"',"+d+","+a+")",50)
}}function switchImages(c,e,d,a){var b=document.getElementById(c);
if(d%2==0){b.src=e+"_1.gif"
}else{b.src=e+"_2.gif"
}if(d==a){b.src=e+".gif"
}else{d=d+1;
timer=window.setTimeout("switchImages('"+c+"','"+e+"',"+d+","+a+")",50)
}}function disabledTip(a,d){var c=document.getElementById("tip"),b=new Date();
FixCookieDate(b);
b.setTime(b.getTime()+(365*24*60*60*1000));
SetCookie("notip","1",b,"/");
if(GetCookie("notip")!=null){c.innerHTML=a
}else{alert(d)
}};
