// mainImg fadeinout
$(document).ready(function() {
	$('#mainImg h2').fadeIn("slow");
});

// grobalNav fadeinout
$(document).ready(function(){
	$('ul#globalNav li a').hover(function(){
		$(this).stop().animate({'opacity' : '0'}, 0);
	}, function(){$(this).stop().animate({'opacity' : '1'}, 400);});
});
$(document).ready(function(){	$('#news ul#globalNav li#gnav01 a').hover(function(){$(this).stop().animate({'opacity' : '100'}, 0);	}, function(){$(this).stop().animate({'opacity' : '1'}, 0);});});$(document).ready(function(){	$('#kentStyle ul#globalNav li#gnav02 a').hover(function(){$(this).stop().animate({'opacity' : '100'}, 0);	}, function(){$(this).stop().animate({'opacity' : '1'}, 0);});});$(document).ready(function(){	$('#gallery ul#globalNav li#gnav03 a').hover(function(){$(this).stop().animate({'opacity' : '100'}, 0);	}, function(){$(this).stop().animate({'opacity' : '1'}, 0);});});$(document).ready(function(){	$('#model ul#globalNav li#gnav04 a').hover(function(){$(this).stop().animate({'opacity' : '100'}, 0);	}, function(){$(this).stop().animate({'opacity' : '1'}, 0);});});$(document).ready(function(){	$('.concept ul#globalNav li#gnav05 a').hover(function(){$(this).stop().animate({'opacity' : '100'}, 0);	}, function(){$(this).stop().animate({'opacity' : '1'}, 0);});});$(document).ready(function(){	$('.company ul#globalNav li#gnav06 a').hover(function(){$(this).stop().animate({'opacity' : '100'}, 0);	}, function(){$(this).stop().animate({'opacity' : '1'}, 0);});});

// blog category
$(function(){
	$('#category > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/category/modelhouse/','javascript:;');
	$(this).attr('href', newurl);
	});
})

// blog archive
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/date/2011/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/date/2010/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/date/2009/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/date/2008/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/date/2007/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/blog/date/2006/','javascript:;');
	$(this).attr('href', newurl);
	});
})

// news archive
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/news/date/2011/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/news/date/2010/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/news/date/2009/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/news/date/2008/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/news/date/2007/','javascript:;');
	$(this).attr('href', newurl);
	});
})
$(function(){
	$('#archive > ul > li >a').each(function(){
	var newurl = $(this).attr('href').replace('http://www.kent-inc.co.jp/news/date/2006/','javascript:;');
	$(this).attr('href', newurl);
	});
})