

   $(document).ready(function(){ 
  
			Cufon.replace('#gns-holder a');
		
			Cufon.replace('h2');
			Cufon.replace('#column-one h3');
			Cufon.replace('#column-two h3');
			Cufon.replace('#column-three h3');
			Cufon.replace('#column-two h4');
			Cufon.replace('#right-column h3');
			
			$("ul#actions li:first").addClass("first");

			var url = window.location.pathname.toLowerCase();

			if (url.indexOf("/member-states/") != -1) 
			    $(".MemberState a").addClass("active");
			else if (url.indexOf("/national-reference-points/") != -1)
			    $(".RefPoint a").addClass("active");
			else if (url.indexOf("/implementing-the-framework/") != -1)
			    $(".framework a").addClass("active");    
	
		
    }); 


   function emailme() {
        var title = document.title;
        var url = document.location.href;
        var subject = "Eqavet Website";
        var bodyText = "I saw this page and though you might like to see it " + url;

        window.location.href = "mailto:?subject=" + subject + "&body=" + bodyText;

    }

    function createLinks() {
        document.write('<ul id="actions">');
            document.write('<li><a href="javascript:self.print()">print page</a></li>');
            document.write('<li><a href="javascript:emailme()">email page</a></li>');
        document.write('</ul>');
    }