function fichasmall(mypage) {
    fichawindow = window.open(mypage, 'ficha', 'toolbar=no,location=no,menubar=no,resizable=no,scrollbars=no,width=500,height=300,dependent=yes');
    fichawindow.focus();
}
function popup(mypage) {
    ficha(mypage);
}

function ficha(mypage) {
    var width = 650, height = 600;
    x = (650 - width) / 2, y = (600 - height) / 2;
    if (screen) {
        y = (screen.availHeight - height) / 2;
        x = (screen.availWidth - width) / 2;
    }
    fichawindow = window.open(mypage, null, 'toolbar=no,location=no,menubar=no,resizable=no,scrollbars=no,dependent=yes,width=' + width + ',height=' + height + ',screenX=' + x + ',screenY=' + y + ',left=' + x + ',top=' + y);
    fichawindow.focus();
}

function fichaxy(mypage, width, height) {

    y = (screen.availHeight - height) / 2;
    x = (screen.availWidth - width) / 2;

    fichawindow = window.open(mypage, null, 'toolbar=no,location=no,menubar=no,resizable=no,scrollbars=no,dependent=yes,width=' + width + ',height=' + height + ',screenX=' + x + ',screenY=' + y + ',left=' + x + ',top=' + y);
    fichawindow.focus();
}

function fichaVol(mypage) {
    fichawindow = window.open(mypage, '_new', 'toolbar=no,location=no,menubar=no,resizable=yes,scrollbars=yes,width=750,height=550,dependent=yes');
    fichawindow.focus();
}
function h4i2new(x1, x2, x3) {
    window.status = ix2lnew(x1, x2, x3);
}

function h4i2()
{
	window.status = ix2l();
}

function ix2lnew(x1,x2,x3) {
    var tb4 = "@";
    tb4 = tb4 + x2;
    tb4 = tb4 + x1 + ".com";
    tb4 = x3 + tb4;
    return tb4;
}

function ix2l() {
    return ix2lnew("autrement", "cuba", "info");
}

function ff()
{
	status="";
}

function ppunew(x1, x2, x3) {
    this.location = "mailto:" + ix2lnew(x1, x2, x3);
    return false;
}

function ppu()
{
    this.location = "mailto:" + ix2l();
	return false;
}function fch(){	var tb4="@";	tb4=tb4+"cuba";	tb4=tb4+"autrement.com";	tb4="info"+tb4;	return tb4;}function writeContact(text){	document.write("<a href='mailto:[antispam_protected]' onMouseOver='h4i2()' onMouseLeave='ff()' onClick='return ppu()' class=texto>"+text+"</a>")}function writeMail(){	writeContact(fch()) ;}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_showHideLayers() { //v6.0  var i,p,v,obj,args=MM_showHideLayers.arguments;  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];    if (obj.style)     {         obj=obj.style;         v=(v=='show')?'block':(v=='hide')?'none':v; }    obj.display=v; }}function MM_reloadPage(init) {  //reloads the window if Nav4 resized  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}
