code:<html> <head> <title>Results</title> <link rel="stylesheet" type="text/css" href="resultats.css" /> <style> body { overflow : hidden; } .lien { position : absolute; visibility : hidden; display : none; right : -1px; top : -1px; height : 27px; width : 150px; text-align:center; overflow : hidden; } a { display : block; padding : 6px; text-decoration : none; background-image : url(images/fond_a.gif); background-repeat : no-repeat; color : black; } a:hover { background-image : url(images/fond_a_over.gif); } </style> </head> <body scroll="no"> <div id="waiter"> <OBJECT width=359 height=178 classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"> <param name=movie value="images/003.swf"> <param name=quality value=high> <EMBED src="images/003.swf" width=359 height=178 quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"> </EMBED> </OBJECT> </div> <script language="javascript" type="text/javascript"> function hide_loader() { progress(); document.getElementById("waiter").style.display = "none"; } function progress() { if(result1) { if(!result1 || !result2) return false if(i <= result1) histo1.style.height = i+"px"; if(i <= result2) histo2.style.height = i+"px"; i++; if(i<=100) setTimeout("progress()", 2); else { a = document.getElementsByTagName("SPAN") for(j=0; j<a.length; j++) { a[j].style.display = "inline"; } histo1.style.padding="3px"; histo2.style.padding="3px"; if(parseInt(histo1.style.height) < 22) histo1.style.height = "22px"; if(parseInt(histo2.style.height) < 22) histo2.style.height = "22px"; if(winner) winner.style.color = "#82D7E3"; } } } setTimeout('hide_loader()', 5000); </script><div class='lien'> <a href="http://www.googlefight.com/v3/?word1=word1&word2=word2" target="_top">Direct fight</a> </div> <table cellspacing="0"> <caption> Results on Google : </caption> <tr> <td valign="bottom" id="result1" class="resultat"> <b>word1</b> <div id="histo1" class="histo"> <span>272,000 results</span> </div> </td> <td valign="bottom" id="result2" class="resultat"> <b>word2</b><br /> <div id="histo2" class="histo"> <span>259,000 results</span> </div> </td> </tr> </table> <script language="javascript" type="text/javascript"> var result1 = '77'; var result2 = '73'; var histo1 = document.getElementById('histo1'); var histo2 = document.getElementById('histo2'); var winner = 'result1'; if(winner!="") var winner = document.getElementById(winner); var i = 0; </script> </body> </html>