document.write('
'); document.write('
'); document.write('
'); document.write('
D U Y U R U
'); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); var iLayerHeight; var iLayerWidth; var iLayerID = 'ilayer'; var puURL = 'http://www.radyosaati.com/iletisim.php'; var openDelay = 1000; function initLayer(){ var ilayer = document.getElementById(iLayerID); ilayer.style.top = (parseInt(document.getElementById('ilayercontent').style.height) + 100)*-1 + 'px'; iLayerHeight = (parseInt(document.getElementById('ilayercontent').style.height) + 56); ilayer.style.height = iLayerHeight + 'px'; iLayerWidth = (parseInt(document.getElementById('ilayercontent').style.width) + 17); ilayer.style.width = iLayerWidth + 'px'; posLayer(); return; } function posLayer() { var ilayer = document.getElementById(iLayerID); var bwidth = document.body.clientWidth - iLayerWidth; ilayer.style.marginLeft = Math.round((((bwidth)/2)/document.body.clientWidth)*100) + '%'; return; } var slideTimer; function showLayer(){ slideTimer = window.setInterval("slideLayer()", 40); } function slideLayer(){ var layerTop = parseInt(document.getElementById(iLayerID).style.top); var slideStep = Math.round((((layerTop > 0) ? layerTop : (layerTop * -1)) + 10) / 4); if (slideStep <= 0){ slideStep = 1; } if (layerTop >= 10) { window.clearInterval(slideTimer); } else { document.getElementById(iLayerID).style.top = (layerTop + slideStep) + 'px'; } return; } function closeLayer(){ initLayer(); return; } function popLayer(){ var windowOptions = "scrollbars=1,resizable=1,toolbar=0,location=1,menubar=0,status=0,directories=0"; var pu = window.open(puURL, "pu", windowOptions); pu.blur(); window.focus(); closeLayer(); } initLayer(); window.setTimeout("showLayer()", openDelay);