//Fonctions outils
document.write("<script language=\"javascript\" type=\"text/javascript\">");

document.write("function mire(chemin) {NewWindow=window.open(chemin+\"/ajust_ecran.htm\",\"\",\"toolbar=no,menubar=no,scrollbars=no,width=750,height=375\");}");

//------------------------------------------------------------------------------------------------------------------------

function a_contact_enveloppe(chemin_images)
{
 document.write("<a href='mailto:cotrez(arobase)astrosurf.com (remplacez (arobase) par @ et supprimez ce commentaire)'><IMG SRC='"+chemin_images+"/enveloppe.gif' width='15' height='11' border='0' alt='Contactez-moi...'></a>");
}

//------------------------------------------------------------------------------------------------------------------------

function a_contact_libelle()
{
 document.write("Contact : <a href='mailto:cotrez(arobase)astrosurf.com (remplacez (arobase) par @ et supprimez ce commentaire)'>cotrez(arobase)astrosurf.com</a>");
}

//------------------------------------------------------------------------------------------------------------------------

function a_sainte_helene()
{
 document.write("<A HREF='http://www.ville-sainte-helene.fr/'>Sainte H&eacute;l&egrave;ne</A>");
}

//------------------------------------------------------------------------------------------------------------------------

function a_bordeaux()
{
 document.write("<A HREF='http://www.bordeaux.fr/'>Bordeaux</A>");
}

//------------------------------------------------------------------------------------------------------------------------

function a_pos_geo(chemin_images)
{
 document.write("<a href='http://city.zorgloob.com/?ville=12680&lib=SAINTE%20HELENE&cp_s=&ville_s=sainte%20hélène'><IMG SRC='"+chemin_images+"/piti_globe.gif' border='0' width='15' height='15' alt='Position g&eacute;ographique'></a>");
}

//------------------------------------------------------------------------------------------------------------------------

function a_mpc()
{
 document.write("<a href='http://cfa-www.harvard.edu/iau/mpc.html'>Minor Planet Center</a>");
}

//------------------------------------------------------------------------------------------------------------------------

function affiche_nouveautes()
{
 document.write("<table border=\"0\" cellspacing=\"10\"><tr align=\"center\"><td class=\"titre\" ALIGN=\"LEFT\" COLSPAN=\"2\">Nouveaut&eacute;s</td><td class=\"titre\" ALIGN=\"LEFT\">&nbsp;</td></tr> <tr valign=\"top\"><td class=\"ligneverticale\"></td><td align=\"center\"><table width=\"100%\" border=\"0\" cellspacing=\"5\">");
 
 for (i=0;i<hot_visible.length;i++)
 {
  document.write("<tr><td class=\"miniliens\">"+hot_entete[i]+"</td><td ALIGN=\"RIGHT\">"+hot_icone[i]+"</td><td class=\"miniliens\">"+hot_libelle[i]+"</td></tr>");
 } //for (i=0;i<hot_entete.length,i++)
 
 document.write("</table></td><td align=\"center\">&nbsp;</td></tr></table>");
}

//------------------------------------------------------------------------------------------------------------------------

function affiche_hotlink()
{
 document.write("<p><table border=\"0\"><tr><td class=\"minititresoft\" align=\"center\"><img src=\""+url+"images/piti_exclam.gif\" width=\"15\" height=\"15\" alt=\"Exclamation !\">&nbsp;Hot links :</td></tr><tr><td class=\"miniliens\" align=\"center\">");
 
 var un_affiche=false;
 for (i=0;i<hot_visible.length;i++)
 {
  if (hot_visible[i])
  {
   if (un_affiche) {document.write("&nbsp;|&nbsp;");}
   document.write(hot_libelle[i]);
   un_affiche=true;
  } //if (hot_libelle[i])
 } //for (i=0;i<hot_entete.length,i++)
 
 document.write("</td></tr></table></p>");
}

//------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------------------

document.write("</script>");
