/* * General Purpose Image Roll-over Code */ var ImagesLoaded = false; var Images = new Array(); function LoadImage( sName, sSourceFile ) { Images[ sName ] = new Image(); Images[ sName ].src = sSourceFile; return Images[ sName ]; } function EnableRollovers() { ImagesLoaded = true; } function SetImage( sImageName, sSrc ) { document.images[ sImageName ].src = sSrc; } /* * Site-Specific Code */ function Init() { LoadImage( 'RSSFeedOut', '../images/xml-bw.gif' ); LoadImage( 'RSSFeedOver', '../images/xml.gif' ); EnableRollovers(); var Box1 = document.getElementById( 'LeftContent' ); if( Box1 ) { var Box2 = document.getElementById( 'RightContent' ); if( Box2 ) { var Height = Math.max( Box1.parentNode.clientHeight, Box2.parentNode.clientHeight ); Box1.style.height = Height + 'px'; Box2.style.height = Height + 'px'; } } } function popupWindow( sURL, sName ) { window.name="webCOMAND_Main"; window.open( sURL, sName, "width=630,height=450,status=no,toolbar=no,location=no,directories=no,menubar=no,scrollbar=yes,resizable=yes"); }