'); addGuy("http://www.flash-gear.com/eye", "put moving eyes on any image", "They follow your mouse... how creepy is that?", ''); addGuy("http://www.flash-gear.com/mp/", "create a simple poll", "", ''); addGuy("http://www.flash-gear.com/puzzle/", "turn your image into a puzzle to share with friends", "", ''); addGuy("http://www.flash-gear.com/stereo/", "create a stereogram", "just like the old magic eye books!", ''); addGuy("http://www.flash-gear.com/letters/", "make a fridge magnet letter board", "share the link with your friends and play with letters together!", ''); addGuy("http://www.flash-gear.com/goo/", "make a gooey picture", "your friends can morph with you in real time!", ''); addGuy("http://www.flash-gear.com/acid/", "acid effect", "see the acid effect warp your friend's face!", ''); addGuy("http://www.flash-gear.com/8/", "ask the magic 8-ball", "Ask the magic 8-ball some questions... you may be surprised by its answers.", ''); var ctdivid = "above"; var dh = false; function doGuy () { if (guys.length > 0) { var cdv = document.getElementById(ctdivid); var idx = Math.floor(Math.random()*guys.length); var o = guys[idx]; guys.splice(idx,1); cdv.appendChild(o.div); if (!dh) { dh = true; $(o.sep).hide(); } } } var hoho = 0; while (guys.length > 0) { doGuy(); hoho++; if (hoho >= 3) { ctdivid = "below"; } }