function arrancarReloj() {
			var fecha = new Date();
			var mes = fecha.getMonth() + 1;
			var minutos = fecha.getMinutes();
			if (mes < 10) {
				mes = "0" + mes;
			}
			if (minutos < 10) {
				minutos = "0" + minutos;
			}
			var dia= fecha.getDate();
			if (dia < 10) {
				dia = "0" + dia;
			}			
			document.getElementById("watch").innerHTML = fecha.getHours() + ":" + minutos + "&nbsp;&nbsp; (" +dia + "/" + mes + "/" + fecha.getFullYear()+ ")" ;
			setTimeout("arrancarReloj()", 60000);
		}
		
		function claseAct(pObject){
			pObject.className="mano amaBoldSel" ;
		}
		
		function claseSel(pObject){
			if(pObject.className!="mano amaBoldSel"){
				pObject.className="mano BlancoBoldSel" ;
			}	
		}
		
		function claseOut(pObject){
			if(pObject.sel=="0"){
				pObject.className="mano BlancoBold" ;
			}	
		}
		
		var arrLoc= new Array();
		arrLoc[1]="Empresa.html";
		arrLoc[2]="Localizacion.html";
		arrLoc[3]="Servicios.html";
		arrLoc[4]="Confidencialidad.html";
		arrLoc[5]="Contacto.html";
		
		var arrImg= new Array();
		var imgEmp=new Image(); 
		imgEmp.src="../img/Serv.jpg"; 
		
		var imgLoc=new Image(); 
		imgLoc.src="../img/Confi6.jpg";
		var imgServ=new Image(); 
		imgServ.src="../img/Serv.jpg";
		var imgConf=new Image(); 
		imgConf.src="../img/Confi3.jpg";
		var imgCont=new Image(); 
		imgCont.src="../img/Confi4.jpg";
		
		arrImg[1]=imgEmp;
		arrImg[2]=imgLoc;
		arrImg[3]=imgServ;
		arrImg[4]=imgConf;
		arrImg[5]=imgCont;
		
		function selOpcion(pObject,pSource){
			var i=1;
			while(document.getElementById("Pestana"+i)){
				document.getElementById("Pestana"+i).sel=0;
				claseOut(document.getElementById("Pestana"+i));
				i++;
			}	
			pObject.sel=1;
			claseAct(pObject);
			top.frames[2].location=arrLoc[pSource];

			top.frames[1].foto.src=arrImg[pSource].src;
		}
