/**
* External URLs in New Window
* (c) 2008-2009 Theo Niessink
* http://www.taletn.com/
*/
var exturl_version=0.000008;function exturl_compare(a,b){if(b.length<=a.length&&a.substring(0,b.length)==b){if(a.length>b.length){var c=a.charAt(b.length);if(c=="/"||c=="?"||c=="#"){return true}}else{return true}}return false}var exturl_a=null;var exturl_base="",exturl_base_with_port="";function exturl_open(a,b){if(!a||!window.exturl_path){return true}if(!b){b=a.href;if(!b){return true}}var c=window.location.port;if(!c||c==80){if(!exturl_base){exturl_base=window.location.protocol+"//"+window.location.hostname+exturl_path}if(exturl_compare(b,exturl_base)){return true}c=80}if(!exturl_base_with_port){exturl_base_with_port=window.location.protocol+"//"+window.location.hostname+":"+c+exturl_path}if(exturl_compare(b,exturl_base_with_port)){return true}if(exturl_a==null){try{exturl_a=document.createElement("a");exturl_a.style.display="none";exturl_a.target="_blank";document.body.appendChild(exturl_a)}catch(err){exturl_a=false}}if(exturl_a&&typeof(exturl_a.click)!="undefined"){exturl_a.href=a.href;exturl_a.click()}else{window.open(a.href)}return false}function exturl_click(b){if(!b){b=window.event;if(!b){return true}}if(b.which&&b.which!=1){return true}if(typeof(b.button)!="undefined"&&b.button!=0){return true}var a=b.target;if(!a){a=b.srcElement;if(!a){return true}}var c=a.onclick?true:false;if(a.tagName!="A"){if(typeof(a.parentNode)!="undefined"){while(true){a=a.parentNode;if(!a){return true}if(a.onclick){c=true}if(a.tagName=="A"){break}if(a.tagName=="DIV"||a.tagName=="TD"||a.tagName=="TH"||a.tagName=="P"){return true}}}else if(typeof(a.parentElement)!="undefined"){while(true){a=a.parentElement;if(!a){return true}if(a.onclick){c=true}if(a.tagName=="A"){break}if(a.tagName=="DIV"||a.tagName=="TD"||a.tagName=="TH"||a.tagName=="P"){return true}}}}if(!a.href||(a.target&&a.target!="_self")||a.href.toLowerCase().indexOf("javascript:")==0){return true}if(!c){if(exturl_open(a)){return true}}if(typeof(b.stopPropagation)!="undefined"){b.stopPropagation()}if(typeof(b.cancelBubble)!="undefined"){b.cancelBubble=true}if(typeof(b.preventDefault)!="undefined"){b.preventDefault()}if(typeof(b.returnValue)!="undefined"){b.returnValue=false}return false}function exturl_load(b){var a=null;if(typeof(document.body.getElementsByTagName)!="undefined"){a=document.body.getElementsByTagName("A")}else if(document.all&&typeof(document.all.tags)!="undefined"){a=document.all.tags("A")}if(!a){return true}if(typeof(document.removeEventListener)!="undefined"){document.removeEventListener("click",exturl_click,false);for(var n=0;n<a.length;n++){if(a[n]&&a[n].href&&!a[n].onclick){a[n].addEventListener("click",exturl_click,false)}}}else if(typeof(document.detachEvent)!="undefined"){document.detachEvent("onclick",exturl_click);for(var n=0;n<a.length;n++){if(a[n]&&a[n].href&&!a[n].onclick){a[n].attachEvent("onclick",exturl_click)}}}return true}if(typeof(document.addEventListener)!="undefined"){document.addEventListener("click",exturl_click,false);if(!window.onload_functions){window.addEventListener("load",exturl_load,false)}}else if(typeof(document.attachEvent)!="undefined"){document.attachEvent("onclick",exturl_click);if(!window.onload_functions){window.attachEvent("onload",exturl_load)}}if(window.onload_functions){onload_functions[onload_functions.length]="exturl_load();"}
