﻿//document.write('<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.js" type="text/javascript"></script>');
// http://localhost:58438/si.asmx

 
 document.write('<script type="text/javascript" src="http://site-connect.net/site~pageinfo?url='+ location +'" ></script>');
 

function Init() {
    var H = document.getElementsByTagName("head").item(0);

    var S = document.createElement("script");
    S.setAttribute("type", "text/javascript");
    S.setAttribute("src", "http://localhost:57337/site~siteinfo");
    H.appendChild(S);
}
function CallBack(json){
 
    document.write(json.j);
}


function RemoteCall() {
    var client = new XMLHttpRequest();
    client.onreadystatechange = function() {
        if (this.readyState == 4 && this.status == 200)
            alert(this.responseText);
    }
    client.open("GET", "/member~CheckLogin");
    client.send();
}
 
setTimeout(function() {
   
  

}, 600);

//function RemoteCall() {
//    alert(0);
//    $.ajax({
//        type: "Get",
//        url: "http://site-connect.net/site~faq",

//        data: { u: "a" },
//        //contentType: "application/json; charset=utf-8",
//      
//        success: function(json) { alert(json + "a"); },
//        error: function(e) { alert(e.responseText); }
//    });
//}