
 function uniqueIDInDOM() 
{
var resu=Math.ceil(Math.random()*9999)+'_'+(+new Date().getTime()); 
while(document.getElementById(resu)!=null) 
{ resu=Math.ceil(Math.random()*9999)+'_'+(+new Date().getTime()); } 
return resu; 
}


function f_init()
{
    var myContainer=new MAX3315_Container('news-back');
	myContainer.loadFromUl(document.getElementById('news-latest-item4'));
}

function AddOnload(myfunc)
{
if(window.addEventListener)
window.addEventListener('load', myfunc, false);
else if(window.attachEvent)
window.attachEvent('onload', myfunc);
}

AddOnload( f_init);
