    
		if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
			 if (document.cookie.indexOf("iphone_redirect=false") == -1) window.location = "http://2010.soulcreatives.com/demos/main/";
		}


		Cufon.replace('h1');
		Cufon.replace('h2');
    
        function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInSine",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 8000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 200,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
        		startText: "Go",             // Start text
		        stopText: "Stop",               // Stop text
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });    
    
        });  
        
		
		$(function(){
		$("[title]").mbTooltip({

		
	      opacity : .85,       //opacity
	      wait:400,           //before show
	      cssClass:"default",  // default = default
	      timePerWord:70,      //time to show in milliseconds per word
	      hasArrow:false,			// if you whant a little arrow on the corner
	      hasShadow:true,
	      imgPath:"images/",
	      anchor:"mouse", //"parent"  you can ancor the tooltip to the mouse position or at the bottom of the element
	      shadowColor:"black", //the color of the shadow
	      mb_fade:200 //the time to fade-in		
		
		});
		})
		
$(document).ready(function(){

	$(".showcomments").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
	 
});		