function getXMLHttp()
{
  var xmlHttp

  try
  {
    //Firefox, Opera 8.0+, Safari
    xmlHttp = new XMLHttpRequest();
  }
  catch(e)
  {
    //Internet Explorer
    try
    {
      xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch(e)
    {
      try
      {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
      }
      catch(e)
      {
        alert("Your browser does not support AJAX!")
        return false;
      }
    }
  }
  return xmlHttp;
}

function MakeRequest(pagena,resno,catid,mode)
{
	
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponse(xmlHttp.responseText,resno);
    }
  }
  if(catid=='checkmai')
  {

//if (document.getElementById("emailvalid").value=='')
  //{
	//  alert("Please enter valid Email ID");
	  //document.getElementById("emailvalid").focus();
	  //}
	  //else 
	//{
		var emailvalid=document.getElementById("emailvalid").value;
		var url1=pagena+'/emailvalid/'+emailvalid;
		
	//}

  }
	  else
	  {
		  var url1=pagena;

	  }

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}

function valButton(btn) {
    var cnt = -1;
	//alert(btn.length);
    for (var i=btn.length-1; i > -1; i--) {
        if (btn[i].checked) {cnt = i; i = -1;}
    }
    if (cnt > -1) return btn[cnt].value;
    else return null;
}

function MakeRequest12(pagena,resno,catid,mode)
{
			
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponse(xmlHttp.responseText,resno);
    }
  }
  
  if (resno=='templa')
  {
	  var radiobut=window.document.theme.template;
	  var btn1 = valButton(radiobut);
	  if (btn1 == null)
	{
		//alert('Please Select Theme.');
		return false;
	}
		  else
		  {
	var url1=pagena+"/template/"+catid;
		  }
	  }
	  else
	  {
var url1=pagena+"/applicationtype/"+catid;
	  }

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}
function HandleResponse11(response,resno)
{
document.getElementById('basic-modal-content').innerHTML = response;

}


function HandleResponse(response,resno)
{
document.getElementById('basic-modal-content').innerHTML = response;
}
// date of Bearth
function MakeRequestDOB(resno,catid,mode)
{
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponse1(xmlHttp.responseText,resno);
    }
  }
var url1="ajaxdob.php?catid="+catid+"&resno="+resno+"&mode="+mode;

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}

function MakeRequestTname(resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponseim(xmlHttp.responseText,resno);
    }
  }
var url1="ajaxTname.php?catid="+catid+"&resno="+resno+"&mode="+mode;

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}

function MakeUpdateim(url,mode)
{
 var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
	  
    if(xmlHttp.readyState == 4)
    {
      HandleResponseim(xmlHttp.responseText);
    }
  }
 var url1=url;
  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);

}

function HandleResponseim(response)
{
	

	var divna='container';
		
  document.getElementById(divna).innerHTML = response;

}
function MakeRequesttryit(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  if (document.getElementById("emailtext").value=='')
  {
	  alert("Please enter email id");
	  document.getElementById("emailtext").focus();
	  }
	  else  if (document.getElementById("industry").value=='')
  {
	  alert("Please enter select industry");
	  document.getElementById("industry").focus();
	  }
	    else  if (document.getElementById("domain").value=='')
  {
	  alert("Please enter Sub Domain");
	  document.getElementById("domain").focus();
	  }
	  else if (!isEmail(trim(document.getElementById("emailtext").value)))
	{
		alert('Please enter valid email address');
		document.getElementById("emailtext").focus();
	}
	  else
	  {
		  var email=document.getElementById("emailtext").value;
		   var industry=document.getElementById("industry").value;
		     var domain=document.getElementById("domain").value;
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsetryit(xmlHttp.responseText,resno);
    }
  }
  
var url1=pagena+"/email/"+email+"/industry/"+industry+"/domain/"+domain;
//alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
	  }
}

function HandleResponsetryit(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;
}
function MakeRequestchooseplan(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsechooseplan(xmlHttp.responseText,resno);
    }
  }
  
var url1=pagena;
alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
	  }


function HandleResponsechooseplan(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;
}

function MakeRequesttellus(pagena,resno,catid,mode)
{
//	alert("df");
  var xmlHttp = getXMLHttp();
    if (document.getElementById("first").value=='')
  {
	  alert("Please enter First Name");
	  document.getElementById("first").focus();
	  }
/*	  else  if (document.getElementById("last").value=='')
  {
	  alert("Please Enter Last Name");
	  document.getElementById("last").focus();
	  }
	    else  if (document.getElementById("phone").value=='')
  {
	  alert("Please Enter Phone No.");
	  document.getElementById("phone").focus();
	  }
	    else  if (document.getElementById("country").value=='')
  {
	  alert("Please Enter Country Name");
	  document.getElementById("country").focus();
	  }
	   else  if (document.getElementById("start1").value=='')
  {
	  alert("Please Enter Time");
	  document.getElementById("start1").focus();
	  }
	   else  if (document.getElementById("domain").value=='')
  {
	  alert("Please Enter Domain Name");
	  document.getElementById("domain").focus();
	  }*/
	   else  if (document.getElementById("username").value=='')
  {
	  alert("Please Enter User Name");
	  document.getElementById("username").focus();
	  }
	   else  if (document.getElementById("password").value=='')
  {
	  alert("Please Enter Password");
	  document.getElementById("password").focus();
	  }
	 
/* else  if (document.getElementById("cat_id").value=='')
  {
	  alert("Please Select One Category");
	  document.getElementById("cat_id").focus();
	  }*/
else
	  {
		  var first=document.getElementById("first").value;
		   var last=document.getElementById("last").value;
		    var phone=document.getElementById("phone").value;
			 var country=document.getElementById("country").value;
		//	 var domain=document.getElementById("domain").value;
			  var describe=document.getElementById("describe").value;
			 var start=document.getElementById("start").value;
			 			 var cat_id=document.getElementById("cat_id").value;
						  var username=document.getElementById("username").value;
			 			 var password=document.getElementById("password").value;
xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsetellus(xmlHttp.responseText,resno);
    }
  }
var url1=pagena+"/first/"+first+"/last/"+last+"/country/"+country+"/phone/"+phone+"/describe/"+describe+"/start/"+start+"/cat_id/"+cat_id+"/username/"+username+"/password/"+password;
//alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
	}
}

function HandleResponsetellus(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;

}



function MakeRequesttheme11(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponseselecttheme11(xmlHttp.responseText,resno);
    }
  }
var url1=pagena+catid;


  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}

function HandleResponseselecttheme11(response)
{
 document.getElementById('ekta').innerHTML = response;

}
function MakeRequestlogo(pagena,resno,catid,mode)
{
//	alert('sf');
  var xmlHttp = getXMLHttp();
  	
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponselogo(xmlHttp.responseText,resno);
    }
  }
  	  var radiobut=document.template.template;
	  var btn1 = valButton(radiobut);
	  if (btn1 == null)
	{
		//alert('Please Select Theme.');
		return false;
	}
		  else
		  {

  
     var tempselect=document.getElementById("tempselect").value;
	 var template =document.getElementById("template").value;
 //var submit=document.getElementById("submit").value;
var url1=pagena+"/tempselect/"+tempselect+"/template/"+template;
//alert(url1);
		  
  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}
}
function HandleResponselogo(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;

}
function MakeRequestgraphiclogo(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsegraphiclogo(xmlHttp.responseText,resno);
    }
  }
var url1=pagena+"/graphiclogo/"+catid;

alert(url1);
  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}

function HandleResponsegraphiclogo(response)
{
 document.getElementById('logo').innerHTML = response;
}

function MakeRequesttextlogo(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsetextlogo(xmlHttp.responseText,resno);
    }
  }
var url1=pagena+"/textlogo/"+catid;
alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}


function HandleResponsetextlogo(response)
{
 document.getElementById('logo').innerHTML = response;

}

function MakeRequestbusiness(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsebusiness(xmlHttp.responseText,resno);
    }
  }
var url1=pagena;
alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}


function HandleResponsebusiness(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;

}

function MakeRequestproductadd(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponseproduct(xmlHttp.responseText,resno);
    }
  }
    var prodname=document.getElementById("prodname").value;
		   var price=document.getElementById("price").value;
		    var desc=document.getElementById("desc").value;
			 var category=document.getElementById("category").value;
			 var prodfile=document.getElementById("prodfile").value;
			// pagena+"/name/"+name+"/price/"+price+"/desc/"+desc+"/category/"+category;
var url1=pagena+"/prodname/"+prodname+"/price/"+price+"/desc/"+desc+"/category/"+category+"/prodfile/"+prodfile;
alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}


function HandleResponseproduct(response)
{
 document.getElementById('addproduct').innerHTML = response;

}

function MakeRequestback(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponseback(xmlHttp.responseText,resno);
    }
  }
var url1=pagena;
//alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}


function HandleResponseback(response)
{
	
 document.getElementById('basic-modal-content').innerHTML = response;

}


function MakeRequestcategory(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
	//alert( document.selectlogo.graphiclogo.length);
for(var i=0; i < document.selectlogo.graphiclogo.length; i++)
{
if(document.selectlogo.graphiclogo[i].checked)
{
//alert(document.selectlogo.graphiclogo[i].value);
var graphiclogo=document.selectlogo.graphiclogo[i].value;
//var url1=pagena+"/graphiclogo/"+graphiclogo;
//alert(template);
}
}	

  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsecategory(xmlHttp.responseText,resno);
    }
  }
 var logotext=document.getElementById('logotext').value;
//  var graphicfile=document.getElementById('graphicfile').value;
   var url1;
  if(document.getElementById('logotext').value!='')
  {
url1=pagena+"/logotext/"+logotext;
  }
  /*else if(document.getElementById('graphicfile').value!='')
  {
   url1=pagena+"/graphicfile/"+graphicfile;
  }*/
 //var url1=pagena+"/graphiclogo/"+graphiclogo+"/graphicfile/"+graphicfile;
//alert(url1);
  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}


function HandleResponsecategory(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;

}

function MakeRequestaddoption(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponseaddoption(xmlHttp.responseText,resno);
    }
  }
  for(i=document.addcategory.catlist.options.length-1;i>=0;i--)
 {
var catlist=document.addcategory.catlist;
if(document.addcategory.catlist[i].selected)
{
addOption(document.addcategory.addedcatlist, document.addcategory.catlist[i].value, document.addcategory.catlist[i].value);
//removeOption(Category,i);
}
}
//var catlist=document.addcategory.catlist.value;
var addedcatlist=document.getElementById('addedcatlist').value;
//var quote= new Array(document.addcategory.addedcatlist.options.length);


/*for(i = 0; i < document.addcategory.catlist.options.length; i++)
{
	if(document.addcategory.catlist[i].selected)
{

quote[i] =document.addcategory.catlist[i].value;

}
}*/
var showcat= new Array(document.addcategory.addedcatlist.options.length);
var showcattext= new Array(document.addcategory.addedcattext.options.length);
arrshowcatlist = new Array();
arrshowcattext = new Array(); 
arrshowcatlistvalue = new Array();
arrshowcatvalue = new Array();
for(i=0; i<showcat.length; i++)
{
arrshowcatlist[i]=	document.addcategory.addedcatlist[i].text;
arrshowcatlistvalue[i] =document.addcategory.addedcatlist[i].value;
//arrshowcatlistvalue[i] = showcat.options[i].value;

//arrOldTexts[i] = showcat.options[i].text;
} 
for(ii=0; ii<showcattext.length; ii++)
{
arrshowcattext[ii] = document.addcategory.addedcattext[ii].text;
arrshowcatvalue[ii] = document.addcategory.addedcattext[ii].value;

//arrOldTexts[i] = showcat.options[i].text;
} 

var url1=pagena+"/arrshowcatlistvalue/"+arrshowcatlistvalue+"/arrshowcatvalue/"+arrshowcatvalue;
//alert(url1);

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}

function MakeRequestdomain(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
     if (document.getElementById("domain").value=='')
  {
	  alert("Please enter Domain");
	  document.getElementById("domain").focus();
	  }
else
	  {
	

			 var domain=document.getElementById("domain").value;
		
			 	
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsedomain(xmlHttp.responseText,resno);
    }
  }
  var domain=document.getElementById('domain').value;
var url1=pagena+"/domain/"+domain;

  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}
}
function HandleResponsedomain(response)
{
 document.getElementById('tell').innerHTML = response;

}

function HandleResponseaddoption(response)
{
 document.getElementById('addcategory').innerHTML = response;

}
function addOption(selectbox,text,value )
{
var optn = document.createElement("OPTION");
optn.text = text;
optn.value = value;
selectbox.options.add(optn);
selectbox.scrollTo(0, selectbox.scrollHeight);
}
function removeAllOptions(selectbox)
{
var i;
for(i=selectbox.options.length-1;i>=0;i--)
{
selectbox.remove(i);
}
}
function removeOptions(selectbox)
{
var i;
for(i=selectbox.options.length-1;i>=0;i--)
{
if(selectbox.options[i].selected)
selectbox.remove(i);
}
}


var from_array = new Array(document.addcategory.catlist.options.length);  // this array has the values for the source list
var to_array = new Array(document.addcategory.addedcatlist.options.length); 		  // this array has the values for the destination list(if any)
var from_textbox = new Array(document.addcategory.cattext.options.length);  // this array has the values for the source list
function moveoutid()
{
	var sda = document.getElementById('catlist');
	var len = sda.length;
	var sda1 = document.getElementById('addedcatlist');
		var sda3 = document.getElementById('addedcattext');
		for(var j=0; j<len; j++)
	{
		if(sda[j].selected)
		{
			var tmp = sda.options[j].text;
			var tmp1 = sda.options[j].value;
			sda.remove(j);
			j--;
			var y=document.createElement('option');
			y.text=tmp;
			try
			{sda1.add(y,null);
			}
			catch(ex)
			{
			sda1.add(y);
			}
		}
	}
/*	for(var k=0; k<len1; k++)
	{
	if(sda2)
		{
			var tmp = document.getElementById("cattext").value;
			var tmp1 = document.getElementById("cattext").value;
			sda2.remove(k);
			k--;
		var y=document.createElement('option');
		y.text=tmp;
			try
			{sda1.add(y,null);
			}
			catch(ex)
			{
			sda1.add(y);
			}
		}
	}*/
	var oSelect= document.getElementById('addedcattext');
oSelect.options[oSelect.options.length]=new Option(document.getElementById("cattext").value, document.getElementById("cattext").value);
 document.getElementById('cattext').value="";
}


function moveinid()
{
	var sda = document.getElementById('catlist');
	var sda1 = document.getElementById('addedcatlist');
	var len = sda1.length;
		var sda2 = document.getElementById('cattext');
			var addedcattext = document.getElementById('addedcattext');
	for(var j=0; j<len; j++)
	{
		if(sda1[j].selected)
		{
			var tmp = sda1.options[j].text;
			var tmp1 = sda1.options[j].value;
			sda1.remove(j);
			j--;
			var y=document.createElement('option');
			y.text=tmp;
			try
			{
			sda.add(y,null);}
			catch(ex){
			sda.add(y);	
			}

		}
	}	
//	alert('document.getElementById('addedcattext').length')
//document.addcategory.cattext.value  = document.addcategory.addedcattext.value;

var i;
for(i=addedcattext.options.length-1;i>=0;i--)
{
if(addedcattext.options[i].selected)
{
	document.addcategory.cattext.value  = document.addcategory.addedcattext.value;
addedcattext.remove(i);
}
}

}
function moveoutid1()
{
	var sda = document.getElementById('catlist');
	var len = sda.length;
	var sda1 = document.getElementById('addedcatlist');
		var sda3 = document.getElementById('addedcattext');
		for(var j=0; j<len; j++)
	{
		if(sda[j].selected)
		{
			var tmp = sda.options[j].text;
			var tmp1 = sda.options[j].value;
			sda.remove(j);
			j--;
			var y=document.createElement('option');
			y.text=tmp;
			try
			{sda1.add(y,null);
			}
			catch(ex)
			{
			sda1.add(y);
			}
		}
	}
/*	for(var k=0; k<len1; k++)
	{
	if(sda2)
		{
			var tmp = document.getElementById("cattext").value;
			var tmp1 = document.getElementById("cattext").value;
			sda2.remove(k);
			k--;
		var y=document.createElement('option');
		y.text=tmp;
			try
			{sda1.add(y,null);
			}
			catch(ex)
			{
			sda1.add(y);
			}
		}
	}*/
	var oSelect= document.getElementById('addedcattext');
oSelect.options[oSelect.options.length]=new Option(document.getElementById("cattext").value, document.getElementById("cattext").value);
 document.getElementById('cattext').value="";
}


function moveinid1()
{
	var sda = document.getElementById('catlist');
	var sda1 = document.getElementById('addedcatlist');
	var len = sda1.length;
		var sda2 = document.getElementById('cattext');
			var addedcattext = document.getElementById('addedcattext');
	for(var j=0; j<len; j++)
	{
		if(sda1[j].selected)
		{
			var tmp = sda1.options[j].text;
			var tmp1 = sda1.options[j].value;
			sda1.remove(j);
			j--;
			var y=document.createElement('option');
			y.text=tmp;
			try
			{
			sda.add(y,null);}
			catch(ex){
			sda.add(y);	
			}

		}
	}	
//	alert('document.getElementById('addedcattext').length')
//document.addcategory.cattext.value  = document.addcategory.addedcattext.value;

var i;
for(i=addedcattext.options.length-1;i>=0;i--)
{
if(addedcattext.options[i].selected)
{
	document.addcategory.cattext.value  = document.addcategory.addedcattext.value;
addedcattext.remove(i);
}
}

}
//x.setAttribute("visible","hidden")

function MakeRequesttemplateselect(pagena,resno,catid,mode)
{
	
	
  var xmlHttp = getXMLHttp();
  
  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsetemplateselect(xmlHttp.responseText,resno);
    }
  }
  //var template=document.template.template.value;
   	for(var i=0; i < document.template.template.length; i++)
{
if(document.template.template[i].checked)
{
radiochoice=true;
var template=document.template.template[i].value;
}
//alert(template);
}
var url1=pagena+"/template/"+template;
//alert(url1);
  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}
function HandleResponsetemplateselect(response,resno)
{
document.getElementById('basic-modal-content').innerHTML = response;

}

function MakeRequestgraphic(pagena,resno,catid,mode)
{
	
  var xmlHttp = getXMLHttp();
  
	//alert( document.selectlogo.graphiclogo.length);
for(var i=0; i < document.selectlogo.graphiclogo.length; i++)
{
if(document.selectlogo.graphiclogo[i].checked)
{
//alert(document.selectlogo.graphiclogo[i].value);
var graphiclogo=document.selectlogo.graphiclogo[i].value;
//var url1=pagena+"/graphiclogo/"+graphiclogo;
//alert(template);
}
}	

  xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleResponsegraphic(xmlHttp.responseText,resno);
    }
  }
// var logotext=document.getElementById('logotext').value;
  var graphicfile=document.getElementById('graphicfile').value;
   var url1;
  if(document.getElementById('graphicfile').value!='')
  {
url1=pagena+"/graphicfile/"+graphicfile;
  }
  /*else if(document.getElementById('graphicfile').value!='')
  {
   url1=pagena+"/graphicfile/"+graphicfile;
  }*/
 //var url1=pagena+"/graphiclogo/"+graphiclogo+"/graphicfile/"+graphicfile;
//alert(url1);
  xmlHttp.open("GET", url1, true); 
  xmlHttp.send(null);
}


function HandleResponsegraphic(response)
{
 document.getElementById('basic-modal-content').innerHTML = response;

}

