/*
 * valuecommerce(c)
 */
function isTextBanner(docList){
    var params = getParamFromConvTool();
    if(isDisplayImage(params['img'])) return docList;
    var textBanner = new Array();
    vctl = 40;
    vcdl = 84;
    textBanner.push('<table><tr>');
    vcListAmount -= 1;
    for (i = 0; i < vcListAmount; i++) {
        if(undefined == VcUrl[i]) break;
        textBanner.push('<td><div class="product">');
        var title = chopStrByByte(VcTitle[i], vctl);
        if(undefined != VcDesc[i]){
            var splitData = splitDesc(VcDesc[i]);
            textBanner.push('<p class="details"><a class="title" href="' + vcClUrl + '" target="_blank">' + title + '</a><p class="desc">' + chopStrByByte(splitData['desc'], vcdl) + '</p></p>');
            textBanner.push('<p class="prices">￥' + splitData['price'] + '</p></div></td>');
        }
    }
    textBanner.push('</tr></table>');
    var lTag = '<div class="logo">';
    if(isIE()) lTag = '<div style="text-align:left; font-family:Georgia, Times New Roman, Times, serif; width:100px;">';
    textBanner.push('<div class="logo"><a class="logo" href="%_VCCLICK1_%" target="_blank">Powered by Yahoo!ショッピング</a></div>');
    return textBanner;
}
function style2TextBanner(style, params){
    if(isDisplayImage(params['img'])) return;
    // td
    style['td'].width          = "242px";
    style['td'].height         = "70px";
    // 商品名
    style['a.title'].fontSize  = "10px";
    style['a.title'].position  = ""
    style['a.title'].top       = "";
    style['a.title'].left      = "";
    style['a.title'].marginTop = "0px";
    // 価格
    style['p.prices'].top      = "45px";
    style['p.prices'].left     = "";
    // 備考
    style['p.desc'].fontSize   = "10px";
    style['p.desc'].marginTop  = "0px";
    style['p.desc'].color      = "#000000";
}
