<!-- 
function irAEs() {
	tmp=document.location.href;
	if(tmp.indexOf("/en/")!=-1){
		tmp=tmp.replace("/en","");
	}
	
	document.location=tmp;
}

function irAEn() {
	tmp=document.location.href;
	if(tmp.indexOf("/en/")==-1){
		//tmp="/en"+tmp;
		tmp=tmp.replace("/web/","/web/en/");
	}
	document.location=tmp;
}

function abrirPopUpImg(url,ancho,alto,idioma) {

	//Determinamos el tamaño de la ventana
	
	var window_width=ancho;
	var window_height=alto;
	var string_cerrar=(idioma=="es")?"cerrar":"close";

     // Creamos la ventana con las dimensiones de la imagen y centrada
	var window_left = (screen.availWidth / 2) - (window_width / 2);
	var window_top = (screen.availHeight / 2) - (window_height /2);
    var window_dimensions = "scrollbars=yes,resizeable=yes,width=" + window_width + ",height=" + window_height + ",left=" + window_left + ",top=" + window_top;
    new_window = window.open("","SKLGallery",window_dimensions)
   
    // Escritura de las etiquetas HTML
    new_window.document.writeln('<html>')
    new_window.document.writeln('<head>')
    new_window.document.writeln('<title>:: SKL :: ')
    new_window.document.writeln('<\/title>')
	new_window.document.writeln('<style type="text/css">a:link{font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10px;color:#4D4333;text-decoration:none;}a:visited{font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10px;color:#4D4333;text-decoration:none;}a:hover{font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10px;color:#4D4333;text-decoration:underline;}</style>')
    new_window.document.writeln('<\/head>')
    
    // Nos aseguramos de que no tenemos márgenes antiestéticos
    new_window.document.writeln('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">')
    
    // Creamos la etiqueta <img> para la imagen
	new_window.document.writeln('<table width=100% height=100% border=0 cellpadding=0 cellspacing=0><tr><td valign=middle>')
	new_window.document.writeln('<table width=100% height=100% border=0 cellpadding=0 cellspacing=0><tr><td valign=middle>')
    new_window.document.writeln('<div align="center"><img src="' + url + '" align="center" ></div>')
	//Enlace de cerrar ventana
    new_window.document.writeln('<div align="center"><a href="javascript:window.close();">Cerrar</a></div>')
	new_window.document.writeln('</td></tr></table>')
	new_window.document.writeln('</td></tr></table>')
    // Finalizar
    new_window.document.writeln('<\/body>') 
    new_window.document.writeln('<\/html>') 
    new_window.document.close()
	
}

-->
