var jsVer=3.1;function addEvent(e,d,b,a){if(e.addEventListener){e.addEventListener(d,b,a);
return true}else{if(e.attachEvent){var c=e.attachEvent("on"+d,b);
return c}else{e["on"+d]=b}}}var VERSION=document.title.replace(/.*[-] {0,3}v(.*)$/,"$1");
var titleHeader=document.title.replace(/(.*)[-] {0,3}v.*$/,"$1");
document.title=titleHeader;$(document).ready(function(){if(!$.browser.msie){$("div#content p a").not("[title*=e-mail software]").add("div.newsList div.theContent div a").append('&nbsp;<img src="/images/external.gif" style="color: transparent;" />')
}$("body").css({"border-left":".5em solid #090","border-right":".5em solid #090"});
if($.browser.msie){$("div#container").css("width",964);$("div#content p a").not("[title*=e-mail software]").add("div.newsList div.theContent div a").after('&nbsp;<img src="/images/external.gif" style="color: transparent;" alt="link gif" />')
}$("table tbody tr:odd").addClass("odd");$("table tbody tr").mouseover(function(){$(this).addClass("highlight")
}).mouseout(function(){$(this).removeClass("highlight")});$("div.newsList div.theContent x").css({"background-color":"ivory","border-bottom":".3em tan dotted"});
$("a.emailComment").attr("src",function(){return this.href}).attr("href","/tornados/critique.php").attr("title","go to email comment form")
});function eventWindow(a){event_popupWin=window.open(a,"event","resizable=yes,scrollbars=yes,toolbar=no,width=600,height=800");
event_popupWin.opener=self}function popUp(a){event_popupWin=window.open(a,"event","resizable=yes,scrollbars=yes,toolbar=no,height=600,location=no,left=10,top=10");
event_popupWin.opener=self}function addDocumentation(){var b=document;
if(!b.getElementById){return false}if(b.getElementById("docInfo")){var a=b.createTextNode(VERSION);
b.getElementById("docInfo").setAttribute("title",location.pathname+", "+VERSION+", "+b.lastModified+", "+jsVer);
b.getElementById("docInfo").appendChild(a);return true}return false
}addEvent(window,"load",addDocumentation,false);var oTitles={};var baseADDR="/tornados/";
var oHREFS={};function highlightPage(){var h=document;if(!h.getElementsByTagName){return false
}if(!h.getElementById){return false}if(!h.getElementById("navMenuMain")){return false
}var c;var f=new Array();var a=h.getElementById("navMenuMain");if(h.referrer&&!(document.referrer).match("iframe")){_appendReturn(a)
}_addTitle(a);var l=a.getElementsByTagName("a");var g=window.location.href;
for(var e=0;e<l.length;e++){var b=l[e].getAttribute("href");var j=b.replace(/.*(\/tornados\/.*)$/,"$1");
f.push(j,l[e].childNodes[0].nodeValue);if(b.indexOf("document.referrer")!=-1){c=l[e]
}if(g.indexOf(b)!=-1){l[e].className="here";var k;if(l[e].lastChild&&l[e].lastChild.nodeValue){k=l[e].lastChild.nodeValue.toLowerCase()
}h.body.setAttribute("id",k)}}if(c){_getReturnTitle(c,f)}}function _getReturnTitle(f,a){var d=document.referrer.replace(/.*(\/tornados\/.*)$/,"$1");
var c;for(var b=0;b<a.length;b++){if(a[b]==d){c=a[b+1];break}}var e=" Return to:  ";
if(c){e+=c}else{e+=d}f.parentNode.setAttribute("title",e);return true
}function _appendReturn(b){var a=document.createElement("li");a.innerHTML="<a href='javascript:location=document.referrer'>Return</a>";
b.appendChild(a)}function _addTitle(d){var a=d.getElementsByTagName("li");
for(var c=0;c<a.length;c++){var b=a[c].getElementsByTagName("a")[0].innerHTML;
if(oTitles[b]){a[c].setAttribute("title",oTitles[b])}}return true
}addEvent(window,"load",highlightPage,false);var _tabIDs=new Array(),tabNavs;
function _tabsInit(){var e=document;if(!e.getElementsByTagName){return false
}if(!e.getElementById){return false}if(!e.getElementById("tabsGuide")&&!e.getElementById("tabsGuide2")){return false
}var c=e.getElementById("tabsGuide")?e.getElementById("tabsGuide"):e.getElementById("tabsGuide2");
tabNavs=c.getElementsByTagName("a");for(var a=0;a<tabNavs.length;
a++){var b=tabNavs[a].getAttribute("href").replace(/.*#(y.*)$/,"$1");
if(e.getElementById(b)){_tabIDs.push(b);tabNavs[a].onmouseover=function(){_tabSet(this)
}}else{continue}if(e.getElementById(b+"_nav")){e.getElementById(b+"_nav").style.display="none"
}}_tabSet(tabNavs[0])}function _tabSet(c){var e=document;var a=e.getElementById(c.href.replace(/.*#(y.*)$/,"$1"));
for(var b=0;b<_tabIDs.length;b++){e.getElementById(_tabIDs[b]).style.display="none"
}a.style.display="block";for(var b=0;b<tabNavs.length;b++){tabNavs[b].className=""
}c.className="thClass"}addEvent(window,"load",_tabsInit,false);var util;
if(!util){util={}}else{if(typeof util!=="object"){throw new Error("util variable exists, and is not an object")
}}if(!util.menu){util.menu={}}else{if(typeof util.menu!=="object"){throw new Error("util.menu variable exists, and is not an object")
}}util={ver:1.01,popUp:function(a){event_popupWin=window.open(a,"event","resizable=yes,scrollbars=yes,toolbar=no,height=800,location=no,left=10,top=10");
return}};util.menu={jq:$(document).ready(function(){util.menu.initFields();
$(window).scroll(util.menu.menuPosition).load(util.menu.menuPosition).resize(util.menu.menuPosition)
}),ver:1.01,ctr:-1,logoSw:0,menuTimer:0,newPos:0,vScroll:0,innerHeight:0,minPos:0,maxPos:0,menuHeight:0,getData:function(){var f,e,a,b=util.menu,d=" ",c=": ";
for(f in b){if(typeof b[f]==="function"||typeof b[f]==="object"){}else{e+=d+f+c+b[f]+d
}}return e},initFields:function(){this.ctr+=1;this.maxPos=$("div#footer2").attr("offsetTop");
this.minPos=$("div#mast1").attr("offsetTop")+$("div#mast1").outerHeight();
this.vScroll=(window.pageYOffset)?window.pageYOffset:document.documentElement.scrollTop;
this.vScroll=this.getVerticalScroll();this.innerHeight=(!$.browser.msie?window.innerHeight:$("html").innerHeight());
this.menuHeight=$("div#nav").attr("offsetHeight")},updteFields:function(){this.maxPos=$("div#footer2").attr("offsetTop");
this.logoSw=$("div#nav div.tornadoLogo").css("display")==="block";
this.menuHeight=$("div#nav").attr("offsetHeight");this.minPos=$("div#mast1").attr("offsetTop")+$("div#mast1").outerHeight()+5;
this.vScroll=this.getVerticalScroll()},getVerticalScroll:function(){if(window.innerWidth){return window.pageYOffset
}else{if(document.documentElement&&document.documentElement.clientWidth){return document.documentElement.scrollTop
}else{if(document.body.clientWidth){return document.body.scrolltop
}else{return 0}}}},setStatus:function(){window.status=util.menu.getData();
return true},menuPosition:function(b){var a=util.menu;a.ctr++;if(a.menuTimer!==0){window.clearTimeout(a.menuTimer)
}a.calcPosition();if(!$.browser.msie){$("div#nav").fadeTo(100,0)}else{$("div#nav").css("visibility","hidden")
}a.menuTimer=window.setTimeout(a.moveMenu,400);return false},calcPosition:function(){this.updteFields();
this.newPos=$("div#nav").offset().top;if(this.menuHeight>this.innerHeight||this.menuHeight+this.vScroll>this.maxPos){$("div#nav div.tornadoLogo").hide()
}if(this.menuHeight+150<this.innerHeight){$("div#nav div.tornadoLogo").show()
}if(this.vScroll<this.minPos){this.newPos=4}else{this.newPos=4+this.vScroll-this.minPos
}},moveMenu:function(){var a=util.menu;$("div#nav").css("top",a.newPos);
if(!$.browser.msie){$("div#nav").fadeTo(1000,1)}else{$("div#nav").css("visibility","visible")
}}};