
function bundlechange(aa)
{
	
	 //var url = 'identifier-check.php?identifier='+identifier;
	 if(aa!=0)
	 {
	 window.location.href="catagory.php?CatId="+aa;
	 }
	 
}
function productchange(aa)
{
	
	 //var url = 'identifier-check.php?identifier='+identifier;
	 if(aa!=0)
	 {
	 window.location.href="product_info.php?products_id="+aa;
	 }
	 
}


function bundleproduct(aa)
{
	
	 //var url = 'identifier-check.php?identifier='+identifier;
	 window.location.href="catagory.php?CatId="+aa;
	 var url = 'functionajax.php?action=Product&ProductId='+aa;
	 
	//alert(url);
     new Ajax.Request(url,{
     method: 'get',
     onLoading: function(transport)
     {
        // $(dv).show().update('Please wait....');
     },
     onSuccess: function(transport)
     {
         var dr = transport.responseText;
		
		 //var monthchange=dr.split(",");
		 
		
		document.getElementById('checkproduct').innerHTML=dr;
		
	},
     onFailure: function(transport)
     {
         // when the request fails
         alert('The request failed..');
     },
     onException: function(err)
     {
         // When an exception is encountered while executing the callbacks
       //  alert('Exception');
     }
     });
}

