function showshare(a,j,h,b){var f=arguments[2]?arguments[2]:"";var g=arguments[3]?arguments[3]:document.location;if(j==0){var r="我发现了一个可以搜索潮流单品，创建服装搭配的网站，好玩又实用，分享给大家："+document.title}else{if(j==1){var r="这个搭配很潮很实用，分享给大家："+document.title;var n=g.toString().split(".")[0].split("-")[1];recordFav(n,null,3)}else{if(j==2){var r="我刚创建了一个搭配，得意之作，分享给大家："+document.title}}}var k={url:g,title:r,source:"",content:"gb2312",pic:f,sourceurl:""};var i={url:g,title:r,site:"",pic:f};var m={url:g,title:r,pic:f};var l={url:g,title:r,sel:"",v:1};var e={rurl:g,rtitle:r};var d={url:g,title:r,content:"utf-8",pic:f};if(a=="sina"){var q=[];for(var c in k){q.push(c+"="+encodeURIComponent(k[c]||""))}var o="http://v.t.sina.com.cn/share/share.php?appkey=2044229735&"+q.join("&");window.open(o,"","toolbar=0,status=0,resizable=1,width=440,height=430,left="+(screen.width-440)/2+",top="+(screen.height-430)/2)}else{if(a=="tencent"){var q=[];for(var c in i){q.push(c+"="+encodeURIComponent(i[c]||""))}var o="http://v.t.qq.com/share/share.php?appkey=appkey&"+q.join("&");window.open(o,"","width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no")}else{if(a=="sohu"){var q=[];for(var c in d){q.push(c+"="+encodeURIComponent(d[c]||""))}var o="http://t.sohu.com/third/post.jsp?"+q.join("&");window.open(o,"","toolbar=0,status=0,resizable=1,width=660,height=470,left="+(screen.width-660)/2+",top="+(screen.height-470)/2)}else{if(a=="douban"){var q=[];for(var c in l){q.push(c+"="+encodeURIComponent(l[c]||""))}var o="http://www.douban.com/recommend/?"+q.join("&");window.open(o,"douban","toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330")}else{if(a=="kaixin"){var q=[];for(var c in e){q.push(c+"="+encodeURIComponent(e[c]||""))}var o="http://www.kaixin001.com/repaste/bshare.php?"+q.join("&");window.open(o,"","width=700, height=500, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no")}else{if(a=="renren"){var q=[];for(var c in m){q.push(c+"="+encodeURIComponent(m[c]||""))}var o="http://share.renren.com/share/buttonshare/post/4001?"+q.join("&");window.open(o,"","width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no")}}}}}}};
