//--------------------------------------CUTOMISE---------------------------------------------- var qiksearch_space_width = '100%'; // The width of the content space var qiksearch_space_height = 150; // The height of the content space var qiksearch_space_borderw=0; // Border width var qiksearch_space_borderc="#ffffff"; // Border Color var timeOutVal=550; // Delay in milliseconds var isLoop=true; // If you want to loop continuosly then true, else false var isAutoStart=true; // If you want the Fading to start else you have to click to start var qiksearch_js_text_static=''; // The default content if AutoStart false // The Fading Contents, HTML Tags supported var qiksearch_js_text = new Array(); qiksearch_js_text[qiksearch_js_text.length] = '
Geothermal Centenary Recognition Award '; qiksearch_js_text[qiksearch_js_text.length] = '
Technology Leadership of the Year Award'; qiksearch_js_text[qiksearch_js_text.length] = '
CTI Climate Technology Initiative '; qiksearch_js_text[qiksearch_js_text.length] = '
The President\'s \"E\" Certificate for Exports'; //-------------------------------------------------------------------------------------------- function openCenterWindow( url, wd, ht, scroll ) { d = ( screen.width - wd )/2; h = ( ( screen.height-ht )/2 ); window.open(url,'','top=' + h + ',left=' + d + ',width=' + wd + ',height=' + ht + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=' + scroll + ',resizable=' + scroll + '').focus(); } function topflash_DoFSCommand( command, args ) { switch( command ) { case 'home': location = '/'; break; case 'ormat1': location = '/businesses.php?did=25'; break; case 'ormat2': location = '/businesses.php?did=26'; break; case 'ormat3': location = '/businesses.php?did=27'; break; } } intSecondsFromStart = 59884061; floatElectricityProduce = 0.1791388889; intBaseProducedElectricity = 46897440; floatSavedFuel = 0.0447847222; intBaseSavedFuel = 11727360; floatAvoidedCO = 0.0985263889; intBaseAvoidedCO = 25793592; objProdElektricity = document.getElementById( 'prod_elektr' ); objSavedFuel = document.getElementById( 'saved_fuel' ); objAvoidedCO = document.getElementById( 'avoided_co' ); function ChangeValue( ) { intSecondsFromStart = intSecondsFromStart + 1; floatCurrentElectricity = intSecondsFromStart*floatElectricityProduce + intBaseProducedElectricity; floatCurrentFuel = intSecondsFromStart*floatSavedFuel + intBaseSavedFuel; floatCurrentAvoidedCO = intSecondsFromStart*floatAvoidedCO + intBaseAvoidedCO; objProdElektricityNo = parseInt( floatCurrentElectricity ); objSavedFuelNo = parseInt( floatCurrentFuel ); objAvoidedCONo = parseInt( floatCurrentAvoidedCO ); objProdElektricityStr = objProdElektricityNo.toString( ); objSavedFuelStr = objSavedFuelNo.toString( ); objAvoidedCOStr = objAvoidedCONo.toString( ); objProdElektricityLeft = objProdElektricityStr.substring(0,2); objProdElektricityMiddle = objProdElektricityStr.substring(2,5); objProdElektricityRight = objProdElektricityStr.substring(5,8); objSavedFuelLeft = objSavedFuelStr.substring(0,2); objSavedFuelMiddle = objSavedFuelStr.substring(2,5); objSavedFuelRight = objSavedFuelStr.substring(5,8); objAvoidedCOLeft = objAvoidedCOStr.substring(0,2); objAvoidedCOMiddle = objAvoidedCOStr.substring(2,5); objAvoidedCORight = objAvoidedCOStr.substring(5,8); objProdElektricity.innerHTML = objProdElektricityLeft + ',' + objProdElektricityMiddle + ',' + objProdElektricityRight ; objSavedFuel.innerHTML = objSavedFuelLeft + ',' + objSavedFuelMiddle + ',' + objSavedFuelRight objAvoidedCO.innerHTML = objAvoidedCOLeft + ',' + objAvoidedCOMiddle + ',' + objAvoidedCORight } function TimeOut( ) { ChangeValue( ); id = setTimeout( "TimeOut( )", 1000 ); } function doArticlePrint( TITLE, CONTENT ) { window.open( '/print.php', '_printer_', "width=620,height=500,toolbar=no,location=no,directories=no,scrollbars=yes,statusbar=no,status=no,resizable=yes" ).focus( ); } function doArticlePrintWithTitle( deptid ) { window.open( '/print.php?did=' + deptid, '_printer_', "width=620,height=500,toolbar=no,location=no,directories=no,scrollbars=yes,statusbar=no,status=no,resizable=yes" ).focus( ); } function doArticleEmail( ) { openCenterWindow( '/send.php', 400, 221, 'no' ); }