/*marketgid.comV7.9*/ function MGD01295(MGD02){ if (!document.cookie){ document.cookie="MG_295=1;path=/"; if (!document.cookie){ var MGDA=new Date(); return (MGDA.getSeconds()%20+1); } else return 1-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 MGD03295(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 MGD04295(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 MGD06295(title){ return title; } function MGD07295(desc){ desc=MGD03295(desc,120); return desc; } function MGD09295(n){ MGDA+=' <td width="110px" valign="top" align="center"> <div><a target="_blank" href="http://'+(n[5]?n[5]:'www')+'.marketgid.com/ghits/'+n[1]+'/i/295/k/'+n[6]+'" ><IMG width="100" height="100" width="120" height="120"src="http://imgg.dt00.net/'+Math.floor(n[1]/1000)+'/'+n[1]+'_b'+(n[2]==2?'.gif':'.jpg')+'" /></a></div> <a target="_blank" href="http://'+(n[5]?n[5]:'www')+'.marketgid.com/ghits/'+n[1]+'/i/295/k/'+n[6]+'" class="mcdesc" ><cite>'+MGD07295(n[4])+'</cite></a> <div style="font-size:11px; font-weight: bold; color:#ff5000; text-decoration: none; font-family:tahoma;">'+n[7]+'</div> <div style="font-size:10px; font-weight: normal; color:#555555; text-decoration: none; font-family:tahoma;padding:5px;" align="left">'+n[9]+'</div> </td>'; if ( MGD00 == 2){ MGDA+='</tr><tr>'; } MGDA+=''; MGD00++; } function MarketGidLoad(json){ MarketGidLoadGoods295(json); } function MarketGidLoadGoods295(json){ var i; if(!json) json=Array(); MGDA=''; for (i=0;i<json.length;i++) MGD09295(json[i]); if (MGDQ295) MGDQ295.innerHTML = '<table style="border:1px solid #cccccc;" bgcolor="#f9f9f9" width="240" height="350" cellpadding="0" cellspacing="0" border="0" class="mctable" style="border-collapse:collapse;" > <tr> '+MGDA+' </tr></table> '; } function MarketNext295(){ MGDZ=parseInt(MGD01295("MG_295")); if(MGDZ<20) MGDZ++; else MGDZ=1; document.cookie="MG_295="+MGDZ+";path=/"; MarketSetPage295(MGDZ); } function MarketSetPage295(n){ MGDA = ''; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'http://goodsblock2.dt00.net/j/295/' + n; MGDQ.appendChild(script); } function MarketPrev295(){ MGDZ=parseInt(MGD01295("MG_295")); if(MGDZ>1) MGDZ--; else MGDZ=20; document.cookie="MG_295="+MGDZ+";path=/"; MarketSetPage295(MGDZ); } var MGDZ = 1; var MGDA=''; var MGDQ295 = document.getElementById('MarketGid295'); var MG_c=MGD01295("MG_295"); var MGD00=1; var MGDRG295=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_295="+MGDZ+";path=/"; if (MGDQ295) { document.write('<style type="text/css">a.mcdesc:link,a.mcdesc:active,a.mcdesc:hover,a.mcdesc:visited{ font-size:12px; font-weight: normal; color:#063FC8; text-decoration: none; font-family:tahoma; } .mctable td{ padding:2px; } .mctable img{ border: 2px solid #cccccc; margin: 2px 1px 2px 0px; } .mctable cite { font-size:10px; font-weight: bold; color:#003399; text-decoration: none; font-family:tahoma; font-style:normal;border-bottom:0px; }.mctable cite:hover {text-decoration:underline;} <'+'/style>'); document.write('<scr'+'ipt charset="utf-8" type="text/javascript" src="http://aa.goodsblock.dt00.net/j/295/'+MGDZ+'"><'+'/scr'+'ipt>'); }
