/*
 * JTip
 * By Cody Lindley (http://www.codylindley.com)
 * Under an Attribution, Share Alike License
 * JTip is built on top of the very light weight jquery library.
 */

//on page load (as soon as its ready) call JT_init

j$(document).ready(CLICK_A8_init);

function CLICK_A8_init(){
//	j$("a.A8")
	j$("a")
	.click(function(){
		if(this.hostname && this.hostname!==location.hostname){
		//	_gaq.push(['_trackEvent',document.URL,document.title,this.href]);
			_gaq.push(['_trackEvent',document.URL,this.hostname,this.href]);
		} else {
			if(this.href.search(/\/web\//i)!=-1){
				_gaq.push(['_trackEvent',document.URL,'weblink',this.href]);
			}
		}
		return true;
	//	alert(location.hostname);
	//	alert(this.hostname);
	//	return false;
	});
}

