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

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

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

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