function screnren() {
javascript:window.open('http://share.xiaonei.com/share/buttonshare.do?link='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title),'favit','width=626,height=436,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)
}

function sckaixin() {
javascript:window.open('http://www.kaixin001.com/~repaste/repaste.php?rtitle='+encodeURIComponent(document.title)+'&rurl='+encodeURIComponent(document.location.href)+'&rcontent='+encodeURIComponent("可以搜索的淘宝销量排行榜，淘宝实时数据，准确，不可错过的一个淘宝小工具！"),'favit','width=626,height=436,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)
}
	
function scdouban() {
javascript:window.open('http://9.douban.com/recommend/?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title),'favit','width=626,height=436,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)
}

function scsinaweibo() {
javascript:window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(document.location.href),'favit','width=626,height=436,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)
}

function bookhome(){
this.style.behavior='url(#default#homepage)';
this.setHomePage(document.location.href);
}
function scqq(){//收藏到qq书签
        javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)
}


function scbaidu(){//收藏百度
        javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0

}
function bookmarkit(){
        if ( window.sidebar && "object" == typeof( window.sidebar ) && "function" == typeof( window.sidebar.addPanel ) )
        {
         window.sidebar.addPanel( document.title, document.location.href, '' );//  firefox

        }
        else if ( document.all && "object" == typeof( window.external ) )
        {  
		window.external.addFavorite( document.location.href , document.title );//  ie
        }

}
	//  开始了 

var aadd1 = "<script type=\'text\/javascript\'>alimama_pid=\'mm_15244431_0_0\';alimama_type=\'g\';alimama_tks={};alimama_tks.style_i=2;alimama_tks.lg_i=1;alimama_tks.w_i=700;alimama_tks.h_i=69;alimama_tks.btn_i=1;alimama_tks.txt_s=\'\';alimama_tks.hot_i=1;alimama_tks.hc_c=\'#D71418\';alimama_tks.cid_i=0;alimama_tks.t_i=1<\/script><script type=\'text\/javascript\' src=\'http:\/\/a.alimama.cn\/inf.js\'><\/script>"

var aadd2 = "<img src=\"http:\/\/top.ixiatao.com\/img\/sharerenren.gif\" onclick=\"screnren()\" alt=\"将这个排行榜分享到校内网\"><img src=\"http:\/\/top.ixiatao.com\/img\/shareqq.gif\" alt=\"将这个排行榜收藏到QQ\"  onclick=\"scqq()\" \/><img src=\"http:\/\/top.ixiatao.com\/img\/sharebaidu.gif\" alt=\"将这个排行榜收藏到Baidu\" onClick=\"scbaidu()\" \/><img src=\"http:\/\/top.ixiatao.com\/img\/sharekaixin.gif\" alt=\"将这个排行榜分享到开心网\" onClick=\"sckaixin()\" \/><img src=\"http:\/\/top.ixiatao.com\/img\/sharedouban.gif\" alt=\"将这个排行榜分享到豆瓣九点\" onClick=\"scdouban()\" \/><img src=\"http:\/\/top.ixiatao.com\/img\/sharesinaweibo.gif\" alt=\"将这个排行榜分享到新浪微博\" onClick=\"scsinaweibo()\" \/>"

var aadd3 = "<a href='http:\/\/top.ixiatao.com' title='taobao'>淘宝排行榜<\/font><\/a> | <a href='#' onClick='bookmarkit()'>添加到收藏夹<\/a> | <a href='http:\/\/top.ixiatao.com\/paihangbang.html' title='淘宝汇总'>淘宝地图<\/a> | <a href='http:\/\/www.ixiatao.com\/go\/?JEHCZ' title='淘宝汇总'>淘宝商城<\/a> | <a href='http:\/\/www.ixiatao.com\/go\/?FELKN' title='淘宝汇总'>淘宝特卖<\/a> | <a href='http:\/\/www.ixiatao.com\/go\/?PSFKN' title='淘宝汇总'>淘宝风云榜<\/a>"; 


var aadd4 = "<a href='http:\/\/www.ixiatao.com\/go\/p' title='淘宝商城' target='_blank'><img src='http://top.ixiatao.com/img/tmall.gif' alt='淘宝商城正品保证' \/><\/a>";


function submitkey(){
     var url="http://top.ixiatao.com/topshop.php?q="+abc+"&page="+page;
		$.ajax({ 
		   type: "GET", 
		   url: url,
		   contentType:"application/x-www-form-urlencoded:charset=UTF-8",
		   success: function(data){ //处理数据 data指向的是返回来的文本数据
				var lis= data; //li 列表项目
                $(".releatedshop").html(lis);    //将翻译出来的数据呈现在所需位置 
				}
		 });
     var url="http://top.ixiatao.com/mothsearch.php?q="+abc+"&page="+page;
		$.ajax({ 
		   type: "GET", 
		   url: url,
		   contentType:"application/x-www-form-urlencoded:charset=UTF-8",
		   success: function(data){ //处理数据 data指向的是返回来的文本数据
				var lis= data; //li 列表项目
                $(".lstop10").html(lis);    //将翻译出来的数据呈现在所需位置 
				}
		 });
	}	
