
function OpenMember(opt){
    $('#center-inner-right-desc').hide();
    $('#center-inner-right').show();
    OpenLink(opt);
}


function initDDMenu(data) {
      $(document).ready(function(){
      if (data != null && data.indexOf('pikame') > 0 && $.texthtmlarea == null) {
        $("#pikame").PikaChoose(); 
     }  
 });
}




function OpenPage(url) {
     gotourl = location.href.substring(location.href.indexOf('tpl='),location.href.indexOf('&href')); 
     if (gotourl == "" || url.indexOf(gotourl) < 0){
      
       window.location = url; 
     }
     else {
        //alert(url.substring(url.indexOf('href='),url.length));
        $.ajax({
   type: "GET",
   url: "page.php",
   data: url.substring(url.indexOf('href='),url.length),
   success: function(msg){
     $(document).feedhref(msg);
   }
           });

     } 
    
     
}


