var TYPE_WALL=63;var TYPE_BLOG=63;var nIID=0;var nBlogPublishReload=1;var nMultimediaFormat=1;function load(sTab){};function blog_options(nCID){$('#idOptions'+nCID).show();$('#idOptionsMore'+nCID).hide();};function blog_permalink(sURL){if(prompt('You can link directly to this blog-posting with this URL:'+"\n"+'(Click OK to reload webpage to the permalink and cancel to return.)','http://'+sURL)){location.href='http://'+sURL;};};function blog_report(sURL){location.href='http://'+sURL+'#Report';};function pagenav_move(sSelectorBar,nPage){$('#'+sSelectorBar+'Top').html('Loading..');$('#'+sSelectorBar+'Bottom').html('Loading..');location.href='/blogs/'+nPage+'/'+nSort;};function sort_order_name(){if(nSort==0)$('#idSortOrder').html('Newest');else if(nSort==1)$('#idSortOrder').html('Friends Blogs');};function sort_order(){nSort=nSort+1;if(nSort<0||nSort>2)nSort=0;location.href='/blogs/'+aPos[nBlogIdx]+'/'+nSort;};$(document).ready(function(){aNum[nBlogIdx]=500;pagenav_init('idBlogList',nBlogIdx,500,nPerPage);sort_order_name();if(nCommentCnt>10)
pagenav_init(sWallDiv,1,nCommentCnt,nPerPage);});