﻿//定义热门关键字
var HotArray = new Array("汤臣倍健","奥莱健","夜火","爱侣","积之美");

document.write("<span>热门搜索：</span>");
for (i=0;i<HotArray.length;i++)
{
    if (i==0)
    {
        document.write("<a href=\"http://so.jianke.com/Search_Prod.aspx?type=yp&so="+encodeURI(HotArray[i]).toLowerCase()+"\" title=\""+HotArray[i]+"\">"+HotArray[i]+"</a>");
    }
    else
    {
        document.write(" | <a href=\"http://so.jianke.com/Search_Prod.aspx?type=yp&so="+encodeURI(HotArray[i]).toLowerCase()+"\" title=\""+HotArray[i]+"\">"+HotArray[i]+"</a>");
    }
}