function printAds() { var countAds = myJSONObject.ads.length; if(zPic==1) { small_1963 = Array(countAds); big_1963 = Array(countAds); for(i=0;i
'+encodDom+' ???'+encodAdv+'
';} else{goriz='
'+encodDom+' ???'+encodAdv+'
';} } else{vert='';goriz='';} var rs_d = document.getElementById('rs_1963'); document.writeln(' '); if(rs_d){ rs_d.innerHTML = document.getElementById('rs_hide_1963').innerHTML; }; } if(document.getElementById('rs_1963')) { var Context_CSS = ' '; var sPerlScript = ""; if (typeof Context_test == "undefined" || Context_test != 1) { sPerlScript = "http://rs-context.ru/perl/view_memd.pl" + "?"; } else { sPerlScript = "http://rs-context.ru/perlTest/view.pl" + "?"; } var params = { 'blockId': 1963, 'ref': document.referrer, 'colorDepth' : (screen.colorDepth? screen.colorDepth : screen.pixelDepth), 'areaURL' : document.URL } if(screen && screen.width && screen.height) { params['screenWidth'] = screen.width; params['screenHeight'] = screen.height; } var sPerlParam = ''; for (var key in params) if (params[key] && params.hasOwnProperty && params.hasOwnProperty(key)) // always check for own property in for .. in .. sPerlParam += '&' + key + '=' + escape(params[key]); var sURL = sPerlScript + sPerlParam; var sScriptTag = ' '; document.writeln(Context_CSS); document.writeln(sScriptTag); }