﻿function  FF(y)  {
   if (!y) {
     y=1;
   } 
   var xmlhttp;
   if (window.ActiveXObject) {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
   }else if(window.XMLHttpRequest)  {
      xmlhttp=new XMLHttpRequest();
   }
   if (xmlhttp) {
        xmlhttp.onreadystatechange=function () {
                if(xmlhttp.readyState==4)  {
             if(xmlhttp.status==200)  {
                   var yy=unescape(xmlhttp.responseText);
                                 show(yy);
                }else {
                     alert("error");
                }
          }
              }  
           xmlhttp.open("get","/page.aspx?page="+y);
              xmlhttp.send(null);
    }              
}
function show(text) {
document.getElementById("main_M").innerHTML=text;
}