/////////////////////////////////////////////////////////////////////////////
// site.js
// (c) Antoine LEROY 2006
// Made for KOELIS web site 
// Contains pages content while the structure is in main.html
/////////////////////////////////////////////////////////////////////////////

///////////////////
// Constants

var french  = "French";
var english = "English";
var japanese = "Japanese";

var englishTitle = "KOELIS - Augmented Surgery";
var frenchTitle = "KOELIS - Chirurgie Augmentée";

var koelis = "<span class='titre'>KOELIS</span>";

//*** NUMBER OF PAGES IN YOUR SITE ***//
var nbMenus  = 3;
var nbOthers = 3;
var nbFrames = nbMenus + nbOthers;

///////////////////
// class MenuFrame

function MenuFrame(nbMenus) {
	this.title = "";
	this.language = "";
	this.menu = new Array(nbMenus);
	}

///////////////////
// Parent class MyFrame	
	
function MyFrame(title, nbImages, nbParagr) {
	this.title = title;	
	this.nbImages = nbImages;
	this.nbParagr = nbParagr;
	this.images = new Array(nbImages);
	this.imagesalt = new Array(nbImages);
	this.paragr = new Array(nbParagr);
}

///////////////////
// class Site

function Site(language, frameNumber) {
	// Attributes
	this.language = language;
	this.frameNumber = frameNumber;
	this.nbMenus  = nbMenus;
  this.nbOthers = nbOthers;
  this.nbFrames = nbMenus + nbOthers;

	this.myFrames = new Array(nbFrames);

	// Functions
	this.changeLanguage = changeLanguage;
	this.changeMenuFrame = changeMenuFrame;
	this.changeOtherFrame = changeOtherFrame;
		
	// Initialisation
	this.changeLanguage(language);
}

//////////////////////////////////////////////////////////
// Instanciations

// Menu frames
var englishMenuFrame = new MenuFrame(nbMenus);
var frenchMenuFrame = new MenuFrame(nbMenus);

// Array of main frames
var myFrenchFrames  = new Array(nbFrames) ;
var myEnglishFrames = new Array(nbFrames) ;

///////////////////
// changeLanguage
function changeLanguage(lang) {
  if (lang != french && lang != english) {
		 alert("Javascript error in changeLanguage. Contact Webmaster.");
		 return;
	}
		 
	// (re?)set language
	this.language = lang;
	
	// English?
	if (lang == english) {
		this.menuFrame = englishMenuFrame;		
		for (i=0 ; i<nbFrames ; i++) 
				this.myFrames[i] = myEnglishFrames[i] ;
	}
	// French?
	else if (lang == french) {
		this.menuFrame = frenchMenuFrame;		
		for (i=0 ; i<nbFrames ; i++) 
				this.myFrames[i] = myFrenchFrames[i] ;
	}
	else;
	
	// Commit change
	this.mainFrame = this.myFrames[this.frameNumber];
}

///////////////////
// changeMenuFrame
// Accepts menu index from 0
function changeMenuFrame(frameNumber) {
	this.frameNumber = nbOthers + frameNumber;	
	this.mainFrame = this.myFrames[this.frameNumber];
}	

///////////////////
// changeOtherFrame
// Accepts index from 0
function changeOtherFrame(frameNumber) {
	this.frameNumber = frameNumber;	
	this.mainFrame = this.myFrames[this.frameNumber];
}	

//******************************************************//
// SET YOUR PERSONAL DATA HEREINAFTER
//******************************************************//

//////////////////////////////////////////////////////////
// Menu Frames

englishMenuFrame.title = englishTitle;
englishMenuFrame.language = "French version";
englishMenuFrame.menu[0] = "Company";
englishMenuFrame.menu[1] = "Products";
//englishMenuFrame.menu[2] = "Technology";
englishMenuFrame.menu[2] = "Contact";

frenchMenuFrame.title = frenchTitle;
frenchMenuFrame.language = "Version anglaise";
frenchMenuFrame.menu[0] = "Société";
frenchMenuFrame.menu[1] = "Produits";
//frenchMenuFrame.menu[2] = "Technologie";
frenchMenuFrame.menu[2] = "Contact";

//////////////////////////////////////////////////////////
// HomeFrame

// Instanciate frame
myFrenchFrames[0] = new MyFrame("Accueil",0,5); // title, nbImages, nbParagraphs
myEnglishFrames[0] = new MyFrame("Home",0,5);

//*** SET PARAGRAPHS ***//

// French
myFrenchFrames[0].paragr[0] = koelis+" est une société MedTech innovante développant<br/>des dispositifs de fusion d'image afin d'apporter qualité et précision<br/>aux interventions urologiques guidées par l'image.";
myFrenchFrames[0].paragr[1] = koelis+" présente l'UroStation&nbsp;:"; 
myFrenchFrames[0].paragr[2] = "Pour la première fois l'échographie 3D, la fusion d'images et le suivi d'organe<br/>sont associés dans un dispositif unique et intuitif permettant à l'urologue<br/>d'accroître la précision de la biopsie de prostate<br/>et permettre le choix d'une thérapie focale pour chaque patient.";
myFrenchFrames[0].paragr[3] = "ACTUALITES";
myFrenchFrames[0].paragr[4] = "\
2010.05.29\n\tAUA congress in San Francisco. Visit our booth 3922!\n\n\
2010.04.16\n\tEAU congress in Barcelona. Visit our booth A25!\n\n\
2010.02.24\n\tFTI congress in Washington. Visit our booth!\n\n\
2010.01.23\n\tElautprijs congress in Belgium. Visit us on Opus Medical booth!\n\n\
2009.11.20\n\tMeet us at Medica in Düsseldorf!\n\n\
2009.11.18\n\tAFU congress in Paris. Visit us on LMS booth #F17!\n\n\
2009.10.16\n\tJFR congress in Paris. Visit us on Medison booth #123C!\n\n\
2009.06.09\n\tFTI congress in Amsterdam. Visit our booth #18!\n\n\
2009.04.20\n\tAUA congress in Chicago. Visit our booth #3741!\n\n\
2009.05.18\n\t*** KOELIS Urostation - Prostate Biopsy is CE marked ***\n\n\
2009.03.17\n\tMeet us at EAU congress in Stockholm!\n\n\
2008.11.19\n\tMeet us at Medica in Düsseldorf!\n\n\
2008.11.18\n\tMeet us at AFU congress in Paris!\n\n\
2008.09.24\n\tDGU congress in Stuttgart. KOELIS exhibits Urostation.\n\n\
2008.05.17\n\tAUA congress in Orlando. KOELIS exhibits Navigation.\n\n\
2008.03.26\n\tMeet us at EAU congress in Milano!\n\n\
2008.03.26\n\tMeet us at Focal Therapy congress in Duke!\n\n\
2007.11.17\n\tMeet us at AFU congress in Paris!\n\n\
2007.05.19\n\tMeet us at AUA congress in Anaheim!\n\n\
2007.03.21\n\tMeet us at EAU congress in Berlin!\n\n\
";

// English
myEnglishFrames[0].paragr[0] = koelis+" is a  innovative Medtech company that develops<br/>image fusion devices to bring quality and accuracy<br/>to image-guided urological interventions."; 
myEnglishFrames[0].paragr[1] = koelis+" introduces the UroStation&nbsp;:";
myEnglishFrames[0].paragr[2] = "For the first time 3D ultrasound, image fusion and automatic organ based tracking<br/>are combined into a single, easy to use platform that enables urologists<br/>to increase prostate biopsy precision and improve focal therapy outcomes for all patients.";
myEnglishFrames[0].paragr[3] = "LATEST NEWS";
myEnglishFrames[0].paragr[4] = myFrenchFrames[0].paragr[4];
				
//////////////////////////////////////////////////////////
// LegalFrame

// Instanciate frame
myFrenchFrames[1] = new MyFrame("Informations légales",0,35); // title, nbImages, nbParagraphs
myEnglishFrames[1] = new MyFrame("Legal information",0,35);

//*** SET PARAGRAPHS ***//

// French
myFrenchFrames[1].paragr[6] = "En visitant, consultant ou de utilisant ce site Web, vous acceptez d'être lié par les termes et conditions suivants.";

myFrenchFrames[1].paragr[0] = "Protection des données";
myFrenchFrames[1].paragr[7] = "Le World Wide Web est un système accessible à tous.";
myFrenchFrames[1].paragr[8] = "Les données affichées sur le système peuvent être perdues, mal redirigées ou tomber entre les mains de personnes non autorisées.";
myFrenchFrames[1].paragr[9] = "En conséquence, toute divulgation de données personnelles et d'information est volontaire et aux risques de l'utilisateur.";
myFrenchFrames[1].paragr[10] = "KOELIS ne peut garantir la confidentialité des données sur Internet.";
myFrenchFrames[1].paragr[11] = "KOELIS attache une haute priorité à la question de la protection des données.";
myFrenchFrames[1].paragr[12] = "Toutes les données que nous recevons de vous en ligne sont traitées avec soin, conformément à la réglementation sur la protection des données, et ne sont pas communiquées à des tiers.";
myFrenchFrames[1].paragr[13] = "Les données sont utilisées uniquement dans le but auquel elles sont destinés.";
myFrenchFrames[1].paragr[14] = "Toutes les informations qui nous sont envoyées seront utilisées exclusivement par KOELIS.";
myFrenchFrames[1].paragr[15] = "Vous avez le droit d'annuler ou de modifier les données en notre possession à tout moment.";
myFrenchFrames[1].paragr[16] = "En outre, nous assurons que les données en notre possession ne seront pas communiquées à des tiers.";
 
myFrenchFrames[1].paragr[1] = "Fiabilité de l'information, responsabilité en général";
myFrenchFrames[1].paragr[17] = "Le site Web de KOELIS, 5 Avenue du Grand Sablon, 38700 La Tronche (ci-après dénommé 'KOELIS') a été créé et entretenu avec soin.";
myFrenchFrames[1].paragr[18] = "Il est possible, toutefois, que les renseignements sur le site Web peuvent être incomplets ou, pour de courtes périodes, dépassés."; 
myFrenchFrames[1].paragr[19] = "Ni KOELIS elle-même ni ses employés peut garantir l'exactitude absolue du contenu du site Web.";
myFrenchFrames[1].paragr[20] = "Par conséquent, aucune garantie ou représentation d'aucune sorte, explicite ou implicite, n'est fournie ou faite à l'égard de l'information ou des services qui sont fournis sur le site Web.";
myFrenchFrames[1].paragr[21] = "En particulier, KOELIS n'assume aucune responsabilité pour toute perte directe ou indirecte ou dommages de quelque nature que ce soit qui pourrait être subie par les usagers et/ou des tiers en relation avec l'utilisation de l'Internet et du site Web KOELIS.";
myFrenchFrames[1].paragr[22] = "Cette exclusion de responsabilité doit également couvrir les défauts de titres et/ou de tout manquement de notre part pour se conformer aux obligations statutaires.";
myFrenchFrames[1].paragr[23] = "KOELIS décline expressément toute responsabilité pour les défauts de fonctionnement de l'Internet ou de tout type d'abus par des tiers.";
myFrenchFrames[1].paragr[24] = "L'utilisateur assume l'entière responsabilité et le risque liés à l'utilisation de l'information disponible sur ce site Web.";
myFrenchFrames[1].paragr[25] = "En aucun cas les informations médicales sur le site Web de KOELIS ne pourront se substituer à une consultation avec un médecin.";

myFrenchFrames[1].paragr[2] = "La disponibilité de produits et de services";
myFrenchFrames[1].paragr[26] = "Le site Web de KOELIS contient des renseignements sur les produits et services qui peuvent ne pas être disponibles dans tous les pays.";

myFrenchFrames[1].paragr[3] = "Copyright";
myFrenchFrames[1].paragr[27] = "Toutes les œuvres artistiques et d'autres créations intellectuelles sur le site Internet sont protégés par le droit d'auteur.";
myFrenchFrames[1].paragr[28] = "KOELIS détient le droit exclusif d'utiliser ces oeuvres et de produire des copies.";
myFrenchFrames[1].paragr[29] = "Toute utilisation de ces œuvres protégées - autre que sous le droit très limité d'un usage personnel - exige le consentement de KOELIS.";

myFrenchFrames[1].paragr[4] = "Mise à jour";
myFrenchFrames[1].paragr[30] = "Cette information juridique a été mise à jour en août 2007."; 
myFrenchFrames[1].paragr[31] = "KOELIS se réserve expressément le droit de modifier, d'élargir ou de réduire son site Web à tout moment.";

myFrenchFrames[1].paragr[5] = "Loi sur l'informatique et les libertés du 6 janvier 1978";
myFrenchFrames[1].paragr[32] = "Droit d'accès aux fichiers informatisés: Conformément à la Loi sur la protection des données Numéro 78-17 du 6 janvier 1978, tous les utilisateurs qui ont entré, directement ou indirectement, des données à caractère personnel dans le service sont autorisés à accéder aux données à caractère personnel par l'entremise du service d'administration et à les rectifier, le cas échéant."; 
myFrenchFrames[1].paragr[33] = "KOELIS est seule destinataire des informations que vous lui communiquez.";
myFrenchFrames[1].paragr[34] = "Vous êtes autorisé à accéder à vos données personnelles et à les modifier, rectifier et supprimer (Art. 34, Loi sur la protection des données).";

// English
myEnglishFrames[1].paragr[6] = "By visiting, consulting or using this Website, you agree to be bound by the following terms and conditions.";

myEnglishFrames[1].paragr[0] = "Data protection";
myEnglishFrames[1].paragr[7] = "The World Wide Web is a publicly accessible system."; 
myEnglishFrames[1].paragr[8] = "Data posted on the system may be lost or misdirected or come into the possession of unauthorised persons."; 
myEnglishFrames[1].paragr[9] = "Accordingly, any disclosure of personal data and information is voluntary and at the user's own risk.";
myEnglishFrames[1].paragr[10] = "KOELIS cannot guarantee data privacy on the Internet.";
myEnglishFrames[1].paragr[11] = "KOELIS attaches high priority to the matter of data protection.";
myEnglishFrames[1].paragr[12] = "All data we receive from you online is treated with care in accordance with the Data Protection Regulation and are not disclosed to third parties.";
myEnglishFrames[1].paragr[13] = "Data are used only for the purpose for which they are intended.";
myEnglishFrames[1].paragr[14] = "All  information sent to us will be used exclusively by KOELIS.";
myEnglishFrames[1].paragr[15] = "You have the right to cancel or change the data in our possession at any time.";
myEnglishFrames[1].paragr[16] = "Furthermore, we insure that the data in our possession will not be communicated to other parties.";
 
myEnglishFrames[1].paragr[1] = "Reliability of information; liability in general";
myEnglishFrames[1].paragr[17] = "The Website of KOELIS, 5 avenue du Grand Sablon, F-38700 La Tronche (hereinafter referred to as 'KOELIS') has been carefully created and maintained."; 
myEnglishFrames[1].paragr[18] = "It is possible, however, that the information on the Website may be incomplete or, for short periods, out of date.";
myEnglishFrames[1].paragr[19] = "Neither KOELIS itself nor its employees can guarantee the absolute correctness of the Website's content."; 
myEnglishFrames[1].paragr[20] = "Accordingly, no warranty or representation of any kind, whether express or implied, is given or made in respect of the information or services which are provided on the Website.";
myEnglishFrames[1].paragr[21] = "In particular, KOELIS assumes no liability for any direct or indirect loss or damage of any kind whatsoever which may be suffered by users and/or third parties in connection with the use of the Internet and the KOELIS Website.";
myEnglishFrames[1].paragr[22] = "This exclusion of liability shall also cover defects of title and/or any failure on our part to comply with statutory obligations.";
myEnglishFrames[1].paragr[23] = "KOELIS expressly disclaims liability for Internet malfunctions of any kind or for misuse by third parties.";
myEnglishFrames[1].paragr[24] = "The user assumes the entire responsibility and risk relating to the use of information found on this Website.";
myEnglishFrames[1].paragr[25] = "Under no circumstances can the patient-related information on KOELIS's Website be used as a substitute for a consultation with a physician.";

myEnglishFrames[1].paragr[2] = "Availability of products and services";
myEnglishFrames[1].paragr[26] = "KOELIS's Website contains information on products and services which may not be available in all countries.";

myEnglishFrames[1].paragr[3] = "Copyright";
myEnglishFrames[1].paragr[27] = "All artistic works and other intellectual creations on the Website are protected by copyright.";
myEnglishFrames[1].paragr[28] = "KOELIS holds the exclusive right to use these works and produce copies thereof.";
myEnglishFrames[1].paragr[29] = "Any use of these copyright works - other than under the very limited right of personal use - require KOELIS's consent.";

myEnglishFrames[1].paragr[4] = "Update";
myEnglishFrames[1].paragr[30] = "This legal information was last updated on August 2007."; 
myEnglishFrames[1].paragr[31] = "KOELIS expressly reserves the right to modify, expand or reduce its Website at any time.";

myEnglishFrames[1].paragr[5] = "Data Protection Act dated January 6, 1978";
myEnglishFrames[1].paragr[32] = "Right of access to computerized files: According to the French Data Protection Act Number 78-17 dated January 6, 1978, all users who have entered directly or indirectly personal data in the service are allowed to access personal data through the service administrator and to have them rectified, if necessary."; 
myEnglishFrames[1].paragr[33] = "KOELIS alone is addressee of the information you communicate to them."; 
myEnglishFrames[1].paragr[34] = "You are allowed to access your personal data and to have them modified, rectified and deleted (Art. 34, Data Protection Act).";
		
//////////////////////////////////////////////////////////
// CompanyFrame

var index_company = nbOthers;

// Instanciate son frame
myFrenchFrames[index_company] = new MyFrame(frenchMenuFrame.menu[0],26,14);
myEnglishFrames[index_company] = new MyFrame(englishMenuFrame.menu[0],26,14);

//*** SET IMAGES ***//

// Set once
myFrenchFrames[index_company].images[0] = "./images/company/2001_PERM.jpg";
myFrenchFrames[index_company].images[1] = "./images/company/2001_ProCur.jpg";
myFrenchFrames[index_company].images[2] = "./images/company/2001_ProNav.jpg";
myFrenchFrames[index_company].images[3] = "./images/company/2001_PBP.jpg";
myFrenchFrames[index_company].images[4] = "./images/company/LOGO_TIMC.jpg";
myFrenchFrames[index_company].images[5] = "./images/company/LOGO_PRAXIM.jpg";
myFrenchFrames[index_company].images[6] = "./images/company/LOGO_CHU.jpg";
myFrenchFrames[index_company].images[7] = "./images/company/LOGO_Pitie.jpg";
myFrenchFrames[index_company].images[8] = "./images/company/2004_ProCur.jpg";
myFrenchFrames[index_company].images[9] = "./images/company/2004_PCNL.jpg";
myFrenchFrames[index_company].images[10] = "./images/company/2004_PBP.jpg";
myFrenchFrames[index_company].images[11] = "./images/company/LOGO_FLORALIS.jpg";
myFrenchFrames[index_company].images[12] = "./images/company/LOGO_GRAIN.jpg";
myFrenchFrames[index_company].images[13] = "./images/company/LOGO_OSEO.jpg";
myFrenchFrames[index_company].images[14] = "./images/company/LOGO_MENRT.jpg";
myFrenchFrames[index_company].images[15] = "./images/company/LOGO_RRA.jpg";
myFrenchFrames[index_company].images[16] = "./images/company/LOGO_ANRT.jpg";
myFrenchFrames[index_company].images[17] = "./images/company/LOGO_KOELIS_baseline.jpg";
myFrenchFrames[index_company].images[18] = "./images/company/AntoineLEROY.jpg";
myFrenchFrames[index_company].images[19] = "./images/company/PatrickHENRI.jpg";
myFrenchFrames[index_company].images[20] = "./images/company/GRAB_PCNL.jpg";
myFrenchFrames[index_company].images[21] = "./images/company/GRAB_PBP.jpg";
myFrenchFrames[index_company].images[22] = "./images/company/LOGO_UE.jpg";
myFrenchFrames[index_company].images[23] = "./images/company/LOGO_FSE.jpg";
myFrenchFrames[index_company].images[24] = "./images/company/LOGO_UJF.jpg";
myFrenchFrames[index_company].images[25] = "./images/company/LOGO_UBIFRANCE.jpg";
  
// English 
for (i=0 ; i<myFrenchFrames[index_company].nbImages ; i++) {
  myEnglishFrames[index_company].images[i] = myFrenchFrames[index_company].images[i]; 
}  
  
//*** SET IMAGES ALT ***//

// French
myFrenchFrames[index_company].imagesalt[0] = "Fusion Echographie/Scanner du rein";
myFrenchFrames[index_company].imagesalt[1] = "Fusion Echographie/IRM de la prostate";
myFrenchFrames[index_company].imagesalt[2] = "Navigation de la biopsie de prostate échoguidée";
myFrenchFrames[index_company].imagesalt[3] = "Biopsie 3D ciblée de la prostate";
myFrenchFrames[index_company].imagesalt[4] = "Laboratoire TIMC";
myFrenchFrames[index_company].imagesalt[5] = "Société PRAXIM";
myFrenchFrames[index_company].imagesalt[6] = "CHU de Grenoble";
myFrenchFrames[index_company].imagesalt[7] = "Pitié Salpêtrière";
myFrenchFrames[index_company].imagesalt[8] = "Curiethérapie assistée par ordinateur";
myFrenchFrames[index_company].imagesalt[9] = "NLPC assistée par ordinateur";
myFrenchFrames[index_company].imagesalt[10] = "Biopsie de prostate assistée par ordinateur";
myFrenchFrames[index_company].imagesalt[11] = "FLORALIS Filiale de Valorisation de l'UJF";
myFrenchFrames[index_company].imagesalt[12] = "GRAIN Incubateur d'Innovation Grenoblois";
myFrenchFrames[index_company].imagesalt[13] = "OSEO Agence Nationale de Valorisation de la Recherche";
myFrenchFrames[index_company].imagesalt[14] = "Ministère de l'Education Nationale et de la Recherche Technologique";
myFrenchFrames[index_company].imagesalt[15] = "Région Rhône Alpes";
myFrenchFrames[index_company].imagesalt[16] = "Agence Nationale pour la Recherche Technologique";
myFrenchFrames[index_company].imagesalt[17] = "";
myFrenchFrames[index_company].imagesalt[18] = "";
myFrenchFrames[index_company].imagesalt[19] = "";
myFrenchFrames[index_company].imagesalt[20] = "";
myFrenchFrames[index_company].imagesalt[21] = "";
myFrenchFrames[index_company].imagesalt[22] = "Union Européenne";
myFrenchFrames[index_company].imagesalt[23] = "Fonds Social Européen";
myFrenchFrames[index_company].imagesalt[24] = "Université Joseph Fourier de Grenoble";
myFrenchFrames[index_company].imagesalt[25] = "Ubifrance Aides à l'Export";

// English  
for (i=0 ; i<myFrenchFrames[index_company].nbImages ; i++) {
  myEnglishFrames[index_company].imagesalt[i] = myFrenchFrames[index_company].imagesalt[i]; 
}  

//*** SET PARAGRAPHS ***//

// French
myFrenchFrames[index_company].paragr[0] = "2001 : Recherche en navigation urologique";
myFrenchFrames[index_company].paragr[1] = "Segmentation et fusion de données multimodales, protocoles chirurgicaux informatisés, modélisation biomécanique, navigation optique et magnétique, etc.";
myFrenchFrames[index_company].paragr[2] = "Recherches entreprises en partenariat avec le CHU de Grenoble et la Pitié Salpêtrière à Paris.";

myFrenchFrames[index_company].paragr[3] = "2004 : Etudes cliniques préliminaires";	
myFrenchFrames[index_company].paragr[4] = "Planning multimodal de curiethérapie";
myFrenchFrames[index_company].paragr[5] = "Fluo-navigation de la NLPC";
myFrenchFrames[index_company].paragr[6] = "Biopsie de prostate ciblée sous échographie 3D";

myFrenchFrames[index_company].paragr[7] = "2005 : Incubation";
myFrenchFrames[index_company].paragr[8] = "KOELIS remercie les soutiens publics à la création d'entreprise innovante, ci-dessous.";
 
myFrenchFrames[index_company].paragr[9] = "2006 : Création de la société";
myFrenchFrames[index_company].paragr[10] = "Co-fondateurs : Antoine LEROY et Patrick HENRI"; 

myFrenchFrames[index_company].paragr[11] = "Certification CE des produits";
myFrenchFrames[index_company].paragr[12] = "2008: Fluo Navigation PCNL";
myFrenchFrames[index_company].paragr[13] = "2009: 3D Prostate Biopsy";

// English
myEnglishFrames[index_company].paragr[0] = "2001: Research in urological navigation";
myEnglishFrames[index_company].paragr[1] = "Segmentation and multimodal data fusion, computerized surgical protocols, biomechanical modelling, optic and magnetic navigation, etc.";
myEnglishFrames[index_company].paragr[2] = "Joint research programs with Grenoble University Hospital and Pitie Salpetrière Hospital in Paris.";

myEnglishFrames[index_company].paragr[3] = "2004: Preliminary clinical studies";	
myEnglishFrames[index_company].paragr[4] = "Multimodal Planning for Brachytherapy";
myEnglishFrames[index_company].paragr[5] = "Fluo-navigation of PCNL";
myEnglishFrames[index_company].paragr[6] = "3D ultrasound-targeted prostate biopsy";

myEnglishFrames[index_company].paragr[7] = "2005: Incubation";
myEnglishFrames[index_company].paragr[8] = "KOELIS is thankful to the public funding structures below for supporting innovative projects.";
 
myEnglishFrames[index_company].paragr[9] = "2006: Incorporation";
myEnglishFrames[index_company].paragr[10] = "Co-founders : Antoine LEROY and Patrick HENRI"; 

myEnglishFrames[index_company].paragr[11] = "CE Certification of the products";
myEnglishFrames[index_company].paragr[12] = "2008: Fluo Navigation PCNL";
myEnglishFrames[index_company].paragr[13] = "2009: 3D Prostate Biopsy";

//////////////////////////////////////////////////////////
// ProductsFrame

var index_products = nbOthers+1 ;

// Instanciate son frame
myFrenchFrames[index_products] = new MyFrame(frenchMenuFrame.menu[1],3,6);
myEnglishFrames[index_products] = new MyFrame(englishMenuFrame.menu[1],3,6);

//*** SET IMAGES ***//

// Set once
myFrenchFrames[index_products].images[0] = "./images/products/InterfaceFluo.jpg";
myFrenchFrames[index_products].images[1] = "./images/products/InterfaceProNav.jpg";
myFrenchFrames[index_products].images[2] = "./images/products/MatchingProstate.jpg";
  
// Copy then  
for (i=0 ; i<myFrenchFrames[index_products].nbImages ; i++) {
  myEnglishFrames[index_products].images[i] = myFrenchFrames[index_products].images[i]; 
}  
    
//*** SET IMAGES ALT ***//

// French
myFrenchFrames[index_products].imagesalt[0] = "Fluo Navigation de la NLPC";
myFrenchFrames[index_products].imagesalt[1] = "Biopsie de prostate ciblée 3D";
myFrenchFrames[index_products].imagesalt[2] = "Fusion Echo/IRM pour la curiethérapie";
    
// English
myEnglishFrames[index_products].imagesalt[0] = "Fluo Navigation of PCNL";
myEnglishFrames[index_products].imagesalt[1] = "3D Targeted Prostate Biopsy";
myEnglishFrames[index_products].imagesalt[2] = "US/MRI Fusion for Brachytherapy";
  
//*** SET PARAGRAPHS ***//

// French
myFrenchFrames[index_products].paragr[0] = "Fluo Navigation";
myFrenchFrames[index_products].paragr[1] = " de la ponction rénale percutanée.";
myFrenchFrames[index_products].paragr[2] = "Urostation :";
myFrenchFrames[index_products].paragr[3] = " Biopsie de prostate 3D ciblée.";
myFrenchFrames[index_products].paragr[4] = "Aide au planning en curiethérapie";
myFrenchFrames[index_products].paragr[5] = " par recalage echo/IRM.";

// English
myEnglishFrames[index_products].paragr[0] = "Fluo Navigation";
myEnglishFrames[index_products].paragr[1] = " of percutaneous renal puncture.";
myEnglishFrames[index_products].paragr[2] = "Urostation:";
myEnglishFrames[index_products].paragr[3] = " 3D Targeted Prostate Biopsy";
myEnglishFrames[index_products].paragr[4] = "Assistance to dosimetric planning";
myEnglishFrames[index_products].paragr[5] = " in brachytherapy through US/MRI data fusion.";		

//////////////////////////////////////////////////////////
// PartnersFrame

var index_partners = nbOthers+12 ; // TONIO

// Instanciate son frame
myFrenchFrames[index_partners] = new MyFrame(frenchMenuFrame.menu[2],16,21);
myEnglishFrames[index_partners] = new MyFrame(englishMenuFrame.menu[2],16,21);

//*** SET IMAGES ***//

// Set once
myFrenchFrames[index_partners].images[0] = "./images/partners/SNW.jpg";
myFrenchFrames[index_partners].images[1] = "./images/partners/UJF.jpg";
myFrenchFrames[index_partners].images[2] = "./images/partners/TIMC.jpg";
myFrenchFrames[index_partners].images[3] = "./images/partners/PRAXIM.jpg";
myFrenchFrames[index_partners].images[4] = "./images/partners/SI.jpg";
myFrenchFrames[index_partners].images[5] = "./images/partners/ENDOCONTROL.jpg";
myFrenchFrames[index_partners].images[6] = "./images/partners/KOELIS.jpg";
myFrenchFrames[index_partners].images[7] = "./images/partners/Partners.jpg";
myFrenchFrames[index_partners].images[8] = "./images/partners/AngleTL.jpg";
myFrenchFrames[index_partners].images[9] = "./images/partners/WireT.jpg";
myFrenchFrames[index_partners].images[10] = "./images/partners/AngleTR.jpg";
myFrenchFrames[index_partners].images[11] = "./images/partners/WireL.jpg";
myFrenchFrames[index_partners].images[12] = "./images/partners/WireR.jpg";
myFrenchFrames[index_partners].images[13] = "./images/partners/AngleBL.jpg";
myFrenchFrames[index_partners].images[14] = "./images/partners/WireB.jpg";
myFrenchFrames[index_partners].images[15] = "./images/partners/AngleBR.jpg";
  
// Copy then  
for (i=0 ; i<myFrenchFrames[index_partners].nbImages ; i++) {
  myEnglishFrames[index_partners].images[i] = myFrenchFrames[index_partners].images[i]; 
}  
  
//*** SET IMAGES ALT ***//

// French
myFrenchFrames[index_partners].imagesalt[0] = "Surgetics Network";
myFrenchFrames[index_partners].imagesalt[1] = "Université Joseph Fourier";
myFrenchFrames[index_partners].imagesalt[2] = "Laboratoire TIMC-GMCAO";
myFrenchFrames[index_partners].imagesalt[3] = "PRAXIM-Medivision";
myFrenchFrames[index_partners].imagesalt[4] = "Surgetics Institute";
myFrenchFrames[index_partners].imagesalt[5] = "EndoControl";
myFrenchFrames[index_partners].imagesalt[6] = "KOELIS";
myFrenchFrames[index_partners].imagesalt[7] = ".";
myFrenchFrames[index_partners].imagesalt[8] = ".";
myFrenchFrames[index_partners].imagesalt[9] = ".";
myFrenchFrames[index_partners].imagesalt[10] = ".";
myFrenchFrames[index_partners].imagesalt[11] = ".";
myFrenchFrames[index_partners].imagesalt[12] = ".";
myFrenchFrames[index_partners].imagesalt[13] = ".";
myFrenchFrames[index_partners].imagesalt[14] = ".";
myFrenchFrames[index_partners].imagesalt[15] = ".";

// English
myEnglishFrames[index_partners].imagesalt[0] = "Surgetics Network";
myEnglishFrames[index_partners].imagesalt[1] = "University Joseph Fourier";
myEnglishFrames[index_partners].imagesalt[2] = "TIMC-GMCAO Laboratory";
myEnglishFrames[index_partners].imagesalt[3] = "PRAXIM-Medivision";
myEnglishFrames[index_partners].imagesalt[4] = "Surgetics Institute";
myEnglishFrames[index_partners].imagesalt[5] = "EndoControl";
myEnglishFrames[index_partners].imagesalt[6] = "KOELIS";
  
// Copy then  
for (i=7 ; i<myFrenchFrames[index_partners].nbImages ; i++) {
  myEnglishFrames[index_partners].imagesalt[i] = myFrenchFrames[index_partners].imagesalt[i]; 
}  

//*** SET PARAGRAPHS ***//

// French
myFrenchFrames[index_partners].paragr[0] = "Le Réseau Surgetics";
myFrenchFrames[index_partners].paragr[1] = " est un ensemble de laboratoires de recherche scientifique et d'entreprises innovantes, qui partagent leurs savoir-faire et leur réseau de compétences pour oeuvrer dans le domaine innovant des gestes médico-chirurgicaux assistés par ordinateur (GMCAO).";
myFrenchFrames[index_partners].paragr[2] = "Situé sur le campus universitaire de médecine de Grenoble, le Réseau Surgetics tient sa force dans l'accomplissement d'un but commun : l'amélioration des pratiques cliniques, avec un souci constant pour la santé du patient.";
myFrenchFrames[index_partners].paragr[3] = "Université Joseph Fourier";
myFrenchFrames[index_partners].paragr[4] = "Laboratoire TIMC/GMCAO";
myFrenchFrames[index_partners].paragr[5] = "PRAXIM-Medivision";
myFrenchFrames[index_partners].paragr[6] = "Surgetics Institute";
myFrenchFrames[index_partners].paragr[7] = "EndoControl";
myFrenchFrames[index_partners].paragr[8] = "KOELIS";
myFrenchFrames[index_partners].paragr[9] = "http://www.ujf-grenoble.fr";
myFrenchFrames[index_partners].paragr[10] = "http://www-timc.imag.fr/gmcao";
myFrenchFrames[index_partners].paragr[11] = "http://www.surgetics.com";
myFrenchFrames[index_partners].paragr[12] = "http://www.surgetics-institute.com";
myFrenchFrames[index_partners].paragr[13] = "http://www.endocontrol-medical.com";
myFrenchFrames[index_partners].paragr[14] = "http://www.koelis.com";
myFrenchFrames[index_partners].paragr[15] = "6,14,179,86";    // UJF
myFrenchFrames[index_partners].paragr[16] = "247,21,373,90";   // TIMC
myFrenchFrames[index_partners].paragr[17] = "12,121,251,183";   // PXM
myFrenchFrames[index_partners].paragr[18] = "262,143,381,229";     // SI
myFrenchFrames[index_partners].paragr[19] = "28,201,121,300";  // ENDO
myFrenchFrames[index_partners].paragr[20] = "162,260,387,327";  // KOELIS

// English		
myEnglishFrames[index_partners].paragr[0] = "The Surgetics Network";
myEnglishFrames[index_partners].paragr[1] = " is an excellence group of scientific research laboratories and innovative companies, who share know-how, scientific and marketing networks, so as to build innovative solutions in the domain of Computer-Assisted Surgery (CAS).";
myEnglishFrames[index_partners].paragr[2] = "The Surgetics Network is located on Grenoble's faculty of medicine. Its members share a common goal: to improve clinical practices, with a constant concern for the patient's health and safety.";
myEnglishFrames[index_partners].paragr[3] = "Université Joseph Fourier";
myEnglishFrames[index_partners].paragr[4] = "TIMC/GMCAO laboratory";
myEnglishFrames[index_partners].paragr[5] = "PRAXIM-Medivision";
myEnglishFrames[index_partners].paragr[6] = "Surgetics Institute";
myEnglishFrames[index_partners].paragr[7] = "EndoControl";
myEnglishFrames[index_partners].paragr[8] = "KOELIS";

// Copy then  
for (i=9 ; i<myFrenchFrames[index_partners].nbParagr ; i++) {
  myEnglishFrames[index_partners].paragr[i] = myFrenchFrames[index_partners].paragr[i]; 
}  

//////////////////////////////////////////////////////////
// PublicationsFrame

var index_publications = nbOthers+13 ; // TONIO

// Instanciate son frame
myFrenchFrames[index_publications] = new MyFrame(frenchMenuFrame.menu[3],0,14);
myEnglishFrames[index_publications] = new MyFrame(englishMenuFrame.menu[3],0,14);

//*** SET IMAGES ***//

//*** SET IMAGES ALT ***//
  
//*** SET PARAGRAPHS ***//

// French
myFrenchFrames[index_publications].paragr[0] = "Le projet KOELIS est basé sur les recherches";
myFrenchFrames[index_publications].paragr[1] = " effectuées au laboratoire TIMC depuis 2001. Les travaux initiaux conjoints entre cliniciens et scientifiques ont permis de démontrer la faisabilité de la ponction rénale percutanée assistée par ordinateur.";
myFrenchFrames[index_publications].paragr[2] = "Acquisition et traitement d'images, segmentation, recalage, interface 3D et navigation ont été validés sur fantômes et pièces anatomiques. Ce travail commun a permis de préciser les spécifications d'un système surgétique pour l'urologie&nbsp;:";
myFrenchFrames[index_publications].paragr[3] = " apport d'information 3D, prise en compte des mouvements respiratoires, ergonomie maximale et encombrement minimal.";
myFrenchFrames[index_publications].paragr[4] = "Il a aussi permis de déceler les verrous technologiques (segmentation et fusion d'images), afin que les recherches se poursuivent. Aujourd'hui une dizaine de personnes travaillent à temps plein au laboratoire dans le domaine de l'urologie assistée par ordinateur.";
myFrenchFrames[index_publications].paragr[5] = "Ces travaux ont donné lieu aux publications";
myFrenchFrames[index_publications].paragr[6] = " scientifiques et cliniques suivantes&nbsp;:";
myFrenchFrames[index_publications].paragr[7] = "A. Leroy, P. Mozer, Y. Payan, F. Richard, E. Chartier-Kastler, J. Troccaz, <br/>Percutaneous Renal Puncture: Requirements and Preliminary Results, <br/>in Proceedings of Surgetica'2002, J. Troccaz and P. Merloz eds., pp 303-309, Sauramps Medical, 2002.";
myFrenchFrames[index_publications].paragr[8] = "A. Leroy, P. Mozer, Y. Payan, J. Troccaz, <br/>Rigid Registration of Freehand 3D Ultrasound and CT-Scan Images, <br/>in Proceedings of MICCAI'2004, C. Barillot ed., pp 837-844, Springer, 2004. ";
//myFrenchFrames[index_publications].paragr[9] = "A. Leroy, P. Mozer, Y. Payan, J. Troccaz, <br/>Intensity-based registration of freehand 3D ultrasound and CT-scan images of the kidney, <br/>in IEEE Transactions on Medical Imaging, 2006.";
myFrenchFrames[index_publications].paragr[9] = "A. Leroy, <br/>Méthodes de Recalage Scanner/Echographie. Application à la Navigation Chirurgicale des Ponctions Rénales Percutanées, <br/>thèse de science  de l'INPG, 10/11/2004.";
myFrenchFrames[index_publications].paragr[10] = "P. Mozer, <br/>Urologie et Gestes Médico-Chirurgicaux Assistés par Ordinateur, <br/>thèse de médecine de la faculté Pitié-Salpêtrière, 2003, couronnée par le prix Duval-Marjolin.";
myFrenchFrames[index_publications].paragr[11] = "P. Mozer, A. Leroy, Y. Payan, J. Troccaz, E. Chartier-Kastler, F. Richard, <br/>Computer-Assisted Access to the Kidney, <br/>in Medical Robotics and Computer-Assisted Surgery, Vol 1, No 4, 2006.";
myFrenchFrames[index_publications].paragr[12] = "Reynier C., Troccaz J., Fourneret P., Dusserre A., Gay-Jeune C., Descotes J., Bolla M., Giraud J.<br/>MRI/TRUS data fusion for prostate brachytherapy. Preliminary results.<br/>Medical Physics 31(6) , 1568-1575 ,2004.";
myFrenchFrames[index_publications].paragr[13] = "« ProNav: a Navigation Software for Prostate Biopsies », M. BUCKI, B. DAULIAC, V. DAANEN, R. MOALIC, J.L. DESCOTES, J. TROCCAZ. In Proceedings of Surgetica’05, Gestes Médico-Chirurgicaux Assistés par Ordinateur (GMCAO) : Outils et Applications, pp. 479-483, 2005.";

// English		
myEnglishFrames[index_publications].paragr[0] = "KOELIS project is based on research";
myEnglishFrames[index_publications].paragr[1] = " made in TIMC laboratory since 2001. The early works started by scientists and clinicians together, have proved the feasibility of computer-assisted percutaneaous renal puncture.";
myEnglishFrames[index_publications].paragr[2] = "Image management and processing, segmentation, registration, 3D interface and navigation were validated on phantoms and specimens. That first partnership allowed to determine precisely the specifications of a surgetics system dedicated to urology:";
myEnglishFrames[index_publications].paragr[3] = " the need of 3D information, the screening of respiration, a maximal ergonomy and a minimal loss of time and space.";
myEnglishFrames[index_publications].paragr[4] = "Key technical problems were also highlighted (image segmentation and registration), so that research can go on. Today more than 10 people are working fulltime in the lab in the domain of computer-assisted urology.";
myEnglishFrames[index_publications].paragr[5] = "Those works have been presented and published";
myEnglishFrames[index_publications].paragr[6] = " in several scientific and clinical journals:";

// Copy then  
for (i=7 ; i<myEnglishFrames[index_publications].nbParagr ; i++) {
  myEnglishFrames[index_publications].paragr[i] = myFrenchFrames[index_publications].paragr[i]; 
}  

//////////////////////////////////////////////////////////
// SpecialFrame

// Son class SpecialFrame
function SpecialFrame(title) {
	this.parent = MyFrame;
	this.parent(title, 1, 1); // title, nbImages, nbParagraphs
	
	//*** SET IMAGES ***//
  this.images[0] = "./images/foo.jpg";
}

// Instanciate son frame
SpecialFrame.prototype = new MyFrame() ;
/*myFrenchFrames[xxx] = new SpecialFrame("foo");
myEnglishFrames[xxx] = new SpecialFrame("foo");*/
		
//*** SET PARAGRAPHS ***//

// French
/*myFrenchFrames[xxx].paragr[0] = "KOELIS";*/		
		
//////////////////////////////////////////////////////////
// Build Site
var site = new Site(english, 0);
