var strFoco="";
//****************************************
function fCambiarImg(istrNombre,istrImagen){document[istrNombre].src = istrImagen;}
//****************************************
function ventana(vurl,valto,vancho,strScroll,Nombre,PosX,PosY){
	if(PosX=="" && PosY==""){
	if (window.screen) {
	var ah=screen.width-(vancho/2);
	var aw=screen.height-(valto/2);
	var xc = (aw - vancho) / 2;
	var yc = (ah - valto) / 2;
	}
	}else{
	xc = PosX
	yc = PosY
	}
	window.open(vurl,Nombre,'left=' + xc + ',left='+xc+',top='+yc+',screenX='+xc+',height='+valto+',width='+vancho+',scrollbars='+strScroll+'').focus();
}
//****************************************
function fCambiarFilaColor (intCual,intCuantos,strColor){
	i=1;
	while (i<=intCuantos){
		eval("fila"+i+"_"+intCual+".bgColor='"+strColor+"'");
		i++;
	}
}
//****************************************
function fNoEscribir(e) {
	tecla = (document.all)?e.keyCode:e.which;
	if ( tecla!=8 && tecla!=13 &&((tecla>0 && tecla<=47) || (tecla>=58 && tecla<=64) || (tecla>=91 && tecla<95) || tecla==96 || tecla>122 )) {
		return false;
	} 
	return true;
}
//***************************************************************
//- Controla que la variable "e" sea alfanumerica
//***************************************************************
function fSoloAlfanumerico(e) {
	tecla = (document.all)?e.keyCode:e.which;
	if ( tecla!=8 && tecla!=13 &&((tecla>0 && tecla<=47) || (tecla>=58 && tecla<=64) || (tecla>=91 && tecla<95) || tecla==96 || tecla>122 )) {
		return false;
	} 
	return true;
}
//***************************************************************
//- Controla que la variable "e" sea nuemrica
//***************************************************************
function fSoloNumero(e) {
	tecla = (document.all)?e.keyCode:e.which;
	if (tecla==8 || tecla==0) { return true; } 
	patron = /\d/;
	return patron.test(String.fromCharCode(tecla));
}
//***************************************************************
//- Controla que la variable "e" sea un numero decimal
//***************************************************************
function fSoloDecimal(e) {
	tecla = (document.all)?e.keyCode:e.which;
	if (tecla==8 || tecla==0 || tecla==46) { return true; } 
	patron = /\d/;
	return patron.test(String.fromCharCode(tecla));
}
//****************************************
function fIntro(intAlert) {
	if (window.event.keyCode!=13){
		if (((window.event.keyCode>=0) && (window.event.keyCode<=47))||((window.event.keyCode>=58)&& (window.event.keyCode<=64)) || ((window.event.keyCode>=91)&& (window.event.keyCode<95)) || (window.event.keyCode==96) || (window.event.keyCode>122) ) {  
			window.event.keyCode=""; 
			if (intAlert==1){alert(fM("NoIntroducirCaracteresExtranos"));return;}
			else{return;}
		}
	}else{fValidarLoginPass();}
}
//****************************************
function fValidarLoginPass (){
	if (document.frmLogin.txtLogin.value==""){alert(fM("IntroduzcaLogin"));document.frmLogin.txtLogin.focus();return;}
	else{	
		if (document.frmLogin.txtLogin.value.lastIndexOf("'")!=-1 || document.frmLogin.txtLogin.value.lastIndexOf("=")!=-1 || document.frmLogin.txtLogin.value.lastIndexOf("/")!=-1 || document.frmLogin.txtLogin.value.lastIndexOf("%")!=-1 || document.frmLogin.txtLogin.value.lastIndexOf(".")!=-1 || document.frmLogin.txtLogin.value.lastIndexOf(",")!=-1){
			alert(fM("LoginCarExtranhos"));
			document.frmLogin.txtLogin.focus();
			return;
		}
	}
	if (document.frmLogin.txtClave.value==""){alert(fM("IntroduzcaClave"));document.frmLogin.txtClave.focus();return;}
	else{	
		if (document.frmLogin.txtClave.value.lastIndexOf("'")!=-1 || document.frmLogin.txtClave.value.lastIndexOf("=")!=-1 || document.frmLogin.txtClave.value.lastIndexOf("/")!=-1 || document.frmLogin.txtClave.value.lastIndexOf("%")!=-1 || document.frmLogin.txtClave.value.lastIndexOf(".")!=-1 || document.frmLogin.txtClave.value.lastIndexOf(",")!=-1){
			alert(fM("ClaveCarExtranhos"));
			document.frmLogin.txtClave.focus();
			return;
		}
	}
	document.frmLogin.submit();
	document.frmLogin.txtClave.value="";
	document.frmLogin.txtLogin.value="";
}
//****************************************************
function fValidarCorreo(valor){
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(valor)){return true;} 
	else { alert(fM("CorreoMal")); return false ;}
}
//****************************************************
function trim(cadena){ 
	for(i=0; i<cadena.length; ){
		if(cadena.charAt(i)==" ") cadena=cadena.substring(i+1, cadena.length);
		else break; 
	}
	for(i=cadena.length-1; i>=0; i=cadena.length-1){
		if(cadena.charAt(i)==" ") cadena=cadena.substring(0,i);
		else break; 
	}
	return cadena;
}
//*************************************
function textCounter(maxlimit,elemento){	
	if (elemento.value.length > maxlimit){elemento.value = elemento.value.substring(0, maxlimit);}
}
//*************************************************
function fSeleccionarUno(url,cantidad,txtForm,txtChk)
{	sw=0;
j=0;
if (cantidad>1)
{	for (i=0;i<cantidad;i++)
{	if (eval("document."+txtForm+"."+txtChk+"["+i+"].checked"))
{	sw++;
j=i;
}
}
if (sw==1)
{	strAux=eval("document."+txtForm+"."+txtChk+"["+j+"].value");
location.href=url+strAux;
}else if (sw==0){	
alert(fM("SeleccioneAlgunaCasilla"));
}else{	
alert(fM("SeleccioneUnaCasilla"));
}
}
else
{	if (cantidad==1)
{	if (eval("document."+txtForm+"."+txtChk+".checked"))
{	strAux=eval("document."+txtForm+"."+txtChk+".value");
location.href=url+strAux;
}
else
{	alert(fM("SeleccioneAlgunaCasilla"));
}}}}
//*************************************************
function fInsertarEnArray2(istrArray,iintI,istrValor){	
	strAux=istrArray+'['+iintI+']='+istrValor;
	eval (strAux);
}
//***********************************************
function fCrearArray(istrNombre)
{	strAuxiliar=istrNombre+"=new Array();"
eval(strAuxiliar);
}
//****************************************************
function fFormatoTexto(Tipo,Donde){
	if (Donde!="" && typeof Donde != 'undefined')
	{	Donde=Donde+".";
		if (eval(Donde+"strFoco!=''")){	
			if (document.selection){
				strTexto = document.selection.createRange().text;
				if (strTexto!=""){
					strFoco.focus();
					if (Tipo == "b"){eval(Donde+'document.selection.createRange().text = "[b]" + ' + Donde + 'document.selection.createRange().text + "[/b]"');}
					if (Tipo == "u"){eval(Donde+'document.selection.createRange().text = "[u]" + ' + Donde + 'document.selection.createRange().text + "[/u]"');}
					if (Tipo == "i"){eval(Donde+'document.selection.createRange().text = "[i]" + ' + Donde + 'document.selection.createRange().text + "[/i]"');}
					if (Tipo == "-t"){eval(Donde+'document.selection.createRange().text = "[-t]" + ' + Donde + 'document.selection.createRange().text + "[/-t]"');}
					if (Tipo == "+t"){eval(Donde+'document.selection.createRange().text = "[+t]" + ' + Donde + 'document.selection.createRange().text + "[/+t]"');}
					if (Tipo == "t"){eval(Donde+'document.selection.createRange().text = "[t]" + ' + Donde + 'document.selection.createRange().text + "[/t]"');}
					if (Tipo == "sup"){eval(Donde+'document.selection.createRange().text = "[sup]" + ' + Donde + 'document.selection.createRange().text + "[/sup]"');}
					if (Tipo == "sub"){eval(Donde+'document.selection.createRange().text = "[sub]" + ' + Donde + 'document.selection.createRange().text + "[/sub]"');}
					if (Tipo == "center"){eval(Donde+'document.selection.createRange().text = "[center]" + ' + Donde + 'document.selection.createRange().text + "[/center]"');}
				}else{alert(fM("SeleccioneTexto"));}
				return;
			}else if (eval(Donde+'strFoco.setSelectionRange')) { //MOZILLA/NETSCAPE support
				eval(Donde+'strFoco.focus()');
				var startPos = eval(Donde+'strFoco.selectionStart');
				var endPos = eval(Donde+'strFoco.selectionEnd');
				strTexto = eval(Donde+'strFoco.value.substring(startPos, endPos)');
				if (strTexto != ""){
					if (Tipo == "b"){strTexto = "[b]"+ strTexto+ "[/b]";}
					if (Tipo == "u"){strTexto = "[u]"+ strTexto+ "[/u]";}
					if (Tipo == "i"){strTexto = "[i]"+ strTexto+ "[/i]";}
					if (Tipo == "-t"){strTexto = "[-t]"+ strTexto+ "[/-t]";}
					if (Tipo == "+t"){strTexto = "[+t]"+ strTexto+ "[/+t]";}
					if (Tipo == "t"){strTexto = "[t]"+ strTexto+ "[/t]";}
					if (Tipo == "sup"){strTexto = "[sup]"+ strTexto+ "[/sup]";}
					if (Tipo == "sub"){strTexto = "[sub]"+ strTexto+ "[/sub]";}
					if (Tipo == "center"){strTexto = "[center]"+ strTexto+ "[/center]";}
					eval(Donde+'strFoco.value = '+Donde+'strFoco.value.substring(0, startPos) + strTexto + '+Donde+'strFoco.value.substring(endPos, '+Donde+'strFoco.value.length)');
				}else{alert(fM("SeleccioneTexto"));}
				return;
			}
			return;
		}
	}else{	
		if (strFoco!=""){
			if (document.selection){
				strTexto = document.selection.createRange().text;
				if (strTexto!=""){
					strFoco.focus();
					if (Tipo == "b"){document.selection.createRange().text = "[b]" + document.selection.createRange().text + "[/b]";}
					if (Tipo == "u"){document.selection.createRange().text = "[u]" + document.selection.createRange().text + "[/u]";}
					if (Tipo == "i"){document.selection.createRange().text = "[i]" + document.selection.createRange().text + "[/i]";}
					if (Tipo == "-t"){document.selection.createRange().text = "[-t]" + document.selection.createRange().text + "[/-t]";}
					if (Tipo == "+t"){document.selection.createRange().text = "[+t]" + document.selection.createRange().text + "[/+t]";}
					if (Tipo == "t"){document.selection.createRange().text = "[t]" + document.selection.createRange().text + "[/t]";}
					if (Tipo == "sup"){document.selection.createRange().text = "[sup]" + document.selection.createRange().text + "[/sup]";}
					if (Tipo == "sub"){document.selection.createRange().text = "[sub]" + document.selection.createRange().text + "[/sub]";}
					if (Tipo == "center"){document.selection.createRange().text = "[center]" + document.selection.createRange().text + "[/center]";}
				}else{alert(fM("SeleccioneTexto"));}
				return;
			}else if (strFoco.setSelectionRange) { //MOZILLA/NETSCAPE support
				strFoco.focus();
				var startPos = strFoco.selectionStart;
				var endPos = strFoco.selectionEnd;
				strTexto = strFoco.value.substring(startPos, endPos)
				if (strTexto != ""){
					if (Tipo == "b"){strTexto = "[b]"+ strTexto+ "[/b]";}
					if (Tipo == "u"){strTexto = "[u]"+ strTexto+ "[/u]";}
					if (Tipo == "i"){strTexto = "[i]"+ strTexto+ "[/i]";}
					if (Tipo == "-t"){strTexto = "[-t]"+ strTexto+ "[/-t]";}
					if (Tipo == "+t"){strTexto = "[+t]"+ strTexto+ "[/+t]";}
					if (Tipo == "t"){strTexto = "[t]"+ strTexto+ "[/t]";}
					if (Tipo == "sup"){strTexto = "[sup]"+ strTexto+ "[/sup]";}
					if (Tipo == "sub"){strTexto = "[sub]"+ strTexto+ "[/sub]";}
					if (Tipo == "center"){strTexto = "[center]"+ strTexto+ "[/center]";}
					strFoco.value = strFoco.value.substring(0, startPos) + strTexto + strFoco.value.substring(endPos, strFoco.value.length);
				}else{alert(fM("SeleccioneTexto"));}
				return;
			}
		}
	}
}
//****************************************************
function fFormatoTextoColor(Tipo,Donde){
	if (Donde!="" && typeof Donde != 'undefined'){	
		Donde=Donde+".";
		if (eval(Donde+"strFoco!=''"))
		{	strTexto = eval(Donde+"document.selection.createRange().text");
			if (strTexto ==""){alert (fM("SeleccionaTexto"));return;}
			if (Tipo == "#F76531"){eval(Donde+'document.selection.createRange().text = "[#F76531#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#FE9664"){eval(Donde+'document.selection.createRange().text = "[#FE9664#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#36A986"){eval(Donde+'document.selection.createRange().text = "[#36A986#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#908E8E"){eval(Donde+'document.selection.createRange().text = "[#908E8E#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#A0BE18"){eval(Donde+'document.selection.createRange().text = "[#A0BE18#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#899DCE"){eval(Donde+'document.selection.createRange().text = "[#899DCE#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#123A9C"){eval(Donde+'document.selection.createRange().text = "[#123A9C#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#000000"){eval(Donde+'document.selection.createRange().text = "[#000000#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#892D30"){eval(Donde+'document.selection.createRange().text = "[#892D30#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#C48665"){eval(Donde+'document.selection.createRange().text = "[#C48665#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#935988"){eval(Donde+'document.selection.createRange().text = "[#935988#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
			if (Tipo == "#D294BB"){eval(Donde+'document.selection.createRange().text = "[#D294BB#]" + ' + Donde + 'document.selection.createRange().text + "[/#]"');}
		}
	}else{	
		if (strFoco!=""){
			if (document.selection){
				strTexto = document.selection.createRange().text;
				if (strTexto!=""){
					strFoco.focus();
					if (Tipo == "#F76531"){document.selection.createRange().text = "[#F76531#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#FE9664"){document.selection.createRange().text = "[#FE9664#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#36A986"){document.selection.createRange().text = "[#36A986#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#908E8E"){document.selection.createRange().text = "[#908E8E#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#A0BE18"){document.selection.createRange().text = "[#A0BE18#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#899DCE"){document.selection.createRange().text = "[#899DCE#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#123A9C"){document.selection.createRange().text = "[#123A9C#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#000000"){document.selection.createRange().text = "[#000000#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#892D30"){document.selection.createRange().text = "[#892D30#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#C48665"){document.selection.createRange().text = "[#C48665#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#935988"){document.selection.createRange().text = "[#935988#]" + document.selection.createRange().text + "[/#]";}
					if (Tipo == "#D294BB"){document.selection.createRange().text = "[#D294BB#]" + document.selection.createRange().text + "[/#]";}
				}
			}else if (strFoco.setSelectionRange) { //MOZILLA/NETSCAPE support
				strFoco.focus();
				var startPos = strFoco.selectionStart;
				var endPos = strFoco.selectionEnd;
				strTexto = strFoco.value.substring(startPos, endPos)
				if (strTexto != ""){
					if (Tipo == "#F76531"){strTexto = "[#F76531#]"+ strTexto+ "[/#]";}
					if (Tipo == "#FE9664"){strTexto = "[#FE9664#]"+ strTexto+ "[/#]";}
					if (Tipo == "#36A986"){strTexto = "[#36A986#]"+ strTexto+ "[/#]";}
					if (Tipo == "#908E8E"){strTexto = "[#908E8E#]"+ strTexto+ "[/#]";}
					if (Tipo == "#A0BE18"){strTexto = "[#A0BE18#]"+ strTexto+ "[/#]";}
					if (Tipo == "#899DCE"){strTexto = "[#899DCE#]"+ strTexto+ "[/#]";}
					if (Tipo == "#123A9C"){strTexto = "[#123A9C#]"+ strTexto+ "[/#]";}
					if (Tipo == "#000000"){strTexto = "[#000000#]"+ strTexto+ "[/#]";}
					if (Tipo == "#892D30"){strTexto = "[#892D30#]"+ strTexto+ "[/#]";}
					if (Tipo == "#C48665"){strTexto = "[#C48665#]"+ strTexto+ "[/#]";}
					if (Tipo == "#935988"){strTexto = "[#935988#]"+ strTexto+ "[/#]";}
					if (Tipo == "#D294BB"){strTexto = "[#D294BB#]"+ strTexto+ "[/#]";}
					strFoco.value = strFoco.value.substring(0, startPos) + strTexto + strFoco.value.substring(endPos, strFoco.value.length);
				}else{alert(fM("SeleccionaTexto"));}
				return;
			}
		}
	}
}
//*************************************************
function fInsertarEnlace(Tipo,Donde){	
	if (typeof strFoco == 'undefined' && strFoco=="" && Donde.strFoco==""){alert(fM("SeleccionaDondeInsertarEnlace"));return;}
	strFoco.focus();
	if (document.selection){
		strEnlace=document.selection.createRange().text;
	}else if (strFoco.setSelectionRange) {
		var startPos = strFoco.selectionStart;
		var endPos = strFoco.selectionEnd;
		strEnlace = strFoco.value.substring(startPos, endPos)
	}
		
	var strTexto=prompt(fM("TextoEnlace"),strEnlace);
	if (strTexto!="" && typeof strTexto!='undefined' && strTexto!=null){	
		var strUrl=prompt(fM("UrlEnlace"),'http://');
	}
	if (strUrl!="" && typeof strUrl!='undefined' && strUrl!=null){	
		strFoco.focus();
		if (Tipo=='httpi'){
			if (strTexto!="" && typeof strTexto!='undefined' && strTexto!=null ){	
				if (document.selection){	
					document.selection.createRange().text="[linki=" + strUrl +"=linki]" + strTexto + "[/linki]";
				}else if (strFoco.setSelectionRange) {
					strEnlace = "[linki=" + strUrl +"=linki]" + strTexto + "[/linki]";
					strFoco.value = strFoco.value.substring(0, startPos) + strEnlace + strFoco.value.substring(endPos, strFoco.value.length);
				}else{
					strFoco.value+="[linki=" + strUrl +"=linki]" + strTexto + "[/linki]";
				}
			}else{	
				document.selection.createRange().text="[linki=" + strUrl + "=linki]" + strUrl + "[/linki]";
			}
		}else{
			if (strTexto!="" && typeof strTexto!='undefined' && strTexto!=null ){	
				if (document.selection){	
					document.selection.createRange().text="[link=" + strUrl +"=link]" + strTexto + "[/link]";
				}else if (strFoco.setSelectionRange) {
					strEnlace = "[link=" + strUrl +"=link]" + strTexto + "[/link]";
					strFoco.value = strFoco.value.substring(0, startPos) + strEnlace + strFoco.value.substring(endPos, strFoco.value.length);
				}else{
					strFoco.value+="[link=" + strUrl +"=link]" + strTexto + "[/link]";
				}
			}else{	
				document.selection.createRange().text="[link=" + strUrl + "=link]" + strUrl + "[/link]";
			}
		}
	}
}
//****************************************************
function fInsertarSimbolo(Tipo,Donde){	
	if (Donde!="" && typeof Donde != 'undefined')
	{	Donde=Donde+".";
		if (eval(Donde+"strFoco==''")){alert(fM("SeleccionaDondeInsertarSimbolo"));return;}
		strAux="";
		switch (Tipo){
			case "mm": strAux="[+-]"; break;
			case "c": strAux="[sq]"; break;
		}
		eval(Donde+"strFoco.focus()");
		if (eval(Donde+"document.selection")){	
			eval(Donde+"document.selection.createRange().text= strAux");
		}else{	
			eval(Donde+"strFoco+=strAux");
		}
	}else{	
		if (strFoco==""){alert(fM("SeleccionaDondeInsertarSimbolo"));return;}
		strAux="";
		switch (Tipo){	
			case "mm": strAux="[+-]"; break;
			case "c": strAux="[sq]"; break;
		}
		strFoco.focus();
		if (document.selection){	
			document.selection.createRange().text= strAux;
		}else{	
			strFoco.value+=strAux;
		}
	}
}
//****************************************************
function fDameAltura(iintCual)
{	strRes=fDameResolucion();
//alert(strRes);
switch (iintCual)
{	case 1:
switch (strRes)
{	case "800x600":
return "451";break;
case "1024x768":
return "618";break;
case "1344x840":
return "635";break;
case "1400x1050":
return "845";break;
case "1680x1050":
return "845";break;
}
case 2: //Menu
switch (strRes)
{	case "800x600":
return "270";break;
case "1024x768":
return "400";break;
case "1344x840":
return "470";break;
case "1400x1050":
return "546";break;
case "1680x1050":
return "546";break;
}
case 3: //Listado contenido
switch (strRes)
{	case "800x600":
return "290";break;
case "1024x768":
return "455";break;
case "1344x840":
return "494";break;
case "1400x1050":
return "622";break;
case "1680x1050":
return "622";break;
}
case 4: //Un Modelo
switch (strRes)
{	case "800x600":
return "180";break;
case "1024x768":
return "350";break;
case "1344x840":
return "380";break;
case "1400x1050":
return "478";break;
case "1680x1050":
return "478";break;
}
case 5: //Proyecto
switch (strRes)
{	case "800x600":
return "330";break;
case "1024x768":
return "491";break;
case "1344x840":
return "535";break;
case "1400x1050":
return "671";break;
case "1680x1050":
return "671";break;
}
}
}
//****************************************************
function fDameAnchura(iintCual)
{	strRes=fDameResolucion();
switch (iintCual)
{	case 1:
return (screen.width-311);break;
case 3:
return (screen.width-330);break;	
case 4:
return (screen.width-350);break;	
case 5:
return (screen.width-367);break;	
}
}
//****************************************************
function fDameResolucion(){return (screen.width+"x"+screen.height);}
//****************************************************
function fImprimirVentana (){window.print();window.close();}
//****************************************************
function fPintaTip(istrTip,istrTexto)
{	if(document.layers)
{   strString='top.document.'+istrTip+'.document.write("'+istrTexto+'")';
eval(strString);
eval('top.document.'+istrTip+'.document.close()');
strString='top.document.tip.visibility="visible"';
eval(strString);
}
if(document.all)
{   strString='top.document.all("'+istrTip+'").innerHTML="';
strString=strString+istrTexto+'"';
eval(strString);
eval('top.document.all("'+istrTip+'").style.visibility="visible"');
}
if(document.getElementById)
{   strString='top.document.getElementById("'+istrTip+'").innerHTML="'+istrTexto+'"';
eval(strString);
strString='top.document.getElementById("'+istrTip+'").style.visibility="visible"';
eval(strString);
}
return;
}
//****************************************************
function fAbrirEscritorio (strRaiz){
	intIzquierda=(screen.width-986)/2;
	intArriba=(screen.height-631)/2;
	window.open(strRaiz+"escritorio/index.asp","az3_escritorio","screenX="+intIzquierda+",screenY="+intArriba+",left="+intIzquierda+",top="+intArriba+",resizeable=no,directories=no,height=631,menubar=no,scrollbars=no,status=no,titlebar=no,toolbar=no,width=986");
}

