[jQuery] Script stop during loading...

[jQuery] Script stop during loading...

Hi all,
I have a strange bug.
My main.php generates :
1....
<div id="31" class="alpha-shadow">
                <div id="Thumb-31" class="hoverThumb">
                               <a href="tags.php?id=31">Tags</a>
                </div>
                <img src="img/31.jpg">
</div>
...64 (and more...)
In a $(document).ready(), i load :
    $("div.hoverThumb").hide();
    $("div.alpha-shadow").hover(function(){
                $("#Thumb-"+this.id).toggle();
        },function(){
                $("#Thumb-"+this.id).toggle();
        });
Hide and Toggle ONLY ths 10 first elements.
And alert($("div.hoverThumb").size()); return 10 !
BUT (because, there is a "but" :p)
If I copy/paste the generate code in a .html and load the same script, all <div> have been hidden, and alert() return 64 !
Someone have an idea ?
Thank You !
Have a nice day
PS : Sorry for my english ;)
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/