/*marketgid.comV7.8*/ function MGD013394(MGD02){ if (!document.cookie){ var MGDA=new Date(); return (MGDA.getSeconds()%20+1); } var prefix=MGD02+"="; var begin=document.cookie.indexOf("; "+prefix); if(begin==-1){ begin=document.cookie.indexOf(prefix); if(begin!=0){ return null; } }else{ begin += 2; } var end=document.cookie.indexOf(";", begin); if (end==-1){ end=document.cookie.length; }return unescape(document.cookie.substring(begin+prefix.length,end)); } function MGD033394(str,MGD03){ var word=new Array(); var i; var ret=''; word=str.split(" "); for (i=0;i<word.length;i++){ if (word[i].length>MGD03 && word[i].search(/&\w+;/)<0) ret+=word[i].substr(0,MGD03) + ' ' + word[i].substr(MGD03) + ' '; else ret+=word[i] + ' '; } return ret; } function MGD043394(str,MGD03){ if (str.length<=MGD03) return str; var word=new Array(); word=str.split(" "); var ret=word[0] + ' '; var test; for (i=1;i<word.length;i++){ test=ret+word[i]; if (test.length>MGD03) return ret+'...'; else ret+=word[i] + ' '; } return str; } function MGD063394(title){ return title; } function MGD073394(desc){ return desc; } function MGD093394(n){ MGDA+=' <td width="25%" align="center" valign="top"> <div align="center"style="background-color:#383838;font-size:11px; font-weight: normal; color:#ffffff; text-decoration: none; font-family:tahoma;padding:2px;padding-bottom:3px;" >'+n[0]+'</div> <div><a target="_blank" href="http://'+(n[5]?n[5]:'www')+'.marketgid.com/ghits/'+n[1]+'/i/3394/k/'+n[6]+'" ><img width="75" height="75"src="http://imgg.dt00.net/'+Math.floor(n[1]/1000)+'/'+n[1]+'_m'+(n[2]==2?'.gif':'.jpg')+'" /></a></div> <div align="center"style="font-size:11px; padding-top:1px; font-weight: bold; color:#ff9d3d; text-decoration: none; font-family:tahoma;">'+n[7]+'</div> <div align="center" style="padding:2px;"><a target="_blank" href="http://'+(n[5]?n[5]:'www')+'.marketgid.com/ghits/'+n[1]+'/i/3394/k/'+n[6]+'" class="mcdesc" ><cite>'+n[4]+'</cite></a></div> </td> '; MGD00++; } function MarketGidLoad(json){ MarketGidLoadGoods3394(json); } function MarketGidLoadGoods3394(json){ var i; if(!json) json=Array(); MGDA=''; for (i=0;i<json.length;i++) MGD093394(json[i]); if (MGDQ3394) MGDQ3394.innerHTML = '<table width="100%" cellpadding="0" cellspacing="2" border="0" class="mctablea" style="border-collapse:separate;margin-top:0px;" > <tr>'+MGDA+' </tr> </table> '; } function MarketNext3394(){ MGDZ=parseInt(MGD013394("MG_3394")); if(MGDZ<20) MGDZ++; else MGDZ=1; document.cookie="MG_3394="+MGDZ+";path=/"; MarketSetPage3394(MGDZ); } function MarketSetPage3394(n){ MGDA = ''; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'http://goodsblock2.dt00.net/j/3394/' + n; MGDQ.appendChild(script); } function MarketPrev3394(){ MGDZ=parseInt(MGD013394("MG_3394")); if(MGDZ>1) MGDZ--; else MGDZ=20; document.cookie="MG_3394="+MGDZ+";path=/"; MarketSetPage3394(MGDZ); } var MGDZ = 1; var MGDA=''; var MGDQ3394 = document.getElementById('MarketGid3394'); var MG_c=MGD013394("MG_3394"); var MGD00=1; var MGDRG3394=0; if(MG_c!=null&&parseInt(MG_c)<20) MGDZ=parseInt(MG_c)+1; else if (parseInt(MG_c)>19) MGDZ=1; document.cookie="MG_3394="+MGDZ+";path=/"; if (MGDQ3394) { document.write('<style type="text/css">a.mctitle:link,a.mctitle:active,a.mctitle:visited,a.mctitle:hover{ font-size: 11px; font-weight:bold; font-family :tahoma; text-decoration:none; color:#0B7FD6; } a.mcdesc:link,a.mcdesc:active,a.mcdesc:hover,a.mcdesc:visited{ font-size:10px; font-weight: bold; color:#444444; line-height:1em!important; text-decoration: none; font-family:tahoma; } .mctable td{ border:1px solid #BBBBBB; padding:0px; } .mctablea img{ border: 0; margin: 2px 3px 2px 2px; } .mctablea cite{ line-height:1em!important; font-size:10px; font-weight: bold; color: #444444; text-decoration: none; font-family:tahoma; font-style:normal;border-bottom:0px; }.mctablea cite:hover{ text-decoration:underline;} <'+'/style>'); document.write('<scr'+'ipt charset="WINDOWS-1251" type="text/javascript" src="http://ad.goodsblock.dt00.net/j/3394/'+MGDZ+'"><'+'/scr'+'ipt>'); }