// JavaScript Document
<!--//--><![CDATA[//><!--
lastV='brn1';refD='';

days	 = new Array('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'); 
months	 = new Array('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre');
nowa 	 = new Date();
Nday	 = nowa.getDate();
Nnameday = days[nowa.getDay()];
Nsp		 = ".";
Nnamemon = months[nowa.getMonth()];
fullDate = Nnameday+", "+Nday+" de "+Nnamemon;
	
function showHour(){
	Digital	= new Date();
	hours	= Digital.getHours();
	minutes	= Digital.getMinutes();
	seconds	= Digital.getSeconds();
	dn="AM";
	if (hours == 0) hours = 12;
	if (minutes<=9) minutes = '0'+minutes;
	if (seconds<=9) seconds = '0'+seconds;
	
	myclock = " - "+hours+":"+minutes+":"+seconds;
	
	if (document.layers){
		document.layers.txthour.document.write(myclock);
		document.layers.txthour.document.close();
	} else if (document.all){
		txthour.innerHTML	=	myclock;
	} else if (document.getElementById){
		document.getElementById("txthour").innerHTML	=	myclock
	}
	
	setTimeout("showHour()",1000);
}

function showVideo(ssV){
	ssV = document.getElementById(ssV);
	if(ssV)
	{ ssV.innerHTML = '<a href="javascript:;" onclick="closeVideo(\'sV\');"><img class="padbottom" src="images/generics/pantalla-header.jpg" alt="Logo y botón cerrar del video" width="274" height="14"></a><embed wmode="transparent" title="player_flv" src="player_flv.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" flashvars="movie=downloads/movies/huggies_ducha.flv&amp;fgcolor=0xBCBDC0&amp;bgcolor=0xBCBDC0&amp;autoload=on&amp;autorewind=on&amp;volume=70" name="flvPlayer" type="application/x-shockwave-flash" align="middle" height="255" width="317">'; ssV.style.display = 'block'; ssV.style.visibility = 'visible'; }
}

function toSrch(){
	toS = document.getElementById("toS").value;
	toH	= "http://www.google.com.ar/search?hl=es&q="+toS+"+site%3Ahttp%3A%2F%2Fwww.kimberly-clark.com.ar&btnG=Buscar+con+Google&meta=";
	window.open(toH);
}

function closeVideo(ssV){
	ssV = document.getElementById(ssV);
	if(ssV)
	{ ssV.style.display = 'none'; ssV.style.visibility = 'hidden'; ssV.innerHTML = ''; }
}

function showDate(){
	if (document.layers){
		document.layers.txtdate.document.write(fullDate);
		document.layers.txtdate.document.close();
	} else if (document.all){
		txtdate.innerHTML	=	fullDate;
	} else if (document.getElementById){
		document.getElementById("txtdate").innerHTML	=	fullDate;
	}
}

function chkURI(){
	uriL=String(escape(location));
	if(uriL.match('regions.asp')!=null)	return true;
	else return false;
}

function seeBlock(v){
	if(chkURI()){
		if(lastV!=''){
			refD = document.getElementById(lastV);
			if(refD)
			{ 
				refD.style.display 		= 'none';
				refD.style.visibility 	= 'hidden';
			}
		}

		vBlock = document.getElementById(v);
		
		if(vBlock != lastV && vBlock != null){
			vBlock.style.display = 'block';
			vBlock.style.visibility = 'visible';
		}
		lastV = v;
	} else {
		window.location='regions.asp';
	}
}
