document.addEvent("domready",function(){$("popup2").addEvent("mouseleave",function(){$("popup2").fade("out");});$$(".appicon").each(function(a){var c=new Array();var b=new Array();c[a.getParent().get("id")]=a.height;b[a.getParent().get("id")]=a.width;var e=0;var d=0;if("app1"==a.getParent().get("id")){e=-5;d=-1;}if("app2"==a.getParent().get("id")){e=-4;d=-2;}if("app3"==a.getParent().get("id")){e=-4;d=-3;}if("app4"==a.getParent().get("id")){e=-3;d=-4;}if("app5"==a.getParent().get("id")){e=-2;d=-5;}if("app6"==a.getParent().get("id")){e=1;d=-5;}if("app7"==a.getParent().get("id")){e=2;d=-4;}if("app8"==a.getParent().get("id")){e=3;d=-3;}if("app9"==a.getParent().get("id")){e=4;d=-1;}if("app10"==a.getParent().get("id")){e=5;d=1;}a.addEvent("mouseenter",function(){a.setStyle("cursor","pointer");if("app1"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif">');$("shrt").set("html","Elegant<br/>mindmapping application.");}if("app2"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif">');$("shrt").set("html","Eliminate distractions, block web sites,<br/>quit apps.");}if("app3"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif">');$("shrt").set("html","Personal finance management application.");}if("app4"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar_off.gif">');$("shrt").set("html","Transform your desktop into a moving, living environment.");}if("app5"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar_off.gif">');$("shrt").set("html","Burn CDs, DVDs,<br>and Blu-ray discs<br>on the Mac.");}if("app6"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar_off.gif">');$("shrt").set("html","<br/>Powerful interior design app.");}if("app7"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif">');$("shrt").set("html","Encryption app<br/>aimed as a FileVault replacement.");}if("app8"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar_half.gif"><img src="/fall10bundle_images/smallstar_off.gif">');$("shrt").set("html","Access local Bonjour services anywhere<br/>in the world.");}if("app9"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif">');$("shrt").set("html","Powerful backup, synchronization, and cloning utility.");}if("app10"==a.getParent().get("id")){$("stars").set("html",'<img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar.gif"><img src="/fall10bundle_images/smallstar_half.gif"><img src="/fall10bundle_images/smallstar_off.gif">');$("shrt").set("html","Capture,<br/>annotate, organize, and share.");}$("popup1").fade("in");$("popup2").fade("out");$("popup1").position({relativeTo:a,offset:{x:-10,y:-100}});var f=new Fx.Morph(a,{duration:100,transition:Fx.Transitions.Sine.easeIn});f.start({"margin-top":d,"margin-left":e,height:c[a.getParent().get("id")]+5,width:b[a.getParent().get("id")]+5});});a.addEvent("mouseleave",function(){a.setStyle("cursor","pointer");$("popup1").fade("out");$("popup2").fade("out");$("stars").set("html","");$("shrt").set("html","");var f=new Fx.Morph(a,{duration:50,transition:Fx.Transitions.Sine.easeOut});f.start({"margin-top":-1*d,"margin-left":-1*e,height:c[a.getParent().get("id")]-5,width:b[a.getParent().get("id")]-5});});a.addEvent("click",function(){$("movie2").dissolve();$$(".appicon").each(function(h){h.fade(0.5);});a.fade(1);var g=a.getParent().get("id")+"info";$$(".appinfo").each(function(h){if(h!=$(g)){h.dissolve();}});$("popup2").fade("out");var f=new Fx.Reveal($(g),{duration:500,onShow:function(){$("circle2").fade(1);}});f.toggle();});},this);$("movie2").addEvent("click",function(){$("movie2").fade(0);});$$(".closeinfo ").each(function(a){a.addEvent("mouseenter",function(){a.setStyle("cursor","pointer");});a.addEvent("click",function(){$$(".appicon").each(function(c){c.fade(1);});$$(".appinfo").each(function(c){c.dissolve();});var b=new Fx.Tween("circle2",{duration:500,property:"opacity",onComplete:function(){var c=new Fx.Reveal($("movie2"),{duration:500,onShow:function(){}});c.reveal();}});b.start(1,0);});});$$(".appinfo").each(function(a){a.hide();});$("popup1").fade("out");$("popup2").fade("out");$("circle2").fade(0);});
