var u_u14_imgs = new VsbPreloadImgArray(); //初始化图片

function u_u14_init_img()
{

u_u14_imgs.addImg(“\/local\/C\/7D\/C7\/5B15C68587E86C0F819E86BD4B7_D207EB81_D4CB.jpg”, “0”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/A\/8E\/67\/D9EB5309BC7F2D55975250C7EFC_A22A892F_EE3E.jpeg”, “1”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/A\/B2\/EB\/2D548B2CB7FB7F358744A21FED8_2B539F67_C847.jpg”, “2”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/9\/02\/E3\/5A135C5D862E3EA39DF5E899AA2_D7432C87_F139.jpg”, “3”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/4\/55\/B4\/6CDB38C2EDC2D8B9F54ED42EDF4_37D70569_B667.jpg”, “4”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/A\/EC\/C5\/CFA274DC6CCAEDE8126DC0D3B01_9C71E02F_CC12.jpg”, “5”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/2\/72\/55\/6BFCC3B7C8807E64357CD65A9CF_70A9B473_97FE.jpg”, “6”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/D\/B9\/6D\/E9D571D9373D0932EE1DDCD1CCB_F0381038_6308.jpg”, “7”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/3\/91\/17\/59D906E1724EC18F5F51031A7CB_F8FB7A3D_9C56.png”, “8”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/0\/EE\/17\/B0FAD5FA8484CE428369054DE65_D98EE585_C2C4.jpg”, “9”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/4\/E6\/59\/C905ACB567829B3C65EA2C4BC22_63C03BC9_BA92.jpg”, “10”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/3\/97\/EE\/A95886B1C9B6458B6C470C0B753_0AB3FE8B_650C.png”, “11”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/A\/73\/10\/1001FB354498209F4FC29D8767D_4A3EA423_D00D.jpg”, “12”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/C\/5A\/66\/3BA65D58661A1D4B489CF5D04E9_D6C65F22_984B.jpg”, “13”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/B\/F5\/CB\/C153DF4D3E9240AF9AF16891C97_B35FD858_F1F1.jpg”, “14”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/F\/51\/D0\/89ED41EB44818D38E71E045823F_C803D0E2_A90B.jpg”, “15”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/D\/4B\/8B\/690059BB78FFF78DC0629140C08_0BDCEB45_DD69.jpg”, “16”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/6\/AE\/CE\/9AE2B06F9620AB48FCEA60B5EBA_0257DBE1_8FBF.jpg”, “17”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/3\/DE\/7F\/39E9AD9DB75960242D26A92FA71_47B93CA2_E5E9.jpg”, “18”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/2\/B5\/87\/3F7E94014E156F22A031C40CC61_A67FEB15_7587.png”, “19”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/9\/9A\/0B\/807AA11CC17E5D47C42469C501E_AAF5E04F_8F77.jpg”, “20”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/7\/64\/2F\/015874B596E5D5C31D2D84E0BFB_56EFD8F1_9C18.jpg”, “21”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/5\/FA\/D4\/6320C071478402D77D7DDF49148_A64397CC_162FB.png”, “22”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/9\/6A\/52\/A5588F5BA04D1BF8AAAC937B2D8_E5006CD1_7C5B.jpg”, “23”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/3\/6D\/DA\/5646392295A6EF3D20F902562A9_934255C3_CFBA.jpg”, “24”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/2\/CF\/3A\/4DAA61F223A88EA643DD8955F90_76FCB6EC_FEA3.jpg”, “25”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/E\/EF\/85\/5A5861793AB781CD651597059C1_AB4052FC_F03E.jpg”, “26”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/E\/64\/C7\/EA4FEEF960F55DA5A696B4CC025_4AD2FB04_AAF3.jpg”, “27”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/2\/39\/42\/9D957E8E6D1886B5203455B6722_0D958F79_BFC0.jpg”, “28”, u_u14_onimgload); u_u14_imgs.addImg(“\/local\/6\/F0\/69\/8EC9533C9275C2B38F41EFD9A06_02C877BC_A9A4.jpg”, “29”, u_u14_onimgload); }

function u_u14_onimgload(img, imgid)
{
    var imgobjs = document.getElementsByName("u_u14_img");
    var imgindex = new Number(imgid);

img.showImg(imgobjs[imgindex], 150, 112, true, true);

    img.showImg(imgobjs[imgindex+ 30], 150, 112, true, true);
}

var u_u14_MyMar;

var u_u14_speed3;
var u_u14_move = true;
var u_u14_movenum = 0;
var u_u14_pos = null; //td位置

function u_u14_initpos()

{
    u_u14_pos = new Array();

var tds1 = document.getElementById(“u_u14_demo1”).children[0].rows[0].cells; for(var i = 0 ;i < tds1.length; i++)

    {
        u_u14_pos[u_u14_pos.length] = tds1[i].offsetLeft;
    }

var tds2 = document.getElementById(“u_u14_demo2”).children[0].rows[0].cells;

    var tds2offset = document.getElementById("u_u14_demo2").offsetLeft;
    for(var i = 0 ;i < tds2.length; i++)
    {
        u_u14_pos[u_u14_pos.length] = tds2[i].offsetLeft + tds2offset;
    }
}
function u_u14_getpos(scrollpos)
{
    for(var i = 0; i < u_u14_pos.length; i++)
    {
        if(scrollpos < u_u14_pos[i])
            return i-1;
    }
}

function u_u14_Marquee()

{
    try 
    { 
        if(!u_u14_move)
            return;

var demoobj = document.getElementById(“u_u14_demo”);

        var demo1obj = document.getElementById("u_u14_demo1");
        //滚动步长
        var scrollstep = 1

//当前位置

        var oldscrollLeft = demoobj.scrollLeft;

//更新后的位置, 已考虑过回滚

        var newscrollLeft = (oldscrollLeft + scrollstep)%demo1obj.scrollWidth;

demoobj.scrollLeft = newscrollLeft; }

    catch(e) 
    { 
    } 
} 
function u_u14_clearInterval()
{
    clearInterval(u_u14_MyMar);
}

function u_u14_setInterval()

{
    u_u14_MyMar = setInterval(u_u14_Marquee,u_u14_speed3);
}

function u_u14_stopmove()

{
    u_u14_move = false;
}
function u_u14_startmove()
{
    u_u14_move = true;
}

function u_u14_init()

{
    u_u14_speed3 = 100;
    if(u_u14_speed3 < 1)
    {
        u_u14_speed3 = 1;
    }

document.getElementById(“u_u14_demo”).onmouseover = u_u14_stopmove;

    document.getElementById("u_u14_demo").onmouseout = u_u14_startmove;
    document.getElementById("u_u14_demo2").innerHTML = document.getElementById("u_u14_demo1").innerHTML;

u_u14_init_img(); u_u14_setInterval(); } u_u14_init();