try{var ajaxCommnetsPagerCommentsId="thecomments"
var ajaxCommnetsPagerAjaxLoader="正在加载..."}catch(e){}
try{var searchbox=MGJS.$("searchbox");var searchtxt=MGJS.getElementsByClassName("textfield","input",searchbox)[0];var searchbtn=MGJS.getElementsByClassName("button","input",searchbox)[0];var tiptext="搜索...";if(searchtxt.value==""||searchtxt.value==tiptext){searchtxt.className+=" searchtip";searchtxt.value=tiptext;}
searchtxt.onfocus=function(e){if(searchtxt.value==tiptext){searchtxt.value="";searchtxt.className=searchtxt.className.replace(" searchtip","");}}
searchtxt.onblur=function(e){if(searchtxt.value==""){searchtxt.className+=" searchtip";searchtxt.value=tiptext;}}
searchbtn.onclick=function(e){if(searchtxt.value==""||searchtxt.value==tiptext){return false;}}}catch(e){}
try{function grin(tag){if(typeof tinyMCE!='undefined'){grin_tinymcecomments(tag);}else{grin_plain(tag);}}
function grin_tinymcecomments(tag){tinyMCE.execCommand('mceInsertContent',false,' '+tag+' ');}
function grin_plain(tag){var myField;var myCommentTextarea="comment";tag=' '+tag+' ';if(document.getElementById(myCommentTextarea)&&document.getElementById(myCommentTextarea).type=='textarea'){myField=document.getElementById(myCommentTextarea);}else{return false;}
if(document.selection){myField.focus();sel=document.selection.createRange();sel.text=tag;myField.focus();}
else if(myField.selectionStart||myField.selectionStart=='0'){var startPos=myField.selectionStart;var endPos=myField.selectionEnd;var cursorPos=endPos;myField.value=myField.value.substring(0,startPos)
+tag
+myField.value.substring(endPos,myField.value.length);cursorPos+=tag.length;myField.focus();myField.selectionStart=cursorPos;myField.selectionEnd=cursorPos;}
else{myField.value+=tag;myField.focus();}}
function moreSmilies(){document.getElementById('wp-smiley-more').style.display='inline';document.getElementById('wp-smiley-toggle').innerHTML='<a href="javascript:lessSmilies()">&laquo;&nbsp;less</a></span>';}
function lessSmilies(){document.getElementById('wp-smiley-more').style.display='none';document.getElementById('wp-smiley-toggle').innerHTML='<a href="javascript:moreSmilies()">more&nbsp;&raquo;</a>';}}catch(e){}
try{var commentformid="commentform";var USERINFO=false;var atreply="none";}catch(e){}
try{MGJS.loadCommentShortcut();}catch(e){}
try{hs.graphicsDir="http://chuanle.net/wordpress/wp-content/plugins/auto-highslide/highslide/graphics/";hs.outlineType="rounded-white";hs.outlineWhileAnimating=true;hs.showCredits=false;}catch(e){}
try{jQuery(document).ready(function(){jQuery(function(){jQuery("#menus").lavaLamp({fx:"backout",speed:600})});})}catch(e){}
