//タブ機能を有効化
//最初の子供クラスの設定
jQuery(document).ready(function() {
	jQuery('.has_child > :first-child').addClass('first-child');
});

//タブ機能を有効化
jQuery(function() {
	jQuery(".ui-tabs").tabs();
	jQuery('.show-dialog').simpleDialog();
});

//共通関数、n秒後にtargetページ移動

var nextPage = "";
function autoMove(target,n) {
	nextPage = target;
	setTimeout(movePage,1000 * n);
}

function movePage() {
	if(nextPage == 'close')
		window.close();
	else
		window.location.href=nextPage;
}

