var wid;
var jq = jQuery.noConflict();
// jq(window).resize(function () {
//     //¼àÌýä¯ÀÀÆ÷ÍÏÀ­

//     //alert("123");
//     var wlits, ztts;

//     var Banneridts, ThisBants;
//     Banneridts = 1;
//     wlits = jq("#jqsccs").find("li").length;

//     var BannerWidth, BannerUlBox;
//     BannerUlBox = wlits * 21;
//     BannerWidth = jq("#banner_line_buts").width();
//     jq("#banner_line_but_uls").css("width", BannerUlBox);
//     jq("#banner_line_but_uls").css("left", (BannerWidth - BannerUlBox) / 2);
//     var fabwimg, fabwind, fabmwid;
//     fabwind = jq(window).width();
//     var pic_real_width, pic_real_height, strTF;
//     strTf = "0";
//     jq("#jqsccs").children("li").children("img").each(function () {
//         jq(this).attr("src", jq(this).attr("src"))
//         .load(function () {
//             pic_real_width = this.width;
//             fabmwid = -(pic_real_width - fabwind) / 2;
//             jq(this).css("left", fabmwid);
//             strTf = "1";
//         });
//         if (strTf == "0") {
//             fabwimg = jq(this).width();
//             fabmwid = -(fabwimg - fabwind) / 2;
//             jq(this).css("left", fabmwid);
//         }
//     });
// });
jq(function () {
    //jq("img").on("error", function () { this.src = 'http://' + location.host + '/UploadFile/newsnone.jpg'; });
    jq("#ifalsh").css("height", jq(window).height());
    jq("#flashcontent").css("height", jq(window).height());
   
    //alert("123");
    /*****************************************index pro*******************************************************************/
    jq("#imain_pro_con").find("a").children(".imain_proImgBox").animate({ opacity: 0.7 }, { queue: false }).css({ flter: "Alpha(Opacity=70)" });
    jq("#imain_pro_con").find("a:eq(2)").children(".imain_proImgBox").animate({ opacity: 0 }, { queue: false }).css({ flter: "Alpha(Opacity=0)" });
    //jq("#imain_pro_con").find("a:eq(2)").children(".imain_proImgBoxTxt").animate({ opacity: 1 }, { queue: false });

    var indexPro_ul = parseInt(jq("#imain_pro_con").find("li").length) * 256;
    jq("#imain_pro_con").children("ul").css("width", indexPro_ul);
    var indexPro_box = jq("#imain_pro_con").width();

    jq("#imain_pro_con").find("a").hover(function () {
        jq("#imain_pro_con").find("a").children(".imain_proImgBox").animate({ opacity: 0.7 }, { queue: false }).css({ flter: "Alpha(Opacity=70)" });
        //jq("#imain_pro_con").find("a").children(".imain_proImgBoxTxt").animate({ opacity: 0 }, { queue: false });

        jq(this).children(".imain_proImgBox").animate({ opacity: 0 }, { queue: false }).css({ flter: "Alpha(Opacity=0)" });
        //jq(this).children(".imain_proImgBoxTxt").animate({ opacity: 1 }, { queue: false });
    }, function () {
    });

    var ulBL = indexPro_box / indexPro_ul;
    jq("#imain_pro_con").mousemove(function (e) {
        var boxOffsetX = jq("#imain_pro_con").offset().left;
        var mouseX = ((e.pageX - boxOffsetX) / indexPro_box) * (indexPro_ul - indexPro_box);
        jq("#imain_pro_con").children("ul").css("left", -mouseX);

    });

   

    /********************************************************************************/
});