d = document.getElementById('DIV_NAME');
if(d) { document.write('<script charset="windows-1251" type="text/javascript" src="http://nnn.novoteka.ru/show.cgi?adp=320&div=DIV_NAME&nnn=320&t='+Math.random()+'"></script>');} 