function changeInnerHTMLCode(element_name, new_html){
  var element = document.getElementById(element_name);
  if(element){
    element.innerHTML = new_html;
  }
}

function changeTextFor_Equipe(){
  var html_str = "&nbsp;&nbsp;This game was created on a volunteer basis. We hope that you enjoy it and the message it portrays.";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "<U>Main Team:</U>";
  html_str    += "<UL>";
  html_str    +=   "<LI>Delphine Measroch (Music and Sound Effects)</LI>";
  html_str    +=   "<LI>Florent Guinier (Project Lead and Programmer)</LI>";
  html_str    +=   "<LI>Julie Durocher (3D Artist)</LI>";
  html_str    +=   "<LI>Karim Osman (Programmer)</LI>";
  html_str    +=   "<LI>Olivier Mir (2D/3D Artist)</LI>";
  html_str    +=   "<LI>Patrick Boutot (Programmer)</LI>";
  html_str    +=   "<LI>Vincent Thériault (Programmer)</LI>";
  html_str    += "</UL>";
                            
  html_str    += "<U>Additional Thanks:</U>";
  html_str    += "<UL>";
  html_str    +=   "<LI>A dwarf with a big axe (Game Design)</LI>";
  html_str    +=   "<LI>Audrey Barrette (Translation and Life support)</LI>";
  html_str    +=   "<LI>Olivier Comtois (Game Scenario)</LI>";
  html_str    +=   "<LI>The nicest Spanish translator ever (Translation)</LI>";
  html_str    +=   "<LI>Sushil Ambda (Translation)</LI>";
  html_str    += "</UL>";
                            
  html_str    += "&nbsp;&nbsp;We also want to thank the French Amnesty Canada team, which has made this project possible:";
  html_str    += "<UL>";
  html_str    +=   "<LI>Sushil Handa</LI>";
  html_str    +=   "<LI>Colette Lelièvre</LI>";
  html_str    +=   "<LI>Jacques Lussier</LI>";
  html_str    +=   "<LI>Patrick Galame</LI>";
  html_str    += "</UL>";
  
  changeInnerHTMLCode("inner_html_code", html_str);
}

function changeTextFor_Jeu(){
  var html_str = "&nbsp;&nbsp;You are a journalist and photographer. A few months before the Beijing Olympic Games, your best friend, Jun Shen, a human rights defender and journalist, calls for help. You will do everything you can to help him. This adventure will take you to China where you will be confronted to many human rights violations.";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "&nbsp;&nbsp;By investigating, taking pictures and publishing your articles, you will work to solve the problems you encounter and eventually save your friend!";
  
  changeInnerHTMLCode("inner_html_code", html_str);
}

function changetTextFor_Configuration(){
  var html_str = "<U>Recommended Settings:</U>";
  html_str    += "<UL>";
  html_str    +=   "<LI>2.0 GHz processor</LI>";
  html_str    +=   "<LI>1 gigabyte of main memory</LI>";
  html_str    +=   "<LI>Graphics card supporting Shader Model 2.0 with 256 megabytes of memory</LI>";
  html_str    += "</UL>";
  html_str    += "<BR>";
  html_str    += "<U>Minimum Settings:</U>";
  html_str    += "<UL>";
  html_str    +=   "<LI>1.5 GHz processor</LI>";
  html_str    +=   "<LI>1 gigabyte of main memory</LI>";
  html_str    +=   "<LI>Graphics card supporting Shader Model 2.0 with 128 megabytes of memory</LI>";
  html_str    += "</UL>";
  html_str    += "<BR>";
  html_str    += "This game is not compatible with Mac.";
  
  changeInnerHTMLCode("inner_html_code", html_str);
}

function changeTextFor_Projet(){
  var html_str = "&nbsp;&nbsp;This game was developed to support Amnesty International's campaign on China. The story and characters represented are fictional. The aim of this project is to sensitize the player to human rights violations.";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "&nbsp;&nbsp;The project started in August 2007 and was completed in April 2008. These nine months encompassed many steps and events. From an idea a concept was born, along with a team, a collaboration with Amnesty International Canada and finally, after a lot of work, a game!";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "&nbsp;&nbsp;Speaking of the team, we had a really cool one. Feel free to visit the team page for more information. The core group was composed of seven people (one musician, two artists 2D/3D, and four programmers). Many others have helped with this project particularly for the translation, scenario, game design, and more...";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "&nbsp;&nbsp;This game was programmed using Microsoft XNA in C#. This will allow us to relatively easily make the necessary changes to run this game on the Xbox 360, hopefully distributed through Xbox Live.";
  
  changeInnerHTMLCode("inner_html_code", html_str);
}

function changeTextFor_Speaking(){
  var html_str = "&nbsp;&nbsp;Préférez-vous une version française? Dans ce cas visitez: <A HREF='http://www.desimagespourlaverite.com'>http://www.desimagespourlaverite.com</A>";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "&nbsp;&nbsp;Please note that the game itself can be played in three languages: English, French, and Spanish. In fact, you can change the language at anytime as you play (see the in-game help menu by pressing F1).";
  
  changeInnerHTMLCode("inner_html_code", html_str);
}

function changeTextFor_Contacter(){
  var html_str = "&nbsp;&nbsp;If you have any questions or comments please write an email to: <A HREF='mailto:contact@picturesfortruth.com'>contact@picturesfortruth.com</A>";
  html_str    += "<BR>";
  html_str    += "<BR>";
  html_str    += "&nbsp;&nbsp;For more information on the Amnesty 2008 campaign on China visit: <A HREF='http://www.amnesty.org'>http://www.amnesty.org</A>(English) or <A HREF='http://www.amnistie.ca'>http://www.amnistie.ca</A> (French)";
  
  changeInnerHTMLCode("inner_html_code", html_str);
}

function changeTextFor_Images(){
  var html_str = "<CENTER>";
  html_str    +=   "<A onclick=\"JavaScript:ShowNextPicture('showed_picture');\">next</A>";
  html_str    +=   "<BR/>";
  html_str    +=   "<BR/>";
  html_str    +=   "<IMG ID=\"showed_picture\" NAME=\"showed_picture\" SRC=\"images2/big_img_00.jpg\"/>";
  html_str    += "</CENTER>";
  changeInnerHTMLCode("inner_html_code", html_str);
}