/**
 * 2009 Gareth Faull
 */
var System = function(){
}
var s = System;
s.prototype.init = function(){
		var thebrowser = $.browser.className;
        var nemesis = 'msie6';
        var nemesistwo = 'msie7';
		if (thebrowser === nemesis || thebrowser === nemesistwo) {
            this.badbrowserstuff();
        }
        
        this.googleOutLinks();
       
}

s.prototype.badbrowserstuff = function(){
	
	
}
s.prototype.googleOutLinks = function(){
if (document.getElementsByTagName) {
var ahrefs = document.getElementsByTagName('a');
for (var i=0; i<ahrefs.length;i++) {
if (ahrefs[i].href.indexOf('http://www.garethfaull.com') == -1 && !ahrefs[i].onclick) {
ahrefs[i].onclick = function () {
pageTracker._trackPageview('/outbound/'+this.href.substring(7));}
}
}
}}

$(document).ready(function(){
    newSystem = new System();
    newSystem.init();
});