function jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function CheckSearchForm(SID,ActionUrl)
{
var SID
SID = SearchForm.stype.value;
	if(SID==1){
		SearchForm.action="/mob.php";
	}else if(SID==2){
		SearchForm.action="/item.php";
	}else if(SID==3){
		SearchForm.action="/map.php";
	}else if(SID==0){
		SearchForm.action="/item.php";
	}	
}

function createxmlhttprequest()
{
        var xmlhttp=false;
        try
        {
            xmlhttp=new ActiveXObject('Msxm12.XMLHTTP');
        }
        catch(e)
        {
            try
            {
                xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
            }
            catch(e)
            {
                try
                {
                    xmlhttp=new XmlHttpRequest();
                }
                catch(e)
                {
                }
            }
         }
        return xmlhttp;
}
function godown(id)
{
	var xmlhttp=createxmlhttprequest();
	xmlhttp.open("get","godown.php?id="+id,true);
	xmlhttp.onreadystatechange=function()
	{
		if(xmlhttp.readyState==4)
		{
			if(xmlhttp.status==200)
			{
				var rs=xmlhttp.responseText;
				if(rs=="support")
				{
					
				}
			}
		}
	}
	xmlhttp.send(null);
	delete(xmlhttp);
}