// JavaScript Document
 //ajax.js

function RemoveError(){
jQuery.post(BASEURL+"ajax.php?action=removeerror",'','', "json");	
}

function hotopsy(id,id1){

document.getElementById('c1').className="";

document.getElementById('c2').className="";

document.getElementById('c3').className="";

document.getElementById(id1).className="current";

document.getElementById('blog').style.display ='none';

document.getElementById('facebook').style.display ='none';

document.getElementById('twitter').style.display ='none';

document.getElementById(id).style.display ='block';

}

function redirect(id,url){
jQuery.post(BASEURL+"ajax.php?action=makecat",{id:id,url:url},function(data){
if(data.url)
{
window.location.href=data.url
}

}
, "json");	
}

function redirectnew(id,url,name){
jQuery.post(BASEURL+"ajax.php?action=makecat",{id:id,url:url},function(data){
if(data.url)
{
window.open(url,name,"");
}

}
, "json");	
}
