function FlashWriteExpand(url,width,height)

{

	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');

	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');

	document.write('  width="' + width + '" height="' + height + '">');

	document.write(' <param name="movie" value="' + url + '"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="scale" value="noscale"> <param name="bgcolor" value="#ffffff">  '); 

	document.write(' <embed src="' + url + '" quality="high" wmode="transparent" scale="noscale" bgcolor="#ffffff"  ');

	document.write(' swliveconnect=false width="' + width + '" height="' + height + '"');

	document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash">');

	document.write(' </embed></object>');

}



function getObject( elementId ) {

        var obj ;

      if( typeof(elementId) !='string')

          return elementId ;

      if(!document.all && document.getElementById)  //Netscape Navigator 6

          obj=document.getElementById(elementId) ;

      else if(document.all) //MS IE 5.5+

          //obj=document.all[elementId];

          obj=document.getElementById(elementId) ;

      else if ( document.layers) // Netscape Navigator 4

          obj = document.elementId ;

      else

          obj = null ;

      // In the future could be implement support other browser

      return obj;

    }

    

function OnchangeActive ( objName, imgName ) {

        getObject(objName).src = imgName;

}



function image() {

};

    image = new image();

    number = 0;



    image[number++] = "images/banner1.jpg"

    image[number++] = "images/banner2.jpg"

    image[number++] = "images/banner3.jpg"

    image[number++] = "images/banner4.jpg"

    image[number++] = "images/banner5.jpg"

    increment = Math.floor(Math.random() * number);

    var picPut = image[increment];

    

    //alert(document.getElementById("mainimTable_01age"));

    //document.getElementById("mainimage").background = picPut;



<!--

document.body.style.scrollbarBaseColor='#e2e2e2'

document.body.style.scrollbarArrowColor='#111a23'

document.body.style.scrollbarDarkShadowColor='#111a23'

document.body.style.scrollbarFaceColor='#e2e2e2'

document.body.style.scrollbarHighlightColor='#111a23'

document.body.style.scrollbarShadowColor='#111a23'

document.body.style.scrollbar3dlightColor='#111a23'

-->

