﻿// when the DOM is ready:
$(document).ready(function () {
						
  /*hide mail*/
   $('.hide-email').each(function() {
      var $email = $(this);
      var address = $email.text().replace(/\s*\[at\]\s*/, '@')
                                 .replace(/\s*\[dot\]\s*/g, '.');
      $email.html('<a href="mailto:' + address + '">' + address + '</a>');
   });
   
        $(".tweet").tweet({
            username: "funkshionfw",
            join_text: "auto",
            avatar_size: 40,
            count: 1,
            auto_join_text_default: "novost,",
            auto_join_text_ed: "we",
            auto_join_text_ing: "we were",
            auto_join_text_reply: "we replied to",
            auto_join_text_url: "we were checking out",
            loading_text: "loading tweets..."
        });
		 $('a[rel*=facebox]').facebox() 
		 

});
