function cambiamail (buzon) {
	var res = "";
	for (var n = 0; n < buzon.length; n++) res += String.fromCharCode(buzon.charCodeAt(n));
	if (res.indexOf('@') < 0) res = res + '@' + 'studiocomics.com';
	location = "mail" + "to:" + res;
}

function openWndAvisolegal () { openWndGeneral('avisolegal.htm','avisolegal','scrollbars=no,width=280,height=280'); }
function openWndPrivacidad () { openWndGeneral('privacidad.htm','privacidad','scrollbars=no,width=300,height=280'); }
function openWndCreditos () { openWndGeneral('creditos.htm','creditos','scrollbars=no,width=300,height=400'); }
function openWndZooms (articulo, zoom) { 
    openWndGeneral('cat/zooms.jsp?t='+articulo+'&z='+zoom,'composicion','scrollbars=yes,width=600,height=500, resizable=yes'); 
}

function openWndGeneral (paginaweb, nombrewnd, propiewnd) {
    remote = window.open(paginaweb,nombrewnd,propiewnd);
    if (remote != null) {
        if (remote.opener == null) remote.opener=self;
        remote.focus();
    }
}
