jQuery(document).ready(function($){
$('ul#portfolio').innerfade({
						speed: 1000,
						timeout: 5000,
						type: 'sequence',
						containerheight: '200px'
					});
					});
	
				// Tabs
//				$('#tabs').tabs( {fx: { opacity: 'toggle', duration:'slow' } });

//				

//			});
//$(document).ready(function(arg) {
//						  $("body select").msDropDown();
//						   })
//$(function(){
//	$("ul#ticker01").liScroll({travelocity: 0.02});
//});



	$(document).ready(function(){
		$('#comics').galleryView({
			panel_width: 348,
			panel_height: 355,
			frame_width: 50,
			frame_height: 50,	
			overlay_opacity: 0.85,
			background_color: '#fff',
			border: '2px solid #fff',
			pause_on_hover: true
		});
	});
//	
//$(function(){

					
	$(function() {
    swapValues = [];
    $(".txtQueryText").each(function(i){
        swapValues[i] = $(this).val();
        $(this).focus(function(){
            if ($(this).val() == swapValues[i]) {
                $(this).val("");
            }
        }).blur(function(){
            if ($.trim($(this).val()) == "") {
                $(this).val(swapValues[i]);
            }
        });
    });
});

 function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: true,                 // 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: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: false,                 // Should links change the hashtag in the URL?
                buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: false,             // If true, and autoPlay is enabled, the show will pause on hover
        		
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#slide-jump").click(function(){
                $('.anythingSlider').anythingSlider(6);
            });
            
        });
	
	$(function() {
	$(".newsticker-jcarousellite").jCarouselLite({
		vertical: true,
		hoverPause:true,
		btnNext: ".next",
		btnPrev: ".prev",
		visible: 3,
		auto:500,
		speed:1000
	});
//$(document).ready(function(){

//            $("#sharebox").sharebox();

//});
	
});