shopget=''; if(typeof text_right == 'undefined' || text_right==null){ text_right=''; } shopget+='&text_right='+text_right; if(typeof with_pic == 'undefined' || with_pic==null){ with_pic=''; } shopget+='&with_pic='+with_pic; if(typeof no_text == 'undefined' || no_text==null){ no_text=''; } shopget+='&no_text='+no_text; if(typeof vertical == 'undefined' || vertical==null){ vertical=''; } shopget+='&vertical='+vertical; if(typeof picture == 'undefined' || picture==null){ picture=''; } shopget+='&picture='+picture; if(typeof quantity == 'undefined' || quantity==null){ quantity=''; } shopget+='&quantity='+quantity; if(typeof price_min == 'undefined' || price_min==null){ price_min=''; } shopget+='&price_min='+price_min; if(typeof price_max == 'undefined' || price_max==null){ price_max=''; } shopget+='&price_max='+price_max; if(typeof keyword == 'undefined' || keyword==null){ keyword=''; } shopget+='&keyword='+keyword; if(typeof block_width == 'undefined' || block_width==null){ block_width='240'; } shopget+='&block_width='+block_width; if(typeof block_height == 'undefined' || block_height==null){ block_height='400'; } shopget+='&block_height='+block_height; if(typeof block_border_width == 'undefined' || block_border_width==null){ block_border_width=''; } shopget+='&block_border_width='+block_border_width; if(typeof block_border_style == 'undefined' || block_border_style==null){ block_border_style=''; } shopget+='&block_border_style='+block_border_style; if(typeof block_border_color == 'undefined' || block_border_color==null){ block_border_color=''; } shopget+='&block_border_color='+block_border_color; if(typeof block_bgcolor == 'undefined' || block_bgcolor==null){ block_bgcolor=''; } shopget+='&block_bgcolor='+block_bgcolor; if(typeof div_border_width == 'undefined' || div_border_width==null){ div_border_width=''; } shopget+='&div_border_width='+div_border_width; if(typeof div_border_style == 'undefined' || div_border_style==null){ div_border_style=''; } shopget+='&div_border_style='+div_border_style; if(typeof div_border_color == 'undefined' || div_border_color==null){ div_border_color=''; } shopget+='&div_border_color='+div_border_color; if(typeof div_bgcolor == 'undefined' || div_bgcolor==null){ div_bgcolor=''; } shopget+='&div_bgcolor='+div_bgcolor; if(typeof img_border_width == 'undefined' || img_border_width==null){ img_border_width=''; } shopget+='&img_border_width='+img_border_width; if(typeof img_border_style == 'undefined' || img_border_style==null){ img_border_style=''; } shopget+='&img_border_style='+img_border_style; if(typeof img_border_color == 'undefined' || img_border_color==null){ img_border_color=''; } shopget+='&img_border_color='+img_border_color; if(typeof img_wmin == 'undefined' || img_wmin==null){ img_wmin=''; } shopget+='&img_wmin='+img_wmin; if(typeof img_hmin == 'undefined' || img_hmin==null){ img_hmin=''; } shopget+='&img_hmin='+img_hmin; if(typeof img_wmax == 'undefined' || img_wmax==null){ img_wmax=''; } shopget+='&img_wmax='+img_wmax; if(typeof img_hmax == 'undefined' || img_hmax==null){ img_hmax=''; } shopget+='&img_hmax='+img_hmax; if(typeof text_font == 'undefined' || text_font==null){ text_font=''; } shopget+='&text_font='+text_font; if(typeof text_color == 'undefined' || text_color==null){ text_color=''; } shopget+='&text_color='+text_color; if(typeof text_size == 'undefined' || text_size==null){ text_size=''; } shopget+='&text_size='+text_size; if(typeof link_font == 'undefined' || link_font==null){ link_font=''; } shopget+='&link_font='+link_font; if(typeof link_color == 'undefined' || link_color==null){ link_color=''; } shopget+='&link_color='+link_color; if(typeof link_size == 'undefined' || link_size==null){ link_size=''; } shopget+='&link_size='+link_size; if(typeof price_font == 'undefined' || price_font==null){ price_font=''; } shopget+='&price_font='+price_font; if(typeof price_color == 'undefined' || price_color==null){ price_color=''; } shopget+='&price_color='+price_color; if(typeof price_size == 'undefined' || price_size==null){ price_size=''; } shopget+='&price_size='+price_size; if(typeof button == 'undefined' || button==null){ button=''; } shopget+='&button='+button; frameborder=0; ////////////////// function rand( min, max ) { // Generate a random integer // // + original by: Leslie Hoare if( max ) { return Math.floor(Math.random() * (max - min + 1)) + min; } else { return Math.floor(Math.random() * (min + 1)); } } function setCookie (name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function getCookie(name) { var cookie = " " + document.cookie; var search = " " + name + "="; var setStr = null; var offset = 0; var end = 0; if (cookie.length > 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset) if (end == -1) { end = cookie.length; } setStr = unescape(cookie.substring(offset, end)); } } return(setStr); } function str_replace(search,replace,subject) { if(!(replace instanceof Array)){ replace=new Array(replace); if(search instanceof Array){ while(search.length>replace.length){ replace[replace.length]=replace[0]; } } } if(!(search instanceof Array))search=new Array(search); while(search.length>replace.length){ replace[replace.length]=''; } if(subject instanceof Array){ for(k in subject){ subject[k]=str_replace(search,replace,subject[k]); } return subject; } for(var k=0; k-1){ subject = subject.replace(search[k], replace[k]); i = subject.indexOf(search[k],i); } } return subject; } ////////////////// var a=''; function syscount(t) { var d=document; var n=navigator; var w=window; var s=screen; var stat_loc=null; var stat_ref=null; var stat_data=null; stat_data="n="+n.appName+";"; if(parent!=w){try {stat_ref=parent.document.referrer;} catch(e){}} if(!stat_ref){stat_ref=d.referrer} if(s.colorDepth){stat_data+="c="+s.colorDepth+";" } else {if(s.pixelDepth){stat_data+="c="+s.pixelDepth+";"}} if(s.width&&s.height){stat_data+="s="+s.width+"x"+s.height+";"} stat_loc=w.location.href; stat_data+="t="+ (new Date()).getTimezoneOffset(); var a2 = "&loc="+escape(stat_loc)+"&ref="+escape(stat_ref)+"&dat="+escape(stat_data); if (typeof cid == "undefined" || cid==null){ if(typeof lid != "undefined" && lid!=null){ a="?lid="+lid+"&lsa="+lsa+"&"+window.parent.location.search.substring(1); } }else{ if(typeof cid != "undefined" && cid!=null){ a="?cid="+cid+"&sa="+sa; } } if (typeof defview != "undefined" && defview!=null && defview == 1) a=a+"&default=1"+"&rn="+Math.random(); if (typeof ban_id != "undefined" && ban_id!=null) a+='&bid='+ban_id; if (typeof link_id != "undefined" && link_id!=null) a+='&lnk='+link_id; if (typeof ownlink_id != "undefined" && ownlink_id!=null) a+='&olnk='+ownlink_id; if (typeof kw != "undefined" && kw!=null) a+='&kw='+kw; if (typeof multi != "undefined" && multi!=null) a+='&m='+multi; if (t==1) { return a+a2; } else { var b="http://www.gameleads.ru/banner.php"+a+a2+"&h=1"; var i=new Image(); i.src=b; } } var surferCook=getCookie('surfer'); if(surferCook=='null' || surferCook==null){ var row=Date.parse(new Date()); var konk=rand(100,999); var surferCook=row+rand(100,999)+''+konk; setCookie("surfer",surferCook,"Mon, 01-Jan-2050 00:00:00 GMT","/"); } if (typeof size == "undefined" || size==null) { if (typeof noform == "undefined" || noform==null){ syscount(0); document.write(''); }//noform else{ a = syscount(1); shopget=str_replace('#','',shopget); document.write(''); } }//size else { a = syscount(1); document.write(''); } //setTimeout(syscount,1000);