

	$(document).ready(function() {
		/*
		//easy news
		  var newsoption1 = {
			  firstname: "tip-container",
			  secondname: "tip-show-body",
			  thirdname: "news_display", //id of title of news (tip) -- didnt use
			  fourthname: "tip-button",
			  newsspeed: '500000',
			  isauto: false,
			  mouseover: false,
			  effectis: '3',
			  mouseover: true,
			  imagedir: '/img/u/',
			  newscountname: "tip-counter"
		  }
		  $.init_news(newsoption1);
		  var myoffset=$('#tip-button').offset();
		  var mytop=myoffset.top-1;
		  $('#tip-button').css({top:mytop});
		  
		  $("#tip-opener-link").click(function() {
		      $("#tip-show").show("fast");
		    });
		  $("#close-tip").click(function () {
		      $("#tip-show").hide("fast");
		    });
		    */
		
		$("a[href^=http]").each(
			function(){
			      if(this.href.indexOf(location.hostname) == -1) {
			    	  $(this).addClass("ext");
			    	  $(this).click(function(){ 
			    		  window.open(this.href); 
			    		  return false; 
			    	  });
			       }
	    })
			   
     });

