

function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!='function')window.onload=func;else
window.onload=function(){if(oldonload)oldonload();func();}}function populateBanners(){var acronyms=document.getElementsByTagName("acronym"),ids=[];for(var i=0,len=acronyms.length;i<len;i++)ids[ids.length]=acronyms[i].id.split("_BANNER_")[1];if(ids.length&&ids.length>0){var bannersiframe=document.createElement('iframe');bannersiframe.id='bannersiframe';bannersiframe.style.display='none';bannersiframe.src="BannersHandler.axd?mainID="+nodeId+"&langID="+langId+"&ids="+ids.join(",");document.body.appendChild(bannersiframe);}}function CreateFlashControl(DivID,WIDTH,HEIGHT,URL,WMODE,MENU){var d=document.getElementById(DivID);FlObj='<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0  width='+WIDTH+' height='+HEIGHT+'>';FlObj=FlObj+'<param name="movie" value='+URL+'>';FlObj=FlObj+'<param name="wmode" value='+WMODE+'>';FlObj=FlObj+'<param name="menu" value='+MENU+'>';FlObj=FlObj+'<embed src='+URL+'  wmode='+WMODE+' quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width='+WIDTH+' height='+HEIGHT+'></embed></object>';d.innerHTML=FlObj;}function newImage(arg){if(document.images){rslt=new Image();rslt.src=arg;return rslt;}}function clearf(){for(var i=0;i<document.forms[0].elements.length;i++){if(document.forms[0].elements[i].type=="text"||document.forms[0].elements[i].type=="textarea"||document.forms[0].elements[i].type=="password")document.forms[0].elements[i].value="";else if(document.forms[0].elements[i].type=="select-one")document.forms[0].elements[i].selectedIndex=0;else if(document.forms[0].elements[i].type=="checkbox")document.forms[0].elements[i].checked=false;}}function changeImages(){if(document.images&&(preloadFlag==true)){for(var i=0;i<changeImages.arguments.length;i+=2){document[changeImages.arguments[i]].src=changeImages.arguments[i+1];}}}var preloadFlag=false;function preloadImages(){if(document.images){buttons_001_over=newImage("/images/innerlogo.jpg");preloadFlag=true;}}function SetJS(location,tag){var objRef=document.getElementById('__BANNER_'+location);objRef.innerHTML=tag;}function setListeners(){inputList=document.getElementsByTagName("INPUT");for(i=0;i<inputList.length;i++){if(inputList[i].attachEvent)inputList[i].attachEvent("onpropertychange",restoreStyles);else if(inputList[i].addEventListener)inputList[i].addEventListener("propertychange",restoreStyles,false);else
inputList[i].onpropertychange=restoreStyles;inputList[i].style.backgroundColor="";}selectList=document.getElementsByTagName("SELECT");for(i=0;i<selectList.length;i++){if(selectList[i].attachEvent)selectList[i].attachEvent("onpropertychange",restoreStyles);else if(selectList[i].addEventListener)selectList[i].addEventListener("propertychange",restoreStyles,false);else
selectList[i].onpropertychange=restoreStyles;selectList[i].style.backgroundColor="";}}function restoreStyles(){if(event.srcElement.style.backgroundColor!="")event.srcElement.style.backgroundColor="";}function SetFlashJS(location,d,s,tag,width,height){CreateFlashControl('__BANNER_'+location,width,height,tag,'Transparent','');}function showPicture(src){window.open('ImageView.aspx?img='+src,'picture','scrollbars=yes');}function createBookmarkLink(){if(window.sidebar)window.sidebar.addPanel(document.title,location.href,'');else if(window.external)window.external.AddFavorite(location.href,document.title);else if(window.opera&&window.print)return true;}addLoadEvent(setListeners);addLoadEvent(preloadImages);addLoadEvent(populateBanners);