var fileLoc="/extlink/";function mOver(){self.status="External Link";return true}function mOut(){self.status="";return true}function mLog(g){if(g.hostname=="www.gloss-sealevel.org"){var n=g.href.replace(/http:\/\/www.gloss-sealevel.org/g,"");n=n.replace(/https:\/\/www.gloss-sealevel.org/g,"");_gaq.push(["_setAccount","UA-8171568-1"],["_trackPageview",n])}var c=g.href.replace("http://","");var a=c.substring(c.indexOf("/"));var b=location.href;var l=b.replace("http://","");var k=l.substring(l.indexOf("/"));var h=new Image(1,1);h.src="log.gif?document="+a+"&referer="+k;h.onload=function(){Void()};return true}function mExtlink(c){if(c.hostname=="www.gloss-sealevel.org"){var b=c.href.replace(/http:\/\/www.gloss-sealevel.org/g,"");b=b.replace(/https:\/\/www.gloss-sealevel.org/g,"");_gaq.push(["_setAccount","UA-8171568-1"],["_trackPageview",b])}var h=c.href.replace("http://","");var a=h.substring(h.indexOf("/"));a=a.replace("/extlink/","");a=a.replace("%3A",":");var g=location.href;var n=g.replace("http://","");var l=n.substring(n.indexOf("/"));var k=new Image(1,1);k.src="log.gif?document="+a+"&referer="+l;k.onload=function(){Void()};return true}function Void(){return}d=document.links;f="file:";j="javascript:";m="mailto:";t="extlinks";p="ftp:";for(i=0;i<(d.length);i++){if(d[i].protocol!=f&&d[i].protocol!=j&&d[i].protocol!=m&&d[i].protocol!=p&&(/.pdf/.exec(d[i].href)||/.exe/.exec(d[i].href)||/.txt/.exec(d[i].href)||/.doc/.exec(d[i].href)||/.xls/.exec(d[i].href)||/.ppt/.exec(d[i].href)||/.xml/.exec(d[i].href)||/.zip/.exec(d[i].href))){d[i].target="_blank";d[i].onclick=function(){return mLog(this)}}if(d[i].protocol!=f&&d[i].protocol!=j&&d[i].protocol!=m&&d[i].hostname!=document.domain){d[i].onclick=function(){return mExtlink(this)};if(!(/addthis/.exec(d[i].hostname))){d[i].title="External link to "+d[i].href}d[i].onmouseover=mOver;d[i].onmouseout=mOut;d[i].href=fileLoc+escape(d[i].href);d[i].target="_blank"}}var nua=navigator.userAgent;if(!nua.indexOf("MSIE")){e=document.images;for(i=0;i<(e.length);i++){if(e[i].title==""){e[i].title=e[i].alt}}};

