function addEvent(obj,type,fn){if(obj.addEventListener)
obj.addEventListener(type,fn,false);else if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event);}
obj.attachEvent("on"+type,obj[type+fn]);}}
function right(str,n){if(n<=0)
return"";else if(n>String(str).length)
return str;else{var iLen=String(str).length;return String(str).substring(iLen,iLen-n);}}
function NA_ieChildren(id,tag){if(document.getElementById(id)){var els=document.getElementById(id).getElementsByTagName(tag);for(var i=els.length-1;i>=0;i--){els[i].firstChild.className+=" first-child";els[i].lastChild.className+=" last-child";}}}
function NA_ieChildren_init(){NA_ieChildren("nav-main","UL");NA_ieChildren("content-subsidiaries","UL");NA_ieChildren("siteinfo-legal","UL");NA_ieChildren("content","TR");}
addEvent(window,"load",NA_ieChildren_init);var nav_on="";var timiton="";var timitof="";function ohh(id){try{clearTimeout(timitof);if(document.getElementById("nav-main-li-"+nav_on)){document.getElementById("nav-main-li-"+nav_on).className="";document.getElementById("nav-main-img-"+nav_on).src=document.getElementById("nav-main-img-"+nav_on).src.replace("-on","-off").replace(".gif",".jpg");}
if(document.getElementById("nav-main-li-"+id)){document.getElementById("nav-main-li-"+id).className="hover";document.getElementById("nav-main-img-"+id).src=document.getElementById("nav-main-img-"+id).src.replace("-off","-on").replace(".jpg",".gif");}
nav_on=id;}catch(ex){}}
function ahh(id){try{nav_on=nav_onOriginal;for(i=0;i<4;i++){document.getElementById("nav-main-li-"+i).className="";document.getElementById("nav-main-img-"+i).src=document.getElementById("nav-main-img-"+i).src.replace("-on","-off").replace(".gif",".jpg");}
if(document.getElementById("nav-main-li-"+nav_on)){document.getElementById("nav-main-li-"+nav_on).className="hover";document.getElementById("nav-main-img-"+nav_on).src=document.getElementById("nav-main-img-"+nav_on).src.replace("-off","-on").replace(".jpg",".gif");}}catch(ex){}}
function NA_navMain(){if((window.opera&&Math.round(navigator.appVersion.substring(0,1))>7)||!window.opera){if(document.getElementById("nav-main")){var els=document.getElementById("nav-main").getElementsByTagName("IMG");var counter=0;for(var i=0;i<els.length;i++){if(els[i].parentNode.parentNode.parentNode.parentNode.id=="nav-main"){els[i].id="nav-main-img-"+counter;els[i].parentNode.parentNode.onmouseover=function(){clearTimeout(timitof);j=right(this.id,1);timiton=setTimeout(function(){ohh(j);},250);}
els[i].parentNode.parentNode.onmouseout=function(){clearTimeout(timiton);j=right(this.id,1);timitof=setTimeout(function(){ahh(j);},300);}
counter=counter+1;}}
ahh();var els=document.getElementById("nav-main").getElementsByTagName("UL");for(var i=1;i<els.length;i++){els[i].onmouseover=function(){clearTimeout(timiton);clearTimeout(timitof);}}}}}
addEvent(window,"load",NA_navMain);function NA_search(){if(document.getElementById("nav-search")){var els=document.getElementById("nav-search").getElementsByTagName("INPUT");els[0].onfocus=function(){if(this.value=="Search"){this.value="";}}
els[0].onblur=function(){if(this.value==""){this.value="Search";}}
if(els[0].value==""){els[0].value="Search";}}}
addEvent(window,"load",NA_search);function NA_parent(){if(document.getElementById("branding-parent")){var els=document.getElementById("branding-parent").getElementsByTagName("IMG");for(var i=0;i<els.length;i++){els[i].onmouseover=function(){this.src=this.src.replace("-off","-on");}
els[i].onmouseout=function(){this.src=this.src.replace("-on","-off");}}}}
addEvent(window,"load",NA_parent);function NA_cols(){for(var i=0;i<4;i++){if(document.getElementById("col"+i)){document.getElementById("col"+i).onclick=function(){expand(right(this.id,1));}}}}
addEvent(window,"load",NA_cols);function NA_height(elements){els=NA_height.arguments;css=document.defaultView!=undefined?"padding-top,padding-bottom,border-top-width,border-bottom-width":"paddingTop,paddingBottom,borderTopWidth,borderBottomWidth";css=css.split(",");for(i=0;i<els.length;i++){if(document.getElementById(els[i])){obj=document.getElementById(els[i]);eval("pHeight"+i+"="+0);if(navigator.userAgent.toLowerCase().indexOf("msie 5")==-1){for(j=0;j<css.length;j++){val=document.defaultView!=undefined?(parseInt(document.defaultView.getComputedStyle(obj,"").getPropertyValue(css[j]))):(parseInt(obj.currentStyle[css[j]]));if(!isNaN(val)){eval("pHeight"+i+"="+eval(eval("pHeight"+i)+val));}}}
obj.style.height=obj.offsetHeight-eval("pHeight"+i)+"px";}}
for(x=0;x<2;x++){for(i=0;i<els.length;i++){j=i==els.length-1?0:i+1;iHeight=eval(document.getElementById(els[i]).style.height.replace("px",""))+eval("pHeight"+i);jHeight=eval(document.getElementById(els[j]).style.height.replace("px",""))+eval("pHeight"+j);dHeight=iHeight-jHeight;if(dHeight<0){dHeight=dHeight*-1;}
if(dHeight>0){k=iHeight<jHeight?"i":"j";dHeight=eval(k+"Height")-eval("pHeight"+eval(k))+dHeight;document.getElementById(els[eval(k)]).style.height=dHeight+"px";}}}}
function fixSiteFooter(){try{if(document.getElementById("nav-section")&&document.getElementById("content")&&document.getElementById("siteinfo")){var siteinfo=document.getElementById("nav-section").offsetHeight;var content=document.getElementById("content").offsetHeight;var diff=siteinfo-content;if(diff>0){diff+=50;document.getElementById("siteinfo").style.marginTop=diff+"px";}}}catch(err){}}
addEvent(window,"load",fixSiteFooter);var PHI=new Object();PHI.Helper={PageCover:function(){if(window._phi_page_cover==null){window._phi_page_cover=new PHI.PageCover();}return window._phi_page_cover;},Get:function(id){return document.getElementById(id);},AddEventHandler:function(obj,evnt,fn){if(obj.addEventListener){obj.addEventListener(evnt,fn,false);return true;}else if(obj.attachEvent){return obj.attachEvent('on'+evnt,fn);}else{return false;}},GetScrollPosition:function(){return window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop;},GetDocumentHeight:function(){return Math.max(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.offsetHeight,document.documentElement.offsetHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight));},GetDocumentWidth:function(){return Math.max(Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),Math.max(document.body.clientWidth,document.documentElement.clientWidth));},GetWindowHeight:function(){if(typeof(window.innerHeight)==='number'){return window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){return document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){return document.body.clientHeight;}},GetWindowWidth:function(){if(typeof(window.innerWidth)==='number'){return window.innerWidth;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){return document.documentElement.clientWidth;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){return document.body.clientWidth;}},AutoTabOnKeyUp:function(oCurTxtbox,tabToTxtboxId,e){try{var evt=document.all?event:e;if((evt.keyCode>46&&evt.keyCode<91)||(evt.keyCode>95&&evt.keyCode<106)){if(oCurTxtbox.value.length===oCurTxtbox.maxLength){this.Get(tabToTxtboxId).focus();this.Get(tabToTxtboxId).select();}}}catch(ex){}},CreatePopWindow:function(width,height){try{var o=document.createElement('DIV');o.id='PHI_'+Math.ceil(Math.random()*100000000);o.style.position='absolute';o.style.display='none';o.style.zIndex='1000';o.style.left=(PHI.Helper.GetWindowWidth()/2)-(width/2)-16+'px';o.style.top=PHI.Helper.GetScrollPosition()+(PHI.Helper.GetWindowHeight()/2)-(height/2)+'px';o.style.width=width+'px';o.style.backgroundColor='#fff';o.style.padding='5px';o.style.borderStyle='solid';o.style.borderWidth='2px';o.style.borderColor='#000';return document.body.appendChild(o);}catch(ex){return null;}},FadeIn:function(obj,speed,fadeStep,finalTransparency){obj.style.opacity=0;obj.style.filter='alpha(opacity=0)';obj.style.visibility='visible';var fnFadeIn=function(o,fn,t,fs,ep,sp){try{o.style.opacity=(t/100);o.style.filter='alpha(opacity='+t+')';o.style.visibility='visible';if(t<ep){var f=function(){fn(o,fn,(t=t+fs),fs,ep,sp)};setTimeout(f,sp);f=null;}else{fn=null}}catch(ex){}};var fnClosure=function(){fnFadeIn(obj,fnFadeIn,0,fadeStep,finalTransparency,speed)};setTimeout(fnClosure,speed);fnClosure=null;}}
PHI.PageCover=function(){var _trans=30;var _isIE=navigator.userAgent.indexOf('MSIE')>-1;var _mainCover=null;var _ieCover=null;var _pMembers={addDefaultCover:function(){try{var o=document.createElement('DIV');o.style.position='absolute';o.style.visibility='hidden';o.style.display='none';o.style.left='0px';o.style.top='0px';o.style.height=document.documentElement.scrollHeight+'px';o.style.width='100%';o.style.zIndex='500';o.style.backgroundColor='#000000';o.style.opacity=(_trans/100);o.style.filter='alpha(opacity='+_trans+')';document.body.appendChild(o);return o;}catch(ex){return null;}},addIECover:function(){try{var o=document.createElement('IFRAME');o.style.position='absolute';o.style.visibility='hidden';o.style.display='none';o.style.zIndex='499';o.frameBorder=0;o.style.backgroundColor='#000000';o.style.position='absolute';o.style.left='0px';o.style.top='0px';o.style.opacity=(0);o.style.filter='alpha(opacity=0)';o.style.width=_mainCover.style.width;o.style.height=_mainCover.style.height;o.setAttribute('src','javascript:\'\';');document.body.appendChild(o);return o;}catch(ex){return null;}}}
_mainCover=_pMembers.addDefaultCover();_ieCover=_isIE?_pMembers.addIECover():null;var autoSizeFn=function(mainCover,ieCover){mainCover.style.height=document.documentElement.scrollHeight+"px";mainCover.style.width=document.documentElement.scrollWidth+"px";if(ieCover){ieCover.style.height=mainCover.style.height;ieCover.style.width=mainCover.style.width;}};var autoSizeFnClosure=function(){autoSizeFn(_mainCover,_ieCover)};PHI.Helper.AddEventHandler(window,'resize',autoSizeFnClosure);autoSizeFnClosure=null;return{Show:function(){try{if(_mainCover!=null){_mainCover.style.visibility='visible';_mainCover.style.display='block';_mainCover.style.height=document.documentElement.scrollHeight+"px";_mainCover.style.width=document.documentElement.scrollWidth+"px";if(_isIE&&(_ieCover!=null)){_ieCover.style.visibility='visible';_ieCover.style.display='block';_ieCover.style.height=_mainCover.style.height;_ieCover.style.width=_mainCover.style.width;}}}catch(ex){}},Hide:function(){try{if(_mainCover!=null){_mainCover.style.visibility='hidden';_mainCover.style.display='none';if(_isIE&&(_ieCover!=null)){_ieCover.style.visibility='hidden';_ieCover.style.display='none';}}}catch(ex){}},SetTransparency:function(value){_trans=value;if(_mainCover!=null){_mainCover.style.opacity=(_trans/100);_mainCover.style.filter='alpha(opacity='+_trans+')';if(_isIE&&(_ieCover!=null)){_ieCover.style.opacity=(_trans/100);_ieCover.style.filter='alpha(opacity='+_trans+')';}}},getTransparency:function(){return _trans;}}}
PHI.WaitPanel={Created:false,Show:function(id){try{if(PHI.WaitPanel.Created==false){var c=null;var o=PHI.Helper.Get(id);for(i=0;i<o.childNodes.length;i++){if(o.childNodes[i].nodeName=='DIV'){c=o.childNodes[i]}}
document.body.appendChild(o.parentNode.removeChild(o));if(c.style.width.toLowerCase().indexOf('px')>-1){o.style.width=(parseInt(c.style.width)+12)+'px';}else{o.style.width='400px';}
c.style.borderStyle='solid';c.style.borderWidth='1px';c.style.borderColor='#59a4f8';c.style.margin='5px';o.style.height='auto';o.style.position='absolute';o.style.zIndex='1000';o.style.left='50%';o.style.backgroundColor='#fff';o.style.borderStyle='solid';o.style.borderWidth='1px';o.style.borderColor='#000';o.style.display='none';o.style.visibility='hidden';o=null;c=null;var ShowPanelFnClosure=function(){ShowPanelFn(id)};var ShowPanelFn=function(id){try{var o=PHI.Helper.Get(id);var sp=PHI.Helper.GetScrollPosition();var wh=PHI.Helper.GetWindowHeight();var tp=((wh/2)-(100/2)+sp);o.style.top=tp+'px';o.style.marginLeft='-'+(parseInt(o.style.width)/1.95)+'px';PHI.Helper.PageCover().Show();o.style.display='block';o.style.visibility='visible';o=null;}catch(ex){}};var HidePanelFnClosure=function(){HidePanelFn(id)};var HidePanelFn=function(id){try{PHI.Helper.PageCover().Hide();PHI.Helper.Get(id).style.display='none';PHI.Helper.Get(id).style.visibility='hidden';}catch(ex){}};if(Sys.WebForms.PageRequestManager){var prm=Sys.WebForms.PageRequestManager.getInstance();prm.add_beginRequest(function(){try{ShowPanelFnClosure()}catch(ex){alert(ex.description)}});prm.add_endRequest(function(){try{HidePanelFnClosure()}catch(ex){alert(err.description)}});}
PHI.WaitPanel.Created=true;}}catch(ex){}}}
PHI.Popup={Page:function(title,url,width,height,scroll){try{var o=PHI.Helper.CreatePopWindow(width,height);var close='<input style="border:solid 1px #8399b1;color:#333;padding:3px 4px 0px 4px;font: 12px/14px "Courier New",Courier, monospace;" type="button" value="Close" onclick="PHI.Helper.PageCover().Hide();document.body.removeChild(PHI.Helper.Get(\''+o.id+'\'));" />';var ifm='<iframe src="'+url+'" style="width:100%;height:100%;" frameborder="0" scrolling="'+scroll+'" />';var tag='<table border="0" cellpadding="0" cellspacing="0" style="border:solid 1px #59a4f8;width:auto;">'+'<tr style="background-color:#44cf16;font:bold 16px/20px Arial,Helvetica,sans-serif;font-size:14px;color:#fff;text-decoration:none;">'+'<td style="padding:5px;">'+title+'</td><td style="padding:5px;text-align:right;">'+close+'</td></tr>'+'<tr><td colspan="2" style="width:'+width+'px;height:'+height+'px;">'+ifm+'</td></tr></table>';o.innerHTML=tag;PHI.Helper.PageCover().Show();o.style.display='block';PHI.Helper.FadeIn(o,10,30,100);o=null;}catch(ex){}}}
PHI.AjaxError={Register:function(){try{if(Sys&&Sys.WebForms&&Sys.WebForms.PageRequestManager){Sys.WebForms.PageRequestManager.getInstance().add_endRequest(PHI.AjaxError.Handle);}}catch(ex){}},Handle:function(sender,args){if(args.get_error()!=undefined){args.set_errorHandled(true);if(args.get_error().message.indexOf('server was: 302')>-1){window.location.reload();}else{alert('An error was encountered and the page will be reloaded');window.location.reload();}}}}
PHI.Helper.AddEventHandler(window,'load',PHI.AjaxError.Register);
