/*
 *1	初期処理
 */
//aulta.init.cookieDays(365);
//aulta.data.loadSetting();

var CA_LF = "\n";
/*
 *1	jQuery.ready
 */
jQuery(document).ready(function(){
	///	セッションデータ取得前に実行
	me.init.beforeSession();
	jQuery(window)
	.resize(me.common.resize)
	.resize();
	if (me.page){
		if (me.page.init){
			if (me.page.init.beforeSession){
				me.page.init.beforeSession();
			}
		}
	}
	
	///	セッションデータ取得後に実行
	//aulta.session.load(function(){
		me.init.afterSession();
		if (me.page){
			if (me.page.init){
				if (me.page.init.afterSession){
					me.page.init.afterSession();
				}
			}
		}
		jQuery(window).resize();
	//});
});


/*
 *1	window.me
 */
window.me = {
	/*
	 *2	param
	 */
	param : {
		/*
		 *3 search
		 */
		search : {
			lastQuery : ''
		}
	}
	/*
	 *2	parts
	 */
	,
	parts : {}
	/*
	 *2	init
	 */
	,
	init : {
		/*
		 *3	beforeSession
		 */
		beforeSession : function(){
			aulta.init.setTargetOutsideLink();
			//aulta.utility.imageHover();
			/*
			jQuery('#header')
			.append(
				jQuery(document.createElement('p'))
				.attr('id', 'lang_link')
				.html('<a href="http://www.japan-smes.com/en/companies/056/index.html" target="_blank">English</a> / <a href="http://www.japan-smes.com/cn/companies/056/index.html" target="_blank">中文</a>')
			);
			*/
			
			//jQuery('#content #main table.table2col tr:even')
			//.addClass('');
		}
		,
		/*
		 *3	afterSession
		 */
		afterSession : function(){
			
		}
	}
	,
	/*
	 *3	common
	 */
	common : {
		/*
		 *3	resize
		 */
		resize : function(){
			var windowW = aulta.jQuery.width(window)
				, contentPos = aulta.pos.getAbsolute('content')
				, windowH = aulta.jQuery.height(window)
				, contentH = windowH - contentPos[1]
				;
		}
	}
	/****/
};


