<!--

var message = new Array();
message[0] = "G";
message[1] = "Ge";
message[2] = "Gene";
message[3] = "Gener";
message[4] = "Genera";
message[5] = "Generac";
message[6] = "Generaci";
message[7] = "Generació";
message[8] = "Generación";
message[9] = "Generación ";
message[10] = "Generación C";
message[11] = "Generación Co";
message[12] = "Generación Con";
message[13] = "Generación Cont";
message[14] = "Generación Conti";
message[15] = "Generación Contin";
message[16] = "Generación Continu";
message[17] = "Generación Continua";
message[18] = "Generación Continua.";
message[19] = "Generación Continua..";
message[20] = "Generación Continua...";

var reps = 2;
var speed = 200;

var p = message.length;
var T = "";
var C = 0;
var mC = 0;
var s = 0;
var sT = null;
if (reps < 1) reps = 1;
function doTheThing() {
T = message[mC];
A();
}
function A() {
s++;
if (s > 8) { s = 1;}

if (s == 1) { document.title = '||====| '+T+' '; }
if (s == 2) { document.title = '|=|===| '+T+' '; }
if (s == 3) { document.title = '|==|==| '+T+' '; }
if (s == 4) { document.title = '|===|=| '+T+' '; }
if (s == 5) { document.title = '|====|| '+T+' '; }
if (s == 6) { document.title = '|===|=| '+T+' '; }
if (s == 7) { document.title = '|==|==| '+T+' '; }
if (s == 8) { document.title = '|=|===| '+T+' '; }
if (C < (8 * reps)) {
sT = setTimeout("A()", speed);
C++;
}
else {
C = 0;
s = 0;
mC++;
if(mC > p - 1) mC = 0;
sT = null;
doTheThing();
   }
}
doTheThing();

function URLEncode(textToEncode)
{
	// The Javascript escape and unescape functions do not correspond
	// with what browsers actually do...
	var SAFECHARS = "0123456789" +					// Numeric
					"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +	// Alphabetic
					"abcdefghijklmnopqrstuvwxyz" +
					"-_.!~*'()";					// RFC2396 Mark characters
	var HEX = "0123456789ABCDEF";

	var plaintext = textToEncode;
	var encoded = "";
	for (var i = 0; i < plaintext.length; i++ ) {
		var ch = plaintext.charAt(i);
	    if (ch == " ") {
		    encoded += "%20";
		} else if (SAFECHARS.indexOf(ch) != -1) {
		    encoded += ch;
		} else {
		    var charCode = ch.charCodeAt(0);
			if (charCode > 255) {
			    alert( "Unicode Character '" 
                        + ch 
                        + "' cannot be encoded using standard URL encoding.\n" +
				          "(URL encoding only supports 8-bit characters.)\n" +
						  "A space (+) will be substituted." );
				encoded += "+";
			} else {
				encoded += "%";
				encoded += HEX.charAt((charCode >> 4) & 0xF);
				encoded += HEX.charAt(charCode & 0xF);
			}
		}
	} // for

	return encoded;
};

function URLDecode(textToDecode)
{
   // Replace + with ' '
   // Replace %xx with equivalent character
   // Put [ERROR] in output if %xx is invalid.
   var HEXCHARS = "0123456789ABCDEFabcdef"; 
   var encoded = textToDecode;
   var plaintext = "";
   var i = 0;
   while (i < encoded.length) {
       var ch = encoded.charAt(i);
	   if (ch == "+") {
	       plaintext += " ";
		   i++;
	   } else if (ch == "%") {
			if (i < (encoded.length-2) 
					&& HEXCHARS.indexOf(encoded.charAt(i+1)) != -1 
					&& HEXCHARS.indexOf(encoded.charAt(i+2)) != -1 ) {
				plaintext += unescape( encoded.substr(i,3) );
				i += 3;
			} else {
				plaintext += "%[ERROR]";
				i++;
			}
		} else {
		   plaintext += ch;
		   i++;
		}
	} // while
   return plaintext;
}
function newSizeY(myHeight) {
	if (document.all && !document.getElementById) {
		document.all['_gc'].style.pixelHeight = myHeight;
	} else {
		document.getElementById('_gc').style.height = String(myHeight)+"px";
	}
}
function htmlLocalText(theLanguageToSwitch) {
	
	/*if(theLanguageToSwitch == "eu"){
		
		myText = '&copy; 2008 <strong> GENERACIÓN CONTINUA </strong> - <strong>Ongarri aisiazko jarduerak dinamizatzeko zerbitzu telematikoak</strong><br /><span class="gcCopyRightSmall">Eskubide guztiak erreserbatuta<br /><br /></span><span class="gcCopyRightSmall">Etxezarra 19 4. ezk. Kalea - E-08880 Vitoria-Gasteiz, Araba // Tel.: +34.952.123.456 - Fax: +34.945.123.456</span><br /><br /><a href="mailto:jon@generacioncontinua.com" class="gcCopyRightMail"><strong>&nbsp;&nbsp;jon@generacioncontinua.com&nbsp;&nbsp;</strong></a><!--<br /><br /><a href="_php/_gcAbout.php" target="_blank" class="gcFooterLink">&nbsp;Ámbito legal&nbsp;</a> - <a href="_php/_gcPrivacyPolicy.php" target="_blank" class="gcFooterLink">&nbsp;Política de privacidad&nbsp;</a>--><br />';
		
	} else {
		
		myText = '&copy; 2008 <strong> GENERACIÓN CONTINUA </strong> - <strong>Servicios telemáticos para la dinamización del ocio saludable</strong><br /><span class="gcCopyRightSmall">Todos los derechos reservados<br /><br /></span><span class="gcCopyRightSmall">Calle Etxezarra 19 4º Izda - E-08880 Vitoria-Gasteiz, Araba // Tel.: +34.952.123.456 - Fax: +34.945.123.456</span><br /><br /><a href="mailto:jon@generacioncontinua.com" class="gcCopyRightMail"><strong>&nbsp;&nbsp;jon@generacioncontinua.com&nbsp;&nbsp;</strong></a><!--<br /><br /><a href="_php/_gcAbout.php" target="_blank" class="gcFooterLink">&nbsp;Ámbito legal&nbsp;</a> - <a href="_php/_gcPrivacyPolicy.php" target="_blank" class="gcFooterLink">&nbsp;Política de privacidad&nbsp;</a>--><br />';

	}*/
	
	if(theLanguageToSwitch == "eu"){
		
		myText = '&copy; 2009 <strong> Generación Continua SL </strong> - <strong>Komunikazioen Aholkulariak</strong><br /><span class="gcCopyRightSmall">Eskubide guztiak erreserbatuta</span><br /><br /><a href="mailto:comunicacion@generacioncontinua.com" target="_blank" class="gcCopyRightMail"><strong>&nbsp;&nbsp;comunicacion@generacioncontinua.com&nbsp;&nbsp;</strong></a> - <a href="http://www.generacioncontinua.com" target="_blank" class="gcCopyRightMail"><strong>&nbsp;&nbsp;www.generacioncontinua.com&nbsp;&nbsp;</strong></a><br /><span class="gcCopyRightSmall">+34.688.678.668</span><br /><span class="gcCopyRightSmall">Leonardo Da Vinci 9, Ibilbidea. Edf. E5 110 Bulegoa</span><br /><span class="gcCopyRightSmall">Arabako Teknoloji Parkea</span><br /><span class="gcCopyRightSmall">Miñano 01510 - Araba</span><br />';
	
	} else {
		
		myText = '&copy; 2009 <strong> Generación Continua SL </strong> - <strong>Consultores de comunicación</strong><br /><span class="gcCopyRightSmall">Todos los derechos reservados</span><br /><br /><a href="mailto:comunicacion@generacioncontinua.com" target="_blank" class="gcCopyRightMail"><strong>&nbsp;&nbsp;comunicacion@generacioncontinua.com&nbsp;&nbsp;</strong></a> - <a href="http://www.generacioncontinua.com" target="_blank" class="gcCopyRightMail"><strong>&nbsp;&nbsp;www.generacioncontinua.com&nbsp;&nbsp;</strong></a><br /><span class="gcCopyRightSmall">+34.688.678.668</span><br /><span class="gcCopyRightSmall">Avda. Leonardo Da Vinci 9. Edf. E5 Oficina 110</span><br /><span class="gcCopyRightSmall">Parque Tecnológico de Álava</span><br /><span class="gcCopyRightSmall">Miñano 01510 - Álava</span><br />';
		
	}
	
	if (document.all) {
		
		document.all['copyRight'].innerHTML = myText;
		
	} else {
		
		var couldbenetscape = document.getElementById("copyRight");
		couldbenetscape.innerHTML = myText;
		
	}
		
}
// -->