//΄΄½¨ΆΤΟσ
	var vvid;
	var vvurl="/plus/Movieplaycomment/";
	var LRege;
	//var jiazai = "yes";
function createXMLHttps()
{
    var ret = null;
    try {
        ret = new ActiveXObject('Msxml2.XMLHTTP');
    }
    catch (e) {
        try {
            ret = new ActiveXObject('Microsoft.XMLHTTP');
        }
        catch (ee) {
            ret = null;
        }
    }
    if (!ret && typeof XMLHttpRequest != 'undefined')
        ret = new XMLHttpRequest();
    return ret;
}


function ajax(URL,DIVID)
{
var DIVID=document.getElementById(DIVID);
if(DIVID)
{
	jiazai = 'yes';
    //DIVID.innerHTML = '<img border=0 src=/image/loading.gif>'
	var xmlhttp = createXMLHttps();
	xmlhttp.open("GET",URL,true);
	
	xmlhttp.onreadystatechange = function()
	{
		//alert(URL);
		//alert(xmlhttp.responseText);
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
		{
			DIVID.innerHTML = xmlhttp.responseText;
			//alert(xmlhttp.responseText);
			loginCHR=true;
		}
		else{
			loginCHR=false;
			}
		
		
	}
	xmlhttp.send(null);
}
}
//alert(loginCHR);
function ajax2(URL)
{
	var LRege;
	var xmlhttp = createXMLHttps();
	xmlhttp.open("GET",URL,true);
	xmlhttp.onreadystatechange = function()
	{

				if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
					{
						var LRege = xmlhttp.responseText;
						//alert(LRege);
						 ///////////////////////////////////////////////
								switch (LRege)
									   {
									   case "0":
										 window.location="/mysoso/";
										 break
                                       case "1":
										 alert(LogInfo[1]);
										 //window.location="/mysoso/login.html";
										 break
									   case "2":
										 alert(LogInfo[2]);
										 break
									   case "3":
										 alert(LogInfo[3]);
										 break
									   case "4":
										 alert(LogInfo[4]);
										 break	
									    default:
										 alert(LogInfo[5]);
									}

						
						////////////////////////////////////
						
					}
				else
					{
						var LRege = "null";
					}

	 }
	xmlhttp.send(null);
			//return LRege;
			

}




function ajaxReg(URL)
{
	var LRege;
	var xmlhttp = createXMLHttps();
	xmlhttp.open("GET",URL,true);
	xmlhttp.onreadystatechange = function()
	{

				if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
					{
						var LRege = xmlhttp.responseText;
						//alert(LRege);
						 ///////////////////////////////////////////////
								switch (LRege)
									   {
									   case "0":
										 alert(loginGood);
										 window.location="/mysoso/login.html";
										 break
                                       case "1":
										 alert(msgInfo[1]);
										 break
									   case "2":
										 alert(msgInfo[2]);
										 break
									   case "3":
										 alert(msgInfo[3]);
										 break
									   case "4":
										 alert(msgInfo[4]);
										 break	
									    default:
										 alert(msgInfo[5]);
									}

						
						////////////////////////////////////
						
					}
				else
					{
						var LRege = "null";
					}

	 }
	xmlhttp.send(null);
			//return LRege;
			

}
//////////////////////
function ajaxGetPass(URL){
	var LRege;
	var xmlhttp = createXMLHttps();
	xmlhttp.open("GET",URL,true);
	xmlhttp.onreadystatechange = function()
	{

				if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
					{
						var LRege = xmlhttp.responseText;
						//alert(LRege);
						 ///////////////////////////////////////////////
								switch (LRege)
									   {
									   case "0":
										  alert(GetPassInfo[5]);;
										 //window.location="/mysoso/login.html";
										 DispGetPass();
										 break
                                       case "1":
										 alert(GetPassInfo[2]);
										 break
									   case "2":
										 alert(GetPassInfo[3]);
										 break
									   case "3":
										 alert(GetPassInfo[4]);
										 break
									   default:
										 alert(GetPassInfo[5]);
									}

						
						////////////////////////////////////
						
					}
				else
					{
						var LRege = "null";
					}

	 }
	xmlhttp.send(null);
			//return LRege;
			

}
