function loadData(tab,letra,page,hori,tabsub) {
  var xmlHttp;
  try { // Gehiengoarentzat
    xmlHttp=new XMLHttpRequest();
  }
  catch (e) { // Internet Explorer-entzat
    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; }
    }
  }
	xmlHttp.onreadystatechange=function() {
		if(xmlHttp.readyState==4) {

			document.getElementById('talde_'+tab).innerHTML=xmlHttp.responseText;
			
			// JSak kargatzeko
			// H2 "z"
			sIFR.replace(chaparral, {
			  selector: 'h2.z span.sifr',
				css:[
					'.sIFR-root { color: #409398; font-size: 30px; }',
					'a { text-decoration: none; }',
				'a:link { color: #409398; }',
				'a:hover { color: #6AC7CC; }'
				],
				thickness: -120,
				wmode: 'transparent',
				fixHover: true,
				useStyleCheck: true
			});
			// H3 "z"
			sIFR.replace(chaparral, {
			  selector: 'h3.z span.sifr',
				css:[
					'.sIFR-root { color: #409398; font-size: 22px; }',
					'a { text-decoration: none; }',
				'a:link { color: #409398; }',
				'a:hover { color: #6AC7CC; }'
				],
				thickness: -120,
				wmode: 'transparent',
				fixHover: true,
				useStyleCheck: true
			});
			// Lehenengo tab irekitzeko
			$('#shopping > ul.tabList').tabs({ selected: tab-1 });
			// Accordion
			$(function(){
				$(".closed")
					.next()
						.hide();
				$(".accTitle").click(function () {
					var $this = $(this);
					if($this.is('.closed')) {
						$(".open").next()
								.slideUp(200);
						$(this).next()
								.slideDown(200);
						$(".accTitle")
							.removeClass('open')
						$(".accTitle")
							.addClass('closed')
						$this
							.removeClass('closed')
						$this
							.addClass('open')
					}
					else if($this.is('.open')) {
						$this.next()
							.slideUp(200);
							$this
								.removeClass('open')
							$this
								.addClass('closed')
					}
				});
				$(".closed").hover(function(){
					$(this).addClass("hover");
					}, function(){
					$(this).removeClass("hover");
				});
			});
			$("#agenciesBanks #accService a.lightbox").lightBox();
			$("#groceries #accService a.lightbox").lightBox();
			$("#tech #accService a.lightbox").lightBox();
			$("#fashion #accService a.lightbox").lightBox();
			$("#bikes #accService a.lightbox").lightBox();
			$("#decoration #accService a.lightbox").lightBox();
			$("#health #accService a.lightbox").lightBox();
			$("#gifts #accService a.lightbox").lightBox();
		}
	}
	xmlHttp.open("GET",jsroot+"botika/echo/guideShopping.php?tab="+tab+"&abcpos="+letra+"&page="+page+"&hori="+hori+"&tabsub="+tabsub,true);
	xmlHttp.send(null);
}
