Показать сообщение отдельно
  #320  
Старый 09.09.2010, 08:03
Аркадий Дкжэсав
Guest
 
Сообщений: n/a
По умолчанию

function resizeFlash (newHeight) {try {var el = document.getElementById('flash_content_wrapper_adc ustom');el.style.height = newHeight + 'px';var o = el.getElementsByTagName('OBJECT');if (o.length) {o[0].style.height = newHeight + 'px';}if (document != parent.document) {parent.document.getElementById('flash_content_ifr ame_adcustom').style.height = newHeight + 'px';}} catch (e) {} }function displayLoader() {var flashvars = { minheight: '54', width: '240', minwidth: '240', clickTAG: '/dk?st.cmd=userSendPresent%26st.mode=selectPresent% 26tkn=8903%26st._aid=LeftColumn_AdCustom_Presents' };var params = { menu: "false", wmode: "transparent", scale: "noScale", allowScriptAccess: "always", bgcolor: "#FFFFFF", salign: "tl" };var attributes = { id: "flash_content_adcustom" };swfobject.embedSWF("********stg.odnoklassniki.ru/res/default/Images/promo/odkl/presentsBanner/1sent_3.swf", "flash_content_adcustom", "240", "100%", "10.0.1", "********stg.odnoklassniki.ru/res/default/flash/expressInstall.swf", flashvars, params, attributes);}function wait_for_script_load(look_for, callback) {var interval = setInterval(function() {if (eval("typeof " + look_for) != 'undefined') {clearInterval(interval);callback();}},50);}var swfobjScript = document.createElement('script');swfobjScript.src = '********stg.odnoklassniki.ru/res/default/js/swfobjectnew.js';swfobjScript.type = 'text/javascript';document.getElementsByTagName("head")[0].appendChild(swfobjScript);wait_for_script_load('s wfobject', displayLoader);
Ответить с цитированием