//
// Defeat spambot scanning
// 
// (they will need to execute this code in order
// to actually be able to get the fully
// formed e-address)
//
// writes out mail to address without using
// the 'at' symbol
//


function make_eddress( name, address )
{
  document.write( name + "&#064;" + address );
}

function make_mail_to( preamble, name, address, linktext )
{
  document.write(  '<a ' + preamble + ' href=' + '"mail' + 'to' + '&#058;' );
  make_eddress(  name, address );
  document.write( '">' + linktext + '</a>' );
}




function bookmark( txt, url, who, img )
{
  // txt = status message to show on roll-over

  // url = address you wish to have bookmarked

  // who = caption to appear with bookmark

  // img = optional image (complete tag)

  var ver = navigator.appName
  var num = parseInt(navigator.appVersion)

  if ((ver == "Microsoft Internet Explorer")&&(num >= 5.2)) 
  {
     document.write( '<a id="bookmark" href="javascript:window.external.AddFavorite(' );
     document.write( "'" + url +"','" + who + "'); " );
     document.write( '" onMouseOver="window.status=' );
     document.write( "'" + txt + "'; return true" );
     document.write( '" onMouseOut="window.status=' );
     document.write( "' '; return true " );
     document.write( '">' );
     document.write( txt + "</a>" + img );
  }

}

//
// Usage:
//    <script>
//    bookmark( 'bookmark us',
//              'http://www.kixis.com',
//              'Kixis - designs for business',
//              '<img src="graphics/swirl.jpg" alt="Kixis logo" />' );
//    </script>
//
// Equivalent to:
//
//<a id="bookmark"
//   href="javascript:window.external.AddFavorite( 'http://www.kixis.com', 
//                                                 'Kixis - designs for business' );"
//   onMouseOver="window.status='Bookmark us'; return true "
//   onMouseOut ="window.status=' ';           return true ">
//  bookmark us
//</a>


           
           
           
           
           