// JavaScript Document
function AddBookmark(oppid,tdid)
{
	var xmlHttp;
	xmlHttp = ajaxHandler();
	if(xmlHttp==null)
	{
		alert("Your browser not supporting this feature[Ajax]");
	}
	xmlHttp.onreadystatechange=function()
    {
	  if(xmlHttp.readyState==1)
	  {
	  	document.getElementById(tdid).innerHTML = "Processing...";
	  }			
	  else if(xmlHttp.readyState==2)
	  {
	  	document.getElementById(tdid).innerHTML = "Processing...";
	  }			
	  else if(xmlHttp.readyState==3)
	  {
	  	document.getElementById(tdid).innerHTML = "Processing...";
	  }			
	  else if(xmlHttp.readyState==4)
      {
	    document.getElementById(tdid).innerHTML = xmlHttp.responseText
	  }	
    }
  xmlHttp.open("GET","Ajax/BookmarkAjax.php?opp_id="+oppid,true);
  xmlHttp.send(null); 
}
