var stl_Common = Class.create();
stl_Common.prototype = {
	Message: new Array(),
    Error: new Array(),
    initialize: function() {
				
		this.Message['MSG00001']="エリアを選んでください";	
		this.Message['MSG00002']="タイトルを選んでください";
		this.Message['MSG00003']="店名を入力してください";
		this.Message['MSG00004']="代官山　テリーヌ等";

		//Gourmet Title 1
		this.Message['MSG00005']="VERY GOURMET [ヴェリぐる] ―本誌掲載のレストラン検索― | veryweb.jp";		

		//Gourmet Des 1.1
		this.Message['MSG00006']="VERY GOURMET [ヴェリぐる] | ママ友と行く？義理ママと行く？幹事さん必見！VERYなレストランサーチ";	
		//Gourmet Key 1.2		
		this.Message['MSG00007']="VERY,ヴェリィ,雑誌,女性誌,月刊誌,ライフスタイル誌,ファッション誌,モデル,井川遥,堂珍敦子,三浦りさ子,真木明子,富岡よし子,ミセス,主婦,ママ,インターママ,ママスタイリスト,ファッション,ビューティー,インテリア,料理,グルメ,コスメ,レストラン検索,ヴェリぐる,学校のソムリエ,ママたちの保健室,品川裕香,プレゼント,広告";
		
		//Gourmet Title 2
		this.Message['MSG00008']="レストラン検索 検索結果一覧 | VERY GOURMET [ヴェリぐる] | veryweb.jp";
		//Gourmet Title 3
		this.Message['MSG00009']="レストラン名 [料理カテゴリ/地域] | VERY GOURMET [ヴェリぐる] | veryweb.jp";
		
		this.Error['ERR00001'] = "文字を入力してください";
	},
	/*Alert Message From MSG*/
    stl_AlertMessage: function(messageCode)
    {
        return this.Message[messageCode];
    },
    /*Alert Error From ERR*/
    stl_AlertError: function(errCode)
    {
        return this.Error[errCode];
    },
	stl_EnterKeypress: function(e,func)
    {
        var code = e ? e.which : window.event.keyCode;
        if (code == 13 || code == 3)
        {
            eval(func);
        }
        else
            return false;
    }
}