var WidthGc = 'width= 310>'
var WidthGd = 'width= 310>'
var WidthGt = 'width= 310>'

function frame_title(location) {
         //example: de "/fr/menu.htm ==> extraire "menu" slt
         title = new String(location);

         first_idx = title.lastIndexOf('/');
         last_idx  = title.lastIndexOf('.');
         return (title.substring(first_idx+1,last_idx));
}

//Card possible resolutions (SunSPArC):  720x400x88, 640x480x60, 640x480x72, 640x480x75
//	800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x87
//	1024x768x60, 1024x768x70, 1024x768x75, 1280x1024x75, 1280x1024x60
//	1152x900x66, 1152x900x76, 1280x1024x67, 1280x800x76, 1280x1024x85
//	1280x1024x76, 1152x864x75, 1024x768x77, 1024x800x84, vga, svga
//	1152, 1280, 800x600, 1024x768, 1280x1024, 1152x900
/*alert("Screen choisi: "+screen.width+"x"+screen.height+"\n"+
      "Screen dispo: "+screen.availWidth+"x"+screen.availHeight+"\n"+
      "Nb bits color: "+screen.pixelDepth+"\n"+
      "Nb color dispo: "+screen.colorDepth); 
*/

// alert(navigator.appVersion.indexOf(); Unix/NT/Mac
// alert(navigator.appName.substring(0,9); ==> Microsoft
/*************************** DEBUT TEST MACHINE NAVIGATOR
document.all		===> IE (style.pixelLeft defined)
document.layers		===> NS4
document.getElementById ===> NS6, dom ==> eg style.pixelLeft undefined

if (document.layers){
        if (navigator.userAgent.indexOf("Mac")>=0)
                document.write('<link rel="stylesheet" href="../css/style.css" type="text/css">');
        else
                document.write('<link rel="stylesheet" href="../css/NSstyle.css" type="text/css">');
}
else
        document.write('<link rel="stylesheet" href="../css/style.css" type="text/css">');
***************************** END TEST MACHINE NAVIGATOR************/


if( frame_title(this.location) == 'intro' ) {
  document.write("<link rel='stylesheet' type='text/css' href='style.css'>");
}
else if(  frame_title(this.location)== 'menu' ){
  document.write("<link rel='stylesheet' type='text/css' href='../style.css'>");
}
else {
  document.write("<link rel='stylesheet' type='text/css' href='../style.css'>");
  document.write("<link rel='stylesheet' type='text/css' href='../f_info_style.css'>");
}


/*************************** FOCUS ON ***********/
this.focus();
/**************************************/

/**UPDATE link+vlink colors car A:link sans effet AUTOUR DES IMAGES ds IE 5 ***********/
document.linkColor  = "#000000"; // #0000fe = black;
document.vlinkColor = "#551A8B"; //  = prune = rgb(85,26,139) 
/**************************************/
   


function goto_lgue(path_lgue) {
         /* because parent.frames[].document.title does not seem
            to be well handled under Netscape/Unix, we can not use title var.*/

         /* admitting that TITLE is the same as the filename.htm, we can do
            as follows:
          29/11/2002: Cette restriction ne semble plus necessaire
                      car je travaille now avec "location" */

         /*parent.menu.document.location = 
         "../"+path_lgue+parent.menu.document.title+".htm";*/
         parent.menu.document.location = 
         "../"+path_lgue+frame_title(parent.menu.document.location)+".htm";

         /*if (parent.info.document.title != "f_info"){
         parent.info.document.location = 
         "../"+path_lgue+parent.info.document.title+".htm";
         }*/
         if (parent.info.document.title != "f_info"){
         parent.info.document.location = 
         "../"+path_lgue+frame_title(parent.info.document.location)+".htm";
         }
}

function goto_de() {
          title_menu = new String(parent.menu.document.location);
          title_info = new String(parent.info.document.location);
         //alert ("parent.menu.document.URL"+parent.menu.document.URL);
         //alert ("parent.info.document.URL"+parent.info.document.URL);
         //alert ("parent.frames[0].document.URL"+parent.frames[0].document.URL);
         //alert ("parent.frames[1].document.URL"+parent.frames[1].document.URL);
         //alert ("parent.document.URL"+parent.document.URL);
         //alert ("document.location.pathname"+document.location.pathname);
         //alert ("document.location"+document.location);
         //alert ("parent.document.title"+parent.document.title);
         //alert ("parent.menu.document.title"+parent.menu.document.title);
         //alert ("parent.info.document.title"+parent.info.document.title);
         //alert ("parent.frames[0].document.location"+parent.menu.document.location);
         //alert ("parent.frames[1].document.location"+parent.info.document.location);

         first_idx = title_menu.lastIndexOf('/');
         last_idx  = title_menu.lastIndexOf('.');
         //title_menu = title_menu.substring(first_idx+1,last_idx);
         title_menu = frame_title(parent.menu.document.location);
         alert ("title_menu "+title_menu);

         first_idx = title_info.lastIndexOf('/');
         last_idx  = title_info.lastIndexOf('.');
         //title_info = title_info.substring(first_idx+1,last_idx);
         title_info = frame_title(parent.info.document.location);
         alert ("title_info "+title_info);

         //alert ("toto1 "+parent.frames[0].document.title);
         //toto2 = parent.info.document.title;
         //alert ("toto2 "+toto2);

         parent.menu.document.location = 
         "../fr/"+title_menu+".htm";

         parent.info.document.location = 
         "../fr/"+title_info+".htm";
}

function goto_en() {
         //new_path = '../en/' + document.title + '.htm';
         //return (new_path);
         parent.menu.document.location = 
         "../en/"+parent.menu.document.title+".htm";

         parent.info.document.location = 
         "../en/"+parent.info.document.title+".htm";
}

function goto_es() {c
         parent.menu.document.location = 
         "../es/"+parent.menu.document.title+".htm";

         parent.info.document.location = 
         "../es/"+parent.info.document.title+".htm";
}

function goto_fr() {
         //parent.menu.replace("../fr/menu.htm");
         //parent.menu.document.location = "../fr/menu.htm";
         //parent.info.document.location = "../fr/societe.htm";
         parent.menu.document.location = 
         "../fr/"+parent.menu.document.title+".htm";

         parent.info.document.location = 
         "../fr/"+parent.info.document.title+".htm";
}

function goto_it() {
         parent.menu.document.location = 
         "../it/"+parent.menu.document.title+".htm";

         parent.info.document.location = 
         "../it/"+parent.info.document.title+".htm";
}


function goto_essai() {
         //parent.menu.open("../fr/menu.htm"); ===> ouvre ds new window
         alert ("parent.menu.document.URL"+parent.menu.document.URL);
         alert ("parent.info.document.URL"+parent.info.document.URL);
         alert ("parent.frames[0].document.URL"+parent.frames[0].document.URL);
         alert ("parent.frames[1].document.URL"+parent.frames[1].document.URL);
         //undef cuz menu=frame<=>niv doct alert ("parent.menu.URL"+parent.menu.URL);
         //undef cuz menu=frame<=>niv doct alert ("parent.info.URL"+parent.info.URL);
         alert ("document.location"+document.location);
         alert ("document.location.pathname"+document.location.pathname);
         //NOKalert ("parent"+parent);
         //NOKalert ("parent.document"+parent.document);
         alert ("parent.document.title"+parent.document.title);
         alert ("parent.document.URL"+parent.document.URL);
         //alert (""+);
         //alert (""+);
         //alert (""+);
         //alert (""+);
}

function GetPageNb() {
         //example: de "/fr/prod_gd_011.htm ==> extraire "011" slt
         title = new String(document.location);
         first_idx = title.lastIndexOf('_');
         last_idx  = title.lastIndexOf('.');
         return( eval(title.substring(first_idx+1,last_idx)-0) );
}

function GetGammeId() {
         //example: de "/fr/prod_gd_011.htm ==> extraire "gd" slt
         title = new String(document.location);

         first_idx = title.indexOf('_');
         last_idx  = title.lastIndexOf('_');
         return( title.substring(first_idx+1,last_idx) );
}

function GetLangue() {
         //example: de "/fr/prod_gd_011.htm ==> extraire "fr" slt
         title = new String(document.location);

         last_idx  = title.lastIndexOf('/');
         return( title.substring(last_idx-2,last_idx) );
}


function trad_prod_img(img_location) {
        document.write('<TABLE><TR><TD><img SRC= "' + img_location +'"></TD></TR></TABLE>'); 
}

function trad_prod_img_fixe(img_location) {
        return("<TD ROWSPAN=8 height='50%' width='50%'><img SRC= "
               + img_location +" HSPACE=10 VSPACE=10></TD>"); 
}

function trad_recette(produit) {
        return("<a href='recettes.htm#recettes_"+produit+"'>"); 
}

function trad(string) {
        switch( GetLangue() ) {
         case 'fr':return( trad_fr(string) ); 
         case 'en':return( trad_en(string) ); 
         case 'de':return( trad_de(string) ); 
         case 'it':return( trad_it(string) ); 
         case 'es':return( trad_es(string) ); 
        default	  :return( trad_en(string) );
        }
}


function trad_fr(string) {
         switch(string) {
         // ds les Tableaux Conditionnement
         case 'CODE': 		document.write('CODE'); return;
         case 'PRODUIT': 	document.write('PRODUIT'); return;
         case 'gencod': 	document.write('GENCOD<BR>CNUF 3 25514'); return;
				
         case 'pb_s': 		document.write('Pur beurre /<BR>Standard *'); return;
         case 'poids_unitaire': document.write('Poids<BR>unitaire (g)'); return;
         case 'unite_carton': 	document.write('Unit&eacute;s /<BR>Carton'); return;
         case 'unite_plateau': 	document.write('Unit&eacute;s /<BR>Plateaux'); return;
         case 'plateau_carton': document.write('Plateaux /<BR>Carton'); return;
         case 'etui_carton':    document.write('Etuis /<BR>Carton'); return;
         case 'carton_couche': 	document.write('Cartons /<BR>Couche'); return;
         case 'carton_palette': document.write('Cartons /<BR>Palette'); return;
         case 'couche_palette': document.write('Couches /<BR>Palette'); return;
         case 'dim_carton':     document.write('Dimensions Cartons<BR>Lxlxh en mm'); return;
         case 'poids_palette': 	document.write('Poids brut<BR>Palette (kgs)'); return;
         case 'etui_palette': 	document.write('Poids brut<BR>Palette (kgs)'); return;
         case 'margarine': 	document.write('Standard * = margarine'); return;
         case 'DESSERT': 	return("<a href ='frame_gamme_gd.htm' target='info'><SPAN id='ColorGd'>DESSERT</SPAN></a>"); 
         case 'COCKTAIL': 	return("<a href ='frame_gamme_gc.htm' target='info'><SPAN id='ColorGc'>COCKTAIL</SPAN></a>"); 
         case 'TRAITEUR': 	return("<a href ='frame_gamme_gt.htm' target='info'><SPAN id='ColorGt'>TRAITEUR</SPAN></a>"); 

         // ds les Fiches Produits: Colonne Category
         case 'produit': 	return('Produit:'); 
         case 'gamme': 		return('Gamme:'); 
         case 'cond':		return('Conditionnement:'); 
         case 'diam_note': 	return('Diam&egrave;tre/Note:'); 
         case 'poids_u': 	return('Poids unitaire:'); 
         case 'pb_ou_s':	return('Pur beurre/Standard:'); 
         case 'p_type':	        return('Type de p&acirc;te/Conseil:'); 
         case 'recette': 	return('Id&eacute;e Recette:'); 
         case 'avec_caisse':	return('avec caissette'); 
         case 'avec_sans_caisse':return('avec/sans caissette'); 
         case 'fond_alu':	return('fond alu'); 
         case 'alveole_de':	return('alv&eacute;oles de '); 
         case '4_formes':	return('inclus 4 formes diff&eacute;rentes'); 
         case 'bandes':		return('bandes'); 
         //case 'ingredients': 	return('Ingr&eacute;dients:'); 

         // ds les Fiches Produits: Colonne info produit Gd
        case 'tartelette_s' 	        :return('Tartelette sabl&eacute;e sucr&eacute;e'	);  //1,3 existe en 2 diam.
        case 'tartelette_sa' 	        :return('Tartelette sabl&eacute;e sucr&eacute;e'	);  //1,3 existe en 2 diam.
        case 'tartelette_sa_su' 	:return('Tartelette sabl&eacute;e sucr&eacute;e'	);  //1,3 existe en 2 diam.
        case 'tartelette_f_c' 	        :return('Tartelette feuillet&eacute;e caramelis&eacute;e'	);  //2  
        case 'cornet_su'		:return('Cornet sucr&eacute;'				);    //4
	case 'choux'			:return('Choux'						);    //5 
	case 'tarte_s'			:return('Tarte sabl&eacute;e sucr&eacute;e'		);    //6
	case 'tarte_sa_su'		:return('Tarte sabl&eacute;e sucr&eacute;e'		);    //6
	case 'maxi_tarte'		:return('Maxi_tarte feuillet&eacute;e'			);    //6!!
	case 'eclair'			:return('Eclair'					);    //7
	case 'savarin'		     	:return('Savarin'					);    //8

         // ds les Fiches Produits: Colonne info produit Gt
	case 'cornet'			:return('Cornet'					);    //1
	case 'bouchee'			:return('Bouch&eacute;e'				);    //2
	case 'bouchee_f'		:return('Bouch&eacute;e de fruit de mer'		);    //3  
	case 'barquette' 	        :return('Barquette'					);    //4
	case 'coquille' 	        :return('Coquille'					);    //5 
	case 'timbale'			:return('Timbale'					);    //6 
	case 'tartelette_t'		:return('Tartelette traiteur'				);    //7 
	case 'tartelette_sa_sa'		:return('Tartelette sal&eacute;e'			);    //8 
	case 'tartelette_sa_sa'		:return('Tartelette sal&eacute;e'			);    //9
	case 'tartelette_n'		:return('Tartelette neutre'				);    //10  
	case 'roule_s'			:return('Roul&eacute; standard'				);    //11
	case 'roule_trait'		:return('Roul&eacute; traiteur'				);    //12
	case 'roule_trad' 	        :return('Roul&eacute; tradition'			);    //13  
	case 'crabe' 	                :return('Crabe'						);    //14  
	case 'croust' 	                :return('Croustade'					);    //15  

          // ds les Fiches Produits: Colonne info produit Gc
	case 'tarte_c'			:return('Tartes canap&eacute;s'				);    //1
	case 'mini_b'			:return('Mini-bouch&eacute;es'				);    //2
	case 'mini_s'			:return('Mini-savarins'					);    //3 
	case 'mini_t'			:return('Mini-tartes'					);    //4
	case 'fleuron'			:return('Fleurons'					);    //5
	case 'fleuron_sap'		:return('Fleurons Sapin'				);    //12
	case 'fleuron_eto'		:return('Fleurons Etoile'				);    //13
	case 'mini_e'			:return('Mini-&eacute;clairs'				);    //6 
	case 'mini_p'			:return('Mini-poissons'					);    //7  
	case 'tartelette_p'		:return('Tartelettes paquerettes'			);    //8 
	case 'mini_c'			:return('Mini-choux'					);    //9
	case 'mini_t_sa_su'		:return('Mini-Tartelettes sabl&eacute;es sucr&eacute;es');    //10
	case 'mini_t_sa_sa'		:return('Mini-Tartelettes sabl&eacute;es sal&eacute;es'	);    //11

        case 'gamme_c': return("La gamme <B><SPAN id='ColorGc'>COCKTAIL</SPAN></B>");
        case 'gamme_d': return("La gamme <B><SPAN id='ColorGd'>DESSERT</SPAN></B>");
        case 'gamme_t': return("La gamme <B><SPAN id='ColorGt'>TRAITEUR</SPAN></B>");

        case 'pb'		:return('Pur Beurre'); 
        case 's'		:return('Standard'); 
        case 'p_choux'		:return("<A href='p_conseil.htm#p_choux'>	P&acirc;te &agrave choux</A>"); 
        case 'p_sablee'		:return("<A href='p_conseil.htm#p_sablee'>	P&acirc;te sabl&eacute;e</A>"); 
        case 'p_levee'		:return("<A href='p_conseil.htm#p_levee'>	P&acirc;te lev&eacute;e</A>"); 
        case 'p_feuilletee'	:return("<A href='p_conseil.htm#p_feuilletee'>	P&acirc;te feuillet&eacute;e</A>"); 
        case 'cond_v'		:return('vrac'); 
        case 'cond_v_gc'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>vrac</A>,&nbsp;");
        case 'cond_v_gt'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>vrac</A>,&nbsp;");
        case 'cond_v_gd'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>vrac</A>,&nbsp;");
        case 'cond_p'		:return('plateaux'); 
        case 'cond_p_gc'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>plateaux</A>,&nbsp;");
        case 'cond_p_gt'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>plateaux</A>,&nbsp;");
        case 'cond_p_gd'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>plateaux</A>,&nbsp;");
        case 'cond_e'		:return('&eacute;tuis'); 
        case 'cond_e_gc'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>&eacute;tuis</A>,&nbsp;");
        case 'cond_e_gt'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>&eacute;tuis</A>,&nbsp;");
        case 'cond_e_gd'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>&eacute;tuis</A>,&nbsp;");
        case 'cliquer_ici'	:return('Cliquer ici</a>'); 
        default		:return(''); 
        }
}

function trad_en(string) {
         switch(string) {
         // ds les Tableaux Conditionnement
         case 'CODE': 		document.write('CODE'); return;
         case 'PRODUIT': 	document.write('PRODUCT'); return;
         case 'gencod': 	document.write('CODE EAN-13<BR>(3 25514)'); return;
				
         case 'pb_s': 		document.write('Pure butter /<BR>Standard *'); return;
         case 'poids_unitaire': document.write('Net<BR>Weight (g)'); return;
         case 'unite_carton': 	document.write('Units /<BR>Carton'); return;
         case 'unite_plateau': 	document.write('Units /<BR>Tray'); return;
         case 'plateau_carton': document.write('Trays /<BR>Carton'); return;
         case 'etui_carton':    document.write('Cases /<BR>Carton'); return;
         case 'carton_couche': 	document.write('Cartons /<BR>Layer'); return;
         case 'carton_palette': document.write('Cartons /<BR>Pallet'); return;
         case 'couche_palette': document.write('Layers /<BR>Pallet'); return;
         case 'dim_carton':     document.write('Carton Dimensions<BR>LxWxh in mm'); return;
         case 'poids_palette': 	document.write('brut Weight<BR>Pallet (kgs)'); return;
         case 'etui_palette': 	document.write('brut Weight<BR>Pallet (kgs)'); return;
         case 'margarine': 	document.write('Standard * = margarine'); return;
         case 'DESSERT': 	return("<a href ='frame_gamme_gd.htm' target='info'><SPAN id='ColorGd'>DESSERT</SPAN></a>"); 
         case 'COCKTAIL': 	return("<a href ='frame_gamme_gc.htm' target='info'><SPAN id='ColorGc'>COCKTAIL</SPAN></a>"); 
         case 'TRAITEUR': 	return("<a href ='frame_gamme_gt.htm' target='info'><SPAN id='ColorGt'>SAVORY</SPAN></a>"); 

         // ds les Fiches Produits: Colonne Category
         case 'produit': 	return('Product:'); 
         case 'gamme': 		return('Range:'); 
         case 'cond':		return('Packaging:'); 
         case 'diam_note': 	return('Diameter/Note:'); 
         case 'poids_u': 	return('Net weight:'); 
         case 'pb_ou_s':	return('Pure butter/Standard:'); 
         case 'p_type':	        return('Pastry type/Advice:'); 
         case 'recette': 	return('Recipe ideas:'); 
         case 'avec_caisse':	return('with cup'); 
         case 'avec_sans_caisse':return('with/without cup'); 
         case 'fond_alu':	return('with cup'); 
         case 'alveole_de':	return('inserts of '); 
         case '4_formes':	return('4 different shapes'); 
         case 'bandes':		return('bands'); 
         //case 'ingredients': 	return('Ingredients:'); 

         // ds les Fiches Produits: Colonne info produit Gd
        case 'tartelette_s' 	        :return('Tartlet shortbread'	);  //1,3 existe en 2 diam.
        case 'tartelette_sa' 	        :return('Tartlet shortbread'	);  //1,3 existe en 2 diam.
        case 'tartelette_sa_su' 	:return('Tartlet shortbread (sweet)'	);  //1,3 existe en 2 diam.
        case 'tartelette_f_c' 	        :return('Tartlet puff pastry caramel-coated'	);  //2  
        case 'cornet_su'		:return('Cream Horn sugar coated'				);    //4
	case 'choux'			:return('Choux bun'						);    //5 
	case 'tarte_s'			:return('Tart shortbread (sweet)'		);    //6
	case 'tarte_sa_su'		:return('Tart shortbread (sweet)'		);    //6
	case 'maxi_tarte'		:return('Maxi_tart puff pastry'			);    //6!!
	case 'eclair'			:return('Eclair'					);    //7
	case 'savarin'		     	:return('Baba savarin'					);    //8

         // ds les Fiches Produits: Colonne info produit Gt
	case 'cornet'			:return('Cream Horn'					);    //1
	case 'bouchee'			:return('Bouch&eacute;e Vol au vent'				);    //2
	case 'bouchee_f'		:return('Fish Bouch&eacute;e (large)'		);    //3  
	case 'barquette' 	        :return('Boat-shaped tart puff pastry'					);    //4
	case 'coquille' 	        :return('Shell-shaped tart puff pastry'					);    //5 
	case 'timbale'			:return('Timbale'					);    //6 
	case 'tartelette_t'		:return('Tartlet (savory)'				);    //7 
	case 'tartelette_sa_sa'		:return('Tartlet (savory)'			);    //8 
	case 'tartelette_sa_sa'		:return('Tartlet (savory)'			);    //9
	case 'tartelette_n'		:return('Tartlet neutral'				);    //10  
	case 'roule_s'			:return('Roll standard'					);    //11
	case 'roule_trait'		:return('Roll (savory)'				);    //12
	case 'roule_trad' 	        :return('Roll tradition'			);    //13  
	case 'crabe' 	                :return('Crab'						);    //14  
	case 'croust' 	                :return('Croustade puff pastry'					);    //15  

          // ds les Fiches Produits: Colonne info produit Gc
	case 'tarte_c'			:return('Tarts canap&eacute;'				);    //1
	case 'mini_b'			:return('Mini-bouch&eacute;es'				);    //2
	case 'mini_s'			:return('Mini-baba savarin'					);    //3 
	case 'mini_t'			:return('Mini-tarts'					);    //4
	case 'fleuron'			:return('Fleurons'					);    //5
	case 'fleuron_sap'		:return('Christmas tree Fleurons'				);    //12
	case 'fleuron_eto'		:return('Star Fleurons'				);    //13
	case 'mini_e'			:return('Mini-Eclairs'				);    //6 
	case 'mini_p'			:return('Mini-fish bouch&eacute;es'					);    //7  
	case 'tartelette_p'		:return('Daisy Tartlets'			);    //8 
	case 'mini_c'			:return('Mini-chou buns'					);    //9
	case 'mini_t_sa_su'		:return('Mini-Tartlets shortbread (sweet)');    //10
	case 'mini_t_sa_sa'		:return('Mini-Tartlets shortbread (savory)'	);    //11

        case 'gamme_c': return("<B><SPAN id='ColorGc'>COCKTAIL</SPAN></B> range");
        case 'gamme_d': return("<B><SPAN id='ColorGd'>DESSERT</SPAN></B> range");
        case 'gamme_t': return("<B><SPAN id='ColorGt'>SAVORY</SPAN></B> range");

        case 'pb'		:return('Pure Butter'); 
        case 's'		:return('Standard'); 
        case 'p_choux'		:return("<A href='p_conseil.htm#p_choux'>	Chou buns</A>"); 
        case 'p_sablee'		:return("<A href='p_conseil.htm#p_sablee'>	Shortbread dough</A>"); 
        case 'p_levee'		:return("<A href='p_conseil.htm#p_levee'>	Sponge dough</A>"); 
        case 'p_feuilletee'	:return("<A href='p_conseil.htm#p_feuilletee'>	Puff pastry</A>"); 
        case 'cond_v'		:return('bulk'); 
        case 'cond_v_gc'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>bulk</A>,&nbsp;");
        case 'cond_v_gt'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>bulk</A>,&nbsp;");
        case 'cond_v_gd'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>bulk</A>,&nbsp;");
        case 'cond_p'		:return('trays'); 
        case 'cond_p_gc'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>trays</A>,&nbsp;");
        case 'cond_p_gt'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>trays</A>,&nbsp;");
        case 'cond_p_gd'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>trays</A>,&nbsp;");
        case 'cond_e'		:return('case'); 
        case 'cond_e_gc'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>case</A>,&nbsp;");
        case 'cond_e_gt'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>case</A>,&nbsp;");
        case 'cond_e_gd'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>case</A>,&nbsp;");
        case 'cliquer_ici'	:return('Click here</a>'); 
        default		:return(''); 
        }
}

function trad_de(string) {
         switch(string) {
         // ds les Tableaux Conditionnement
         case 'CODE': 		document.write('CODE'); return;
         case 'PRODUIT': 	document.write('PRODUKT'); return;
         case 'gencod': 	document.write('CODE EAN-13<BR>(3 25514)'); return;
				
         case 'pb_s': 		document.write('Reines Butter /<BR>Standard *'); return;
         case 'poids_unitaire': document.write('Netto<BR>Gewicht (g)'); return;
         case 'unite_carton': 	document.write('St&uuml;cke /<BR>Karton'); return;
         case 'unite_plateau': 	document.write('St&uuml;cke /<BR>Tray'); return;
         case 'plateau_carton': document.write('Trays /<BR>Karton'); return;
         case 'etui_carton':    document.write('Cases /<BR>Karton'); return;
         case 'carton_couche': 	document.write('Kartons /<BR>Schichte'); return;
         case 'carton_palette': document.write('Kartons /<BR>Palette'); return;
         case 'couche_palette': document.write('Schichte /<BR>Palette'); return;
         case 'dim_carton':     document.write('Karton Dimensions<BR>LxBxH en mm'); return;
         case 'poids_palette': 	document.write('Gewicht brut<BR>Palette (kgs)'); return;
         case 'etui_palette': 	document.write('Gewicht brut<BR>Palette (kgs)'); return;
         case 'margarine': 	document.write('Standard * = Margarine'); return;
         case 'DESSERT': 	return("<a href ='frame_gamme_gd.htm' target='info'><SPAN id='ColorGd'>DESSERT</SPAN></a>"); 
         case 'COCKTAIL': 	return("<a href ='frame_gamme_gc.htm' target='info'><SPAN id='ColorGc'>COCKTAIL</SPAN></a>"); 
         case 'TRAITEUR': 	return("<a href ='frame_gamme_gt.htm' target='info'><SPAN id='ColorGt'>SAVORY</SPAN></a>"); 

         // ds les Fiches Produits: Colonne Category
         case 'produit': 	return('Produkt:'); 
         case 'gamme': 		return('Strecke:'); 
         case 'cond':		return('Packaging:'); 
         case 'diam_note': 	return('Durchmesser/Anmerkung:'); 
         case 'poids_u': 	return('Netto Gewicht:'); 
         case 'pb_ou_s':	return('Reines Butter/Standard:'); 
         case 'p_type':	        return('Gebäckart/Rat:'); 
         case 'recette': 	return('Idee von Rezepten:'); 
         case 'avec_caisse':	return('mit Schale'); 
         case 'avec_sans_caisse':return('mit/ohne Schale'); 
         case 'fond_alu':	return('mit Schale'); 
         case 'alveole_de':	return('inserts of '); 
         case '4_formes':	return('4 diffrent shapes'); 
         case 'bandes':		return('bands'); 
         //case 'ingredients': 	return('Bestandteile:'); 

         // ds les Fiches Produits: Colonne info produit Gd
        case 'tartelette_s' 	        :return('Tartelette sabl&eacute;e sucr&eacute;e'	);  //1,3 existe en 2 diam.
        case 'tartelette_sa' 	        :return('Tartelette sabl&eacute;e sucr&eacute;e'	);  //1,3 existe en 2 diam.
        case 'tartelette_sa_su' 	:return('Tartelette sabl&eacute;e sucr&eacute;e'	);  //1,3 existe en 2 diam.
        case 'tartelette_f_c' 	        :return('Tartelette feuillet&eacute;e caramelis&eacute;e'	);  //2  
        case 'cornet_su'		:return('Cornet sucr&eacute;'				);    //4
	case 'choux'			:return('Choux'						);    //5 
	case 'tarte_s'			:return('Tarte sabl&eacute;e sucr&eacute;e'		);    //6
	case 'tarte_sa_su'		:return('Tarte sabl&eacute;e sucr&eacute;e'		);    //6
	case 'maxi_tarte'		:return('Maxi_tarte feuillet&eacute;e'			);    //6!!
	case 'eclair'			:return('Eclair'					);    //7
	case 'savarin'		     	:return('Savarin'					);    //8

         // ds les Fiches Produits: Colonne info produit Gt
	case 'cornet'			:return('Cornet'					);    //1
	case 'bouchee'			:return('Bouch&eacute;e'				);    //2
	case 'bouchee_f'		:return('Bouch&eacute;e de fruit de mer'		);    //3  
	case 'barquette' 	        :return('Barquette'					);    //4
	case 'coquille' 	        :return('Coquille'					);    //5 
	case 'timbale'			:return('Timbale'					);    //6 
	case 'tartelette_t'		:return('Tartelette traiteur'				);    //7 
	case 'tartelette_sa_sa'		:return('Tartelette sal&eacute;e'			);    //8 
	case 'tartelette_sa_sa'		:return('Tartelette sal&eacute;e'			);    //9
	case 'tartelette_n'		:return('Tartelette neutre'				);    //10  
	case 'roule_s'			:return('Roul&eacute; standard'					);    //11
	case 'roule_trait'		:return('Roul&eacute; traiteur'				);    //12
	case 'roule_trad' 	        :return('Roul&eacute; tradition'			);    //13  
	case 'crabe' 	                :return('Krabbe'						);    //14  
	case 'croust' 	                :return('Obstkuchen'					);    //15  

          // ds les Fiches Produits: Colonne info produit Gc
	case 'tarte_c'			:return('Tartes canap&eacute;s'				);    //1
	case 'mini_b'			:return('Mini-bouch&eacute;es'				);    //2
	case 'mini_s'			:return('Mini-savarins'					);    //3 
	case 'mini_t'			:return('Mini-tartes'					);    //4
	case 'fleuron'			:return('Fleurons'					);    //5
	case 'fleuron_sap'		:return('Fleurons Sapin'				);    //12
	case 'fleuron_eto'		:return('Fleurons Etoile'				);    //13
	case 'mini_e'			:return('Mini-&eacute;clairs'				);    //6 
	case 'mini_p'			:return('Mini-poissons'					);    //7  
	case 'tartelette_p'		:return('Tartelettes paquerettes'			);    //8 
	case 'mini_c'			:return('Mini-choux'					);    //9
	case 'mini_t_sa_su'		:return('Mini-Tartelettes sabl&eacute;es sucr&eacute;es');    //10
	case 'mini_t_sa_sa'		:return('Mini-Tartelettes sabl&eacute;es sal&eacute;es'	);    //11

        case 'gamme_c': return("<B><SPAN id='ColorGc'>COCKTAIL</SPAN></B> range");
        case 'gamme_d': return("<B><SPAN id='ColorGd'>DESSERT</SPAN></B> range");
        case 'gamme_t': return("<B><SPAN id='ColorGt'>SAVORY</SPAN></B> range");

        case 'pb'		:return('Reines Butter'); 
        case 's'		:return('Standard'); 
        case 'p_choux'		:return("<A href='p_conseil.htm#p_choux'>	P&acirc;te &agrave choux</A>"); 
        case 'p_sablee'		:return("<A href='p_conseil.htm#p_sablee'>	P&acirc;te sabl&eacute;e</A>"); 
        case 'p_levee'		:return("<A href='p_conseil.htm#p_levee'>	P&acirc;te lev&eacute;e</A>"); 
        case 'p_feuilletee'	:return("<A href='p_conseil.htm#p_feuilletee'>	P&acirc;te feuillet&eacute;e</A>"); 
        case 'cond_v'		:return('Hauptteil'); 
        case 'cond_p'		:return('Beh&auml;lter'); 
        case 'cond_e'		:return('Fall'); 
        case 'cond_v_gc'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>Hauptteil</A>,&nbsp;");
        case 'cond_v_gt'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>Hauptteil</A>,&nbsp;");
        case 'cond_v_gd'	:return("<A href='cond_vrac.htm#cond_vrac_"+window.top.ProdName+"'>Hauptteil</A>,&nbsp;");
        case 'cond_p'		:return('trays'); 
        case 'cond_p_gc'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>Beh&auml;lter</A>,&nbsp;");
        case 'cond_p_gt'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>Beh&auml;lter</A>,&nbsp;");
        case 'cond_p_gd'	:return("<A href='cond_plateaux.htm#cond_plateaux_"+window.top.ProdName+"'>Beh&auml;lter</A>,&nbsp;");
        case 'cond_e'		:return('case'); 
        case 'cond_e_gc'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>Fall</A>,&nbsp;");
        case 'cond_e_gt'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>Fall</A>,&nbsp;");
        case 'cond_e_gd'	:return("<A href='cond_etuis.htm#cond_etuis_"+window.top.ProdName+"'>Fall</A>,&nbsp;");
        case 'cliquer_ici'	:return('Klick hier</a>'); 
        default		:return(''); 
        }
}

