// last update 2009-3-24
// COPYRIGHT(C)office-chere.jp. ALL RIGHTS RESERVED.
// Editor - studio CLOVER - www.with-clover.com.


$(document).ready(function() {
	$("#footer ul li+li")
	.css("border-left","#555555 1px dotted")
	.css("padding","0 0 0 0.6em")
	$("dl#rec_bosyu dt").each(function(){
	var strLength;
	if($.browser.msie)
		strtLength = $(this).text().length -1;
	else strtLength = $(this).text().length;
	if(strtLength == 2){
		$(this).css({"letter-spacing":"0.8em"});
	}else{
		$(this).css({"letter-spacing":"0.3em"});
	}
	});


});



$(function(){
   $('p.pagetop a').click(function(){
	$('#container').ScrollTo(1000, 'easeout');
		return false;
   });
})

$(function(){
   $('p.spagetop a').click(function(){
	$('#header').ScrollTo(1000, 'easeout');
		return false;
   });
})



$(document).ready(function() {
  $("#aboutStaff a").click(function() {
    $($("#aboutStaff a.sel").attr("href")).hide();
    $("#aboutStaff a.sel").removeClass("sel");
    $(this).addClass("sel");
    $($(this).attr("href")).fadeIn("fast");
				return false;
  });
});

$(document).ready(function() {
  $("#salary_navi a").click(function() {
    $($("#salary_navi a.sel").attr("href")).hide();
    $("#salary_navi a.sel").removeClass("sel");
    $(this).addClass("sel");
    $($(this).attr("href")).fadeIn("fast");
				return false;
  });
});

