/*-----------------------------------------
	Ajax File To calculate Article Data
	22-04-08
-------------------------------------------*/
var xmlHttp_Destroy_View

function Destroy_ViewSession(flower_id, view)
{
	//alert(view);
xmlHttp_Destroy_View=GetXmlHttpObject()
if (xmlHttp_Destroy_View==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="destroy_view_array.php";
url=url+"?flower_id="+flower_id+"&view="+view; //+"&top="+top+"&zindex="+zindex+"&action="+action; //+"&response_text="+response_text;
url=url+"&sid="+Math.random();
xmlHttp_Destroy_View.onreadystatechange=stateChanged_DestroyView;
xmlHttp_Destroy_View.open("GET",url,true);
xmlHttp_Destroy_View.send(null);
} 

function stateChanged_DestroyView() 
{ 
	if (xmlHttp_Destroy_View.readyState==4)
	{ 
	//alert( xmlHttp_Destroy_View.responseText);
	//document.getElementById("bouquet_detail").innerHTML = xmlHttp_Destroy_View.responseText;
	//document.getElementById("bouquet_detail").value =xmlHttp.responseText;
	}
}

function GetXmlHttpObject()
{
var xmlHttp_Destroy_View=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp_Destroy_View=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp_Destroy_View=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp_Destroy_View=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp_Destroy_View;
}