var w3c=(document.getElementById)? true:false;var agt=navigator.userAgent.toLowerCase();var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));var ie5=(w3c && ie)? true : false;var ns6=(w3c && (navigator.appName=="Netscape"))? true: false;var op8=(navigator.userAgent.toLowerCase().indexOf("opera")==-1)? false:true;var pltsPop=null;var pltsoffsetX = 0;var pltsoffsetY = 20;document.write('<div id="pltsTipLayer" style="display:none;position:absolute;z-index:1314;"></div>');function pltsinits(){document.onmouseover = plts;document.onmousemove = moveToMouseLoc;};function plts(e){e=e||window.event;var o=e.srcElement||e.target;var a=o.tagName.toUpperCase();if (a == "IMG" || a=="FONT"){var u=o.parentElement || o.parentNode;var t=u.tips||u.getAttribute("tips");}else{var t=o.tips||o.getAttribute("tips");}if(t!=null && t!=""){o.dypop=t;t=""};pltsPop=o.dypop;if(pltsPop!=null&&pltsPop!=""&&typeof(pltsPop)!="undefined"){$("pltsTipLayer").style.left= -1000 + "px";$("pltsTipLayer").style.display="";var Msg=pltsPop.replace(/\n/g,"<br>");Msg=Msg.replace(/\0x13/g,"<br>");var content ='<table border="0" cellspacing="5" cellpadding="0" id="toolTipTalbe" class="tbs">'+'<tr><td class="tds">'+Msg+'</td></tr>'+'</table>';$("pltsTipLayer").innerHTML=content;var cliWidth = document.body.clientWidth||document.documentElement.clientWidth;$("toolTipTalbe").style.width=Math.min($("pltsTipLayer").clientWidth,cliWidth/2.2) + "px";moveToMouseLoc;}else{$("pltsTipLayer").innerHTML="";$("pltsTipLayer").style.display='none';}};function moveToMouseLoc(e){e=e||window.event;var scrLeft = ie ? document.documentElement.scrollLeft : document.body.scrollLeft;var scrTop  = ie ? document.documentElement.scrollTop : document.body.scrollTop;var cliHeight = document.body.clientHeight||document.documentElement.clientHeight;var cliWidth = document.body.clientWidth||document.documentElement.clientWidth;if($("pltsTipLayer").innerHTML=="") return true;var MouseX=e.x||e.pageX;var MouseY=e.y||e.pageY;var popHeight=$("pltsTipLayer").clientHeight;var popWidth=$("pltsTipLayer").clientWidth;$("pltsTipLayer").style.left=MouseX+pltsoffsetX+scrLeft + "px";$("pltsTipLayer").style.top=MouseY+pltsoffsetY+scrTop + "px";};function SetCookie(name, value){var expdate = new Date();var argv = SetCookie.arguments;var argc = SetCookie.arguments.length;var expires = (argc > 2) ? argv[2] : null;var path = (argc > 3) ? argv[3] : null;var domain = (argc > 4) ? argv[4] : null;var secure = (argc > 5) ? argv[5] : false;if(expires!=null) expdate.setTime(expdate.getTime() + ( expires * 1000 ));document.cookie = name + "=" + escape (value) +((expires == null) ? "" : ("; expires="+ expdate.toGMTString()))+((path == null) ? "" : ("; path=" + path)) +((domain == null) ? "" : ("; domain=" + domain))+((secure == true) ? "; secure" : "");};function GetCookie(n){var aCookie = document.cookie.split("; ");for(var i=0; i < aCookie.length; i++){var aCrumb = aCookie[i].split("=");if(n == aCrumb[0])	return unescape(aCrumb[1]);}return null;};function DelCookie(name,path,domain){var exp = new Date();exp.setTime (exp.getTime() - 1);var cval = GetCookie(name);if(cval!=null) document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires="+ exp.toGMTString();};function top_domain(){var domain,tmp=location.host.split('.'),i = tmp.length;var hz = tmp[(i-1)];var hz2 = tmp[(i-2)];if( hz2=='net' || hz2=='com' || hz2=='org'  ){return tmp[(i-3)]+"."+hz2+"."+hz;};return tmp[(i-2)]+"."+tmp[(i-1)];};function $(id){return document.getElementById(id);};function regE(n,e,f){if(window.attachEvent)	n.attachEvent(e,f);	else n.addEventListener(e.replace(/^on/,''),f,false);};var sTimer=null;function showDiv(id){var ctrlobj = $(id);if(!ctrlobj) return;if(sTimer) clearTimeout(sTimer)	;sTimer=setTimeout(ctrlobj.style.display='',500);};function hideDiv(id){var ctrlobj = $(id);if(!ctrlobj) return;sTimer = setTimeout(function() {ctrlobj.style.display = "none";sTimer = null;},500)};function divList(id,isOn){var ctrlobj = $(id);if(!ctrlobj) return;if (isOn) {clearTimeout(sTimer);sTimer = null;}else {sTimer = setTimeout(function() {ctrlobj.style.display = "none";searchTimer = null;}, 500);}};function UrlEncode(str){var ret="";var strSpecial="!\"#$%&'()*+,/:;<=>?[]^`{|}~%";for(var i=0;i<str.length;i++){var chr = str.charAt(i);var c=chr;if(parseInt("0x"+c) > 0x7f){ret+="%"+c.slice(0,2)+"%"+c.slice(-2);}else{if(chr==" "){ret+="+";}else if(strSpecial.indexOf(chr)!=-1){ret+="%"+c.toString(16);}else{ret+=chr;}}}return ret;};function myAddBookmark(title,url){if ((typeof window.sidebar == 'object') && (typeof window.sidebar.addPanel == 'function')){window.sidebar.addPanel(title,url,"");}else{window.external.AddFavorite(url,title);}};pltsinits();