/**
* Declaration variables
*/
var screenHeight = window.screen.availHeight;
var screenWidth = window.screen.availWidth;
var colorDepth = window.screen.colorDepth;
var timeNow = new Date();
var referrer = escape(document.referrer);
var windows, mac, linux;
var ie, op, moz, misc, browsercode, browsername, browserversion, operatingsys;
var dom, ienew, ie4, ie5, ie6, moz_rv, moz_rv_sub, ie5mac, ie5xwin, opnu, op4, op5, op6, op7, saf, konq;
var appName, appVersion, userAgent;
var appname = navigator.appName;
var appVersion = navigator.appVersion;
var userAgent = navigator.userAgent.toLowerCase();
var title = document.title;
var checktoggle = 1;
var DOM = "default";

windows = (appVersion.indexOf('Win') != -1);
mac = (appVersion.indexOf('Mac') != -1);
linux = (appVersion.indexOf('Linux') != -1);

/**
* DOM Compatible?
*/
if (!document.layers)
{
    dom = (document.getElementById ) ? document.getElementById : false;
} else {
    dom = false;
}

if (document.getElementById)
{
    DOM = "default";
} else if (document.layers) {
    DOM = "NS4";
} else if (document.all) {
    DOM = "IE4";
}

misc=(appVersion.substring(0,1) < 4);
op=(userAgent.indexOf('opera') != -1);
moz=(userAgent.indexOf('gecko') != -1);
ie=(document.all && !op);
saf=((userAgent.indexOf('safari') != -1) || (navigator.vendor == "Apple Computer, Inc."));
konq=(userAgent.indexOf('konqueror') != -1);

if (op) {
    op_pos = userAgent.indexOf('opera');
    opnu = userAgent.substr((op_pos+6),4);
    op5 = (opnu.substring(0,1) == 5);
    op6 = (opnu.substring(0,1) == 6);
    op7 = (opnu.substring(0,1) == 7);
} else if (moz){
    rv_pos = userAgent.indexOf('rv');
    moz_rv = userAgent.substr((rv_pos+3),3);
    moz_rv_sub = userAgent.substr((rv_pos+7),1);
    if (moz_rv_sub == ' ' || isNaN(moz_rv_sub)) {
        moz_rv_sub='';
    }
    moz_rv = moz_rv + moz_rv_sub;
} else if (ie){
    ie_pos = userAgent.indexOf('msie');
    ienu = userAgent.substr((ie_pos+5),3);
    ie4 = (!dom);
    ie5 = (ienu.substring(0,1) == 5);
    ie6 = (ienu.substring(0,1) == 6);
}

if (konq) {
    browsercode = "KO";
    browserversion = appVersion;
    browsername = "Knoqueror";
} else if (saf) {
    browsercode = "SF";
    browserversion = appVersion;
    browsername = "Safari";
} else if (op) {
    browsercode = "OP";
    if (op5) {
        browserversion = "5";
    } else if (op6) {
        browserversion = "6";
    } else if (op7) {
        browserversion = "7";
    } else {
        browserversion = appVersion;
    }
    browsername = "Opera";
} else if (moz) {
    browsercode = "MO";
    browserversion = appVersion;
    browsername = "Mozilla";
} else if (ie) {
    browsercode = "IE";
    if (ie4) {
        browserversion = "4";
    } else if (ie5) {
        browserversion = "5";
    } else if (ie6) {
        browserversion = "6";
    } else {
        browserversion = appVersion;
    }
    browsername = "Internet Explorer";
}

if (windows) {
    operatingsys = "Windows";
} else if (linux) {
    operatingsys = "Linux";
} else if (mac) {
    operatingsys = "Mac";
} else {
    operatingsys = "Unkown";
}

function doRand()
{
    var num;
    now=new Date();
    num=(now.getSeconds());
    num=num+1;
    return num;
}

function doConfirm(question,url) {
    var x = confirm(question);
    if (x) {
        window.location.href = url;
    }
}

function getCookie(name) {
    var crumb = document.cookie;
    var index = crumb.indexOf(name + "=");
    if (index == -1) return null;
    index = crumb.indexOf("=", index) + 1;
    var endstr = crumb.indexOf(";", index);
    if (endstr == -1) endstr = crumb.length;
    return unescape(crumb.substring(index, endstr));
}

function deleteCookie(name) {
    var expiry = new Date();
    document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" +  "; path=/";
}

function browserObject(objid)
{
    if (DOM == "default")
    {
        return document.getElementById(objid);
    } else if (DOM == "NS4") {
        return document.layers[objid];
    } else if (DOM == "IE4") {
        return document.all[objid];
    }
}

function switchDisplay(objid)
{
    result = browserObject(objid);
    if (!result)
    {
        alert("Invalid Display Object: "+objid+"\nPlease make sure that all correct display objects are on the page");
        return;
    }

    if (result.style.display == "none")
    {
        result.style.display = "";
    } else {
        result.style.display = "none";
    }
}

function addBookmark(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}

function popupInfoWindow(url) {
    screen_width = screen.width;
    screen_height = screen.height;
    widthm = (screen_width-400)/2;
    heightm = (screen_height-500)/2;
    window.open(url,"infowindow"+doRand(), "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500,left="+widthm+",top="+heightm);
}


/**
* ###############################################
* BEGIN SLIDES CODE
* ###############################################
*/

function movepic(){
if (curpos<0){
curpos=Math.min(curpos+degree,0)
tempobj.style.top=curpos+"px"
}
else{
clearInterval(dropslide)
nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1"
tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
nextimageindex=(nextimageindex<dropimages.length-1)? nextimageindex+1 : 0
setTimeout("rotateimage()",pause)
}
}

function rotateimage(){
if (ie4||dom){
resetit2(curcanvas)
var crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.style.zIndex++
var temp='setInterval("movepic()",50)'
dropslide=eval(temp)
curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0"
}
else
document.images.defaultslide.src=dropimages[curimageindex]
linkindex=curimageindex
curimageindex=(curimageindex<dropimages.length-1)? curimageindex+1 : 0
}

function rotatelink(){
window.location=droplinks[linkindex]
}

function resetit2(what){
curpos=parseInt(slideshow_height)*(-1);
var crossobj=ie4? eval("document.all."+what) : document.getElementById(what);
crossobj.style.top=curpos+"px";
}

function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
rotateimage()
}


//Drop-in slideshow II (hyperlinked)- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var slideshow_width='180px' //SET SLIDESHOW WIDTH (set to largest image's width if multiple dimensions exist)
var slideshow_height='45px' //SET SLIDESHOW HEIGHT (set to largest image's height if multiple dimensions exist)
var pause=3000 //SET PAUSE BETWEEN SLIDE (2000=2 seconds)


var dropimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
dropimages[0]="images/slides/hp.com.gif";
dropimages[1]="images/slides/fedex.gif";
dropimages[2]="images/slides/icann.gif";
dropimages[3]="images/slides/acer.com.au.gif";
dropimages[4]="images/slides/symantec.gif";
dropimages[5]="images/slides/usgs.gif";
dropimages[6]="images/slides/sun.microsystems.gif";
dropimages[7]="images/slides/companyslide3.gif";
dropimages[8]="images/slides/sega.gif";
dropimages[9]="images/slides/pipex.uk.gif";
dropimages[10]="images/slides/homeland.security.gov.gif";
dropimages[11]="images/slides/virgin.mobile.fr.gif";
dropimages[12]="images/slides/wbr.gif";
dropimages[13]="images/slides/dhl.gif";
dropimages[14]="images/slides/companyslide6.gif";
dropimages[15]="images/slides/princeton.university.gif";
dropimages[16]="images/slides/eidos.interactive.gif";
dropimages[17]="images/slides/univeristy.bristol.gif";
dropimages[18]="images/slides/companyslide2.gif";
dropimages[19]="images/slides/royal.bank.canada.gif";
dropimages[20]="images/slides/plusnet.uk.gif";
dropimages[21]="images/slides/companyslide4.gif";
dropimages[22]="images/slides/victoria.gov.au.gif";
dropimages[23]="images/slides/companyslide9.gif";
dropimages[24]="images/slides/virginia.gov.gif";
dropimages[25]="images/slides/ziff.davis.media.gif";
dropimages[26]="images/slides/companyslide1.gif";


var droplinks=new Array()
//SET IMAGE URLs. Use "" if you wish particular image to NOT be linked:
droplinks[0]="http://www.hp.com";
droplinks[1]="http://www.fedex.com";
droplinks[2]="http://www.icann.com";
droplinks[3]="http://acer.com.au";
droplinks[4]="http://www.symantec.com";
droplinks[5]="http://www.usgs.gov/";
droplinks[6]="http://www.sun.com";
droplinks[7]="http://www.skype.com";
droplinks[8]="http://www.sega.com";
droplinks[9]="http://www.pipex.com";
droplinks[10]="http://www.cbp.gov/";
droplinks[11]="http://virginmobile.fr";
droplinks[12]="http://www.wmg.com";
droplinks[13]="http://www.dhl.com";
droplinks[14]="http://www.icq.com";
droplinks[15]="http://www.princeton.edu";
droplinks[16]="http://www.eidosinteractive.com";
droplinks[17]="http://www.bris.ac.uk";
droplinks[18]="http://www.volvo.com";
droplinks[19]="http://www.rbccm.com";
droplinks[20]="http://www.plus.net";
droplinks[21]="http://www.navman.com";
droplinks[22]="http://vic.gov.au";
droplinks[23]="http://www.esa.int";
droplinks[24]="http://www.virginia.gov";
droplinks[25]="http://www.filefront.com";
droplinks[26]="http://www.modernbill.com";
////NO need to edit beyond here/////////////

var preloadedimages=new Array()
for (p=0;p<dropimages.length;p++){
preloadedimages[p]=new Image()
preloadedimages[p].src=dropimages[p]
}

var ie4=document.all
var dom=document.getElementById

var degree=10
var curcanvas="canvas0"
var curimageindex=0
var nextimageindex=1

/**
* ###############################################
* END SLIDES CODE
* ###############################################
*/


/**
* ###############################################
* BEGIN COOLMENUPRO CODE
* ###############################################
*/


// RESERVED KEY WORDS
var code="code";var url="url";var targ="target";var sub="sub";

function clearAllMenus(currentmenu) {
    var menulist = new Array('productsmenu', 'regions', 'clubs', 'commitees', 'developersmenu', 'partnersmenu', 'purchasemenu', 'supportmenu', 'companymenu');

    for (var ii=0; ii<menulist.length; ii++)
    {
        if (menulist[ii] != currentmenu)
        {
            eval(menulist[ii]+'.hide();');
            eval(menulist[ii]+'.cancelQueued();');
        }
    }
/*//    return;
    if (!window._CMenus)
    {
        return;
    }
    for (var i = 0;i<window._CMenus.length;i++)
    {
        var itemKey = window._CMenus[i];
        if ((window.CMenuClick == false || doignore == true) && window.CMenus[itemKey].isover == false)
        {
            window.CMenus[itemKey].cancelQueued();
            window.CMenus[itemKey]._setVisibility(false);
//          window.CMenus[itemKey].showLevel(null, 0);
        }
        alert(itemKey.name);
    }*/
}

// Title: COOLjsMenu
// URL: http://javascript.cooldev.com/scripts/coolmenu/
// Version: 2.4.3
// Last Modify: 9 May 2005
// Author: Alex Kunin <alx@cooldev.com>
// Notes: Registration needed to use this script on your web site.
// Copyright (c) 2001-2005 by CoolDev.Com
// Copyright (c) 2001-2005 by Sergey Nosenko

// Options: PROFESSIONAL, COMPRESSED, COMPATIBLE


function absX(o) {
    if (o == document.body) return 0;
    var x = o.offsetLeft;
    if (o.offsetParent && o.offsetParent != o)
        x += absX(o.offsetParent);
    return x;
}

function absX2(o, dotype) {
    if (o == document.body) return 0;

    var x = o.offsetLeft;
    if (dotype == 1)
    {
        x += o.offsetWidth;
    }

    if (o.offsetParent && o.offsetParent != o)
        x += absX2(o.offsetParent, 0);
    return x;
}

function absY(o) {
    if (o == document.body) return 0;
    var y = o.offsetTop;
    if (o.offsetParent && o.offsetParent != o)
        y += absY(o.offsetParent);
    return y;
}

function absY2(o, dotype) {
    if (o == document.body) return 0;
    var y = o.offsetTop;
    if (dotype == 1)
    {
        y += o.offsetHeight;
    }
    if (o.offsetParent && o.offsetParent != o)
        y += absY2(o.offsetParent, 0);
    return y;
}

function CustomPopupRef(menu, id, refobject) {
    var o1 = browserObject(id), o2 = browserObject(refobject);
    if (!o1 || !o2)
        return;

    var yCord = absY2(o2, 1);
    CMenuPopUpXY(menu, absX2(o1), yCord);
}

function _u(_2){return typeof(_2)=='undefined'};function _M(_2){return typeof(_2)=='number'};function _2n(_2){return typeof(_2)=='object'};_k=document;_1L=RegExp;_h=window;_k._2v=_k.getElementById;_2u=_k._2v?function(_H){return _k.getElementById(_H)}:function(_H){return _k.all[_H]};_2t={_f:1,_g:0,_d:3,_e:2};_2x={};for(var i in _2t)_2x[_2t[i]]=i;_1w=1;_23=2;_h.CMenus=_h.$CM=_h._B=[];_1={};_1._2d=navigator.appVersion;_1._1K=navigator.userAgent;_1._1y=_h.opera;_1._3x=_1._1K.match(/opera.[789]/i);_1._1j=_1._1y&&!_1._3x;_1._15=_k._2v;_1._2z=_1._2d.match(/MSIE 5.5/)&&_1._15&&!_1._1y;_1._3q=_1._2d.match(/MSIE 5/)&&_1._15&&!_1._2z&&!_1._1y;_1._2e=_1._2d.match(/MSIE 7/)&&_1._15&&!_1._1y;if (!_1._2e) {_1._2e=_1._2d.match(/MSIE 6/)&&_1._15&&!_1._1y;}_1._3A=_k.all&&!_1._15&&!_1._1y;_1._14=_1._3A||_1._3q||_1._2e;_1._1s=_1._1K.match(/Mac/);_1._3P=_1._1K.match(/hotjava/i);_1._E=_k.layers&&!_1._15&&!_1._3P;_1._1J=_1._1K.match(/gecko/i);_1._R=_1._14&&!_1._1s;_3O={zIndex:1000,pos:'relative',dynamic:false,delay:[0,800],popupoff:[0,0],blankImage:'img/b.gif'};_2y={main:false,image:null,color:'',cssStyle:'',cssClass:'',attributes:'',size:['+item','+item'],offset:[0,0],code:_1._1j?'&nbsp;':'',_f:0,_g:0,_d:0,_e:0,_n:true,align:'left',valign:'top',_1c:function(){with(this){_1c=_J;if(!main){_f=Number.NaN;_g=Number.NaN;_f=size[1](_3,this);_g=size[0](_3,this);if(isNaN(_f)||isNaN(_g)){_f=_._1V();_g=_._1U();_f=size[1](_3,this);_g=size[0](_3,this)};_._W(_f,_g)};_d=offset[1](_3,this)+((this._2H&&this._3._3S)||0);_e=offset[0](_3,this);_._T(_d,_e);_3._8._6._2E(this)}},_2D:function(){if(this._n!=this._3._2A(this.visibility))this._._q(this._n=!this._n);this._1c()},_3L:function(){if(this._n!=this._3._2A(this.visibility)){this._n=!this._n;var _L=(this._3._8._6._2p&&_1._14&&this[this._n?'fadeIn':'fadeOut'])||'';var _R=(_1._14&&!_1._1s&&this.filters)||'';if(_L||_R)this._._4.filter=_L+' '+_R;with(this._){if(_L)_.filters[0].apply();_q(this._n);if(_L)_.filters[0].play()}};this._1c()}};_3C={};function _1z(_O,_2B){for(var i in _2B)if(_u(_O[i]))_O[i]=_2B[i]};BLANK_IMAGE='img/b.gif';function COOLjsMenuPRO(_s,_j){_1z(_j[0],_3O);this._2o=_j[0].dynamic&&((_1._15&&!_1._1j&&!(_1._14&&_1._1s))||_1._E);this._2F=_j[0].autosize;this._2C=_1._14||_1._1J;this._1u={};_j[0].blankImage=BLANK_IMAGE;if(!_s){_s='menu_';do _s+=Math.round(Math.random()*10);while(!_u(_h._B[_s]))};_h._B[this._s=_s]=this;this._r='$CM.'+_s;this._1f=_j[0].popup;this._21=_j[0].frames;this._2G=this._21&&_j[0].frames[0]==_h.name;this._1a=!this._1f&&_j[0].pos=='relative'&&(!this._21||this._2G);this.$root=this._a={_5:this,_s:this._s,_r:this._r+'.$root',_8:null,_d:0,_e:0,_7:_j[0],frameoff:_j[0].pos?_j[0].pos:[0,0],_12:_J,_t:'R',_1e:true,_1N:-1,_1t:_j,_2w:function(){return[]},_Q:function(){return[]},_l:_1Q.prototype._l,_1Z:_1Q.prototype._1Z};if(this._21&&!this._2G){this._a._d=0;this._a._e=0}else if(!this._1a&&!this._1f){this._a._d=_j[0].pos[0];this._a._e=_j[0].pos[1]};this._30=this._3c=0;this._a.$level=this._a._6=new _1M(this,this._a);with(this._a){if(_M(_7.delay))_7.delay=[400,_7.delay];_7._3H=_7.delay[0];_7._1$=_7.delay[1]};this.items=this._j=[];this._3d='';this._1r=[];this._3e=null;this._1x=null;this._20=null;this._3g={name:'trigger',size:['+item','+item'],zIndex:1000,code:'{trigger}'};this._19(this._3g);if(_u(_h._16)){_h._16=_h.onload;_h.onload=function(){CLoadNotify();if(_h._16){var _o=_h._16;_h._16=null;return _o()}}};if(_1._1j)_w=_1G;else if(_1._E)_w=_1l;else{_w=_1o};_w._3b={}};$=COOLjsMenuPRO.prototype;$._l=function(_1A){return this._s+'_'+_1A};$.$ev=$._3_=function(_F,_t,_3$){var _b=true,_3=this._j[_t];if(_3){_b=this['$'+_F](_3);if(this[_F])this[_F](_3)};return _b};$._36=function(){return this._a._7.blankImage};$._16=function(){if(!this._1f){if(_1._E&&this._1a)with(_k.anchors[this._l('da')]){this._a._d=x;this._a._e=y};this._37()};this._16=_J};$.initTop=function(){this._1u._f=this._39();this._1u._g=this._3h();var w=0,h=0,i,s;if(!this._2C)for(i in this)if(i.match(/^\$(on.*)$/))this._3d+=_S(_1L.$1,'return '+this._r+'.$ev(\'' + _1L.$1 + '\', {index})');this._a._6._34();this.root=this._a;this.root.cd=this._a._6._9;if(this._a._7.placeholder)with(this._a._7){w=placeholder[1];h=placeholder[0]}else with(this._a._6){var x=0,y=0;for(i=0;i<_9.length;i++){if(i>0){x+=_9[i]._1I[1](_9[i]);y+=_9[i]._1I[0](_9[i])};w=Math.max(w,x+_9[i]._3m[1](_9[i]));h=Math.max(h,y+_9[i]._3m[0](_9[i]))}};this._1_=_M(w+h)&&w+h==w+h;if(!_1._E){s='<div id="'+this._l('r')+'" style="z-index:'+this._a._1t[0].zIndex+';position:';if(this._1a)s+='relative;'+(this._1_?'width:'+w+'px;height:'+h+'px;':'');else s+='absolute;left:'+this._a._d+'px;top:'+this._a._e+'px;';s+='">'+(this._2o?'':this._a._6._1C())+'</div>';_k.write(s);this._17=_w._P(this._l('r'))}else if(this._1a)_k.write('<div><a name="'+this._l('da')+'" href="#"><img src="'+this._36()+'"'+(this._1_?'width="'+w+'" height="'+h+'"':'width="1" height="1"')+' border="0" /></a></div>');if(_1._2e){this.$$$onclick=new Function('return '+this._r+".$$onclick(event)");this._3n=_k.body.onclick;_k.body.onclick=this.$$$onclick}else if(_1._15&&!_1._1s){this.$$$onclick=new Function('event','return '+this._r+".$$onclick(event)");_k.addEventListener('click',this.$$$onclick,true)}};$._3K=function(ev,offX,offY){var x=ev.pageX||ev.x;var y=ev.pageY||ev.y;if(_1._14&&_k.body&&_k.body.parentElement){x+=_k.body.parentElement.scrollLeft;y+=_k.body.parentElement.scrollTop};var _3l=this._a._7.popupoff;x+=_u(offX)?_3l[1]:offX;y+=_u(offY)?_3l[0]:offY;this._2I(x,y)};$._2I=function(_O,_R){this._Y(_O,_R);_h.setTimeout(this._r+'._37()',10);this._3j()};$._3J=function(){this._z(null,this._a._7._1$)};$._3G=function(_F){var _1D=_F.srcElement||_F.target;while(_1D){if(_1D==this._17._)return true;_1D=_1D.parentNode};return false};$.$$onclick=function(_F){if(!this._3G(_F)){this._1k();this._z(null);this._11(null)};if(this._3n)this._3n()};$._37=function(){this._z(this._a._6)};$.init=_J;$.show=$._37;$.hide=function(){this._z(null)};$.moveXY=function(_O,_R){this._Y(_O,_R)};$._Y=function(_O,_R){if(_1._E){this._30=_O;this._3c=_R;this._a._6._2m()}else this._17._T(_O,_R)};$._2l=function(_3F,_2J,_I){this._1r[this._1r.length]=_h.setTimeout(this._r+'.'+_3F+'('+(_2J?_2J._r:'null')+')',_I)};$.cancelQueued=$._1k=function(){for(var i in this._1r)_h.clearTimeout(this._1r[i]);this._1r=[]};$.setActiveItem=$._11=function(_3,_I){if(_I)this._2l('setActiveItem',_3,_I);else{if(this._1B)this._1B._3B();var _$=_2Q(this._3e,_3),i;for(i in _$[0])_$[0][i]._12(_1w);for(i in _$[1])_$[1][i]._12(_23);this._3e=_3;if(_3)this._3j();if(_3&&_3._c.hasControls){this._1B=_3;_3._3D()}else this._1B=null}};$.setSelectedItem=$._3E=function(_3,_I){if(_I)this._2l('setSelectedItem',_3,_I);else{var _3M=this._20;this._20=_3;(_3M||this._a)._12('',true);(_3||this._a)._12('',true)}};$.showLevel=$._z=function(_6,_I){if(_I)this._2l('showLevel',_6,_I);else{if(_6&&_6._3T)_6=_6._8._8._6;if(!_6&&!this._1f)_6=this._a._6;var _$=_2Q(this._1x,_6),i;_q(_$[0],false);_q(_$[1],true);this._1x=_6;this._3U()}};$._3j=function(){if(this._a._7.exclusive)for(i in _h._B)if(_h._B[i]!=this){_h._B[i]._z(null);_h._B[i]._11(null)}};$._3U=function(){if(_1._1J){if(this._1a){var o=this._17._.parentNode;if(o.tagName!='BODY'){o.style.width=this._17._.offsetWidth+'px';o.style.height=this._17._.offsetHeight+'px'}}}};$.$onfocus=function(_3){_3._2s();this._1k();this._z(_3._8._6);_3._1T(true);this._11(_3)};$.$_3Z=function(_3){this._1k();if(this._1B)return true;if(!_3._c.sticky)this._z(null);this._11(null);_3._1T(false)};$.$onmouseover=function(_3){_3._2s();this._1k();this._z(_3._6,this._a._7._3H);_3._1T(true);this._11(_3);return true};$.$onclick=function(_3){this._1k();this._3E(_3);if(_3._c.url){_h.open(_3._c.url,_3._c.target||'_'+'self');if(!_3._c.sticky)this._z(null)}else{this._z(_3._6._n?_3._6._8._8._6:_3._6)};return false};$.$onkeydown=function(_3){if(_1._14){var _V=null;switch(event.keyCode){case 38:_V=_3._3X()||_3._8._6._2N();break;case 40:_V=_3._3W()||_3._8._6._2r();break;case 27:case 37:if(_3._8!=this._a)_V=_3._8;else{_3._1R().blur();this._11(null)};break;case 39:if(_3._1e){this._z(_3._6);_V=_3._6._2r()};break;case 36:_V=_3._8._6._2r();break;case 35:_V=_3._8._6._2N();break};if(_V){_V._1R().focus();return false}};return true};$.$onmouseout=function(_3){this._1k();if(this._1B)return true;this._z(this._1f&&this._1x?this._a._6:null,this._a._7._1$);this._11(null,this._a._7._1$);_3._1T(false);return true};$.$resizeHandler=function(){this._1u._f=this._39();this._1u._g=this._3h();this._a._6._Y();return this._2L?this._2L():true};$._2M=function(){this._2L=window.onresize;window.onresize=new Function('return '+this._r+'.$resizeHandler()');this._2M=_J};$._39=function(){return document.body.clientWidth};$._3h=function(){return document.body.clientHeight};$._1d=function(_10,__){if(!_u(_10)&&typeof(_10[0])!='function'){_10[1]=this._2T(_10[1],__,1);_10[0]=this._2T(_10[0],__,0)};return _10};var _2q={};$._2T=function(_2,__,_2k){var _22=_2+'|'+__+'|'+_2k;if(!_u(_2q[_22]))return _2q[_22];var _p='return Math.round(';if(_M(_2))_p+=_2;else{_p='with(i)'+_p;var _3z=_2$(_2k),_3Y,_m;while(_m=_2.match(/^([-+\.\d+]*)\*?(\w+)/)){if(_m[1]=='')__=_m[2];else _p+=_K(_m[1])+(_m[2]=='px'?'':'*'+_m[2]+_3z);if(_m[2]=='body')this._2M();_2=_2.slice(_m[0].length)}};if(__){var _2h=_2$(_2k+2);_p+='+i.'+__+_2h;switch(__){case'item':case'previousItem':break;case'parentItem':_p+='+i.parentLevel'+_2h;default:_p+='-i.level'+_2h}};_p+='+0)';var _b=_2q[_22]=new Function('i,self',_p);return _b};$._19=function(_,_1Y){if(!_._27){_._27=true;if(!_.size&&(_.main||_.code))_.size=['+self','+self'];_1z(_,_2y);if(_1._R&&(_.fadeIn||_.fadeOut))_._2D=_._3L;with(_){if(image)code='<img src="'+image+'" width="'+size[1]+'" height="'+size[0]+'"'+(_1._E?'':' style="display:block"')+' />';else if(code&&code!='{trigger}')code='<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div'+_S('class',cssClass)+_S('style',cssStyle)+'>'+code+'</div></td></tr></table>';code='<div'+attributes+' id="" style="position:absolute;'+(_1._1j?'width:1px;':'')+(color?'background-color:'+color+';':'')+cssStyle+'"'+_S('class',cssClass)+'>'+code+'</div>'+"\n";if(_1._E)code=code.replace(/background([-\w]*:)/g,'layer-background$1');offset=_G(offset);size=_G(size);if(_M(offset[0]))offset[0]=_K(offset[0])+'px';if(_M(offset[1]))offset[1]=_K(offset[1])+'px';switch(_.align){case'center':offset[1]+='+0.5'+_1Y+'-0.5self';break;case'right':offset[1]+='+'+_1Y+'-self';break};switch(_.valign){case'middle':offset[0]+='+0.5'+_1Y+'-0.5self';break;case'bottom':offset[0]='+'+_1Y+'-self';break};if(!_u(_.margin)){var _d,_e,_1X,_1W;if(_M(_.margin))_d=_e=_1X=_1W=_.margin;else if(_.margin.length==2){_e=_1W=_.margin[0];_d=_1X=_.margin[1]}else{_e=_.margin[0];_1X=_.margin[1];_1W=_.margin[2];_d=_.margin[3]};if(_M(size[0]))size[0]=_K(size[0])+'px';if(_M(size[1]))size[1]=_K(size[1])+'px';if(!main){size[0]+=_K(-_e-_1W)+'px';size[1]+=_K(-_d-_1X)+'px'};offset[0]+=_K(_e)+'px';offset[1]+=_K(_d)+'px'};this._1d(size);this._1d(offset,'item')}};return _};$._3N=function(_4){if(!_4._27){var i,j;_4._27=true;_4.layers=[];_4._5=this;_4._1n=function(_){this._5._19(this.layers[this.layers.length]=_,'item')};var b=_4.border||0,_L=_4.transition||{};b=(b&&_4.borders)||[b,b,b,b];var _1v=_4._1v=b[0],_28=_4._28=b[1],_31=_4._31=b[2],_32=_4._32=b[3],_26=_4._26=_1v+_31,_25=_4._25=_28+_32;var _1E=0,_1S=0;if(_M(_4.shadow))_1E=_1S=_4.shadow;else if(_2n(this._7.shadow)){_1E=_4.shadow[0];_1S=_4.shadow[1]};if(!_4.color)_4.color={};if(!_4.css)_4.css={};if(_4.color.shadow&&(_1E||_1S))_4._1n({_1b:1,color:_4.color.shadow,offset:[_1S,_1E]});if(_4.color.border&&(_26||_25))_4._1n({_1b:1,color:_4.color.border});_={size:['+item-'+_25+'px','+item-'+_26+'px'],offset:[_28,_1v]};if(_4.color.bgON)_4._1n(_G(_,{_1b:1,color:_4.color.bgON,visibility:_L.fadeIn||_L.fadeOut?'':'n'}));if(_4.color.bgOVER)_4._1n(_G(_,{_1b:1,color:_4.color.bgOVER,visibility:'o',fadeIn:_L.fadeIn,fadeOut:_L.fadeOut}));if(this._2F)_.size=0;_4._1n(_G(_,{main:this._2F,code:'<div class="'+_4.css.ON+'">{code}</div>',visibility:'h',_2H:1}));_4._1n(_G(_,{code:'<div class="'+_4.css.OVER+'">{ocode}</div>',visibility:'H',_2H:1}));_1z(_4,_3C)};return _4};function _1M(_5,_8){this._5=_5;this._8=_8;this._1F=_8==_5._a;this._1P=!_5._1f&&this._1F;this._r=this._8._r+'.$level';this._2_={_f:0,_g:0};this._s=this._5._l('l'+this._8._t)};$=_1M.prototype;$._9=[];$._d=0;$._e=0;$._1m=false;$._2p=false;$._34=function(){if(!this._9.length){var i,_j=this._8._1t,_29=_j.length-1;if(_u(_j[_29]))_29--;this._9=_j.slice(1,_29+1);if(this._9.length==1&&this._9[0].array){var _13=this._9[0];this._9=[];for(i=0;i<_13.array.count;i++){this._9[i]=_G(_13);this._9[i].array.prepare(this._9[i],i)}};with(this)for(i in _9)_9[i]=new _1Q(_5,_8,_9[i],parseInt(i),_5._j.length)}};$._l=function(_1A){return this._s+'_'+_1A};$._2r=function(){return this._9[0]};$._2N=function(){return this._9[this._9.length-1]};$._1H=function(){return!this._1P&&(_1._2z||_1._2e)&&!this._2V(true)&&!this._2a(true)&&!this._2a(false)};$._2m=function(){if(this._A){this._A._T(this._5._30,this._5._3c);for(var i in this._9)this._9[i]._6._2m()}};$._Y=function(){this._2f();for(var i in this._9)this._9[i]._Y();this._2W()};$._1C=function(){this._34();var i,_b='<div id="'+this._l('l')+'" style="position:absolute;visibility:hidden;">';for(i in this._9)_b+=this._9[i]._2X;_b+='</div>';if(!this._5._2o){_b='<div id="'+this._l('d')+'" style="position:absolute;visibility:hidden;left:0;top:0;width:1px;height:1px;">'+_b+'</div>';for(i in this._9)_b+=this._9[i]._6._1C()};if(this._1H())_b='<iframe tabindex="-1" frameborder="0" id="'+this._l('f')+'" src="'+(location.protocol=='https:'?this._5._a._7.https_fix_blank_doc:'')+'" scroll="none" style="filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);visibility:hidden;height:1px;position:absolute;width:1px;"></iframe>'+_b;return _b};$._Q=function(){with(this._8)return _8?_8._6._Q().concat([this]):[this]};$._2E=function(_O){this._C=Math.min(this._C,_O._d);this._D=Math.min(this._D,_O._e);this._1p=Math.max(this._1p,_O._d+_O._f);this._1q=Math.max(this._1q,_O._e+_O._g)};$._2f=function(){this._C=this._D=65535;this._1p=this._1q=-65535};$._2V=function(){return _1._R?this._9[0]._7.filters||'':''};$._2a=function(_3Q){return!this._1P&&_1._R?this._9[0]._7[_3Q?'fadeIn':'fadeOut']||'':''};$._2W=function(){if(!this._1F){this._d+=this._9[0]._2R[1](this._9[0]);this._e+=this._9[0]._2R[0](this._9[0])}else if(_1._E){this._d=this._5._a._d;this._e=this._5._a._e};this._._T(-this._C,-this._D);this._A._T(this._d+this._C,this._e+this._D);this._._W(this._1p-this._C,this._1q-this._D);this._A._W(this._1p-this._C,this._1q-this._D);if(_1._E){with(this._A._.clip){left=this._C;top=this._D};with(this._._.clip){left=this._C;top=this._D}};if(!_1._E&&!_1._1j&&this._1P&&this._5._1a&&!this._5._1_)this._5._17._W(this._f,this._g);if(this._1H())this._2g._q(this._n);else if(this._1P){var i,_18=this._5._a._7.forms_to_hide;if(_18)for(i in _18)_w._P(_18[i])._q(!this._5._1x||this._5._1x==this._5._a._6)}};$._q=function(_2){if(this._n!=_2){this._2p=false;var i;this._n=_2;this._8._12('',true);if(!this._2Y){this._2Y=true;if(this._5._2o)this._A=_w._2Z(this._1C(),this._5._17||1);else this._A=_w._P(this._l('d'));if(this._1H())this._2g=_w._P(this._l('f'));this._=_w._P(this._l('l'));this._2f();for(i in this._9)this._9[i]._3w();for(i in this._9)this._9[i]._2U();this._f=this._1p-this._C;this._g=this._1q-this._D;this._2f()};var _R='';if(_1._R){_R=this._2a(_2)+' '+this._2V();var _1m=_R!=' ';if(_1m!=this._1m){this._A._4.filter=_R;this._1m=_1m};if(_1m)for(i=0;i<this._A._.filters.length;i++)this._A._.filters[i].apply()};_q(this._9,_2);this._2W();if(this._1H()){this._2g._T(this._d+this._C,this._e+this._D);this._2g._W(this._1p-this._C,this._1q-this._D)};this._A._q(_2);this._._q(_2);if(_R)for(var i=0;i<this._A._.filters.length;i++)this._A._.filters[i].play()};this._2p=_2};function _1Q(_5,_8,_c,_X,_t){_5._j[_t]=this;this.index=_t;if(_u(_c.ocode))_c.ocode=_c.code;_c.index=_t;_c.$0=null;var _4=this._4=(_c.format||{}).style||_8._1t[0].style||_8._7.style;this._1N=_8._1N+1;if(_2n(_4)&&_4.length)_4=_4[this._1N]||_4[0];this._7=_G(_8._7,_4==_8._4?{}:_5._3N(_4),_8._1t[0],_c.format||{});_1z(this,{_5:_5,_t:_t,_8:_8,_X:_X,_s:_5._l('i'+_t),_d:0,_e:0,_f:0,_g:0,_r:_5._r+'.items['+_t+']',_N:{},_n:false,_Z:_1w,_i:[],_2X:'',_2K:_8._6._9[_X-1],_1F:_8==_5._a,_3u:_X==0,_3v:_X==_8._6._9.length-1,_c:_G(_c,this._7.parameters),_1t:_c.sub,_1e:_c.sub&&_c.sub.length>1,_3m:_5._1d(this._7.size),_2R:_5._1d(this._7.leveloff,'parentItem'),_1I:_5._1d(this._7.itemoff,'previousItem'),_2O:_5._1d(this._7.wrapoff,'previousItem')});this.$level=this._6=this._1e?new _1M(_5,this):{_3T:true,_8:this,_r:this._r+'.$level',_Q:_1M.prototype._Q,_1C:_J,_2m:_J,_Y:_J};this._c.trigger='<a'+_S('class',this._7.trigger)+_S('accesskey',this._c.key)+' href="'+(this._c.url||'#')+'" '+_S('target',this._c.target)+this._5._3d+'>'+(_1._1j?'':'<img src="'+this._5._36()+'" width="100%" height="100%"'+_S('alt',this._c[this._7.alt||'alt'])+' border="0" />')+'</a>';_1z(this,{main:this._N,maxMain:_8._6._2_,item:this,previousItem:this._2K,level:_8._6,parentItem:_8,body:this._5._1u,parentLevel:this._1F?null:_8._8._6});var _2b=[],_2c=[];if(this._7.imgsize&&this._7.image){this._3S=this._7.imgsize[1];_2b[0]=_5._19({_1b:1,image:this._7.image,size:this._7.imgsize,offset:[0,this._7._1v],valign:'middle',visibility:'n'},'item');_2b[1]=_5._19({_1b:1,image:this._7.oimage||this._7.image,size:this._7.imgsize,offset:[0,this._7._1v],valign:'middle',visibility:'o'},'item')};if(this._7.arrsize&&this._7.arrow){_2c[0]=_5._19({image:this._7.arrow,size:this._7.arrsize,align:'right',valign:'middle',visibility:'nc'},'item');_2c[1]=_5._19({image:this._7.oarrow||this._7.arrow,size:this._7.arrsize,align:'right',valign:'middle',visibility:'oc'},'item')};with(this)_1i(_7.levelLayers),_1i(_7.itemLayers),_1i(_7.layers),_1i(_2b),_1i(_2c),_1i([_5._3g])};$=_1Q.prototype;$._3X=function(){return this._8._6._9[this._X-1]||null};$._3W=function(){return this._8._6._9[this._X+1]||null};$._1Z=function(_1O){if(this!=this._5._a){with(this._1R()){tabIndex=_1O++}};if(this._6._n)for(var i in this._6._9)_1O=this._6._9[i]._1Z(_1O);return _1O};$._1R=function(){return this._i[this._i.length-1]._._.childNodes[0]};$._2s=function(_2S){if(this._5._2C&&!this._3y){for(i in _2S?{$onmouseover:1,$onfocus:1}:this._5)if(i.match(/^\$(on.*)$/))this._1R()[_1L.$1]=new Function('return '+this._5._r+'.$ev(\'' + _1L.$1 + '\', '+this._t+')');this._3y=!_2S}};$._l=function(_1A){return this._s+'_'+_1A};$.getData=function(){return this._c};$._1T=function(_3s){var _33=this._c[this._7.status||'status'];if(_33)_h.status=_3s?_33:_h.defaultStatus};$._Q=function(){return this._8._Q().concat([this])};$._2w=function(){return this._8._2w().concat([this._X])};$._1i=function(_18){for(var i in _18||[]){var _13=_18[i];if(this._3t(_13.visibility)){var i,_p=_13.code,_m;if(!_13._1b){while(_m=_p.match(/\{([\w\d]+)=([^}]*)\}/))_p=_p.replace(new _1L(_m[0],'g'),_u(this._c[_m[1]])?_m[2]:this._c[_m[1]]);while(_m=_p.match(/\{([\w\d]+)\}/)){if(_u(this._c[_m[1]]))break;_p=_p.replace(new _1L(_m[0],'g'),this._c[_m[1]])}};i=this._i.length;this._i[i]=_G(_13);this._2X+=_p.replace('id=""','id="'+this._l(i)+'"')}}};$._3w=function(){var i,_24,_1h;for(i in this._i){with(this._i[i]._=_w._P(this._l(i)))if(this._i[i].main){if(!_u(_24))this._i[_24].main=false;_1h={_f:Number.NaN,_g:Number.NaN};this._i[i]._f=this._N._f=this._i[i].size[1](this,_1h);this._i[i]._g=this._N._g=this._i[i].size[0](this,_1h);if(isNaN(this._N._f)||isNaN(this._N._g)){_1h={_f:_1V(),_g:_1U()};this._i[i]._f=this._N._f=this._i[i].size[1](this,_1h);this._i[i]._g=this._N._g=this._i[i].size[0](this,_1h)};with(this._8._6._2_){_f=Math.max(_f,this._N._f);_g=Math.max(_g,this._N._g)};_24=i};this._i[i]._3=this};this._2s(true)};$._2U=function(){with(this){_f=_7.size[1](this);_g=_7.size[0](this);if(_2K){if(_c.wrapPoint){_d=_2O[1](this);_e=_2O[0](this)}else{_d=_1I[1](this);_e=_1I[0](this)}};_8._6._2E(this)}};$._q=function(_2){this._n=_2;this._12(this._Z,true)};$._3t=function(_U){if(_U){var j,_2,_v=false;for(j=0;j<_U.length;j++){_2=null;switch(_U.charAt(j)){case'!':_v=!_v;break;case'G':_2=!!_1._1J;break;case'c':_2=!!this._1e;break;case'C':_2=_v!=!!this._1e;break;case'H':_2=!this._c.hasControls&&!_v;break;case'h':case's':case'n':case'N':case'o':case'O':_2=!_v;break;case'f':_2=this._3u;break;case'l':_2=this._3v;break;default:_2=_U.charAt(j)==this._1N;break};if(_2!==null)if(_2==_v)return false;else _v=false}};return true};$._2A=function(_U){if(!this._n)return false;if(_U){var j,_2,_v=false;for(j=0;j<_U.length;j++){_2=null;switch(_U.charAt(j)){case'!':_v=!_v;break;case'G':_2=!!_1._1J;break;case'C':_2=!!(this._1e&&this._6._n);break;case's':_2=this._5._20==this;break;case'h':_2=this._c.hasControls?!_v:this._Z==_1w;break;case'n':_2=this._Z==_1w;break;case'N':_2=this._8._Z==_1w;break;case'H':case'o':_2=this._Z==_23;break;case'O':_2=this._8._Z==_23;break;default:_2=!_v;break};if(_2!==null)if(_2==_v)return false;else _v=false}};return true};$._12=function(_2,_3p){with(this)if(_2!=_Z||_3p){if(_2)_Z=_2;for(var i in _i)_i[i]._2D()}};$._Y=function(){this._2U();for(var i in this._i){this._i[i]._1c=_2y._1c;this._i[i]._1c()};if(this._6._2Y)this._6._Y()};$._3B=function(){this._i[this._i.length-1]._._q(true)};$._3D=function(){this._i[this._i.length-1]._._q(false)};_w=_J;function _2P(_1g){for(var i in _1g){_w._3b[_1g[i].id]=_1g[i];if(_1g[i].layers&&_1g[i].layers.length)_2P(_1g[i].layers)}};function _1o(){};$=_1o.prototype;_1o._P=function(_H){var _b=new _1o;_b._=_2u(_H);_b._38();return _b};_1o._2Z=function(_3o,_8){_b=new _1o;_b._=_k.createElement('div');with(_b._.style){position='absolute';left=top=-1000;visibility='hidden'};_b._.innerHTML=_3o;_8._.appendChild(_b._);_b._38();return _b};$._38=function(){this._4=this._.style;this._3k=_1._1s?this._:this._.childNodes[0]};$._q=function(_2){this._4.visibility=_2?'inherit':'hidden'};$._1V=function(){return this._3k.offsetWidth};$._1U=function(){return this._3k.offsetHeight};$._T=function(_d,_e){with(this._4){left=_d+'px';top=_e+'px'}};$._W=function(_f,_g){with(this._4){width=_f+'px';height=_g+'px'}};function _1G(){};$=_1G.prototype;_1G._P=function(_H){var _b=new _1G;_b._=_2u(_H);_b._4=_b._.style;return _b};$._q=function(_2){this._4.visibility=_2?'visible':'hidden'};$._1V=function(){return this._4.pixelWidth};$._1U=function(){return this._4.pixelHeight};$._T=function(_d,_e){with(this._4){left=_d;top=_e}};$._W=function(_f,_g){with(this._4){width=_f;height=_g}};function _1l(){};$=_1l.prototype;_1l._P=function(_H){var _b=new _1l;_b._=_w._3b[_H];return _b};_1l._2Z=function(_3o){var _b=new _1l;_W._=new Layer(1000);with(_b._){visibility='hide';document.open('text/html');document.write(_H);document.close();_2P(layers)};return _b};$._q=function(_2){this._.visibility=_2?'inherit':'hide'};$._1V=function(){return this._.clip.width};$._1U=function(){return this._.clip.height};$._T=function(_d,_e){this._.moveTo(_d,_e)};$._W=function(_f,_g){this._.resize(_f,_g)};function _J(){return''};function _S(_s,_2){return _2?' '+_s+'="'+_2+'"':''};function _G(_O){if(!_u(_O.length)&&_O.concat)return([]).concat(_O);var i,j,_b={};for(j=0;j<arguments.length;j++)if(_2n(arguments[j]))for(i in arguments[j])_b[i]=arguments[j][i];return _b};function _2$(_t){return'.'+_2x[_t]};function _K(_2){switch(_2){case'':_2='+';case'-':case'+':return _2+1;default:return(_2>=0?'+':'')+parseFloat(_2)}};function _2Q(_3i,_35){var _2i=_3i?_3i._Q():[],_2j=_35?_35._Q():[],i=0;while(i<_2i.length&&i<_2j.length&&_2i[i]==_2j[i])i++;return[_2i.slice(i),_2j.slice(i)]};function _q(_3f,_2){for(var i in _3f)_3f[i]._q(_2)};function CMenuPopUp(_5,_3r,_3R,_3V){_h._B[_5]._3K(_3r,_3R,_3V)};function CMenuPopUpXY(_5,_O,_R){_h._B[_5]._2I(_O,_R)};function CMenuPopDown(_5){_h._B[_5]._3J()};function mEvent(_3I,_3a,_F){with(_B[_3I])switch(_F){case'o':$onmouseover(_j[_3a]);break;case't':$onmouseout(_j[_3a]);break}};function CLoadNotify(){for(var i in _h._B)_h._B[i]._16()}

var BLANK_IMAGE="../images/space.gif";