Great Poem! and Song!
>
var callCount = 0;
function rmvScroll( msg )
{
if ( ++callCount > 10 ) { msg.style.visibility = "visible"; }
if ( callCount < 50 && ! imgsDone( msg ) ) {
setTimeout( function() { rmvScroll( msg ); }, 200 );
return;
}
var delta = msg.offsetHeight - msg.clientHeight;
var newWidth = 0;
var newHeight = 0;
delta = ( isNaN( delta )? 1 : delta + 1 );
if ( msg.scrollHeight > msg.clientHeight ) {
newHeight = msg.scrollHeight + delta;
}
delta = msg.offsetWidth - msg.clientWidth;
delta = ( isNaN( delta )? 1 : delta + 1 );
if ( msg.scrollWidth > msg.clientWidth ) {
newWidth = msg.scrollWidth + delta;
}
msg.style.overflow = "visible";
msg.style.visibility = "visible";
if ( newWidth > 0 || newHeight > 0 ) {
var ssxyzzy = document.getElementById( "ssxyzzy" );
var cssAttribs = ['#' + msg.id + '{'];
if ( newWidth > 0 ) cssAttribs.push( 'width:' + newWidth + 'px;' );
if ( newHeight > 0 ) cssAttribs.push( ' height:' + newHeight + 'px;' );
cssAttribs.push( '}' );
try {
ssxyzzy.sheet.deleteRule( 0 );
ssxyzzy.sheet.insertRule( cssAttribs.join(""), 0 );
} catch( e ){}
}
}
function imgsDone( msg ) // for Firefox, we need to scan for images that haven't set their width yet
{
var imgList = msg.getElementsByTagName( "IMG" );
var len = ((imgList == null)? 0 : imgList.length);
for ( var i = 0; i < len; ++i ) {
var theImg = imgList[i];
if ( ! theImg.complete && "undefined" != typeof theImg.naturalWidth && theImg.naturalWidth == 0 ) {
return false;
}
}
return true;
}
var msg = document.getElementById( "message3549509153970482229565011417713151225787464" );
if ( oBw.agt.match( /gecko/ ) == "gecko" ) { if ( msg && "undefined" != typeof msg ) { rmvScroll( msg ); }
} else { msg.style.visibility = "visible"; }
</SCRIPT> <FORM name=showLetter2 action=/ym/ShowLetter?Idx=19&Search=&YY=47234&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b method=post> </FORM> |