    $(document).ready(function(){
		// if javascript enabled show the menu
    	$('#rightcolumn #iconsection ul#sharemenu').css('display','block');
		$('#rightcolumn #iconsection a.printthis').css('display','inline');
		
		
		// on click
		$('a.printthis').click(
			function(event){
			$('#contentcolumn').prepend("<img src='images/printbanner.png' id='printbanner' />");

				window.print();
			}		
		);
		
		
    	//for menu fadein/fadeout only!
        $("#sharemenu").superfish({
        	autoArrows:false,
        	delay:300,
        	speed:900
        }
	);
	//begin link data functions
	    $("#shareface").click(
        	function(){	
        		//replace hematology.org with actual url
        	window.location.href="http://www.facebook.com/share.php?u=http://www.hematology.org/";
	        }),
	    $("#sharedel").click(
        	function(){	
        		//url of page should be passed here
        	window.location.href="https://secure.delicious.com/login?v=5&jump=http%3A%2F%2Fdelicious.com%2Fsave%3Furl%3Dhttp%253A%252F%252Fwww.hematology.org/";
	        }),
        $("#sharestumble").click(
        	function(){	
        	window.location.href="http://www.stumbleupon.com/submit?url=http://www.hematology.org/&title=Homepage Title";
	        }),
	    $("#sharedigg").click(
        	function(){	
        		//url of page should be passed here
        	window.location.href="http://digg.com/submit?phrase=2&url=http%3A%2F%2Fwww.hematology.org";
	        }),
	    $("#sharegoogle").click(
        	function(){	
        		//url of page should be passed here
        	window.location.href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.hematology.org/&title=American+Society+of+Hematology+(ASH)";
	        }),
	    $("#sharetech").click(
        	function(){	
        		//url of page should be passed here
        	window.location.href="http://technorati.com";
	        }),
	    $("#sharenewsvine").click(
        	function(){	
        		//url of page should be passed here
        	window.location.href="https://www.newsvine.com/_tools/user/login?popoff&redirect=http%3A%2F%2Fwww.newsvine.com%2F_wine%2Fsave%3Fu%3Dhttp%3A%2F%2Fwww.hematology.org)";
	        }),	        
        $("#shareyahoo").click(
        	function(){	
        	window.location.href="https://login.yahoo.com/config/login?.src=bmk2&.intl=us&.done=http%3A%2F%2Fbookmarks.yahoo.com%2Fmyresults%2Fbookmarklet%3Fu%3Dhttp%3A%2F%2Fwww.hematology.org";
	        })
}); 
