// I'll use this to localize all text on my site.  
/*
// 
BY ANDRE TODMAN
2010 For Javascript

Translated this with google translate from localization.js . Not the best, but at least this way it broadens the audience.

supported languages are

Spanish, French, Italian, German, Japanese, Chinese, Russian, Swedish


function musicLinkText(language, elementIdName)
function applicationLinkText(language, elementIdName)
function eventLinkText(language, elementIdName)
function contactLinkText(language, elementIdName)
function languageLinkText(language, elementIdName)
function mainQuoteText(language, elementIdName)

function beatSequencerBoomBapByInsightTitleText(language, elementIdName)
function beatSequencerBoomBapByInsightBodyText(language, elementIdName)

function beatSequencerBasicTitleText(language, elementIdName)
function beatSequencerBasicBodyText(language, elementIdName)

function circluesTitleText(language, elementIdName)
function circluesBodyText(language, elementIdName)

function welcomeText(language, elementIdName)
function submitText(language, elementIdName)
function closeText(language, elementIdName)
function eraseText(language, elementIdName)


*/

// set language cookie
function setLanguage(language, pageLink){
	
	//alert('Language set to '+ language +' from: \n'+pageLink);

	document.cookie = 'language=' + encodeURIComponent(language);
}

// returns a cookie by name
function cookieFor(thisName){
	var result = "";
	
	cookieExist = document.cookie.length; // value is  > 0 if exists
	itemToSearch = thisName+"=";
	
	if(cookieExist>0){
		 startPosition = document.cookie.indexOf(itemToSearch);
		 if(startPosition != -1){
			 
			 // get range of cookie within the cookie string
			 startPosition +=  thisName.length+1;
			 endPosition = document.cookie.indexOf(";",startPosition);
			 
			 if (endPosition == -1)endPosition = document.cookie.length; // make sure values is not empty
			 
			 // assign value to result
			 result = document.cookie.substring(startPosition,endPosition);
			 
		 }
		 
		
	}
	
	return unescape(result);
	
}

// get language from cookie
function currentLanguage(){
	
	 language = 'English';// default language
	
	// set variable to stored cookie value
	tempLanguage = cookieFor('language');
	 if(tempLanguage != "" && tempLanguage != null){
		language = tempLanguage;
	 }
	 
		 return language;
}

// Because I couldnt display character sets of other languages, 
// ill see if I can put javascript in the metatag to change it dynamically
function charsetForLanguage(language){
	
	 language = currentLanguage();// default language
	
	var encoding = 'ISO-8859-1';
	
	if (language == 'Spanish'){
		encoding = 'ISO-8859-1';    
	}
	if (language == 'French'){
		encoding = 'ISO-8859-1';    
	}
	
	if (language == 'Italian'){
		encoding = 'ISO-8859-1';    
	}
	if (language == 'German'){
		encoding = 'ISO-8859-1';    
	}
		if (language == 'Japanese'){
		encoding = 'x-euc-jp';    
	}
	if (language == 'Chinese'){
		encoding = 'GB2312';    
	}
	if (language == 'Russian'){
		encoding = 'koi8';    
	}
	if (language == 'Swedish'){
		encoding = 'iso-8859-1';    
	}
	
	 
		 return encoding;
}

/*    MAIN MENU LINKS TEXT        */
function musicLinkText(language, elementIdName){
		// Default is English
	var localizedText = 'Music';
	
	if (language == 'Spanish'){
		localizedText = 'Música';    
	}
	if (language == 'French'){
		localizedText = 'Musique';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Musica';    
	}
	if (language == 'German'){
		localizedText = 'Musik';    
	}
		if (language == 'Japanese'){
		localizedText = '音楽';    
	}
	if (language == 'Chinese'){
		localizedText = '音乐';    
	}
	if (language == 'Russian'){
		localizedText = 'Музыка';    
	}
	if (language == 'Swedish'){
		localizedText = 'Musik';    
	}
	
		 document.getElementById(elementIdName).innerHTML= localizedText;
}
function applicationLinkText(language, elementIdName){
		// Default is English
	var localizedText = 'Software';
	
	if (language == 'Spanish'){
		localizedText = 'Software';    
	}
	if (language == 'French'){
		localizedText = 'Logiciels';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Software';    
	}
	if (language == 'German'){
		localizedText = 'Software';    
	}
		if (language == 'Japanese'){
		localizedText = 'ソフト';    
	}
	if (language == 'Chinese'){
		localizedText = '软件';    
	}
	if (language == 'Russian'){
		localizedText = 'ПО';    
	}
	if (language == 'Swedish'){
		localizedText = 'Software';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
	
}
function eventLinkText(language, elementIdName){
	
		// Default is English
	var localizedText = 'Events';
	
	if (language == 'Spanish'){
		localizedText = 'Eventos';    
	}
	if (language == 'French'){
		localizedText = 'Evénements';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Eventi';    
	}
	if (language == 'German'){
		localizedText = 'Veranstaltungen';    
	}
		if (language == 'Japanese'){
		localizedText = 'イベント';   
	}
	if (language == 'Chinese'){
		localizedText = '活动';    
	}
	if (language == 'Russian'){
		localizedText = 'События';    
	}
	if (language == 'Swedish'){
		localizedText = 'Evenemang';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}
function contactLinkText(language, elementIdName){
		// Default is English
	var localizedText = 'Contact';
	
	if (language == 'Spanish'){
		localizedText = 'Contacto';    
	}
	if (language == 'French'){
		localizedText = 'Contact';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Contatto';   
	}
	if (language == 'German'){
		localizedText = 'Kontakt';   
	}
		if (language == 'Japanese'){
		localizedText = '連絡先';   
	}
	if (language == 'Chinese'){
		localizedText = '联系方式';    
	}
	if (language == 'Russian'){
		localizedText = 'касаться';    
	}
	if (language == 'Swedish'){
		localizedText = 'Kontakt';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
	
}
function languageLinkText(language, elementIdName){
	
		// Default is English
	var localizedText = 'International';
	
	if (language == 'Spanish'){
		localizedText = 'Internacional';    
	}
	if (language == 'French'){
		localizedText = 'International';   
	}
	
	if (language == 'Italian'){
		localizedText = 'International';   
	}
	if (language == 'German'){
		localizedText = 'International';    
	}
		if (language == 'Japanese'){
		localizedText = '国際';    
	}
	if (language == 'Chinese'){
		localizedText = '国际餐厅';    
	}
	if (language == 'Russian'){
		localizedText = 'Международное';    
	}
	if (language == 'Swedish'){
		localizedText = 'International';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}

/*    MAIN QUOTE TEXT        */
function mainQuoteText(language, elementIdName){
	
		// Default is English
	var localizedText = '';
	

	 if (language == 'Spanish'){
		localizedText = 'Las aplicaciones del iPhone, Diseño y Música medios de comunicación <br>por Andre Todman, también conocido como Insight';    
	}
	else if (language == 'French'){
		localizedText = 'IPhone applications, conception et musique, médias <br>par Andre Todman, alias Insight';    
	}
	
	else if (language == 'Italian'){
		localizedText = 'Applicazioni iPhone, design e musica Media <br>di Andre Todman, aka Insight';   
	}
	else if (language == 'German'){
		localizedText = 'IPhone-Anwendungen, Design und Musik Medien <br>von Andre Todman, aka Insight';    
	}
		else if (language == 'Japanese'){
		localizedText = 'IPhoneアプリケーションでは、デザインと音楽メディアのアンドレTodman、別名Insightの';    
	}
	else if (language == 'Chinese'){
		localizedText = 'IPhone的应用，设计及音乐媒体的安德烈托德曼，又名洞察';    
	}
	else if (language == 'Russian'){
		localizedText = 'IPhone приложений, дизайн и музыка Media <br>Андре Todman, ака Insight';    
	}
	else if (language == 'Swedish'){
		localizedText = 'IPhone applikationer, design och musik medier <br>av Andre Todman, alias Insight';   
	}else {
		localizedText = 'IPhone applications, Design and Music Media <br>by Andre Todman, aka Insight';
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
		
			// alert(localizedText);

}

/*    APPLICATIONS PAGE      */
// App 1
function beatSequencerBoomBapByInsightTitleText(language, elementIdName){
	// Default is English
	var localizedText ='';
		
	 if (language == 'Spanish'){
		localizedText = 'BeatSequencer BOOMBAP por Insight - Disponible Ahora';    
	}
	else if (language == 'French'){
		localizedText = 'BeatSequencer Boombap par Insight - Disponible dès maintenant';    
	}
	
	else if (language == 'Italian'){
		localizedText = 'BeatSequencer BoomBap da Insight - Disponibile ora';    
	}
	else if (language == 'German'){
		localizedText = 'BeatSequencer BoomBap von Insight - Jetzt erhältlich';    
	}
	else 	if (language == 'Japanese'){
		localizedText = 'BeatSequencer BoomBap Insightの-利用可能な輸送';    
	}
	else if (language == 'Chinese'){
		localizedText = 'BeatSequencer BoomBap由Insight -热卖中';    
	}
	else if (language == 'Russian'){
		localizedText = 'BeatSequencer BoomBap по Insight - Доступно сейчас';    
	}
	else if (language == 'Swedish'){
		localizedText = 'BeatSequencer BoomBap av Insight - Available Now';    
	}
	else {
		localizedText = 'BeatSequencer BoomBap by Insight - Available Now';
		}
	
	//alert(localizedText);
	
		document.getElementById(elementIdName).innerHTML=localizedText;
	
}


function getBeatSequencerByInsBodyAppstoreDesc(language){
		// Default is English
	var localizedText = '';
	
		
	  if (language == 'Spanish'){
		localizedText = 'BeatSequencer BOOMBAP es un entorno de producción móvil de música que le permite producir, grabar, editar y organizar, una canción de su teléfono. Entonces usted puede enviar un derecho de la mezcla final de BeatSequencer!   <br/> \
 Debido a que fue la programación divertida para el iPhone, no me di cuenta de cuánto tiempo me iba a pasar el desarrollo de esta aplicación. Como soy MC, DJ y productor, mi objetivo era crear una aplicación que realmente podría hacer golpes bien. Espero BeatSequencer inspira la creatividad, y ofrece otra dimensión artística dedicada a los fans. <br/> \
   <br/>  \
     Características: <br/>  \
          <br/> <br/> \
     ★ Sequencer <br/> \
     - Récord en tiempo real  <br/>  \
     - Ediciones StepEditor Beat posiciones  n\ \
     - Ajuste latidos por bucle <br/> \
     - Utilice un máximo de sesenta modelos de <br/> \
     - Usos midi momento <br/> \
  <br/> \
Efectos ★: <br/> \
     -Pegador, delay, reverb, filtros y Coro \
  <br/> <br/>  \
★ Mixer: <br/> \
     - Volumen Master <br/> \
     - Dieciséis contadores de volumen <br/> \
     - Seis efectos para cada sonido <br/> \
    <br/> \
★ Fonoteca <br/> \
     - Muchas categorías <br/> \
     - Batería, efectos de sonido, muestras y más <br/> \
     - Descargar o añadir tus propios sonidos <br/> \
     - Correo electrónico tus mezclas y grabaciones <br/> \
    <br/> \
★ Grupos de sonido <br/> \
     - Dieciséis almohadillas en cada grupo <br/> \
     - Asignar sonidos de la biblioteca <br/> \
     - Utilice sus propios sonidos <br/> \
     - Guardar veintena de grupos para cada canción <br/> \
     - Nombre de cada uno de los grupos <br/> \
      <br/> \
★ Editor y grabador <br/> \
     - Grabar archivos WAV con un micrófono o la entrada n\  \
     - Utilizar las grabaciones en las almohadillas <br/> \
     - Añadir registros a la biblioteca <br/> \
     - Modificar la posición inicial y final <br/> \
     - Enviar a correo electrónico <br/> \
    <br/> \
★ Song Arranger <br/> \
     - Organiza los patrones en una canción <br/> \
     - Los cambios de tempo Recuerda <br/> \
     - Almacena hasta los patrones de cincuenta <br/> \
    <br/> \
★ disco: <br/> \
     - Administrar proyectos <br/> \
     - Guardar y cargar archivos zip <br/> \
     - Correo electrónico de cualquier archivo <br/> \
     - Descargar archivos zip de la web <br/> \
     - Guardar todos los archivos a un ordenador <br/> \
    <br/> \
    <br/> \
★ Web Browser <br/> \
     - Descargar archivos zip de cualquier sitio <br/> \
     <br/> \
★ Un arreglista tacto, para la colocación detallada del evento. '; 
	}
	else if (language == 'French'){
		localizedText = 'BeatSequencer Boombap est un environnement de production mobile qui vous permet de produire de la musique, enregistrer, éditer et organiser une chanson à partir de votre téléphone. Ensuite, vous pouvez envoyer un droit à la composition finale de BeatSequencer! <br/> \
   Parce que c\'était amusant de programmation pour l\'iPhone, je ne savais pas combien de temps que je passais le développement de cette application. Comme je suis MC, DJ et producteur, mon objectif était de créer une application qui pourrait vraiment faire de bons tireurs. BeatSequencer espoir inspire la créativité, et offre une autre dimension de l\'art dédié aux fans. <br/> \
     <br/> \
       Caractéristiques: <br/> \
            <br/> <br/> \
       ★ Sequencer <br/> \
       - Compte rendu en temps réel <br/> \
       - StepEditor Rédactions positions Beat n\ \
       - Ajuster bat la boucle <br/> \
       - Utilisez un maximum de soixante modèles <br/> \
       - Utilise le MIDI Time <br/> \
    <br/> \
★ Effets: <br/> \
       -Slasher, delay, reverb, filtres et le Chœur \
    <br/> \ n \
★ Mixer: <br/> \
       - Volume Master <br/> \
       - Seize mètres volume <br/> \
       - Six des effets sonores pour chaque <br/> \
      <br/> \
★ Sound Archive <br/> \
       - De nombreuses catégories <br/> \
       - Batterie, effets sonores, des échantillons et plus <br/> \
       - Téléchargement ou ajouter vos propres sons <br/> \
       - E-mail de votre enregistrement et le mixage <br/> \
      <br/> \
★ groupes sound <br/> \
       - Seize tampons dans chaque groupe <br/> \
       - Affecter des sons provenant de la bibliothèque <br/> \
       - Utilisez vos propres sons <br/> \
       - Enregistrer une vingtaine de groupes pour chaque chanson <br/> \
       - Nom de chacun des groupes <br/> \
        <br/> \
★ Editor and Recorder <br/> \
       - Record wav avec un microphone ou d\'apports d\'azote \ \
       - Utilisez les pads enregistrements <br/> \
       - Ajouter des enregistrements à la bibliothèque <br/> \
       - Modifier le début et la fin <br/>  \
       - Send to email <br/> \
      <br/> \
★ Song Arrangeur <br/> \
       - Organiser les modèles dans une chanson <br/> \
       - Rappelez-vous les changements de tempo <br/> \
       - Enregistre jusqu\'à cinquante modèles <br/> \
      <br/> \
★ album: <br/> \
       - Gestion de projets <br/> \
       - Enregistrer et envoyer des fichiers zip <br/> \
       - Email à partir de n\'importe quel fichier <br/> \
       - Les fichiers zip télécharger sur le Web <br/> \
       - Enregistrez tous les fichiers à un ordinateur <br/> \
      <br/> \
      <br/> \
★ Web Browser <br/> \
       - Les fichiers zip de tout site <br/> \
       <br/> \
★ Un arrangeur tactile pour les détails de placement de l\'événement.';  
	}
	
	else if (language == 'Italian'){
		localizedText = 'BeatSequencer BOOMBAP è un ambiente di produzione mobile che permette di produrre musica, registrare, modificare e organizzare una canzone dal telefono cellulare. Poi è possibile inviare un diritto al mix finale di BeatSequencer! <br/> \
   Perché è stato divertente di programmazione per l\'iPhone, non mi rendevo conto quanto tempo passavo lo sviluppo di questa applicazione. Come lo sono io MC, DJ e produttore, il mio obiettivo era quello di creare un\'applicazione che potrebbe davvero fare buoni colpi. Spero BeatSequencer ispira la creatività, e offre una nuova dimensione d\'arte dedicata ai tifosi. <br/> \
     <br/> \
       Caratteristiche: <br/> \
            <br/> <br/> \
       ★ Sequencer <br/> \
       - Record in tempo reale <br/> \
       - StepEditor Beat Modifiche posizioni n\ \
       - Regolare batte loop <br/> \
       - Utilizzare un massimo di sessanta modelli <br/> \
       - Utilizza il tempo midi <br/> \
    <br/> \
Effetti ★: <br/> \
       -Slasher, delay, riverbero, filtri e Coro \
    <br/> \ n \
★ Mixer: \ n \
       - Master Volume  n \
       - Sedici metri volume <br/> \
       - Sei effetti sonori per ogni <br/>  \
      <br/> \
★ Sound Archive <br/> \
       - Molte categorie <br/> \
       - Batteria, effetti sonori, campioni e più <br/> \
       - Download o aggiungere i propri suoni <br/> \
       - E-mail la tua registrazione e il mixaggio <br/> \
      <br/> \
★ gruppi suono <br/> \
       - Sedici pastiglie in ciascun gruppo <br/> \
       - Assegnare suoni dalla libreria <br/> \
       - Utilizzare i propri suoni <br/> \
       - Salvare gruppi di venti per ogni canzone <br/> \
       - Nome ciascuno dei gruppi <br/> \
        <br/> \
★ Editor e registratore <br/> \
       - Registrare i file WAV con un microfono o un ingresso n\ \
       - Utilizzare le registrazioni pastiglie <br/> \
       - Aggiungere i record per la biblioteca <br/> \
       - Modificare l\'inizio e la fine <br/> \
       - Invia a e-mail <br/> \
      <br/> \
★ Song Arranger <br/> \
       - Organizzare i modelli in una canzone <br/> \
       - Remember The cambi di tempo <br/> \
       - Memorizza fino a cinquanta modelli <br/> \
      <br/> \
★ album: <br/> \
       - Managing Projects <br/> \
       - Salvare e caricare i file zip <br/> \
       - E-mail da qualsiasi file <br/> \
       - File zip scaricato dal Web <br/> \
       - Salvare tutti i file su un computer <br/> \
      <br/> \
      <br/> \
★ Web Browser <br/> \
       - File zip scarica di qualsiasi sito <br/> \
       <br/> \
★ un arrangiatore contatto per i dettagli posizionamento della manifestazione.';  
	}
	else if (language == 'German'){
		localizedText = 'BeatSequencer BOOMBAP ist eine mobile Produktions-Umgebung, die Sie Musik, aufnehmen, bearbeiten und vereinbaren Sie einen Song aus Ihrem Handy produzieren können. Dann können Sie ein Recht auf die endgültige Mischung aus BeatSequencer! <br/> \
   Weil es Spaß Programmierung für das iPhone, ich wusste gar nicht, wie lange ich die Entwicklung dieser Anwendung verbrachte. Wie ich MC, DJ und Produzent bin, war mein Ziel, eine Anwendung, die wirklich gute Aufnahmen machen konnte zu schaffen. BeatSequencer hoffen, Kreativität inspiriert und bietet eine neue Dimension der Kunst an die Fans gewidmet. <br/> \
     <br/> \
       Features: <br/> \
            <br/> <br/> \
       ★ Sequencer <br/> \
       - Rekord real-time <br/> \
       - Bearbeitungen Beat StepEditor Positionen n\ \
       - Stellen Sie Loop-Beats <br/> \
       - Verwenden Sie ein Maximum von sechzig Modelle <br/> \
       - Verwendet midi time <br/> \
    <br/> \
★ Effekte: <br/> \
       Slasher-, Delay, Reverb, Filter und Chor \
    <br/> <br/> \
★ Mixer: <br/> \
       - Volume Master <br/> \
       - Sechzehn Volumengaszähler <br/> \
       - Sechs Soundeffekte für jede <br/> \
      <br/> \
★ Tonarchiv <br/> \
       - Viele Klassen <br/> \
       - Schlagzeug, Soundeffekte, Proben und mehr <br/> \
       - Download oder fügen Sie Ihre eigenen Sounds <br/> \
       - E-Mail Ihre Aufnahme und Mischung <br/> \
      <br/> \
★ Gruppen sound <br/> \
       - Sechzehn-Pads in jeder Gruppe <br/> \
       - Weisen Sie Sounds aus der Bibliothek <br/> \
       - Verwenden Sie Ihre eigenen Sounds <br/> \
       - Speichern zwanzig Gruppen für jedes Lied <br/> \
       - Name jeder der Gruppen <br/> \
        <br/> \
★ Editor und-Recorder <br/> \
       - Rekord WAV-Dateien mit einem Mikrofon-Eingang oder <br/> \
       - Verwenden Sie die Pads Aufnahmen <br/> \
       - Hinzufügen von Einträgen zur library <br/> \
       - Ändern Sie den Beginn und das Ende <br/> \
       - Senden Sie E-Mails <br/> \
      <br/> \
★ Song Arranger <br/> \
       - Organisieren Sie die Muster in einem Lied <br/> \
       - Remember The Tempowechsel <br/> \
       - Speicherplatz für bis zu fünfzig Muster <br/> \
      <br/> \
★ Album: <br/> \
       - Managing Projects <br/> \
       - Speichern und Hochladen von Dateien zip <br/> \
       - E-Mail aus einer beliebigen Datei <br/> \
       - Laden Sie die ZIP Dateien aus dem Web <br/> \
       - Speichern Sie alle Dateien auf einen Computer <br/> \
      <br/> \
      <br/> \
★ Web Browser <br/> \
       - Laden Sie die ZIP-Dateien einer Site <br/> \
       <br/> \
★ Ein Hauch Arrangeur für die Platzierung Details der Veranstaltung.';   
	}
	else	if (language == 'Japanese'){
		localizedText = 'BeatSequencer BOOMBAPは、あなたの音楽、録音、編集、および携帯電話から曲をアレンジを生成することができます携帯電話の生産環境です。次に、BeatSequencerのファイナルミックスをする権利を送信することができます！ <br/> \
  これは、iPhoneのための楽しいプログラミングされ、どのくらいの期間は、このアプリケーションの開発に支出されたとは知らなかった。私MCのDJやプロデューサーの午前、私の目標は、本当にいいショットをする可能性のあるアプリケーションを作成することでした。 BeatSequencer願って、創造性を刺激し、アートファンのために専用の別の次元を提供します。<br/> \
     <br/> \
      特長：<br/> \
            <br/> <br/> \
       ★シーケンサ <br/> \
       -レコード、リアルタイムの <br/> \
       -編集ビートStepEditor位置ﾑ <br/> \
       -ループのビート\ Nを調整する <br/> \
       - 60モデルの最大の\ nを使用します <br/> \
       -使用してのMIDIタイム  <br/> \
    <br/> \
★エフェクト：<br/> \
      で切りつける、ディレイ、リバーブ、フィルタ、および合唱団  \
   <br/> <br/> \
★ミキサー：<br/> \
       -ボリュームマスター<br/> \
       - 16巻メートル <br/> \
      それぞれの- 6つのサウンドエフェクト <br/> \
      <br/> \
★サウンドアーカイブ <br/> \
       -多くの種類 <br/> \
       -ドラム、サウンドエフェクト、サンプル、および詳細 <br/> \
       -ダウンロードしたり、追加し、独自のサウンド <br/> \
       -電子メールあなたのレコーディング、ミキシング <br/> \
      <br/> \
★グループサウンド <br/> \
      各グループで- 16パッド <br/> \
       -割り当てライブラリからサウンド<br/> \
       -あなたの独自のサウンドを使用して <br/> \
       -それぞれの曲の20団体\ Nで保存 <br/> \
       -名前、各グループには <br/> \
        <br/> \
★エディタとレコーダー <br/> \
       -レコードをWAV、マイクまたはnを入力\のファイルを <br/> \
       -パッド録音\ nを使用します <br/> \
       -ライブラリにレコードを追加する <br/> \
       -開始と終了\ nを変更 <br/> \
       -電子メールに送信する <br/> \
      <br/> \
★ソン編曲 <br/> \
       -曲のパターンを整理 <br/> \
       -テンポを変更\ Nの記憶 <br/> \
       -商店最大50パターンを <br/> \
      <br/> \
★アルバム：<br/> \
       -プロジェクトの管理 <br/> \
       -アップロードファイルを圧縮保存 <br/> \
      任意のファイルから-メール<br/> \
      は、ウェブから-ダウンロードzipファイルを <br/> \
       -コンピュータにすべてのファイルを保存します <br/> \
      <br/> \
      <br/> \
★Webブラウザの<br/> \
      任意のサイトの-ダウンロードzipファイルを<br/> \
       <br/> \
イベントの配置の詳細について触れる編曲★。';
    
	}
	else if (language == 'Chinese'){
		localizedText = 'BeatSequencer BOOMBAP是一个移动的生产环境，让您制作音乐，录制，编辑和安排您的手机一首歌。然后，您可以发送给BeatSequencer最后组合的权利！ <br/> \
  因为它很有趣的iPhone节目，我不知道多久，我是拿着这个应用程序开发。由于我三菱商事，DJ和制作人，我的目标是创建一个应用程序，从而真正使好照片。 BeatSequencer希望激发创造力，提供了另一种专用于球迷的艺术层面。<br/> \
    <br/> \
      特点：<br/> \
           <br/> n\ \
       ★序列<br/> \
       -记录实时<br/> \
       -编辑禁毒StepEditor职位 <br/> \
       -调整循环节奏<br/> \
       -使用最多的60型号<br/> \
       -使用MIDI时间<br/> \
    <br/> \
★效果：<br/> \
       -浆纱，延迟，混响，过滤器和合唱团<br/> \
   <br/> \ \
★搅拌机：<br/> \
       -卷硕士<br/> \
       - 16米，体积<br/> \
       -六每个音效<br/> \
     <br/> \
★声音档案馆<br/> \
       -许多类别<br/> \
       -鼓，声音效果，样本及详情<br/> \
       -下载或添加自己的声音<br/> \
       -推荐你的录音和混音<br/> \
      <br/> \
★团体声音<br/> \
       - 16片，每组<br/> \
       -分配的声音从图书馆<br/> \
       -使用您自己的声音<br/> \
       -保存20组，每组首歌<br/> \
       -名称分别<br/> \
        <br/> \
★编辑器和录像机<br/> \
       -录制WAV文件的麦克风或输入<br/> \
       -使用垫录音<br/> \
       -添加记录到图书馆<br/> \
       -修改开始和结束<br/> \
       -发送电子邮件<br/> \
      <br/> \
★宋安排<br/> \
       -组织在一首歌的模式<br/> \
       -记得节奏变化<br/> \
       -存储多达50模式 <br/> <br/> \
★专辑：<br/> \
       -管理项目<br/> \
       -保存和zip上传文件<br/> \
       -电子邮件从任何文件<br/> \
       -从网上下载压缩文件<br/> \
       -所有文件保存到计算机<br/> \
      <br/> \
      <br/> \
★Web浏览器<br/> \
       -任何网站下载的压缩文件<br/> \
       <br/> \
★一个事件联系安置细节安排。'; 
	}
	else if (language == 'Russian'){
		localizedText = 'BeatSequencer BOOMBAP представляет собой мобильную рабочую среду, которая позволяет Вам создавать музыку, записывать, редактировать и организовать песню из вашего телефона. Затем вы можете отправить право окончательного смесь BeatSequencer! <br/> \
   Потому что это было весело программирования для iPhone, я не понимаю, сколько времени я проводил развитие этого заявления. Поскольку я MC, DJ и продюсер, моей целью было создать приложение, которое может действительно сделать хорошие снимки. BeatSequencer надежды способствует творчеству, и предлагает другим аспектом искусства посвященный болельщиков. <br/> \
     <br/> \
       Особенности: <br/> \
           <br/> <br/> \
       ★ Sequencer <br/> \
       - Запись в режиме реального времени <br/> \
       - Редактирований Beat StepEditor позиции <br/> \
       - Отрегулируйте цикле бьет <br/> \
       - Использовать максимум шестьдесят моделей <br/> \
       - Использует MIDI Time <br/> \
    <br/> \
★ эффектов: <br/> \
       -Тесак, задержку, реверберацию, фильтры и хор <br/> \
    <br/> <br/> \
★ Mixer: <br/> \
       - Том Master <br/> \
       - Шестнадцать том метра <br/> \
       - Шесть звуковые эффекты для каждого <br/> \
      <br/> \
★ Sound Archive <br/> \
       - Многие категории <br/> \
       - Барабаны, звуковых эффектов, примеры и более <br/> \
       - Загрузить или добавить свои собственные звуки <br/> \
       - Электронная почта ваши записи и микширования <br/> \
      <br/> \
★ группы звук <br/> \
       - Шестнадцать площадках в каждой группе <br/> \
       - Назначение звуков из библиотеки <br/> \
       - Используйте свой собственный звук <br/> \
       - Сохранить двадцать групп по каждой песне <br/> \
       - Название каждого из группы <br/> \
       <br/> \
★ редактор и рекордер <br/> \
       - Запись WAV файлы с микрофона или ввод <br/> \
       - Используйте накладки записи <br/> \
       - Добавление записи в библиотеку <br/> \
       - Изменить начало и конец <br/> \
       - Отправить по электронной почте <br/> \
     <br/> \
★ Песня Организатор <br/> \
       - Организация структур в песне <br/> \
       - Помните темп изменений <br/> \
       - Магазины до пятидесяти моделей <br/> <br/> \
★ альбома: <br/> \
       - Управление проектами<br/> \
       - Сохранить и загрузить Zip Files <br/> \
       - Почти из любого файла <br/> \
       - Загрузка файлов Zip из Интернета <br/> \
       - Сохранить все файлы на компьютер <br/> \
      <br/> \
     <br/> \
★ Web Browser <br/> \
       - Загрузка файлов Zip любого сайта <br/> \
       <br/> \
★ Touch аранжировщика для размещения информации о событии.';
	}
	else if (language == 'Swedish'){
		localizedText = 'JBeatSequencer BOOMBAP är en mobil produktionsmiljö som tillåter dig att producera musik, spela in, redigera och ordna en låt från din telefon. Sedan kan du skicka en rätt till den slutliga mix av BeatSequencer!  <br/> \
   Eftersom det var kul program för iPhone, förstod jag inte hur länge jag var utgifterna för utvecklingen av denna ansökan. Eftersom jag MC, DJ och producent, var mitt mål att skapa ett program som verkligen kan göra bra bilder. BeatSequencer hoppas inspirerar till kreativitet, och ger en annan dimension av konst tillägnat fansen.  <br/> \
     <br/> \
       Egenskaper:  <br/> \
             <br/> \
       ★ Sequencer  <br/> \
       - Spela in real-time  <br/> \
       - Redigeringar Beat StepEditor positioner  <br/> \
       - Justera loop slår  <br/> \
       - Använd högst sextio modeller  <br/> \
       - Använder midi time  <br/> \
     <br/> \
★ Effekter:  <br/> \
       -Slasher, delay, reverb, filter och kör  <br/> \
★ Mixer:  <br/> \
       - Volume Master  <br/> \
       - Sexton volymmätare  <br/> \
       - Sex ljudeffekter för varje  <br/> \
       <br/> \
★ ljudarkiv  <br/> \
       - Många kategorier  <br/> \
       - Trummor, ljudeffekter, prover och mer  <br/> \
       - Ladda ner eller lägga till egna ljud  <br/> \
       - Skicka din inspelning och mixning  <br/> \
       <br/> \
★ grupper ljud  <br/> \
       - Sexton kuddar i varje grupp  <br/> \
       - Tilldela ljud från biblioteket  <br/> \
       - Använd dina egna ljud  <br/> \
       - Spara tjugo grupper för varje sång  <br/> \
       - Namn varje grupp  <br/> \
         <br/> \
★ Redaktör och blockflöjt  <br/> \
       - Rekord WAV-filer med en mikrofon eller input  <br/> \
       - Använd kuddar inspelningarna  <br/> \
       - Lägga till poster till biblioteket  <br/> \
       - Ändra i början och slutet  <br/> \
       - Skicka till e  <br/> \
       <br/> \
★ Song Arranger  <br/> \
       - Organisera mönster i en sång  <br/> \
       - Kom ihåg Tempot förändringar  <br/> \
       - Lagrar upp till femtio mönster  <br/> \
★ album:  <br/> \
       - Managing Projects  <br/> \
       - Spara och ladda upp zip-filer  <br/> \
       - E-post från någon fil  <br/> \
       - Ladda ner zip-filer från nätet  <br/> \
       - Spara alla filer till en dator  <br/> \
       <br/> \
       <br/> \
★ Web Browser  <br/> \
       - Ladda ner zip-filer av någon plats <br/> \
       <br/> \
★ En touch arrangör för placering detaljer om händelsen.';
	}
	else  {
			  localizedText = 'BeatSequencer BoomBap is a mobile music production environment that allows you to produce, record, edit and arrange, a song from your phone. Then you can email a final mix right from BeatSequencer!'   
+ 'Because it was fun programming for the iPhone, I did not realize how much time I was spending developing this application. As am MC, DJ and producer, my goal was to create an application that could really make good beats. I hope BeatSequencer inspires creativity, and offers another artistic dimension to dedicated fans.'  
+ '<br/><br/>   \
    Features:   <br/>   \
         <br/>   \
    ★ Sequencer  <br/>   \
    - Record in real time  <br/>   \
    - StepEditor edits beat positions  <br/>   \
    - Adjust beats per loop  <br/>   \
    - Use up to sixty patterns  <br/>   \
    - Uses midi timing      <br/>   \
 <br/>   \
★ Effects:  <br/>   \
    -Puncher, Delay, Reverb, Filter and Chorus      \
 <br/><br/>   \
★ Mixer:    <br/>   \
    - Master volume    <br/>   \
    - Sixteen volume meters   <br/>   \
    - Six effects for each sound        <br/>   \
   <br/>   \
★ Sound library    <br/>   \
    - Many categories   <br/>   \
    - Drums, Sound Effects, Samples and more   <br/>   \
    - Download or add your own sounds   <br/>   \
    - Email your mixes or recordings         <br/>   \
   <br/>   \
★ Sound Groups   <br/>   \
    - Sixteen Pads in each group   <br/>   \
    - Assign sounds from the library   <br/>   \
    - Use your own sounds   <br/>   \
    - Save twenty groups for each song   <br/>   \
    - Name each groups   <br/>   \
     <br/>   \
★ Editor and Recorder   <br/>   \
    - Record wav files with a mic or input   <br/>   \
    - Use recordings on pads   <br/>   \
    - Add recordings to the library   <br/>   \
    - Edit the start and end position   <br/>   \
    - Send to email   <br/>   \
   <br/>   \
★ Song Arranger   <br/>   \
    - Organizes patterns into a song   <br/>   \
    - Remembers tempo changes   <br/>   \
    - Stores up to fifty patterns   <br/>   \
   <br/>   \
★ Disk:   <br/>   \
    - Manage projects   <br/>   \
    - Save and load zip files   <br/>   \
    - Email any file   <br/>   \
    - Download zip files from the web   <br/>   \
    - Save all files to a computer   <br/>   \
   <br/>   \
   <br/>   \
★ Web Browser   <br/>   \
    - Download zip files from any site   <br/>   \
     <br/>   \
★ A touch arranger, for detailed event placement.';
		  }

		return        localizedText;
}




function beatSequencerBoomBapByInsightBodyText(language, elementIdName){
		// Default is English
	var localizedText = '';
	
	 if (language == 'Spanish'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('Spanish')+"<br/><br/>"+'Llegué muy lejos de la versión antigua. Esta aplicación tardó muchos meses en completarse. Tenía la esperanza de hacerse antes de septiembre, pero tomó un mes adicional. Debe ser liberado a finales de octubre. <br> Yo C + +, C y Objective C para programar esta aplicación. La versión para móviles está disponible para el iPhone, y pronto la plataforma Android. <br> Gráficos: Esta interfaz ha sido diseñado en 3D Studio Max y Photoshop. Le tomó mucho más tiempo que los diseños anteriores ya que desde Ilearned de mis errores. Conocer su interfaz y funciones antes de comenzar la programación es la clave para una aplicación de calidad.'; 
	}
	else if (language == 'French'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('French')+"<br/><br/>"+'Je suis venu un long chemin de l\'ancienne version. Cette application a nécessité plusieurs mois à compléter. J\'avais espéré à faire avant Septembre, mais il a fallu un mois supplémentaire. Elle devrait sortir d\'ici la fin Octobre. <br> j\'ai utilisé C + +, Objective C et C pour le programme de cette application. La version mobile est disponible pour l\'iPhone, et bientôt la plateforme Android. <br> Graphics: Cette interface a été conçu en 3D Studio Max et Photoshop. Il a fallu beaucoup plus longtemps que les modèles précédents, car depuis Ilearned de mes erreurs. Connaissant votre interface et les fonctions avant de commencer la programmation est la clef d\'une application de qualité.';  
	}
	
	else if (language == 'Italian'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('Italian')+"<br/><br/>"+'Sono venuto un senso lungo dalla vecchia versione. Questa applicazione ha avuto molti mesi per essere completata. Speravo di essere fatto prima di settembre, ma ci sono voluti un mese in più. Dovrebbe essere pubblicato entro la fine di ottobre. <br> Ho usato C + +, Objective C e C per programmare questa applicazione. La versione mobile è disponibile per l\'iPhone, e presto la piattaforma Android. <br> Graphics: Questa interfaccia è stata progettata in 3D Studio Max e Photoshop. Ci sono voluti molto più tempo rispetto alle installazioni precedenti, perché dal Ilearned dai miei errori. Conoscere l\'interfaccia e le funzioni prima di iniziare la programmazione è la chiave per una domanda di qualità.';  
	}
	else if (language == 'German'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('German')+"<br/><br/>"+'Ich kam ein langer Weg von der alten Version. Diese Anwendung hat viele Monate in Anspruch nehmen. Ich hatte gehofft, vor September erfolgen, aber es dauerte einen weiteren Monat. Es sollte bis Ende Oktober veröffentlicht werden. <br> ich C + +, C und Objective-C, um diese Anwendung. Die mobile Version ist für das iPhone verfügbar, und bald die Android-Plattform. <br> Grafik: Diese Schnittstelle wurde in 3D Studio Max und Photoshop entworfen. Es dauerte viel länger als herkömmliche Modelle, weil seit Ilearned aus meinen Fehlern. Wissen, Ihrer Schnittstelle und Funktionen, bevor Sie mit der Programmierung beginnen, ist der Schlüssel zu einer Qualität Anwendung.';   
	}
	else	if (language == 'Japanese'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('Japanese')+"<br/><br/>"+'私は、古いバージョンからの長い道のりだった。このアプリケーションは、何ヶ月も完了した。私は9月前に行われることを期待したが、それは特別な月だった。これは10月下旬に発売する必要がありますする<br> 私はCを使用+ +、C言語とObjective Cは、このアプリケーションをプログラムします。モバイル版IPhoneのため、すぐには、Androidプラットフォームで使用可能です。 <br> のグラフィック：このインターフェイスの3D StudioでのMaxとPhotoshopの設計されました。それははるかに長く、以前の設計よりは自分の過ちからIlearned以来だった。 、あなたのインターフェイスを知り、関数の前にあなたがプログラミングを開始品質なアプリケーションのための鍵です。';
    
	}
	else if (language == 'Chinese'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('Chinese')+"<br/><br/>"+'我是从旧版本有很大的帮助。此应用程序采取了许多个月完成。我曾希望九月前完成，但多了一个月。它应该被释放的10月底。<br> 我使用C + +，C和目标C到这个应用程序。这种移动版可用于IPhone，不久的Android平台。 <br> 图形：在三维工作室设计的最大和Photoshop这个接口。花的时间比以前的设计，因为自从从我的错误Ilearned。了解你的接口和功能，然后再开始节目是一个品质的关键。'; 
	}
	else if (language == 'Russian'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('Russian')+"<br/><br/>"+'Я пришел долгий путь от старой версии. Это приложение приняла много месяцев. Я надеялся, что сделано до сентября, но она приняла дополнительный месяц. Она должна быть выпущена к концу октября. <br> я использовал C + +, C и Objective C, чтобы программа этого приложения. Мобильная версия доступна для IPhone, и вскоре платформе Android. <br> графика: Этот интерфейс был разработан в 3D Studio Max и Photoshop. Оно ушло гораздо больше времени, чем предыдущие конструкции, потому что с Ilearned из моих ошибок. Зная интерфейс и функции, прежде чем приступить к программированию является ключом к качеству приложений.';
	}
	else if (language == 'Swedish'){
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('Swedish')+"<br/><br/>"+'Jag kom en lång väg från den gamla versionen. Denna ansökan tog flera månader att slutföra. Jag hade hoppats att göra innan september, men det tog en extra månad. Det ska släppas i slutet av oktober. <br> jag använde C + +, C och Objective C för att programmera in denna ansökan. Den mobila versionen är tillgänglig för iPhone, och snart Android-plattformen. <br> Grafik: Detta gränssnitt är konstruerad i 3D Studio Max och Photoshop. Det tog mycket längre tid än tidigare konstruktioner eftersom det sedan Ilearned från mina misstag. Veta din gränssnitt och funktioner innan du börjar planeringen är nyckeln till en kvalitet ansökan.';
	}
	else {
		
		localizedText = getBeatSequencerByInsBodyAppstoreDesc('English')+"<br/><br/>"+'I came a long way from the old version. This application took many months to complete. I had hoped to be done before September, but it took an extra month. It should be released by late October.<br> I used C++, C and Objective C to program this application. The mobile version is available for the IPhone, and soon the Android platform. <br> Graphics: This interface was designed in 3D Studio Max and Photoshop. It took much longer than previous designs, but I learned from my mistakes. Knowing your interface, and functions before you start programming is the key to a quality application.';
	}
	
	document.getElementById(elementIdName).innerHTML=localizedText;
}
// App 2
function beatSequencerBasicTitleText(language, elementIdName){
		// Default is English
	var localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';
	
		if (language == 'English'){
		}
	
	else if (language == 'Spanish'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';   
	}
	else if (language == 'French'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';    
	}
	
	else if (language == 'Italian'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';  
	}
	else if (language == 'German'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';   
	}
	else 	if (language == 'Japanese'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';    
	}
	else if (language == 'Chinese'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';   
	}
	else if (language == 'Russian'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';    
	}
	else if (language == 'Swedish'){
		localizedText = 'BeatSequencer BoomBap Basic (The old version) - February 2009';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}
function beatSequencerBasicBodyText(language, elementIdName){
		// Default is English
	var localizedText = '';
	
	 if (language == 'Spanish'){
	
	localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';   
	}
	else if (language == 'French'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';    
	}
	
	else if (language == 'Italian'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';    
	}
	else if (language == 'German'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';   
	}
	else 	if (language == 'Japanese'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';   
	}
	else if (language == 'Chinese'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';    
	}
	else if (language == 'Russian'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';    
	}
	else if (language == 'Swedish'){
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';    
	}else {
		localizedText = 'This was officially my first audio application. I started programming basic audio synthesis applications for Windows, and gained a deep interest for midi programming. There is a lack of resources in the audio programming area, but the frustrating act of finding information gives you long term advantages. For those interested, take a look at Maximum MIDI Programmer\'s ToolKit. It\'s a C library for audio, although it gives you a working understanding of music software development, explains how to write binary midi files,and develope sequencer, and event driven systems. <br> Graphics: I used Photoshop to create this interface. I\'ll will admit that it is not the best design.';
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}
// App 3
function circluesTitleText(language, elementIdName){
		// Default is English
	var localizedText = 'Circlues by Insight - release date: April 20th 2009';
	
	if (language == 'Spanish'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	if (language == 'French'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	if (language == 'German'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
		if (language == 'Japanese'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	if (language == 'Chinese'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	if (language == 'Russian'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	if (language == 'Swedish'){
		localizedText = 'Circlues by Insight - release date: April 20th 2009';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}
function circluesBodyText(language, elementIdName){
		// Default is English
	var localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';
	
	if (language == 'English'){}
	else if (language == 'Spanish'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';   
	}
	else if (language == 'French'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';    
	}
	
	else if (language == 'Italian'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';   
	}
	else  if (language == 'German'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';   
	}
	else 	if (language == 'Japanese'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';   
	}
	else if (language == 'Chinese'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';    
	}
	else if (language == 'Russian'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';    
	}
	else if (language == 'Swedish'){
		localizedText = 'This game took a month for me to program. I thought It was a cool idea, but was unsatisfied with the final result. Most of my time was spent programming location points in an array, with calculations to spin them around one circle, keeping positions on a grid with all other circles of similar color. The feeling of accomplishment made me believe that the game was completed. However, to improve this game, much more time was needed. I failed to add audio, and make levels more challenging. The user is not rewarded with enough new objects, or bonuses, and there is no \'grand finale\' wow factor that making me want to reachthe end. Also, I wrote, and recorded a rhyme for the app, but spend no time on sounds in the app! Why? Maybe I\'ll continuethis app in the future. Humbled, I\'ll give myself a D+ for Circlues. :(<br> Graphics: I did it all in Photoshop. The glowing cicle is a layer set with glowing. The spikey lines around the red circle in the center was done by using the noise filter, then adding a Gaussean blur.';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}

// Welcome Message
function welcomeText(language, elementIdName){
		// Default is English
	var localizedText = 'Welcome';
	
	if (language == 'Spanish'){
		localizedText = 'Hola';    
	}
	if (language == 'French'){
		localizedText = 'Bonjour';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Ciao';    
	}
	if (language == 'German'){
		localizedText = 'Hallo';    
	}
		if (language == 'Japanese'){
		localizedText = 'こんにちは';    
	}
	if (language == 'Chinese'){
		localizedText = '喂';    
	}
	if (language == 'Russian'){
		localizedText = 'привет';    
	}
	if (language == 'Swedish'){
		localizedText = 'hej';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}


function submitText(language, elementIdName){
		// Default is English
	var localizedText = 'Send';
	
	if (language == 'Spanish'){
		localizedText = 'Enviar';    
	}
	if (language == 'French'){
		localizedText = 'Envoyer';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Inviare';    
	}
	if (language == 'German'){
		localizedText = 'Senden';    
	}
		if (language == 'Japanese'){
		localizedText = '送る';    
	}
	if (language == 'Chinese'){
		localizedText = '發送';    
	}
	if (language == 'Russian'){
		localizedText = 'отправлять';    
	}
	if (language == 'Swedish'){
		localizedText = 'Skicka';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}

function closeText(language, elementIdName){
		// Default is English
	var localizedText = 'Close';
	
	if (language == 'Spanish'){
		localizedText = 'Cerrar';    
	}
	if (language == 'French'){
		localizedText = 'Fermer';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Chiudere';    
	}
	if (language == 'German'){
		localizedText = 'Schließen';    
	}
		if (language == 'Japanese'){
		localizedText = '閉じる';    
	}
	if (language == 'Chinese'){
		localizedText = '关闭';    
	}
	if (language == 'Russian'){
		localizedText = 'закрыть';    
	}
	if (language == 'Swedish'){
		localizedText = 'Nära';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;
}

function eraseText(language, elementIdName){
		// Default is English
	var localizedText = 'Erase';
	
	if (language == 'Spanish'){
		localizedText = 'Borrar';    
	}
	if (language == 'French'){
		localizedText = 'Effacer';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Cancella';    
	}
	if (language == 'German'){
		localizedText = 'Erase';    
	}
		if (language == 'Japanese'){
		localizedText = '消去';    
	}
	if (language == 'Chinese'){
		localizedText = '擦除';    
	}
	if (language == 'Russian'){
		localizedText = 'Стереть';    
	}
	if (language == 'Swedish'){
		localizedText = 'Radera';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;

}



function whatIsYourNameText(language, elementIdName){
		// Default is English
	var localizedText = 'Please enter your screen name to save options.';
	
	if (language == 'Spanish'){
		localizedText = 'Por favor, introduzca su nombre de pantalla para guardar las opciones.';    
	}
	if (language == 'French'){
		localizedText = 'S\'il vous plaît entrer votre nom d\'écran pour enregistrer les options.';    
	}
	
	if (language == 'Italian'){
		localizedText = 'Inserisci il tuo nome schermo per salvare le opzioni.';    
	}
	if (language == 'German'){
		localizedText = 'Bitte geben Sie Ihren Chat-Namen, um Optionen zu speichern.';    
	}
		if (language == 'Japanese'){
		localizedText = 'してくださいオプションを保存するあなたのスクリーン名を入力します。';    
	}
	if (language == 'Chinese'){
		localizedText = '请输入您的屏幕名称保存选项。';    
	}
	if (language == 'Russian'){
		localizedText = 'Пожалуйста, введите свой псевдоним, чтобы сохранить параметры.';    
	}
	if (language == 'Swedish'){
		localizedText = 'Ange ditt namn skärmen för att spara alternativ.';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;

}


function namePlaceHolder(language, elementIdName){
		// Default is English
	var localizedText = '';
	
	if (language == 'Spanish'){
		localizedText = '';    
	}
	if (language == 'French'){
		localizedText = '';    
	}
	
	if (language == 'Italian'){
		localizedText = '';    
	}
	if (language == 'German'){
		localizedText = '';    
	}
		if (language == 'Japanese'){
		localizedText = '';    
	}
	if (language == 'Chinese'){
		localizedText = '';    
	}
	if (language == 'Russian'){
		localizedText = '';    
	}
	if (language == 'Swedish'){
		localizedText = '';    
	}
	
		document.getElementById(elementIdName).innerHTML=localizedText;

}
