
$(document).ready(function() 
{		

	
	$('#AJAX-Shop a').live('click',function() 
	{
			//alert ("Oh... That works, You Selected:");
			var ref = $(this).attr("ref"); //get the ref from the title attribute of the link
			var cid = $(this).attr("cid"); //get the colour id from the title attribute of the link
			var sid = $(this).attr("sid"); //get the size id from the title attribute of the link
			var wid = $(this).attr("wid"); //get the width id from the title attribute of the link
		    $.ajax( //ajax request starting
			{
		       url: "/fr/ajax/ajax_product_configure/?ref="+ref+"&cid="+cid+"&sid="+sid+"&wid="+wid, //send the ajax request 
                       type:"GET",//request is a POSt request
		       
		       success: function(html){ $("#AJAX-Shop").html(html); 
			  
			 }

		    });
		
  		return false //return false to prevent the link from working
	}); 
	
	});	


