function externalLinks(){if(!document.getElementsByTagName){return;}
var anchors=document.getElementsByTagName("a");for(var i=0;i<anchors.length;i++){var anchor=anchors[i];if(anchor.getAttribute("href")&&anchor.getAttribute("rel")=="external"){anchor.target="_blank";}}}
window.onload=externalLinks;function domouse(where,which,what){var path="images/";var ext=".gif";var exts="_M.gif";var fname="";if(where==1){fname=path+what+exts;}else{fname=path+what+ext;}
document.images[which].src=fname;}
function popupwindow(theurl,thewidth,theheight,scroll){var winl=(screen.width-thewidth)/2;var wint=(screen.height-theheight)/2;winprops='height='+theheight+',width='+thewidth+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';win=window.open(theurl,"popup",winprops);if(parseInt(navigator.appVersion)>=4){win.window.focus();}}
function preload_image(thename){var path="images/";image1=new Image();image1.src=path+thename;}
function detectHTML5audio(){var audio=document.createElement("audio"),canPlayMP3=(typeof audio.canPlayType==="function"&&(audio.canPlayType("audio/mpeg")||audio.canPlayType('audio/ogg; codecs="vorbis"'))!=="");return canPlayMP3;}
function detectHTML5video(){var video=document.createElement("video"),canPlayMP4=(typeof video.canPlayType==="function"&&(video.canPlayType("video/mp4")||video.canPlayType("video/ogg"))!=="");return canPlayMP4;}
if(typeof jQuery=='undefined'){}else{$(document).ready(function(){$("a.atc").click(function(){_gaq.push(['_link',this.href]);return false;});});}
