function GetRequest(UrlPath)
{
	var XmlHttp;
	XmlHttp = HttpObj();
	XmlHttp.open("get",UrlPath,true);	
	XmlHttp.send(null);
}

function HttpObj(){
	var XmlHttp = null;
	try{
		XmlHttp= new ActiveXObject('Msxml2.XMLHTTP');
	}catch(e){
		try{
			XmlHttp= new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				XmlHttp= new XMLHttpRequest();
			}catch(e){}
		}
	}
	if (XmlHttp) return XmlHttp;
}

function LoadReviewCount(XmlStr)
{
	var xmlDoc;
	if (document.implementation && document.implementation.createDocument)
 	{
  		xmlDoc = document.implementation.createDocument("", "", null);
 	}
 	else if (window.ActiveXObject)
 	{
  		xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    }
    else
    {
  		return null;
    }
	xmlDoc.async=false;
	try{
            xmlDoc.loadXML(XmlStr);
         }
	catch(e){
             var oParser=new DOMParser();
             xmlDoc=oParser.parseFromString(XmlStr,"text/xml");
    }
	document.getElementById("ReviewCount").innerHTML = xmlDoc.documentElement.selectSingleNode("ReviewCount").text;
}

function GetRequest1(UrlPath)
{
	var XmlHttp;
	XmlHttp = HttpObj();
	XmlHttp.open("GET",UrlPath,true);
    XmlHttp.send(null);
}

function GetReviewCount(UrlPath) {
	var XmlHttp = new HttpObj();
	XmlHttp.onreadystatechange = function(){
		if(XmlHttp.readyState==4){
			if(XmlHttp.status==200){
				if (XmlHttp.responseXML){
					cache["boardlist"] = XmlHttp.responseXML.documentElement.getElementsByTagName("board");
				}
			}else{

			}
		}
	}
	XmlHttp.open("get",path+"index.asp?action=xml");	
	XmlHttp.send(null);
}
