function codetext(fuente){l=fuente.length;res="";for (xx=0;xx<l;xx++){	if (xx< (l-1)){	res=res+ fuente.charCodeAt(xx)+"a";}	  else {res=res+ fuente.charCodeAt(xx);}}return res;}function decodetext(fuente){atexto=fuente.split("a");l= atexto.length;res="";for (xx=0;i<l;xx++)   {    if (atexto[xx]=="39") {res=res+"•"}	else {res=res+ String.fromCharCode(atexto[xx])};   }return res;}function consola(texto){	if (typeof console != "undefined")	{ console.log(texto);}	}function trimAll(sString)	{	while (sString.substring(0,1) == ' ')	{	sString = sString.substring(1, sString.length);	}	while (sString.substring(sString.length-1, sString.length) == ' ')	{	sString = sString.substring(0,sString.length-1);	}return sString;}function Asc(st){	return st.charCodeAt(0);}function getYear(d) { return (d < 1000) ? d + 1900 : d;}function isDate (year, month, day) {// month argument must be in the range 1 - 12month = month - 1; // javascript month range : 0- 11var tempDate = new Date(year,month,day);if ( (getYear(tempDate.getYear()) == year) &&(month == tempDate.getMonth()) &&(day == tempDate.getDate()) )return true;elsereturn false}function checkCookie(){		if (IE)	  {	   $.cookie("testCookieIE","true", { expires:10, path:'/', domain:"yofui.com", raw:true});       if ($.cookie("testCookieIE") == "true")          cookieEnabled=true;         else cookieEnabled=false;	    }	 else	 {	    cookieEnabled=(navigator.cookieEnabled)? true : false       if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled){         document.cookie="testcookie";        cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false;        }	 }    return cookieEnabled;}
