function selectedOtro(listObj, otroContainerId, otroId){
	if(listObj.value=="otro"){
		show(otroContainerId);
		focusItem(otroId);	
	} else {
		hide(otroContainerId);
	}
}
//...............................................
function focusItem(objId){
	obj=document.getElementById(objId);
	obj.focus();
}

//...............................................

function hide(objId){
	var obj = document.getElementById(objId); 
	obj.style.display="none";
}
//...............................................

function show(objId){
	var obj = document.getElementById(objId); 
	obj.style.display="block";
}
//...............................................

function showHide(objId){
	var obj = document.getElementById(objId); 
	
	if(obj.style.display=="block"){
		obj.style.display="none";
	} else {
		obj.style.display="block";	
	}
}
//...............................................

function clearStatus(){
	status=("");	
}
//...............................................

function showHandOn(obj){
	obj.style.cursor="hand";
	status=("// Follow me to the beginning");
}
//...............................................

function isLinkOn(obj){
	obj.style.cursor="hand";
	obj.style.color="#000000";
}
//...............................................

function isLinkOff(obj){
	obj.style.color="#FFFFFF";
}
//...............................................

function popup(theURL,winName,features,popwidth,popheight) { //v2.0
  window.open(theURL,winName,features + ",width=" + popwidth + ",height=" + popheight + ",left=" + (screen.width-popwidth)/2 + ",top=" + (screen.height-popheight)/2 + "'");

  /*
  	use example:
  	
  	onClick="javascript:popup('list_photo.php','asociarFoto','status=no','400','400');"
  */
}
//...............................................

function imgSlideShow(){
	count=0;
		for(i=1; i<=6; i++) { 
				count++;
				setTimeout("document.images['imgSlide'].src='images/slideShow/img"+count+".jpg';",i*10000);
				
		} 
}
//...............................................
