function screen_width( ) { if( self.innerWidth ) res = self.innerWidth; else res = document.body.clientWidth; return res; } function screen_height( ) { if( self.innerHeight ) res = self.innerHeight; else res = document.body.clientHeight; return res; } //document.write( "" ); document.write( "" ); var tooltip_owner; var tooltip_shown = 0; function show_pots(a) { if (document.getElementById( 'pots'+a ).style.display == '') document.getElementById( 'pots'+a ).style.display = 'none'; else { document.getElementById( 'pots1' ).style.display = 'none'; document.getElementById( 'pots2' ).style.display = 'none'; document.getElementById( 'pots3' ).style.display = 'none'; if (document.getElementById( 'pots4' )) document.getElementById( 'pots4' ).style.display = 'none'; document.getElementById( 'pots'+a ).style.display = ''; document.getElementById( 'pots'+a ).style.zIndex = 2; } } function hide_pots(a) { document.getElementById( 'pots'+a ).style.display = 'none'; } function showTooltipW( e, a, wd ) { var x, y, sx, sy; sx = document.body.scrollLeft; sy = document.body.scrollTop; if( !document.all ) { x = e.pageX; y = e.pageY; } else { x = window.event.clientX + document.body.scrollLeft; y = window.event.clientY + document.body.scrollTop; } s = "'; s += ""; s += ""; s += ""; s += ""; s += ""; s += ""; s += ""; s += ""; s += "
"; if( a !== false && ( !tooltip_shown || document.getElementById( 'tooltip' ).innerHTML != s ) ) { document.getElementById( 'tooltip' ).innerHTML = s; document.getElementById( 'tooltip' ).style.display = ''; } if( document.getElementById( 'tooltip' ).offsetWidth + x > screen_width( ) + sx - 35 ) x -= document.getElementById( 'tooltip' ).offsetWidth + 17; if( document.getElementById( 'tooltip' ).offsetHeight + y > screen_height( ) + sy - 35 ) y -= document.getElementById( 'tooltip' ).offsetHeight + 17; if( y < document.body.scrollTop ) y = document.body.scrollTop; document.getElementById( 'tooltip' ).style.left = ( parseInt( x ) + 15 ) + 'px'; document.getElementById( 'tooltip' ).style.top = ( parseInt( y ) + 15 ) + 'px'; document.getElementById( 'tooltip' ).style.zIndex = 103; tooltip_shown = 1; } function showTooltip( e, a ) { showTooltipW( e, a, 0 ); } function hideTooltip( ) { document.getElementById( 'tooltip' ).style.display = 'none'; }