function showConcreteAgent(time) {
$(document).ready(function() {

	// Searching for agent
	var userAgent = "";
	var isChrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
//	if ($.browser.safari && !isChrome) {userAgent="safari";}
//	else 
//		if ($.browser.mozilla) {userAgent="mozilla";}
//		else
			if (isChrome) {userAgent="chrome";}
			else {$('.download_box').hide();}

	// Applying actions for concrete user agent
		$('#'+userAgent+'_addon_draw').fadeIn(time);
		$('#'+userAgent+'_addon_text').fadeIn(time);
		$('#'+userAgent+'_addon_link').fadeIn(time);
//console.debug(userAgent);
//console.debug($('#'+userAgent+'_addon_link'));
});
}


function formatText(index, panel) {
  return index + "";
}

function initializeSlider() {
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",        // 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: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: true,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: false,          // 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)
            });
}
// Update steps indicator
function updateStepsIndicator (page) {
	var offset= -53 -100*(page-1); // Absolute initial position less progress between pages
	$("div#reg_progress").css({'backgroundPosition':'50% ' + offset + 'px'});
}

