

	str = "";
	ip = "";
	url = "";

	function createXMLHttpRequest() {

  	  	if (window.ActiveXObject) {
      			  xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} else if (window.XMLHttpRequest) {
      			  xmlhttp = new XMLHttpRequest();
  		}

	}

	function getaddress()
	{
		var url = "http://www.cz88.net/ip/ipcheck.aspx";
		createXMLHttpRequest();
		xmlhttp.onreadystatechange = handleee;
		xmlhttp.open("get",url,true);
		xmlhttp.send(null);
	}

	function handleee()
	{
		if (xmlhttp.readystate==4) {
			if (xmlhttp.status==200) {
				str = xmlhttp.responseText;
				leng = str.length;
				endd = leng - 3;
				str = str.substring(16,endd);
				getip();
				
			}
		}
	}

	function getip()
	{
		var url = "getip.asp";
		createXMLHttpRequest();
		xmlhttp.onreadystatechange = handleii;
		xmlhttp.open("get",url,true);
		xmlhttp.send(null);
	}

	function handleii()
	{
		if (xmlhttp.readystate==4) {
			if (xmlhttp.status==200) {
				ip = xmlhttp.responseText;
				insert();
			}
		}
	}


	function insert()
	{
		url = window.location.href; 
		url = url.replace(/&/g,"-");
		var urll = "insertjl.asp?str="+str+"&ip="+ip+"&url="+url;
		createXMLHttpRequest();
		xmlhttp.onreadystatechange = handlenn;
		xmlhttp.open("get",urll,true);
		xmlhttp.send(null);
		
	}

	function handlenn()
	{
	}
