// Detecto idioma.
u = location.href;
if (u.indexOf("/es/")>0) { act = "/es/"; n_img = "Imagen"; n_of = "de"; }
if (u.indexOf("/en/")>0) { act = "/en/"; n_img = "Image"; n_of = "of"; }
if (u.indexOf("/fr/")>0) { act = "/fr/"; n_img = "Image"; n_of = "sur"; }
if (u.indexOf("/de/")>0) { act = "/de/"; n_img = "Bild"; n_of = "von"; }

// JavaScript Document
document.write('<script type="text/javascript" src="../common/js/prototype.js"></script>' + String.fromCharCode(13));
document.write('<script type="text/javascript" src="../common/js/scriptaculous.js?load=effects,builder"></script>' + String.fromCharCode(13));
document.write('<script type="text/javascript" src="../common/js/lightbox.js"></script>' + String.fromCharCode(13));
document.write('<script type="text/javascript" src="../common/js/swfobject_modified.js"></script>' + String.fromCharCode(13));

function go(lang) {
	pos = u.indexOf(act);
	web = u.substr(0,pos+1) + lang + u.substr(pos+3);
	location.href = web;
}

