if (typeof(sppc_cookie) == 'undefined') { var sppc_cookie = Math.round(Math.random() * 1000); } if (typeof(sppc_use_flash) == 'undefined') { var sppc_use_flash = 0; if (navigator.plugins && navigator.plugins.length) { if (navigator.plugins['Shockwave Flash'] || navigator.plugins['Shockwave Flash 2.0']) { sppc_use_flash = 1; } } else if (navigator.mimeTypes && navigator.mimeTypes.length) { x = navigator.mimeTypes['application/x-shockwave-flash']; if (x && x.enabledPlugin) { sppc_use_flash = 1; } } else if (navigator.userAgent && navigator.userAgent.indexOf('MSIE') >= 0 && (navigator.appVersion.indexOf('Win') != -1)) { // MSIE var flash_latest_version = 12; try { for (i = 3; i <= flash_latest_version; i++) { if (eval('new ActiveXObject("ShockwaveFlash.ShockwaveFlash.'+i+'")')) { sppc_use_flash = 1; break; } } } catch(e) {} } else { // Unknown sppc_use_flash = -1; } } ifr_width = parseInt(sppc_width); ifr_height = parseInt(sppc_height); if ('{your_ad_here}') { ifr_height += 15; } var first_url = escape('{base_url}show?id_site='+sppc_site+'&id_channel='+sppc_channel+'&id_dimension='+sppc_dimension+'&width='+sppc_width+'&height='+sppc_height+'&id_palette='+sppc_palette+'&id_user='+sppc_user+'&ident='+Math.round(Math.random() * 10000)+'&ref='+escape(document.URL)+'&sr='+escape(document.referrer)+'&ck='+sppc_cookie+'&uf='+sppc_use_flash+'&ifr=1'); document.write(unescape("%3Ciframe src='"+first_url+"' scrolling='no' allowtransparency='true' style='background-color: transparent;' frameborder='0' width='"+ifr_width+"' height='"+ifr_height+"'%3E%3C/iframe%3E"));