/**
 * (c)Copyright 2006 ActiveSpotLight, Active8Media, LLC
 */
        jQuery(function() {
                window.onload = function() {

                        if(noRotate == true) return false;

                        if(!jQuery.browser.safari)
                        {
                                jQuery('#spinner').Carousel( {
                                        itemWidth: 80,
                                        itemHeight: 100,
                                        itemMinWidth: 25,
                                        items: 'a',
                                        reflections: 0.25,
                                        rotationSpeed: 0.0000000000001
                                });
                                jQuery('#spinner').hover(function(){
                                                jQuery('#marketMessage').animate({
                                                        opacity: .75
                                                }, "slow");
                                        },function(){
                                                jQuery('#marketMessage').animate({
                                                        opacity: 0
                                                }, "slow");
                                }).limitQueue(1);
			}
                                jQuery('#context_image').hover(function(){
                                        if(jQuery.browser.msie)
                                                jQuery('#ci_example img').hide()
                                        else
                                                jQuery('#ci_example img').animate({opacity:0.001},'fast');
                                }, function(){
                                        if(jQuery.browser.msie)
                                                jQuery('#ci_example img').show();
                                        else
                                                jQuery('#ci_example img').animate({opacity:1},'slow');
                                }).limitQueue(1);
                                jQuery('#ci_shirt').hover(function(){
                                        jQuery('#ci_example img').hide();
                                        jQuery(this).css('border','1px solid #f26522');
                                        jQuery('#pi_shirt').animate({opacity:1},'fast').limitQueue(1);
                                },function(){
                                        jQuery(this).css('border','none');
                                        jQuery('#pi_shirt').animate({opacity:0.001},'fast').limitQueue(1);
                                }).click(function(){
                                        document.location.href = 'demo.html';
                                                //jQuery('#ci_example').find('a').attr('href');
                                });
                                jQuery('#ci_pants').hover(function(){
                                        jQuery('#ci_example img').hide();
                                        jQuery(this).css('border','1px solid #f26522');
                                        jQuery('#pi_pants').animate({opacity:1},'fast').limitQueue(1);
                                },function(){
                                        jQuery(this).css('border','none');
                                        jQuery('#pi_pants').animate({opacity:0.001},'fast').limitQueue(1);
                                }).click(function(){
                                        document.location.href = 'demo.html';
                                });
				jQuery('#floater p').html('<em>&#91;</em>Move your mouse over this image<em>&#93;</em>');
                };
        });
