function addToFav(){
    var url = "http://www.miaotiao520.net/";
    var title = "2011年淘宝最新减肥药排行榜";
	if (window.confirm("【如果您正准备减肥，建议收藏本站】\n\n   点确定加入收藏夹(*^__^*) !"))
	{
		if (document.all){
			window.external.AddFavorite( url, title);
		} else if(window.sidebar){
			window.sidebar.addPanel(title, url,"");
		} else if(window.opera) { // Opera 7+
			alert("other");
			return false; // do nothing
		} else { 
				alert('对不起，您的浏览器不支持这个操作，请使用 Ctrl+D 进行添加！');
		}
	}
}
function addToFavClick(){
    var url = "http://www.miaotiao520.net/";
    var title = "2011年淘宝最新减肥药排行榜";
	if (document.all){
		window.external.AddFavorite( url, title);
	} else if(window.sidebar){
		window.sidebar.addPanel(title, url,"");
	} else if(window.opera) { // Opera 7+
		alert("other");
		return false; // do nothing
	} else { 
			alert('对不起，您的浏览器不支持这个操作，请使用 Ctrl+D 进行添加！');
	}
}
function dataProcess(){
	currInfo(260,100,876938);
	initPageData();
	countVisiter();
	doSomeExProcess();
}
function doSomeExProcess(){
	document.getElementById("attention").style.display="none";
	document.getElementById("article_content_div").style.display="none";
}
function currInfo(currOnlineRNum,leastOnline,allVisited){
	var currOnline = Math.round(Math.random()*currOnlineRNum);
	currOnline = currOnline + leastOnline;
	var currOnlineShow = document.getElementById("currOnline");
	currOnlineShow.innerHTML = "当前在线：<span style=\"color:red;\"><I><B>" + currOnline + "</B></I></span> 人";
	currOnlineShow = document.getElementById("allVisited");
	currOnlineShow.innerHTML = "累积访问：<span style=\"color:red;\"><I><B>" + allVisited + "</B></I></span> 人";
}
function aboutUs(){
	var currDIV = document.getElementById("attention");
	currDIV.innerHTML = "对不起，您可能无权访问 http://www.miaotiao520.net/aboutus.html ，“关于我们” 只针对合作伙伴开放，请加入我们再访问！";	
	currDIV.style.display = "block";
}
function joinUs(){
	var currDIV = document.getElementById("attention");
	currDIV.innerHTML = "对不起，您可能无权访问 http://www.miaotiao520.net/joinus.html ，“加入我们” 目前尚未开放！";	
	currDIV.style.display = "block";
}
function privacy(){
	var currDIV = document.getElementById("attention");
	currDIV.innerHTML = "对不起，您可能无权访问 http://www.miaotiao520.net/privacy.html ，“隐私政策” 只针对特殊人员开放，请授权后再访问！";	
	currDIV.style.display = "block";
}
window.onbeforeunload = addToFav;
window.onload = dataProcess;

/*Ajax count*/
//声明XMLHtttpRequest对象	
function countClick(pos){
	var xRequest = createRequest();
	//成功创建
	if(xRequest){
		xRequest.open("POST","http://www.miaotiao520.net/countClick.php?pos=" + pos); //建立服务器请求, ajaxtest 为请求的 servlet
		xRequest.onreadystatechange = callbackExcute; //指定回调方法
		xRequest.send(""); //发送请求
	}
}
//回调方法
function callbackExcute(){
	return;
}
function countVisiter(){
	var xRequest = createRequest();
	//成功创建
	if(xRequest){
		xRequest.open("POST","http://www.miaotiao520.net/countVisiter.php"); //建立服务器请求, ajaxtest 为请求的 servlet
		xRequest.onreadystatechange = callbackExcute; //指定回调方法
		xRequest.send(""); //发送请求
	}
}
//创建request
function createRequest(){
	var xRequest;
	//判断IE浏览器版本
	try{
		xRequest = new ActiveXObject("Msxml2.XMLHTTP");//创建旧版本IE请求对象
	} catch (e) {
		 try {
			if(window.XMLHttpRequest){
				xRequest = new XMLHttpRequest();//创建新版本IE请求对象
			}else if (ActiveXObject){
				xRequest = new ActiveXObject("Microsoft.XMLHTTP"); //创建COM组件
			}
		} catch (e) {
			xRequest = 0;
		}
	}
	//创建非IE浏览器请求对象
	if (!xRequest && XMLHttpRequest) {
		xRequest = new XMLHttpRequest();
	}
	return xRequest;
}
function click_change_div(flag){
	if(flag=="fl"){
		document.getElementById("friendlink_content_div").style.display="block";
		document.getElementById("article_content_div").style.display="none";
	}else if(flag=="ac"){
		document.getElementById("article_content_div").style.display="block";
		document.getElementById("friendlink_content_div").style.display="none";
	}
}
//初始化数据
function initPageData(){
	var method_click = "countClick";

	var top_ad_href = "http://s.click.taobao.com/t_1?i=ofmTTRZFf4fjCA%3D%3D&p=mm_17320597_0_0&n=11";
	var top_ad_text = "正品保证左旋肉碱脂肪燃烧强效减肥不反弹最安全的减肥产品买2送1";

	var top_ad_line_href = "http://s.click.taobao.com/t_1?i=qXn7If2j6R2s%2Fts%3D&p=mm_17320597_0_0&n=11";
	var top_ad_line_text = "纯中药健康减肥药 减淝药销售排行榜安全顽固性瘦身产品 男女通用";

	var href_01 = "http://s.click.taobao.com/t_1?i=ofmTTRZFf4fjCA%3D%3D&p=mm_17320597_0_0&n=11";
	var text_01 = "正品保证左旋肉碱脂肪燃烧强效减肥不反弹最安全的减肥产品买2送1";
	var introduction_01 = "【主要原料】山楂、茯苓、荷叶、决明子 【适宜人群】单纯性肥胖...";
	var price_01 = "138";
	var selledCount_01 = "28097";
	var credit_01 = "139128";
	var credit_img_01 = "s_cap_4.gif";
	var ad_pic_url_01 = "http://www.miaotiao520.net/images/top_01.gif";

	var href_02 = "http://s.click.taobao.com/t_1?i=qXn7If2j6R2s%2Fts%3D&p=mm_17320597_0_0&n=11";
	var text_02 = "纯中药健康减肥药 减淝药销售排行榜安全顽固性瘦身产品 男女通用";
	var introduction_02 = "【主要原料】 左旋肉碱.红茶.藿香.果.花椒.牡蛎.酸枣仁.莱菔子.罗汉果...";
	var price_02 = "238";
	var selledCount_02 = "27299";
	var credit_02 = "89396";
	var credit_img_02 = "s_cap_3.gif";
	var ad_pic_url_02= "http://www.miaotiao520.net/images/top_02.gif";

	var href_03 = "http://s.click.taobao.com/t_1?i=ofmXEqiVQSB6nQ%3D%3D&p=mm_17320597_0_0&n=11";
	var text_03 = "138元两盒 60天量 左旋肉碱 左旋肉减正品 减肥药/胶囊 送荷叶粉";
	var introduction_03 = "【主要原料】左旋肉碱，藤黄果提取物，花旗参提取物，花椒，酸枣...";
	var price_03 = "138";
	var selledCount_03 = "23219";
	var credit_03 = "82785";
	var credit_img_03 = "s_cap_3.gif";
	var ad_pic_url_03= "http://www.miaotiao520.net/images/top_03.gif";

	var href_04 = "http://s.click.taobao.com/t_1?i=qza2s3E3tRwlRQ%3D%3D&p=mm_17320597_0_0&n=11";
	var text_04 = "四皇冠正品欧麦诗闪电定点瘦 强效瘦身减肥纤体减淝 包邮";
	var introduction_04 = "〖适用人群〗：适用于顽固性肥胖、单纯性肥胖、反复减肥无效者...";
	var price_04 = "388";
	var selledCount_04 = "21356";
	var credit_04 = "68671";
	var credit_img_04 = "s_cap_3.gif";
	var ad_pic_url_04= "http://www.miaotiao520.net/images/top_04.gif";

	var href_05 = "http://s.click.taobao.com/t_1?i=rWZtcHMuzYoTkQ%3D%3D&p=mm_17320597_0_0&n=11";
	var text_05 = "强效瘦身 左旋肉碱减肥药正品 左旋肉减淝药销售排行榜 男女通用";
	var introduction_05 = "欧麦诗闪电定点瘦效果十分显著，上市以来得到很多消费者的认可，在...";
	var price_05 = "139";
	var selledCount_05 = "19562";
	var credit_05 = "92893";
	var credit_img_05 = "s_cap_3.gif";
	var ad_pic_url_05= "http://www.miaotiao520.net/images/top_05.gif";

	var href_06 = "http://s.click.taobao.com/t_1?i=qXsv9o%2BParnnEF8%3D&p=mm_17320597_0_0&n=11";
	var text_06 = "纯中药瘦身减肥药左旋肉碱左旋肉减正品日本绿素减淝药销售排行榜";
	var introduction_06 = "【主要原料】左旋肉碱 罗汉果 酸枣仁 红茶 花椒 莱菔子 藿香果 牡...";
	var price_06 = "225";
	var selledCount_06 = "18395";
	var credit_06 = "36887";
	var credit_img_06 = "s_cap_2.gif";
	var ad_pic_url_06= "http://www.miaotiao520.net/images/top_06.gif";

	var href_07 = "http://s.click.taobao.com/t_1?i=qzwxGP%2BoFm7Sag%3D%3D&p=mm_17320597_0_0&n=11";
	var text_07 = "最有效的中药瘦身产品强效减肥药胶囊正品burning减淝药左旋肉碱";
	var introduction_07 = "〖适用人群〗：适用于顽固性肥胖、单纯性肥胖、反复减肥无效者...";
	var price_07 = "280";
	var selledCount_07 = "17216";
	var credit_07 = "45379";
	var credit_img_07 = "s_cap_2.gif";
	var ad_pic_url_07= "http://www.miaotiao520.net/images/top_07.gif";

	var href_08 = "http://s.click.taobao.com/t_8?e=7HZ6jHSTa05ay%2FgNmRXs2EVdfao1IRPEvryWlcle11c%3D&p=mm_17320597_0_0";
	var text_08 = "纯中药减肥药安全健康天然绿色瘦身强过左旋肉减左旋肉碱超级p57";
	var introduction_08 = "蔬果减肥是国际上公认安全的、有效的方法！以下是湖南电视台“百...";
	var price_08 = "235";
	var selledCount_08 = "16845";
	var credit_08 = "95768";
	var credit_img_08 = "s_cap_3.gif";
	var ad_pic_url_08= "http://www.miaotiao520.net/images/top_08.gif";

	var href_09 = "http://s.click.taobao.com/t_1?i=ofNlxDzkaExChQ%3D%3D&p=mm_17320597_0_0&n=11";
	var text_09 = "健康减肥首选 左旋肉碱安全瘦身销售排行榜男女通用丄甯..肉减";
	var introduction_09 = "安必瘦纤纤纯植物减肥药的主要成份是： （1）决明子：无毒副作用...";
	var price_09 = "138";
	var selledCount_09 = "13067";
	var credit_09 = "81273";
	var credit_img_09 = "s_cap_3.gif";
	var ad_pic_url_09= "http://www.miaotiao520.net/images/top_09.gif";

	var href_10 = "http://s.click.taobao.com/t_1?i=qXjf7e0kI%2FLjKxQ%3D&p=mm_17320597_0_0&n=11";
	var text_10 = "热销纯天然减肥含左旋肉碱 安全瘦身减淝排行傍第一 男女通用";
	var introduction_10 = "悄悄瘦减肥软胶囊，有西木博士推荐的左旋肉碱成分，每100克中含...";
	var price_10 = "138";
	var selledCount_10 = "11893";
	var credit_10 = "71989";
	var credit_img_10 = "s_cap_3.gif";
	var ad_pic_url_10 = "http://www.miaotiao520.net/images/top_10.gif";

	var allItems = {
		"top_01":{"href_img":"<A onclick=\"" + method_click + "('pos1');\" href=\"" + href_01 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_01 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos1');\" href=\"" + href_01 + "\" target=\"_blank\">" + text_01 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_01,"price":"<b>一口价：</b>" + price_01 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_01 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_01 + "\" title=\"卖家信用：" + credit_01 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos1');\" href=\"" + href_01 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos1');\" href=\"" + href_01 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_02":{"href_img":"<A onclick=\"" + method_click + "('pos2');\" href=\"" + href_02 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_02 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos2');\" href=\"" + href_02 + "\" target=\"_blank\">" + text_02 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_02,"price":"<b>一口价：</b>" + price_02 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_02 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_02 + "\" title=\"卖家信用：" + credit_02 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos2');\" href=\"" + href_02 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos2');\" href=\"" + href_02 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_03":{"href_img":"<A onclick=\"" + method_click + "('pos3');\" href=\"" + href_03 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_03 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos3');\" href=\"" + href_03 + "\" target=\"_blank\">" + text_03 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_03,"price":"<b>一口价：</b>" + price_03 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_03 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_03 + "\" title=\"卖家信用：" + credit_03 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos3');\" href=\"" + href_03 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos3');\" href=\"" + href_03 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},
			

		"top_04":{"href_img":"<A onclick=\"" + method_click + "('pos4');\" href=\"" + href_04 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_04 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos4');\" href=\"" + href_04 + "\" target=\"_blank\">" + text_04 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_04,"price":"<b>一口价：</b>" + price_04 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_04 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_04 + "\" title=\"卖家信用：" + credit_04 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos4');\" href=\"" + href_04 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos4');\" href=\"" + href_04 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_05":{"href_img":"<A onclick=\"" + method_click + "('pos5');\" href=\"" + href_05 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_05 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos5');\" href=\"" + href_05 + "\" target=\"_blank\">" + text_05 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_05,"price":"<b>一口价：</b>" + price_05 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_05 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_05 + "\" title=\"卖家信用：" + credit_05 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos5');\" href=\"" + href_05 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos5');\" href=\"" + href_05 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_06":{"href_img":"<A onclick=\"" + method_click + "('pos6');\" href=\"" + href_06 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_06 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos6');\" href=\"" + href_06 + "\" target=\"_blank\">" + text_06 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_06,"price":"<b>一口价：</b>" + price_06 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_06 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_06 + "\" title=\"卖家信用：" + credit_06 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos6');\" href=\"" + href_06 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos6');\" href=\"" + href_06 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_07":{"href_img":"<A onclick=\"" + method_click + "('pos7');\" href=\"" + href_07 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_07 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos7');\" href=\"" + href_07 + "\" target=\"_blank\">" + text_07 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_07,"price":"<b>一口价：</b>" + price_07 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_07 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_07 + "\" title=\"卖家信用：" + credit_07 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos7');\" href=\"" + href_07 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos7');\" href=\"" + href_07 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_08":{"href_img":"<A onclick=\"" + method_click + "('pos8');\" href=\"" + href_08 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_08 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos8');\" href=\"" + href_08 + "\" target=\"_blank\">" + text_08 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_08,"price":"<b>一口价：</b>" + price_08 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_08 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_08 + "\" title=\"卖家信用：" + credit_08 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos8');\" href=\"" + href_08 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos8');\" href=\"" + href_08 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_09":{"href_img":"<A onclick=\"" + method_click + "('pos9');\" href=\"" + href_09 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_09 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos9');\" href=\"" + href_09 + "\" target=\"_blank\">" + text_09 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_09,"price":"<b>一口价：</b>" + price_09 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_09 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_09 + "\" title=\"卖家信用：" + credit_09 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos9');\" href=\"" + href_09 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos9');\" href=\"" + href_09 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"},


		"top_10":{"href_img":"<A onclick=\"" + method_click + "('pos10');\" href=\"" + href_10 + "\" target=\"_blank\"><IMG title=\"到淘宝网了解更多...\" alt=\"减肥药排行榜\" src=\"" + ad_pic_url_10 + "\" class=\"fatpic\"></A>","href_text":"<br><A onclick=\"" + method_click + "('pos10');\" href=\"" + href_10 + "\" target=\"_blank\">" + text_10 + "</A>","introduction":"&nbsp;&nbsp;&nbsp;&nbsp;" + introduction_10,"price":"<b>一口价：</b>" + price_10 + ".00 元","selled":"<b>已售出(1-2月)：</b>" + selledCount_10 + " 件","credit":"<b>信誉等级：</b><img src=\"http://www.miaotiao520.net/images/" + credit_img_10 + "\" title=\"卖家信用：" + credit_10 + "\">","buy_info":"<br>&nbsp;<A onclick=\"" + method_click + "('pos10');\" href=\"" + href_10 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/buy.png\" title=\"马上去淘宝网购买\"></A>&nbsp;&nbsp;<A onclick=\"" + method_click + "('pos10');\" href=\"" + href_10 + "\" target=\"_blank\"><IMG src=\"http://www.miaotiao520.net/images/more.png\" title=\"去淘宝网查看详情\"></A>"}
	}

	document.getElementById("top_ad_link").innerHTML = "<A href=\"" + top_ad_href + "\" target=\"_blank\" onclick=\"" + method_click + "('pos11');\"><IMG height=\"74\" title=\"" + top_ad_text + "\" src=\"http://www.miaotiao520.net/images/dgimg.gif\" tppabs=\"http://www.miaotiao520.net/images/dgimg.gif\" width=\"75\" border=\"0\"></A>";
	
	document.getElementById("showPicLine_01").innerHTML = "<A href=\"" + top_ad_line_href + "\" target=\"_blank\" onclick=\"" + method_click + "('pos12');\"><img alt=\"最有效的减肥药\" title = \""+ top_ad_line_text +"\" src=\"http://www.miaotiao520.net/images/top-pic.gif\">";
	document.getElementById("showPicLine_02").innerHTML = "<A href=\"" + top_ad_line_href + "\" target=\"_blank\" onclick=\"" + method_click + "('pos13');\"><img alt=\"最有效的减肥药\" title = \""+ top_ad_line_text +"\" src=\"http://www.miaotiao520.net/images/top-pic.gif\">";
	document.getElementById("showPicLine_03").innerHTML = "<A href=\"" + top_ad_line_href + "\" target=\"_blank\" onclick=\"" + method_click + "('pos13');\"><img alt=\"最有效的减肥药\" title = \""+ top_ad_line_text +"\" src=\"http://www.miaotiao520.net/images/adsb.jpg\">";

	document.getElementById("top_01_img").innerHTML = allItems.top_01.href_img;
	document.getElementById("top_01_text").innerHTML = allItems.top_01.href_text;
	document.getElementById("top_01_introduction").innerHTML = allItems.top_01.introduction;
	document.getElementById("top_01_price").innerHTML = allItems.top_01.price;
	document.getElementById("top_01_selled").innerHTML = allItems.top_01.selled;
	document.getElementById("top_01_credit").innerHTML = allItems.top_01.credit;
	document.getElementById("top_01_buyinfo").innerHTML = allItems.top_01.buy_info;

	document.getElementById("top_02_img").innerHTML = allItems.top_02.href_img;
	document.getElementById("top_02_text").innerHTML = allItems.top_02.href_text;
	document.getElementById("top_02_introduction").innerHTML = allItems.top_02.introduction;
	document.getElementById("top_02_price").innerHTML = allItems.top_02.price;
	document.getElementById("top_02_selled").innerHTML = allItems.top_02.selled;
	document.getElementById("top_02_credit").innerHTML = allItems.top_02.credit;
	document.getElementById("top_02_buyinfo").innerHTML = allItems.top_02.buy_info;


	document.getElementById("top_03_img").innerHTML = allItems.top_03.href_img;
	document.getElementById("top_03_text").innerHTML = allItems.top_03.href_text;
	document.getElementById("top_03_introduction").innerHTML = allItems.top_03.introduction;
	document.getElementById("top_03_price").innerHTML = allItems.top_03.price;
	document.getElementById("top_03_selled").innerHTML = allItems.top_03.selled;
	document.getElementById("top_03_credit").innerHTML = allItems.top_03.credit;
	document.getElementById("top_03_buyinfo").innerHTML = allItems.top_03.buy_info;

	document.getElementById("top_04_img").innerHTML = allItems.top_04.href_img;
	document.getElementById("top_04_text").innerHTML = allItems.top_04.href_text;
	document.getElementById("top_04_introduction").innerHTML = allItems.top_04.introduction;
	document.getElementById("top_04_price").innerHTML = allItems.top_04.price;
	document.getElementById("top_04_selled").innerHTML = allItems.top_04.selled;
	document.getElementById("top_04_credit").innerHTML = allItems.top_04.credit;
	document.getElementById("top_04_buyinfo").innerHTML = allItems.top_04.buy_info;

	document.getElementById("top_05_img").innerHTML = allItems.top_05.href_img;
	document.getElementById("top_05_text").innerHTML = allItems.top_05.href_text;
	document.getElementById("top_05_introduction").innerHTML = allItems.top_05.introduction;
	document.getElementById("top_05_price").innerHTML = allItems.top_05.price;
	document.getElementById("top_05_selled").innerHTML = allItems.top_05.selled;
	document.getElementById("top_05_credit").innerHTML = allItems.top_05.credit;
	document.getElementById("top_05_buyinfo").innerHTML = allItems.top_05.buy_info;

	document.getElementById("top_06_img").innerHTML = allItems.top_06.href_img;
	document.getElementById("top_06_text").innerHTML = allItems.top_06.href_text;
	document.getElementById("top_06_introduction").innerHTML = allItems.top_06.introduction;
	document.getElementById("top_06_price").innerHTML = allItems.top_06.price;
	document.getElementById("top_06_selled").innerHTML = allItems.top_06.selled;
	document.getElementById("top_06_credit").innerHTML = allItems.top_06.credit;
	document.getElementById("top_06_buyinfo").innerHTML = allItems.top_06.buy_info;

	document.getElementById("top_07_img").innerHTML = allItems.top_07.href_img;
	document.getElementById("top_07_text").innerHTML = allItems.top_07.href_text;
	document.getElementById("top_07_introduction").innerHTML = allItems.top_07.introduction;
	document.getElementById("top_07_price").innerHTML = allItems.top_07.price;
	document.getElementById("top_07_selled").innerHTML = allItems.top_07.selled;
	document.getElementById("top_07_credit").innerHTML = allItems.top_07.credit;
	document.getElementById("top_07_buyinfo").innerHTML = allItems.top_07.buy_info;

	document.getElementById("top_08_img").innerHTML = allItems.top_08.href_img;
	document.getElementById("top_08_text").innerHTML = allItems.top_08.href_text;
	document.getElementById("top_08_introduction").innerHTML = allItems.top_08.introduction;
	document.getElementById("top_08_price").innerHTML = allItems.top_08.price;
	document.getElementById("top_08_selled").innerHTML = allItems.top_08.selled;
	document.getElementById("top_08_credit").innerHTML = allItems.top_08.credit;
	document.getElementById("top_08_buyinfo").innerHTML = allItems.top_08.buy_info;

	document.getElementById("top_09_img").innerHTML = allItems.top_09.href_img;
	document.getElementById("top_09_text").innerHTML = allItems.top_09.href_text;
	document.getElementById("top_09_introduction").innerHTML = allItems.top_09.introduction;
	document.getElementById("top_09_price").innerHTML = allItems.top_09.price;
	document.getElementById("top_09_selled").innerHTML = allItems.top_09.selled;
	document.getElementById("top_09_credit").innerHTML = allItems.top_09.credit;
	document.getElementById("top_09_buyinfo").innerHTML = allItems.top_09.buy_info;

	document.getElementById("top_10_img").innerHTML = allItems.top_10.href_img;
	document.getElementById("top_10_text").innerHTML = allItems.top_10.href_text;
	document.getElementById("top_10_introduction").innerHTML = allItems.top_10.introduction;
	document.getElementById("top_10_price").innerHTML = allItems.top_10.price;
	document.getElementById("top_10_selled").innerHTML = allItems.top_10.selled;
	document.getElementById("top_10_credit").innerHTML = allItems.top_10.credit;
	document.getElementById("top_10_buyinfo").innerHTML = allItems.top_10.buy_info;

	document.getElementById("footer_info_01").innerHTML = "本榜根据产品性能及专业调查统计进行排行";
	document.getElementById("footer_info_02").innerHTML = "淘宝数据统计销量排行  &#169; 2010-2011 miaotiao520.net Inc.";
	document.getElementById("showqqpic").innerHTML = "站长QQ：<a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=1&uin=770212687&site=qq&menu=yes\" title=\"友情链接合作\">770212687</a>&nbsp;&nbsp;本站VPS支持：<a target=\"_blank\" href=\"http://billing.vpsyou.com/aff.php?aff=440\" title=\"VPSYOU\">VPSYOU</a>";
}
