var STORM={loaded:(function(){var load_events=[],load_timer,script,done,exec,old_onload;var init=function(){done=true;clearInterval(load_timer);while(exec=load_events.shift()){exec()}if(script){script.onreadystatechange=""}};return function(func){if(done){return func()}if(!load_events[0]){if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,false);
/*@cc_on @*/
/*@if (@_win32)
					document.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");
					script = document.getElementById("__ie_onload");
					script.onreadystatechange = function() {
						if (this.readyState == "complete")
							init(); // call the onload handler
					};
				/*@end @*/
}if(/WebKit/i.test(navigator.userAgent)){load_timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){init()}},10)}old_onload=window.onload;window.onload=function(){init();if(old_onload){old_onload()}}}load_events.push(func)}})(),external:function(){var d=document.getElementsByTagName("a");var b=d.length;for(var e=0;e<b;e++){if(d[e].getAttribute("rel")=="external"){d[e].onclick=function(){c(this.href,screen.availWidth,screen.availHeight,1);return false}}}var c=function(){var g=arguments[0];var f=arguments[1];var i=arguments[2];var a=arguments[3];x=screen.width/2-(f/2);y=screen.height/2-(i/2);window.open(g,"popup","location=yes, resizable=yes, width="+f+",height="+i+",scrollbars="+a+",left="+x+",top="+y)}},init:function(){STORM.external();STORM.rollover();STORM.fnHomeLatestNews();STORM.logos();STORM.insertBackButton()},$:function(a){return document.getElementById(a)},insertAfter:function(c,a){var b=a.parentNode;if(b.lastChild==a){b.appendChild(c)}else{b.insertBefore(c,a.nextSibling)}},insertBackButton:function(){if(!STORM.$("id-LastElement")){return false}var c=STORM.$("id-LastElement");var e=document.createElement("p");var b=document.createElement("a");var d=document.createTextNode("<< previous page");b.style.cursor="pointer";b.style.textDecoration="underline";b.onclick=function(){window.history.back()};b.onmouseover=function(){this.style.textDecoration="none";this.style.color="#004c1f"};b.onmouseout=function(){this.style.textDecoration="underline";this.style.color="#80c41c"};b.appendChild(d);e.appendChild(b);STORM.insertAfter(e,c)},rollover:function(){if(!STORM.$("id-Footer")){return false}var b=STORM.$("id-Footer");var c=b.getElementsByTagName("img");for(var d=0,a=c.length;d<a;d++){var e=c[d].src.substring(0,c[d].src.lastIndexOf("."));e+="_O.gif";c[d].moSrc=e;c[d].orgSrc=c[d].src;c[d].onmouseover=function(){this.src=this.moSrc};c[d].onmouseout=function(){this.src=this.orgSrc}}},logos:function(){if(!STORM.$("partners")){return false}var b=STORM.$("partners");var c=b.getElementsByTagName("img");for(var d=0,a=c.length;d<a;d++){var f=/LogoBoxEmpty/;if(f.test(c[d].src)){continue}var e=c[d].src.substring(0,c[d].src.lastIndexOf("."));e+="_O.gif";c[d].moSrc=e;c[d].orgSrc=c[d].src;c[d].onmouseover=function(){this.src=this.moSrc};c[d].onmouseout=function(){this.src=this.orgSrc}}},fnHomeLatestNews:function(){if(!STORM.$("id-HomeNews")){return false}var a=STORM.$("id-HomeNews").firstChild;if(!STORM.is_ignorable(a)){a.onclick=function(){document.location.href="/News.html"};a.style.cursor="pointer"}else{a.nextSibling.onclick=function(){document.location.href="/News.html"};a.nextSibling.style.cursor="pointer"}},is_ignorable:function(a){return(a.nodeType==3&&STORM.is_all_ws(a))},is_all_ws:function(a){return !(/[^\t\n\r ]/.test(a.data))}};STORM.loaded(STORM.init);