function no_error()
{ return true; }
window.onerror=no_error;
//-------------------------------------------------------< Layer Show & Hide  >-------------------------------//
var ie4 = (document.all) ? true : false;
function hidelayer(lay) { if (ie4) {document.all[lay].style.visibility = "hidden";}}
function showlayer(lay) { if (ie4) {document.all[lay].style.visibility = "visible";}}
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
//----------------------------------------------------------<FScomand in flash>-------------------------------//
function ball_DoFSCommand(command, args) {
if(command == "KILLME") {
 hidelayer('LayerName')
 showlayer('LayerNametwo22')
}
}
//----------------------------------------------------------< Hook for Internet Explorer>---------------------//
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub ball_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call ball_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
//------------------------------------------------------------<Auto Center To The Flash Layer>----------------//
x = (screen.availwidth);
wdth = 709;
ht = 400;
alt="Click Here"
optsrc="optimum780x400.swf"

//------------------------------------------------------------<DIV hold Optimum banner>----------------//
document.write('<div align=center id="LayerName" style="position:absolute;width:100%;z-index:1000 ;visibility: visible" ><br><br><br>')
document.write('<OBJECT  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" ID=ball WIDTH='+ wdth+' HEIGHT='+ht+'>')
document.write('<PARAM NAME=movie VALUE='+optsrc+'>')
document.write('<PARAM NAME=loop VALUE="false">')
document.write('<PARAM NAME="WMode" value="Transparent">')
document.write('<PARAM NAME=quality VALUE=high>')
document.write('<PARAM NAME=bgcolor VALUE=#000000>')
document.write('<EMBED  src='+optsrc+' quality=high bgcolor=#000000  WIDTH='+ wdth+' HEIGHT='+ht+' swLiveConnect=true NAME=ball TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>')
document.write('</div>')

