function getPro(page)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  var url="mainpro.php";

  xmlhttp=new XMLHttpRequest();
  xmlhttp.open("GET",url+page,false);
  xmlhttp.send(null);
  }
else
  {// code for IE6, IE5
  var url="mainpro.php";

  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  xmlhttp.open("GET",url+page,false);
  // Do not send null for ActiveX
  xmlhttp.send();
  }
document.getElementById('content').innerHTML=xmlhttp.responseText;
}

//===============================================================================

//function getPro(page){
//var xmlhttp=false; //Clear our fetching variable

//				try {
 //                       xmlhttp = new
 //                       ActiveXObject('Microsoft.XMLHTTP'); //Try the second kind of active x object
//            } catch (E) {
//                xmlhttp = false;
//                        }

 //       if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
 //               xmlhttp = new XMLHttpRequest(); //If we were able to get a working active x object, start an XMLHttpRequest
  //      }
 //       var file = 'mainpro.php'; //This is the path to the file we just finished making *
   // xmlhttp.open('GET', file + page, true); //Open the file through GET, and add the page we want to retrieve as a GET variable **
//
  // xmlhttp.onreadystatechange=function() {
    //    if (xmlhttp.readyState==4) { //Check if it is ready to recieve data
      //          var content = xmlhttp.responseText; //The content data which has been retrieved ***
        //        if( content ){ //Make sure there is something in the content variable
          //            document.getElementById('content').innerHTML = content; //Change the inner content of your div to the newly retrieved content ****
            //    }
        //}
        //}
        //xmlhttp.send(null) //Nullify the XMLHttpRequest
//return;
//}

//===============================================================================



function getAgent(page)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  var url="agent.php";

  xmlhttp=new XMLHttpRequest();
  xmlhttp.open("GET",url+page,false);
  xmlhttp.send(null);
  }
else
  {// code for IE6, IE5
  var url="agent.php";

  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  xmlhttp.open("GET",url+page,false);
  // Do not send null for ActiveX
  xmlhttp.send();
  }
document.getElementById('content').innerHTML=xmlhttp.responseText;
}



//===============================================================================



//===============================================================================


function getSupport(page)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  var url="support.php";

  xmlhttp=new XMLHttpRequest();
  xmlhttp.open("GET",url+page,false);
  xmlhttp.send(null);
  }
else
  {// code for IE6, IE5
  var url="support.php";

  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  xmlhttp.open("GET",url+page,false);
  // Do not send null for ActiveX
  xmlhttp.send();
  }
document.getElementById('content').innerHTML=xmlhttp.responseText;
}

//===============================================================================

function getNext(page)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  var url="product.php";
  url=url+"?id=";
  xmlhttp=new XMLHttpRequest();
  xmlhttp.open("GET",url+page,false);
  xmlhttp.send(null);
  }
else
  {// code for IE6, IE5
  var url="product.php";
  url=url+"?id=";
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  xmlhttp.open("GET",url+page,false);
  // Do not send null for ActiveX
  xmlhttp.send();
  }
document.getElementById('content').innerHTML=xmlhttp.responseText;
}

//===============================================================================


function getPage(page)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  var url="product.php";
  url=url+"?id=";
  xmlhttp=new XMLHttpRequest();
  xmlhttp.open("GET",url+page,false);
  xmlhttp.send(null);
  }
else
  {// code for IE6, IE5
  var url="product.php";
  url=url+"?id=";
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  xmlhttp.open("GET",url+page,false);
  // Do not send null for ActiveX
  xmlhttp.send();
  }
document.getElementById('content').innerHTML=xmlhttp.responseText;
}

