﻿//*
//*
window.top.WN_LANG = new function()
//*
//*
	{
	this.LANG="en";
	//*
	//*
	this.GET_MSSG = function(arg_cod)
	//*
	//*
		{
		if( arg_cod == 11)
			{
			return "DB ERROR";
			}
		else if( arg_cod == 12)
			{
			return "Couldn't Get Captcha:";
			}
		else if( arg_cod == 13)
			{
			return "Request Not Found:";
			}
		else if( arg_cod == 14)
			{
			return "The letters you entered are not equal to that of the image.";
			}
		else if( arg_cod == 15)
			{
			return "Mail Communication Error:";
			}
		else if( arg_cod == 16)
			{
			return "The account name is already used.\nTry adding numeric letters in the name.";
			}
		else if( arg_cod == 171)
			{
			return "The nation name has been already registered.";
			}
		else if( arg_cod == 17)
			{
			return "The nation name was not found.";
			}
		else if( arg_cod == 18)
			{
			return "The user name was not found.";
			}
		else if( arg_cod == 19)
			{
			return "PASSWORD ERROR";
			}
		else if( arg_cod == 20)
			{
			return "ILLEGAL ACCESS ERROR\n A timeout may have occurred.";
			}
		else if( arg_cod == 21)
			{
			return "Do you want to close the current input window?";
			}
		else if( arg_cod == 100)
			{
			return "Check the end date or time.";
			}
		else if( arg_cod == 101)
			{
			return "Not Found Error : The file may not exist or the address may not correct.";
			}
		else 
			{
			return "UNKNOWN ERROR";
			}
		}
	this.GetSearch = function(arg_txt)
		{
		var	as_array = arg_txt.match(/[a-zA-ZＡ-Ｚ0-9０-９À-ʯァ-ヺぁ-ゖ\u3190-\uD7A0]+/g);
		return (as_array) ? as_array.join("+") : "";
		}
	}



