var ENGLISH = "EN";
var JAPANESE = "JA";

var lang;

function getText( name ){
    if( isdefined( lang+"_"+name ) ){
        return eval( lang+"_"+name );
    }else if( isdefined( ENGLISH+"_"+name ) ){
        return eval( ENGLISH+"_"+name );
    }else{
        return "NOTEXT [" + name + "] ";
    }
}

function setLang( language ){
    lang = language;
}

EN_ajax_error = "There was a problem communicating with one of the services";
EN_login_validusername = "username is valid";
EN_login_invalidusername = "username is taken";
EN_login_waiting = "Waiting .....";
EN_login_wrongbirthdate = "Birthdate was entered in the wrong format";
EN_button_Yes = "Yes";
EN_button_No = "No";
EN_button_Cancel = "Cancel";
EN_form_confirm = "Are you sure you want to do this?";
EN_profile_addfriend = "Add Friend";
EN_profile_addadditionalcomment = "Add additional comment";
EN_profile_makefriendrequest = "Make Friend Request";
EN_profile_requestdialog1 = "You are about to make a request to be friends with this person.They will be then have the option to accept or deny you request once they have received it.";
EN_profile_friendrequestsucessful = "Friend Request was successful";
EN_comment_delete = "Delete";
EN_widgets_emailsuccessful = "Email sent succesfully";
EN_widgets_sendtofriends = "Send to Friends";
EN_widgets_retry = "Retry";

/*
EN_button_OK = "OK";
EN_button_Yes = "Yes";
EN_button_No = "No";
EN_button_Submit = "Submit";
EN_button_Delete = "Delete";
EN_button_Cancel = "Cancel";

EN_editprofile_invalidusername = "username is invalid";
EN_editprofile_validusername = "username is valid";
EN_ajax_error = "There was a problem communicating with one of the services";
EN_login_wrongbirthdate = "Birthdate was entered in the wrong format";
EN_login_validusername = "username is valid";
EN_login_invalidusername = "username is taken";
EN_widgets_retry = "Retry";
EN_widgets_sendtofriends = "Send to Friends";
EN_widgets_emailsuccessful = "Email sent succesfully";
EN_widgets_reloadpage = "You may need to reload the page";
EN_form_confirm = "Are you sure you want to do this?";
EN_widgets_downloads = "Downloads";
EN_widgets_createdby = "Created By";
EN_playlist_playlist = "Playlist";
EN_playlist_addsong = "Add Song";
EN_playlist_delete = "Delete";
EN_playlist_refresh = "Refresh";
EN_playlist_title = "Title";
EN_playlist_no = "No.";
EN_playlist_URL = "URL";
EN_playlist_update = "Update";
EN_playlist_save = "Save";
EN_mp3serach_loginaddplaylist = "You must be logged in to add to playlist";
EN_configurewidget_pleaseselect = "Please select";
EN_createwidget_pleaseselect = "Please select";
EN_configurewidget_mustcreateinitialplaylist = "You must create an initial playlist for this flash widget.";
EN_configurewidget_selectplaylist = "Select Playlist";
EN_configurewidget_createplaylist = "Create Playlist";
EN_configurewidget_playlistremoved = "Player is pointing to a playlist that was removed";
EN_comment_post = "Post";
EN_comment_delete = "Delete";
EN_profile_friendrequestsucessful = "Friend Request was successful";
EN_profile_addadditionalcomment = "Add additional comment";
EN_profile_makefriendrequest = "Make Friend Request";
EN_profile_requestdialog1 = "You are about to make a request to be friends with this person.They will be then have the option to accept or deny you request once they have received it.";


JA_widgets_downloads = "ダウンロード";
JA_widgets_createdby = "著者";
JA_playlist_playlist = "再生リスト";
JA_playlist_addsong = "歌を加えなさい";
JA_playlist_delete = "削除";
JA_playlist_refresh = "新たにしなさい";
JA_playlist_title = "新たにしなさい";
JA_playlist_no = "No.";
JA_playlist_URL = "URL";
JA_playlist_update = "更新";
JA_playlist_save = "を除けば";
*/