var slUpdate = function() {
	var c = $('#call').val();
	if (c) {
		jQuery.post(
			'index.php?eID='+c,
			$('#fsl').serialize(),
			function(data) {
				$('#t3_content').html(data);
			},
			'html'
		); 
	}
}

$(document).ready(function() { 		
			
	// Note: We can not use the "changeE event in IE because this event does not bubble up.
	//       Therefore, we need to use the "click" event.		
	var store_locator = $('#fsl');
	if (store_locator.length) {		
		if (document.getElementById('rb01')) {
			$('#rb01').click(function(){
				slUpdate();
			});
			$('#rb02').click(function(){
				slUpdate();
			});			
			$('#sellwatches').click(function(){
				slUpdate();
			});
			$('#sellleather').click(function(){
				slUpdate();
			});
			$('#selljewellery').click(function(){
				slUpdate();
			});
		}			
	};
		
	$('#sl_btsubmit').click(function(){
		$('#slst').val('t');	// search type is FULLTEXT			
		slUpdate();			
		return false;
	});

});

