function showPestanyaquisom(){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	var pestanya = document.getElementById('Ipestanya');
	
	pestanya.style.background = "url(fotosInfo/transparenciaRecepcio.jpg) no-repeat top right";	
	pestanya.innerHTML = "<a href=\"#\" onclick=\"hidePestanya(5)\" onmouseout=\"MM_swapImgRestore();\" onmouseover=\"MM_swapImage(\'Icons/botoClose\',\'\',\'Icons/botoCloseOver.gif',1);\"><h1 align=\"right\" id=\"iconaClose\"><img name=\"Icons/botoClose\" src=\"Icons/botoClose.gif\"  alt=\"Tancar\" border=\"0\" id=\"Icons/botoClose.gif\" /></h1></a><div id=\"ITitulTextPestanya\">qui som </div><div class=\"ITextPestanyaQuiSom\"><div align=\"center\"><img src=\"getfoto.php?id=0\" alt=\"Tina i S&ograve;nia\" /></div><br/><p>A partir d&rsquo;un joc de paraules: big/Vic i art: &ldquo;gran art&rdquo; a Vic,  va n&eacute;ixer VIGART a principis del 2006.<br />Un projecte creat amb molta il&middot;lusi&oacute;, for&ccedil;a i &nbsp;tenint cura de tots els detalls...En  definitiva, donant-li un altre aire a l&rsquo;art de pentinar.<br />Hem aconseguit un espai tranquil, harmoni&oacute;s&hellip;diferent. Perqu&egrave; en  entrar-hi, inconscientment, et relaxis i oblidis l&rsquo;estr&egrave;s del dia a dia.</p></div><div class=\"ContenidorPeuPestanya\"><div class=\"ArrowRight\"><a href = \"#\" onclick=\"showPestanyaquisom2();\">seg&uuml;ent</a></div></div></div></div>";


}

function showPestanyaquisom2(){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	var pestanya = document.getElementById('Ipestanya');
	
	
	pestanya.style.background = "url(fotosInfo/transparenciaRecepcio.jpg) no-repeat top right";	
	pestanya.innerHTML = "<a href=\"#\" onclick=\"hidePestanya(5)\" onmouseout=\"MM_swapImgRestore();\" onmouseover=\"MM_swapImage(\'Icons/botoClose\',\'\',\'Icons/botoCloseOver.gif',1);\"><h1 align=\"right\" id=\"iconaClose\"><img name=\"Icons/botoClose\" src=\"Icons/botoClose.gif\"  alt=\"Tancar\" border=\"0\" id=\"Icons/botoClose.gif\" /></h1></a><div id=\"ITitulTextPestanya\">qui som </div><div class=\"ITextPestanyaQuiSom\"><p>&nbsp;</p><p>Creiem que cada&nbsp; servei  es mereix el seu espai, per aix&ograve; disposem de : una recepci&oacute;, una sala d&rsquo;espera,  una zona rentacaps i una zona de serveis.<br />L&rsquo;equip que emprenem aquest projecte amb il&middot;lusi&oacute; i moltes  ganes, som la Sonia  i la Tina. Nosaltres  fem art del teu pentinat.</p><p><img src=\"images/logovigart.gif\" width=\"137\" height=\"44\" vspace=\"40\" hspace=\"25\"alt=\"vigart\" /></p></div><div class=\"ContenidorPeuPestanya\"><div class=\"ArrowLeft\"><a href = \"#\"onclick=\"showPestanyaquisom();\">anterior</a></div></div>";


}

function showPestanyaserveis(id){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	var pestanya = document.getElementById('Ipestanya');
	
	
	pestanya.style.backgroundImage = "url(fotosInfo/transparenciaRecepcio.jpg)";	
	
	if(id==null)
		id = 0;
	xmlHttp = GetXmlHttpObject();
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}
	var url = "getserveis.php";
	var params = "id="+id+"&sid="+Math.random();
	xmlHttp.onreadystatechange = function()
	{
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		{
			document.getElementById("Ipestanya").innerHTML=xmlHttp.responseText;
		}
	}
	xmlHttp.open("POST",url,true);
	xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	xmlHttp.send(params);
}

function showPestanyahoraris(id){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	var pestanya = document.getElementById('Ipestanya');
	
	pestanya.style.backgroundImage = "url(fotosInfo/transparenciaRecepcio.jpg)";	
	
	if(id==null)
		id = 0;
	xmlHttp = GetXmlHttpObject();
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}
	var url = "gethoraris.php";
	var params = "id="+id+"&sid="+Math.random();
	xmlHttp.onreadystatechange = function()
	{
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		{
			document.getElementById("Ipestanya").innerHTML=xmlHttp.responseText;
		}
	}
	xmlHttp.open("POST",url,true);
	xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	xmlHttp.send(params);
}

function showPestanyazonadecontacte1(){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}

	var pestanya = document.getElementById('Ipestanya');
	
	pestanya.style.backgroundImage = "url(fotosInfo/transparenciaRecepcio.jpg)";		
	pestanya.innerHTML = "<a href=\"#\" onclick=\"hidePestanya(5)\" onmouseout=\"MM_swapImgRestore();\" onmouseover=\"MM_swapImage(\'Icons/botoClose\',\'\',\'Icons/botoCloseOver.gif',1);\"><h1 align=\"right\" id=\"iconaClose\"><img name=\"Icons/botoClose\" src=\"Icons/botoClose.gif\"  alt=\"Tancar\" border=\"0\" id=\"Icons/botoClose.gif\" /></h1></a><div id=\"ITitulTextPestanya\">contacte / <span class=\"untitle\">disseny web </span></div><div class=\"ITextPestanyaZonaContacte1\"><h2><span class=\"title\">programaci&oacute; web: </span>Ferran Orriols</h2><p><a href=\"mailto:ferran.orriols@gmail.com?subject=Web Vigart\">ferran.orriols@gmail.com</a></p><h2><span class=\"title\">programaci&oacute; web: </span>Ruben Penyafiel</h2><p><a href=\"mailto:ruben.penyafiel@gmail.com?subject=Web Vigart\">ruben.penyafiel@gmail.com</a></p><h2><span class=\"title\">disseny: </span>Gerard Rodriguez</h2><p><a href=\"mailto:supermercimen@hotmail.com?subject=Web Vigart\">supermercimen@hotmail.com</a></p><h2><span class=\"title\">fotografia web: </span>Pau Franc</h2><p><a href=\"mailto:gandalf677@hotmail.com?subject=Web Vigart\">gandalf677@hotmail.com</a></p><h2><span class=\"title\">fotografia galeries: </span>S&ograve;nia i Tina</h2><p><a href=\"mailto:info@vigart.net?subject=Fotografia Galeries Web Vigart\">info@vigart.net</a></p><h2><span class=\"title\">Música Web: </span>Baraka Project</h2><p><a href=\"http://www.barakaproject.net\" target=\"_blank\">barakaproject.net</a></p></div><div class=\"ContenidorPeuPestanya\"><div class=\"ArrowRight\"><a href = \"#\"  onclick=\"showPestanyacontacte()\">perruqueria</a></div></div>";
}

function showPestanyacontacte(){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	var pestanya = document.getElementById('Ipestanya');
	
	pestanya.style.backgroundImage = "url(fotosInfo/transparenciaRecepcio.jpg)";			
	pestanya.innerHTML = "<a href=\"#\" onclick=\"hidePestanya(5)\" onmouseout=\"MM_swapImgRestore();\" onmouseover=\"MM_swapImage(\'Icons/botoClose\',\'\',\'Icons/botoCloseOver.gif',1);\"><h1 align=\"right\" id=\"iconaClose\"><img name=\"Icons/botoClose\" src=\"Icons/botoClose.gif\"  alt=\"Tancar\" border=\"0\" id=\"Icons/botoClose.gif\" /></h1></a><div id=\"ITitulTextPestanya\">contacte / <span class=\"untitle\">perruqueria</span></div><div class=\"ITextPestanyaZonaContacte\"><p><span class=\"title\"><p>93 883 48 04</p></span><p><a href=\"mailto:info@vigart.net?subject=Web Vigart\">info@vigart.net</a></p><span class=\"title\"><h2>p. estaci&oacute; entresol D</h2><p>08500 Vic</p><p>(Barcelona) </p></span></div><div class=\"ContenidorPeuPestanya\"><div class=\"ArrowLeft\"><a href = \"#\"  onclick=\"showPestanyazonadecontacte1()\">disseny web</a></div><div class=\"ArrowRight\"><a href = \"#\"  onclick=\"showPestanyazonadecontacte3()\">mapa</a></div></div>";
}

function showPestanyazonadecontacte3(){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	
	var pestanya = document.getElementById('Ipestanya');
	
	pestanya.style.backgroundImage = "url(fotosInfo/transparenciaRecepcioMapa.jpg)";		
	pestanya.innerHTML ="<a href=\"#\" onclick=\"hidePestanya(5)\" onmouseout=\"MM_swapImgRestore();\" onmouseover=\"MM_swapImage(\'Icons/botoClose\',\'\',\'Icons/botoCloseOver.gif',1);\"><h1 align=\"right\" id=\"iconaClose\"><img name=\"Icons/botoClose\" src=\"Icons/botoClose.gif\"  alt=\"Tancar\" border=\"0\" id=\"Icons/botoClose.gif\" /></h1></a><div id=\"ITitulTextPestanya\">contacte / <span class=\"untitle\">mapa</span></div><div class=\"ITextPestanyaZonaContacte3\"><span class=\"title\"><p>&nbsp;</p></span><span class=\"title\"></span> </div><div class=\"ContenidorPeuPestanya\"><div class=\"ArrowLeft\"><a href = \"#\"  onclick=\"showPestanyacontacte();\">perruqueria</a></div></div>";
}

function showPestanyaamics(id){
	if(document.getElementById('Ipestanya')== null){
		document.getElementById('IcontenidorInfo').innerHTML="<div id=\"Ipestanya\"></div>";
		canviarFonsSala(0);
	}
	var pestanya = document.getElementById('Ipestanya');
	
	
	pestanya.style.backgroundImage = "url(fotosInfo/transparenciaRecepcio.jpg)";	
	
	if(id==null)
		id = 0;
	xmlHttp = GetXmlHttpObject();
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}
	var url = "getamics.php";
	var params = "id="+id+"&sid="+Math.random();
	xmlHttp.onreadystatechange = function()
	{
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		{
			document.getElementById("Ipestanya").innerHTML=xmlHttp.responseText;
		}
	}
	xmlHttp.open("POST",url,true);
	xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	xmlHttp.send(params);
}
