// emix javascript functions
//
// emix and emx_end are used together to make an anti-spam mailto link
// emix makes the <a> tag, you put something in the middle then emix_end add the </a>
//    for example: <script>emix("rcorasan", "twcny.rr.com?SUBJECT=BLITZ%20SOCCER")</script>Rocco Corasaniti<script>emix_end()</script>
//
// emix_address combines this all and displays the addess as the text in the page
//    for example: <script>emix_address("someone", "hotmail.com")</script> shows someone@hotmail.com as a link
//
// emix_name combines this all and displays the addess as the text in the page
//    for example: <script>emix_name("someone", "hotmail.com", "Some One")</script> shows Some One as a link


// this one makes <a> mailto tag only
function emix(n, d){
 var a,b,c
 a='<a href=\"mai'
 b=n
 c='\">'
 a+='lto:'
 b+='@'
 b+=d

 document.write(a+b+c)
}

// this one makes </a> mailto tag only
function emix_end(){
 var e
 e='</a>'

 document.write(e)
}

// this one makes the mailto link with the address as the text
function emix_address(n, d){
  emix(n, d)
  document.write(n)
  document.write('@')
  document.write(d)
  emix_end()
}

// this one makes the mailto link with p as the text
function emix_name(n, d, p){
  emix(n, d)
  document.write(p)
  emix_end()
}


