var ns4 = ( navigator.appName.indexOf("Netscape") >= 0 && !document.getElementById )? 1 : 0; var ie4 = ( document.all && !document.getElementById )? 1 : 0; var w3c = ( document.getElementById )? 1 : 0; if( ns4 ) { document.write( '' ); document.write( '' ); } else { document.write( '
' ); document.write( '
' ); } if( w3c ) { div1=document.getElementById( 'di1' ); div2=document.getElementById( 'di2' ); } if( ie4 ) { div1=document.all[ 'di1' ]; div2=document.all[ 'di2' ]; } if( ns4 ) { div1=document.layers[ 'di1' ]; div2=document.layers[ 'di2' ]; } function PopupRolloverShow( strImageName, nDiv1XPos, nDiv1YPos, strImageText, nDiv2XPos, nDiv2YPos, strTextCol, strFontType, strFontSize, bTextItallic, bTextBold, bBackground, strBackgroundCol, nDiv2Width ) { onDiv = strImageName; SetDivText( div1, "" ); SetDivPos( div1, nDiv1XPos, nDiv1YPos ); if( strImageText ) { SetDivFont( div2, strTextCol, strFontType, strFontSize, bTextItallic, bTextBold, bBackground, strBackgroundCol ); SetDivPos( div2, nDiv2XPos, nDiv2YPos ); SetDivText( div2,""+strImageText+"" ); SetDivWidth( div2, nDiv2Width ); } else { SetDivText( div2, "" ); SetDivPos( div2, -10000, -10000 ); SetDivWidth( div2, 10 ); } } function PopupRolloverTimedHide( nHideDelay ) { onDiv = 0; timeoutID = window.setTimeout( 'PopupRolloverHide()', nHideDelay ); } function PopupRolloverHide() { if( onDiv == 0 ) { SetDivText( div1,"" ); SetDivPos( div1, -1000, -1000 ); SetDivText( div2,"" ); SetDivPos( div2, -1000, -1000 ); } } function SetDivPos( div, nXPos, nYPos ) { if ( isNaN( nXPos+nYPos ) ) return; if(ns4) { div.moveTo( nXPos, nYPos ); } else { div.style.left = nXPos+'px'; div.style.top = nYPos+'px'; } } function SetDivWidth( div, nWidth ) { div.style.width = nWidth; } function SetDivText( div, strText ) { if( ns4 ) { div.document.open(); div.document.write( text ); div.document.close(); } else { div.innerHTML=strText; } } function SetDivFont( div, strTextCol, strFontType, strFontSize, bTextItallic, bTextBold, bBackground, strBackgroundCol ) { div.style.color = strTextCol; div.style.fontSize = strFontSize+'px'; div.style.fontFamily = strFontType; if( bTextItallic ) div.style.fontStyle = 'italic'; else div.style.fontStyle = 'normal'; if( bTextBold ) div.style.fontWeight = 'bold'; else div.style.fontWeight = 'normal'; if( bBackground ) div.style.backgroundColor = strBackgroundCol; else div.style.backgroundColor = ''; }