// JavaScript Document

jQuery.easing.quart = function (x, t, b, c, d) {
    return -c * ((t=t/d-1)*t*t*t - 1) + b;
};



$(function(){
					 
	//$('.cvbox').corner("5px");
	if(!jQuery.support.opacity){
			$('.cvbox').corner("cc:#69B038 keep 5px");
		} else {
			$('.cvbox').corner("5px");
	}
	$('.dsbox,#MB,#HC input.query').dropShadow();

					 
					 
	$('a[href*=#]').click(function() {
		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
			var $target = jQuery(this.hash);
			$target = $target.length && $target || jQuery('[name=' + this.hash.slice(1) +']');
			if ($target.length) {
				var targetOffset = $target.offset().top;
				jQuery('html,body').animate({ scrollTop: targetOffset }, 1200, 'quart');
				return false;
			}
		}
	});
	
	
	$('a[href^="http"]').not('[href*="hibikidev.co.jp"]').click(function(){
		 window.open(this.href,'_blank');
		 //blankFlag = false;
		 return false;
	 });
	
		$('#BL li',this).each(function(num){
			inner = $(this).html();
			if(num!==0) $(this).html("&gt; "+inner);
		});
	
	
	

});



