
/*----------------------------------------------

	Theme Name: design works onside inc.
	Theme URI: http://blog.onside.com/fxw/
	Description: 07-01-2009 (mm-dd-yyyy)
	Version: ver. 1.0
	Author: Shin Nakane design works onside inc.
	Author URI: http://www.onside.com/

----------------------------------------------*/



function thisYear() {
	weeks=new Array('日','月','火','水','木','金','土');
	today=new Date();
	y=today.getFullYear();
	m=today.getMonth()+1;
	d=today.getDate();
	w=weeks[today.getDay()];
	document.write(y);
	document.close();
}



$(function() {
// for エラー: jQuery.dequeue is not a function
( function( $ ) {
$.dequeue = function( a , b ){
return $(a).dequeue(b);
};
})( jQuery );
});



$(document).ready(function() {

// ロールオーバーボタンにクラスを追加
	var conf = {
		className : 'btn',
		postfix : '_over'
	};
	$('img.'+conf.className).hover(
		function() {
			this.originalSrc = this.src;
			this.src = this.originalSrc.replace(/(\.gif|\.jpg|\.png)/,conf.postfix+'$1');
		},
		function() {
			this.src = this.originalSrc;
	});
	$('input.'+conf.className).hover(
		function() {
			this.originalSrc = this.src;
			this.src = this.originalSrc.replace(/(\.gif|\.jpg|\.png)/,conf.postfix+'$1');
		},
		function() {
			this.src = this.originalSrc;
	});

});

function acclog() {
	document.write("<img src='http://www.onside.com/cgi-local/acc/acclog.cgi?");
	document.write("referrer="+document.referrer+"&");
	document.write("width="+screen.width+"&");
	document.write("height="+screen.height+"&");
	document.write("color="+screen.colorDepth+"' />");
}
