var serverhostname= 'http://www.betranslated.ca/';

function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && anchor.getAttribute("rel")){
       if (anchor.getAttribute("rel").search("external")!= -1){ 
     		anchor.target = "_blank";
     	} 
    }
 } 
} 
window.onload = externalLinks;

$(document).ready(function() {
	 // hides the slickbox as soon as the DOM is ready
	 // (a little sooner than page load)
	  $('#coordo').hide();
	  
	 // shows the slickbox on clicking the noted link  
	  $('a#slick-show').click(function() {
	    $('#coordo').fadeIn('slow');
	    return false;
	  });
	 
	 // hides the slickbox on clicking the noted link  
	  $('a#slick-hide').click(function() {
	    $('#coordo').fadeOut('slow');
	    return false;
	  });
	  
}); 