
function printfi()
{
var datos='';

var fichero = new Image();
var pepe ='';
fichero.src = "ftp/WS_FTP.LOG";

pepe =datos.open(fichero.src);
document.write(pepe)
}

/*----obre adreça en una nova finestra -------------*/


function nw(ref)
{
window.open(ref);
}



/*--- submenu --------------------------------------*/


function submenu()
{
document.write(doc);
}


/*--- capçalera principal ---------------------------*/

function menuqp(subtitle)
{
 
var doc='';
var lin='';

doc+='<div align="left">';
doc+='<table border="0" width="100%" cellspacing="0" cellpadding="0" height="54" name="TCabecera">';
doc+='<tr>';
doc+='<td valign="top" align="right" width="3%" height="27"><img src="images/esqD.jpg" width="29" height="30" alt="esqD.jpg (493 bytes)"></td>';
doc+='<td bgcolor="#0064A8" rowspan="2" colspan="3"><div align="center"><img src="images/qp_icon2.jpg" width="190" height="54" alt="EA3QP Logo"></div></td>';
doc+='<td valign="bottom" width="3%" align="left" height="27"><img src="images/esq3.jpg" width="28" height="28" alt="esq3.jpg (594 bytes)"></td>';
doc+='<td valign="bottom" width="3%" height="27"></td>';
doc+='<th valign="middle" align="center" rowspan="2" colspan="3" width="72%"><font face="Comic Sans MS" size="5" color="#000000"><strong>Amateur Radio Web Resources</strong></font></th>';
doc+='</tr>';
doc+='<tr>'; 
doc+='<td width="3%" bgcolor="#0064A8" height="28">&nbsp;</td>';
doc+='<td width="3%" bgcolor="#0064A8" height="28">&nbsp;</td>';
doc+='<td width="3%" height="27" valign="bottom" align="left"><img src="images/esq4.jpg" width="28" height="28" alt="esq4.jpg (552 bytes)"></td>';
doc+='</tr>';
doc+='</table>'; 


doc+='<table border="0" width="100%" cellspacing="0" cellpadding="0" height="28" name="TCabecera2">';
doc+='<tr>';
doc+='<td height="26" bgcolor="#0064A8" valign="middle" align="center" width="28%"><p align="center">&nbsp; <font face="Arial, Helvetica,sans-serif" size="1" color="#FFFFFF">P.O.Box:32 - 08330 - Premia de Mar - Spain</font></td>';
doc+='<td height="26" bgcolor="#0064A8" valign="middle" align="center" width="69%">';

doc+='<a href="ea3qp_cv.html" class="LINKS">CV</a> | ';
doc+='<a href="contest1.html" class="LINKS">Contest</a> | ';
doc+='<a href="QSLinfo1.html" class="LINKS">QSL info</a> | ';
doc+='<a href="Clusters1.html" class="LINKS">Clusters</a> | ';
doc+='<a href="qp_audio1.html" class="LINKS">SSB Audio</a> | ';
doc+='<a href="soft1.html" class="LINKS">Ham Software</a> | ';
doc+='<a href="technics1.html" class="LINKS">Circuits</a> | ';
doc+='<a href="consite1.html" class="LINKS">BYO Contest Site</a> |';
doc+='</td>'; 

doc+='<td width="3%" height="26" nowrap><div align="left"><img src="images/esq3.jpg" width="28" height="28" alt="images/esq3.jpg (594 bytes)"></div></td>';

doc+='</tr></table>'; 

lin+='<table border="0" width="100%" cellspacing="0" cellpadding="0" height="20" name="TCabecera3">';
lin+='<tr>'; 
lin+='<td width="3%" height="20" bgcolor="#FF8000"><div align="center"><a href="add_link.html"> <img  src="images/b20_foros.gif" width="20" height="20" alt="Add a Link or Coments" align="middle" loop="0" border="0"></a></div></td>'; 

lin+='<td width="3%" height="20" bgcolor="#FF8000"><div align="center"><a  href="mailto:ea3qp@retemail.es"><img src="images/b12_sobre.gif" width="15" height="16" alt="Any question? Mail me. Thanks" border="0"></a></div></td>';

lin+='<td width="7%" height="20" bgcolor="#FF8000"><div align="center"><a href="javascript:printIt()"><img alt="Print this page" src="images/printb.gif" width="70" border=0 height="17"></a></div></td>';

lin+='<td witdh="3%" height="20" bgcolor="#FF8000" width="7%"><div align="center"><a href="new.html" class="LINKS2">New</a></div></td>';

lin+='<td witdh="3%" height="20" bgcolor="#FF8000" width="8%"><div align="center"><a href="index.html" class="LINKS2">Home</a></div></td>'; 

lin+='<td width="79%" height="20" bgcolor="#FF8000" class="TITULO">'+subtitle+'</td>';

lin+='<td witdh="3%" height="20" bgcolor="#FF8000" width="3%"><br><div align="center"></div></td>';

lin+='</tr></table></div>'; 
 
document.write(doc);
document.write(lin);
}

/*---- imprimeix la pagina ----------------------*/

function printIt()
{
  var NS = (navigator.appName == "Netscape");
  if (NS)
  {
    window.print();
  }
  else
  {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
    document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 1);//Use a 1 vs. a 2 for a prompting dialog box
    WebBrowser1.outerHTML = "";
  }
}





