var chd_img_url ="http://all.rayliimg.cn/yili/1013/380x380-2.jpg"; var chd_img_width ="380"; var chd_img_height ="380"; var chd_img_switch ="0"; var third_imp =""; var chd_img_location="1"; var chd_img_offset="0"; function tourl(str){return escape(str);} var img_agent = tourl('http://www.rayli.com.cn/zhuanti/beauty/skincareclass25/index.html'); var swf_agent = tourl('http://rayli.adsame.com/c?z=rayli&la=0&si=1&cg=22&c=575&ci=2&or=1419&l=10021&bg=10021&b=10254&u=http://www.rayli.com.cn/zhuanti/beauty/skincareclass25/index.html'); var pic_result = (function (url,link,esclink,w,h,s,l,d,i){ var ie=!-[1,]; var imgobj = ""; var picposcss =""; var frame_w = w; var frame_h = h; if (l == 1){ picposcss = 'width:'+w+'px;height:'+h+'px;border:none;margin:'+d+'px auto;text-align:center;'; } else if (l == 2){ picposcss = 'width:'+w+'px;height:'+h+'px;border:none;margin:'+d+'px 0;'; } if(url.toLowerCase().indexOf('.swf')>0){ if (ie){ imgobj+=''; } imgobj+=''; if (ie){imgobj+='';} if (s==0){ imgobj+='
'; } } else if(url.toLowerCase().indexOf('.jpg')>0||url.toLowerCase().indexOf('.jpeg')>0||url.toLowerCase().indexOf('.gif')>0||url.toLowerCase().indexOf('.png')>0){ imgobj =''; } else{ imgobj ='
'; } document.write('
'+imgobj+'
'); })(chd_img_url,img_agent,swf_agent,chd_img_width,chd_img_height,chd_img_switch,chd_img_location,chd_img_offset,third_imp);