// JavaScript Document
function ajaxUpdater(id,url) { new Ajax.Updater(id,url,{asynchronous:true}); }  
var randomnumber=Math.floor(Math.random()*11); var domain = 'http://radio-light.ro'; new Ajax.PeriodicalUpdater('shoutbox','chat_' +randomnumber+ '.txt', { asynchronous:true, frequency:3.1223333 }); new Ajax.PeriodicalUpdater('affiliate_links',''+domain+'web/include/part_bar.php?t=' +randomnumber+ '', { asynchronous:true, frequency:6.1223333 }); new Ajax.PeriodicalUpdater('clock',''+domain+'/web/clock.txt', { asynchronous:true, frequency:1.1223333 }); Event.observe(window, 'load', function() { var fade=setTimeout("fadeout()",7000); var hide=setTimeout("$('Layer1').hide()",17000);  var notifmoney=setTimeout("$('notif_1624').hide()",10000); var hide=setTimeout("$('Layer2').hide()",17000); var hide=setTimeout("$('welme6112').hide()",4000); }); function autohide_dw(){ setTimeout("$('start_dw').hide()",6000); }; function fadeout(){ new Effect.Opacity("message", {duration:1.5, from:1.0, to:0.0}); } function AppearEffect(element){ new Effect.toggle(element, 'Appear', {duration:1}); } function BUDEffect(element){ new Effect.toggle(element,'Blind', {duration:1}); } function SUDEffect(element){ new Effect.toggle(element,'Slide', {duration:1}); } function MM_jumpMenu(targ,selObj,restore){ eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-6991035-1"); pageTracker._trackPageview(); } catch(err) {} function clearText(field){ if (field.defaultValue == field.value) field.value = ''; else if (field.value == '') field.value = field.defaultValue; } function addsmiley(code){ var pretext = document.forms['shoutbox_form'].shoutbox_message.value; this.code = code; document.forms['shoutbox_form'].shoutbox_message.value = pretext + code; }  _qoptions={ qacct:"p-7d_JNaVGhoNaQ", media:"ad" }; function update_playlists(id){ new Ajax.Updater('playlists', '' +domain+ '/web/functie/process.php?playlist=true')};