function goajax(id, variable)
{   defaultURL=DOMAIN+"submit.php?";
   tourl=defaultURL+variable+"&rrr="+Math.random();
   Ext.get(id).load({
        url: defaultURL,
        scripts: true,
        params: variable,
        text: "Loading..."
   });

}
//-------------------pl()--------------------
function pl(id,toEl)
{
    if(window.location.search)
    {
    	var was=window.location.search.substring(1,window.location.search.length)+"&";
    }else
    {    	var was='';    }
    var defaultURL=DOMAIN+"ajax/layers.php?";
    var tourl=defaultURL+was+id;
    if(!IE){      Ext.get(toEl).setOpacity(0.2,true);
      Ext.get(toEl).load
      ({
        url: tourl,
        scripts: true,
        //params: variable,
        text: gd(toEl) ,
        nocache:true,
        callback: function()
             {        	     Ext.get(toEl).setOpacity(1,true);
        	 }
     });
     }else{Ext.get(toEl).load
      ({
        url: tourl,
        scripts: true,
        nocache:true,
        //params: variable,
        text: "<div class=\"loading\"><div class=\"loadingTxt\">Loading...</div>"+gd(toEl)+"</div>"
        });
     }

}

function alertMe()
{	alert('alertMe is go!');}
