/*if(document.all){
	var tags=document.all.tags("a")
	for (var i=0;i<tags.length;i++) {
		tags(i).outerHTML=tags(i).outerHTML.replace(">"," hidefocus=true>");
	}
}*/

$(document).ready(function(){
    //Flash Embed
    $("#FlashID3").flashembed({src: "/wp-content/themes/livedesign/images/logo.swf", wmode: 'transparent'});
    $("#FlashID0").flashembed({src: "/wp-content/themes/livedesign/images/icons-cms.swf", wmode: 'transparent'});
    $("#FlashID1").flashembed({src: "/wp-content/themes/livedesign/images/icons-ecommerce.swf", wmode: 'transparent'});
    $("#FlashID2").flashembed({src: "/wp-content/themes/livedesign/images/icons-seo.swf", wmode: 'transparent'});
    
    
    //navigation sprite effect
	$("#navigation span").css("opacity","0");
	$("#navigation span").hover(
		function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		}
	);
    
    //jCarouselLite
    $(".slider").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        visible: 1
    });
    //Captify
    $('img.captify').captify({
	    speedOver: 'fast',
	    speedOut: 'slow',
	    hideDelay: 500,
	    animation: 'slide',
	    prefix: '',
	    opacity: '0.7',
	    className: 'caption-bottom',
	    position: 'bottom',
	    spanWidth: '100%'
    });

    //floating background
   	$('#floating').pan({fps: 20, speed: 1, dir: 'left'}); 
	$('#floating-2').pan({fps: 20, speed: 5, dir: 'right'}); 


});

