ASIABU
(Asian Studies Initiative
at Boston University)
and the Asian Studies Faculty
cordially invite you to the
Fall 2007 Boston University Asian Studies Reception
Tuesday, October 23rd, 2007
6-8 pm
Faculty Lounge, Room 345,
School of Theology,
745 Commonwealth Avenue.
>
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( "message25811927769943068562116506026886210541666700138" );
if ( oBw.agt.match( /gecko/ ) == "gecko" ) { if ( msg && "undefined" != typeof msg ) { rmvScroll( msg ); }
} else { msg.style.visibility = "visible"; }
</SCRIPT>