 /*
 *css效果
 *@ids id数组
 *@css css样式数组与ids数组相对应
 *不需要加{} 如：["marginLeft:'50px'","opacity:'show'"]
 */
 function wordMove(ids, css) {
        if (ids.length > 0 && css.length > 0) {
            var actionCommand = "";
            var actionEnd = "";
            function action(id, css) {
                return "$('#" + id + "').animate({" + css + "},{easing:'linear',duration:'slow',complete:function(){";
            }
            $(ids).each(function(i) {
                actionCommand += action(ids[i], css[i]);
                actionEnd += "}});";
            });
			//alert(actionCommand+actionEnd);
            eval(actionCommand + actionEnd);
        }
    }

	/*
	*完全加载图片效果
	*@imgId 图片id
	*@imgUrl 图片路径
	*@time 效果执行时间
	*@fuc 图片加载完执行的方法 可以为null
	*/
    function loadImage(imgId, imgUrl, time, fuc) {
        var img = new Image();
        img.src = imgUrl;
        function e() {
			$("#"+imgId).attr("src",img.src);
            $("#" + imgId).animate({opacity:'show'}, {durateion:time});
			if(fuc){fuc();}
        }
        if (!img.complete) {
                $(img).load(function() {
                    e();
                });
        }else{
			e();
			
		}
    }