// JavaScript Document
function cap_cat(){
document.write('<div id="barraSup"><div id="idiomes"><a href="/cat/home.php" class="idiomes_link">Catal&agrave;</a> &middot; <a href="/esp/home.php" class="idiomes_link">Castellano</a> &middot; <a href="/eng/home.php" class="idiomes_link">English</a></div><div id="data"><script language="javascript1.2" type="text/javascript">data_cat();</script></div></div><div id="header"><img src="../images/comu/cap_cat.jpg" alt="" width="920" height="124" usemap="#Map" /><map name="Map" id="Map"><area shape="rect" coords="29,4,111,123" href="/cat/home.php" alt="" /></map></div><div id="navigation"><div style="width:119px;float:left;"><a href="home.php"><img src="../images/comu/logo_inf.gif" alt="" width="119" height="20" border="0"/></a></div><div style="width:801px;float:left;"><div><a href="/cat/museu.php" class="navigationBoto fdo1sup">EL MUSEU</a></div><div><a href="/cat/visitans.php" class="navigationBoto fdo2sup">VISITAN\'S</a></div><div><a href="/cat/contacte.php" class="navigationBoto fdo3sup">SERVEIS</a></div></div></div>');
}
function cap_esp(){
document.write('<div id="barraSup"><div id="idiomes"><a href="/cat/home.php" class="idiomes_link">Catal&agrave;</a> &middot; <a href="/esp/home.php" class="idiomes_link">Castellano</a> &middot; <a href="/eng/home.php" class="idiomes_link">English</a></div><div id="data"><script language="javascript1.2" type="text/javascript">data_es();</script></div></div><div id="header"><img src="../images/comu/cap_esp.jpg" alt="" width="920" height="124" usemap="#Map" /><map name="Map" id="Map"><area shape="rect" coords="29,4,111,123" href="home.php" alt="" /></map></div><div id="navigation"><div style="width:119px;float:left;"><a href="home.php"><img src="../images/comu/logo_inf.gif" alt="" width="119" height="20" border="0"/></a></div><div style="width:801px;float:left;"><div><a href="museu.php" class="navigationBoto fdo1sup">EL MUSEO</a></div><div><a href="visitans.php" class="navigationBoto fdo2sup">VIS&Iacute;TANOS</a></div><div><a href="contacte.php" class="navigationBoto fdo3sup">SERVICIOS</a></div></div></div>');
}
function cap_eng(){
document.write('<div id="barraSup"><div id="idiomes"><a href="/cat/home.php" class="idiomes_link">Catal&agrave;</a> &middot; <a href="/esp/home.php" class="idiomes_link">Castellano</a> &middot; <a href="/eng/home.php" class="idiomes_link">English</a></div><div id="data"><script language="javascript1.2" type="text/javascript">data_eng();</script></div></div><div id="header"><img src="../images/comu/cap_eng.jpg" alt="" width="920" height="124" usemap="#Map" /><map name="Map" id="Map"><area shape="rect" coords="29,4,111,123" href="home.php" alt="" /></map></div><div id="navigation"><div style="width:119px;float:left;"><a href="home.php"><img src="../images/comu/logo_inf.gif" alt="" width="119" height="20" border="0"/></a></div><div style="width:801px;float:left;"><div><a href="museu.php" class="navigationBoto fdo1sup">THE MUSEUM</a></div><div><a href="visitans.php" class="navigationBoto fdo2sup">VISIT US</a></div><div><a href="contacte.php" class="navigationBoto fdo3sup">SERVICES</a></div></div></div>');
}
function cap_noidiomes(){
document.write('<div id="barraSup"><div id="data"><script language="javascript1.2" type="text/javascript">data_cat();</script></div></div><div id="header"><img src="../images/comu/cap.jpg" alt="" width="920" height="124" usemap="#Map" /><map name="Map" id="Map"><area shape="rect" coords="29,4,111,123" href="home.php" alt="" /></map></div><div id="navigation"><div style="width:119px;float:left;"><a href="home.php"><img src="../images/comu/logo_inf.gif" alt="" width="119" height="20" border="0"/></a></div><div style="width:801px;float:left;"><div><a href="museu.php" class="navigationBoto fdo1sup">EL MUSEU</a></div><div><a href="visitans.php" class="navigationBoto fdo2sup">VISITAN\'S</a></div><div><a href="contacte.php" class="navigationBoto fdo3sup">SERVEIS</a></div></div></div>');
}

function peu_cat(){
document.write('<div id="footer"><div id="footerlogos"><div id="footerlogostxt">Web realitzada dins del<br />Pla de Dinamitzaci&oacute; del Producte Tur&iacute;stic<br />Industrial i de la Innovaci&oacute; Tecnol&ograve;gica</div><div id="footerlogosimg"><a href="http://www.xatic.cat/" target="_blank"><img src="../images/comu/logos-peu1.jpg" width="155" height="60" border="0" /></a><a href="http://www.gencat.cat/diue/" target="_blank"><img src="../images/comu/logos-peu2.jpg" width="164" height="60" border="0" /></a><a href="http://www.mityc.es/es-ES/index.htm" target="_blank"><img src="../images/comu/logos-peu3.jpg" width="275" height="60" border="0" /></a></div></div><div id="footertxt1"><h3>Museu del Ciment Asland de Castellar de n\'Hug</h3><p>Paratge del Clot del Moro, s/n &middot; 08696 Castellar de n\'Hug Tel: 93 825 70 37</p></div><div id="footertxt2"><a href="/cat/mapa.php">Mapa del web</a> | <a href="http://www.fturch.com" target="_blank">Disseny web F TURCH</a></div></div>');
}
function peu_esp(){
document.write('<div id="footer"><div id="footerlogos"><div id="footerlogostxt">Web realizada dentro del<br />Plan de Dinamizaci&oacute;n del Producto Tur&iacute;stico<br />Industrial y de la Innovaci&oacute;n Tecnol&oacute;gica</div><div id="footerlogosimg"><a href="http://www.xatic.cat/" target="_blank"><img src="../images/comu/logos-peu1.jpg" width="155" height="60" border="0" /></a><a href="http://www.gencat.cat/diue/" target="_blank"><img src="../images/comu/logos-peu2.jpg" width="164" height="60" border="0" /></a><a href="http://www.mityc.es/es-ES/index.htm" target="_blank"><img src="../images/comu/logos-peu3.jpg" width="275" height="60" border="0" /></a></div></div><div id="footertxt1"><h3>Museu del Ciment Asland de Castellar de n\'Hug</h3><p>Paratge del Clot del Moro, s/n &middot; 08696 Castellar de n\'Hug Tel: 93 825 70 37</p></div><div id="footertxt2"><a href="mapa.php">Mapa del web</a> | <a href="http://www.fturch.com" target="_blank">Dise&ntilde;o web F TURCH</a></div></div>');
}
function peu_eng(){
document.write('<div id="footer"><div id="footerlogos"><div id="footerlogostxt">Web conceived and produced<br />as part of the plan to make Technological Innovation<br />and Industrial Tourism more dynamic</div><div id="footerlogosimg"><a href="http://www.xatic.cat/" target="_blank"><img src="../images/comu/logos-peu1.jpg" width="155" height="60" border="0" /></a><a href="http://www.gencat.cat/diue/" target="_blank"><img src="../images/comu/logos-peu2.jpg" width="164" height="60" border="0" /></a><a href="http://www.mityc.es/es-ES/index.htm" target="_blank"><img src="../images/comu/logos-peu3.jpg" width="275" height="60" border="0" /></a></div></div><div id="footertxt1"><h3>Museu del Ciment Asland de Castellar de n\'Hug</h3><p>Paratge del Clot del Moro, s/n &middot; 08696 Castellar de n\'Hug Tel: 93 825 70 37</p></div><div id="footertxt2"><a href="mapa.php">Web Map</a> | <a href="http://www.fturch.com" target="_blank">Web Design F TURCH</a></div></div>');
}
function logos(){
document.write('<div><div style="margin-bottom:2px;"><a href="http://www.mnactec.cat/sistema_museus.php" target="_blank"><img src="../images/logos/sistema.gif" alt="mNACTEC" width="180" height="180" /></a></div><div style="margin-bottom:2px;"><a href="http://www.xatic.cat/" target="_blank"><img src="../images/logos/xatic.gif" alt="Xatic" width="180" height="70" /></a></div><div style="margin-bottom:2px;"><a href="http://www.mnactec.com/ticcih" target="_blank"><img src="../images/logos/ticcih.gif" alt="Ticchi" width="180" height="50" /></a></div><div style="margin-bottom:2px;"><a href="http://www.mnactec.cat" target="_blank"><img src="../images/logos/mt.gif" alt="mT" width="180" height="50" /></a></div><div style="margin-bottom:2px;"><a href="http://www.diba.es/municipis/munview.asp?Ine=08052&Vista=1" target="_blank"><img src="../images/logos/castellar.gif" alt="Castellar de n\'Hug" width="180" height="70" /></a></div><div style="margin-bottom:2px;"><a href="http://www.mnactec.cat" target="_blank"><img src="../images/logos/mnactec.gif" alt="mNACTEC" width="180" height="148" /></a></div></div>');
}
/*function menuizqhome(){
document.write('<div class="menuIzq"><ul><li  class="fdo1izq"><a href="edifici.php" class="menuIzq_link">EDIFICI</a></li><li class="fdo1izq"><a href="reserves.php" class="menuIzq_link">RESERVES</a></li><li class="fdo2izq"><a href="turisme.php" class="menuIzq_link">TURISME</a></li><li class="fdo2izq"><a href="ex_permanents.php" class="menuIzq_link">EXPOSICIONS</a></li><li class="fdo3izq"><a href="contacte.php" class="menuIzq_link">CONTACTAR</a></li><li class="fdo3izq"><a href="promocions.php" class="menuIzq_link">PROMOCIONS I PAQUETS</a></li></ul></div>');
}
function menuizqmuseu(){
document.write('<div class="menuIzq"><ul><li  class="fdo1izq"><a href="museu.php" class="menuIzq_link">EL MUSEU</a></li><li class="fdo1izq"><a href="edifici.php" class="menuIzq_link">EDIFICI</a></li><li class="fdo1izq"><a href="arribar.php" class="menuIzq_link">COM ARRIBAR</a></li><li class="fdo1izq"><a href="reserves.php" class="menuIzq_link">RESERVES</a></li><li class="fdo1izq"><a href="preus-i-horaris.php" class="menuIzq_link">PREUS I HORARIS</a></li><li class="fdo1izq"><a href="http://www.mnactec.cat/sistema_museus.php" target="_blank" class="menuIzq_link">SISTEMA</a></li><li class="fdo1izq"><a href="patrimoni.php" class="menuIzq_link">PATRIMONI INDUSTRIAL</a></li></ul></div>');
}
function menuizqvisita(){
document.write('<div class="menuIzq"><ul><li  class="fdo2izq"><a href="turisme.php" class="menuIzq_link">TURISME</a></li><li class="fdo2izq"><a href="ex_permanents.php" class="menuIzq_link">EXPO PERMANENTS</a></li><li class="fdo2izq"><a href="ex_temporals.php" class="menuIzq_link">EXPO TEMPORALS</a></li><li class="fdo2izq"><a href="voltants.php" class="menuIzq_link">ELS VOLTANTS</a></li></ul></div>');
}
function menuizqserveis(){
document.write('<div class="menuIzq"><ul><li  class="fdo3izq"><a href="visites_guiades.php" class="menuIzq_link">VISITES GUIADES</a></li><li class="fdo3izq"><a href="botiga.php" class="menuIzq_link">BOTIGA</a></li><li class="fdo3izq"><a href="contacte.php" class="menuIzq_link">CONTACTE</a></li><li class="fdo3izq"><a href="biblioteca.php" class="menuIzq_link">BIBLIOTECA</a></li></li><li class="fdo3izq"><a href="http://www.mnactec.cat/oferta_educativa.php" target="_blank" class="menuIzq_link">OFERTA EDUCATIVA</a></li><li class="fdo3izq"><a href="promocions.php" class="menuIzq_link">PROMOCIONS I PAQUETS</a></li></ul></div>');
}*/
/*function logosizq(){
document.write('<div class="logosIzq"><div style="margin-bottom:13px;"><a href="http://www.mnactec.cat/patrimoni_industrial.php?idioma=0" target="_blank"><img src="../images/logos/patrimoni.jpg" alt="Patrimoni Industrial" width="175" height="50" /></a></div><div style="margin-bottom:13px;"><a href="be-cultural.php"><img src="../images/logos/becultural.jpg" alt="Patrimoni Industrial" width="175" height="50" /></a></div><div style="margin-bottom:13px;"><a href="compromis.php"><img src="../images/logos/compromis.jpg" alt="Patrimoni Industrial" width="175" height="50" /></a></div></div>');
}*/



	var date_cat=new Date();
	var date_es=new Date();
	var date_eng=new Date();
	
	var weekday_cat=new Array(7);
	weekday_cat[0]="Diumenge";
	weekday_cat[1]="Dilluns";
	weekday_cat[2]="Dimarts";
	weekday_cat[3]="Dimecres";
	weekday_cat[4]="Dijous";
	weekday_cat[5]="Divendres";
	weekday_cat[6]="Dissabte";
	
	var weekday_es=new Array(7);
	weekday_es[0]="Domingo";
	weekday_es[1]="Lunes";
	weekday_es[2]="Martes";
	weekday_es[3]="Miércoles";
	weekday_es[4]="Jueves";
	weekday_es[5]="Viernes";
	weekday_es[6]="Sábado";
	
	var weekday_eng=new Array(7);
	weekday_eng[0]="Sunday";
	weekday_eng[1]="Monday";
	weekday_eng[2]="Tuesday";
	weekday_eng[3]="Wednesday";
	weekday_eng[4]="Thursdays";
	weekday_eng[5]="Friday";
	weekday_eng[6]="Saturday";
	
	var d=new Date();
	
	var day=d.getDate();
	
	var month_cat=new Array(11);
	month_cat[0]="gener";
	month_cat[1]="febrer";
	month_cat[2]="març";
	month_cat[3]="abril";
	month_cat[4]="maig";
	month_cat[5]="juny";
	month_cat[6]="juliol";
	month_cat[7]="agost";
	month_cat[8]="setembre";
	month_cat[9]="octubre";
	month_cat[10]="novembre";
	month_cat[11]="desembre";
	
	var month_es=new Array(11);
	month_es[0]="enero";
	month_es[1]="febrero";
	month_es[2]="marzo";
	month_es[3]="abril";
	month_es[4]="mayo";
	month_es[5]="junio";
	month_es[6]="julio";
	month_es[7]="agosto";
	month_es[8]="septiembre";
	month_es[9]="octubre";
	month_es[10]="noviembre";
	month_es[11]="diciembre";
	
	var month_eng=new Array(11);
	month_eng[0]="January";
	month_eng[1]="February";
	month_eng[2]="March";
	month_eng[3]="April";
	month_eng[4]="May";
	month_eng[5]="June";
	month_eng[6]="July";
	month_eng[7]="August";
	month_eng[8]="September";
	month_eng[9]="October";
	month_eng[10]="Novembre";
	month_eng[11]="December";

	var year=d.getFullYear();
	
function data_cat(){
	document.write(weekday_cat[date_cat.getDay()]+" "+ day + " de " + month_cat[date_cat.getMonth()] + " de " + year);
}
function data_es(){
	document.write(weekday_es[date_es.getDay()]+" "+ day + " de " + month_es[date_es.getMonth()] + " de " + year);
}
function data_eng(){
	document.write(weekday_eng[date_eng.getDay()]+" "+ month_eng[date_eng.getMonth()] + " " + day + " " + year);
}

