$(document).ready(function(){
                //记录当前图片
                var thispic = "1";
                $(".picid").css({"background":"#999999"});
                $("#thispic .picid").mouseover(function(){

                    if($(this).text()!=thispic){
                        thispic = $(this).text();
                        $(".picid").css({"background":"#999999"});
                        $("#picid"+thispic).css({"background":"white"});
                        $(".compic").hide();
                        $("#compic"+thispic).show();
                    }
                })

            });
            function getFlashMovieObject(movieName)
            {
                if (window.document[movieName])
                {
                    return window.document[movieName];
                }
                if (navigator.appName.indexOf("Microsoft Internet")==-1)
                {
                    if (document.embeds && document.embeds[movieName])
                        return document.embeds[movieName];
                }
                else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
                {
                    return document.getElementById(movieName);
                }
            }
            function changeflash(prodname,putid){
                getFlashMovieObject("indexflash").gotoprod(putid);
                prodname.className = "cur f";
            }
            function changeclass(prodname){
                prodname.className="b";
            }
