function hide_flash() { LOGO=document.getElementById("flash_logo"); LOGO.style.display='none'; if(confirm('Dont show again this demo in the future?')) { top.location.replace('./?donotshowflash'); } } function news(id) { ShortNews=document.getElementById('short_'+id); FullNews=document.getElementById('full_'+id); var check=ShortNews.style.display; if(check=="block") { ShortNews.style.display='none'; FullNews.style.display='block'; }else{ FullNews.style.display='none'; ShortNews.style.display='block'; } } function long_load() { setTimeout("load_page()",5000); } function load_page() { LOAD=document.getElementById("loading"); LOAD.style.display='none'; document.body.style.overflowY='auto'; document.body.style.overflowX='auto'; document.body.style.margin='0'; } function replace(id,what) { insert_into=document.getElementById(id); insert_into.innerHTML=what; } function preload() { var d=document; if(d.images) { if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=preload.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p); } if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i