

function PopTabsStyler(PopmenuResPath) {	

	this.pms_PopmenuResPath = PopmenuResPath;

	this.pms_theme = 0;
	this.pms_skin  = 0;
	this.pms_skin_name  = 'red';
	this.pms_isHorizontal = 1;
	this.pms_idCSS_Top   = '';
	this.pms_idCSS_Down  = '';
	this.pms_bufferStyle = '';

	this.pms_couleurchampnormal      = '#D8EBFC'; 
	this.pms_couleurchampobligatoire = '#C7E1FC'; 
	this.pms_couleurchamperreur      = '#9CCCF8'; 
	this.pms_couleurtitre            = '#146DB6'; 
	this.pms_couleurfond             = '#F7FBFF'; 
	this.pms_skin_name  = 'red';

	this.pms_absolutePos               = 0; 
	this.pms_AbsPx                     = '10px'; 
	this.pms_AbsPy                     = '10px'; 
	this.pms_Floatable                 = 0; 
	this.pms_tabMode                   = 1; 
	this.pms_tabColorBg                = -1; 
	this.pms_tabColorText              = -1; 
	
	this.pms_menuWidth   = '';
	this.pms_bselectedItem = 0;
	


// INITIALISATION DU HASH VALEUR => "TEXTE"
	this.pms_output = function() {

		document.write('<script type=\"text/javascript\">' );
		switch (this.pms_theme) {

			case 60:
				this.btn_pms_theme       = 'styleIE7';
				this.tab_color_text      = '#FFFFFF';
				this.sub_color_bg_on     = '#000000' ;
				this.sub_color_bg_off    = this.pms_couleurchampnormal;
				this.sub_color_text_on   = '#FFFFFF';
				this.sub_color_text_off  = '#000000';
				
				this.btn_transparent = false;
				
				this.img_top     = this.pmo_btncomposer('base.gif');

				this.img_n_back  = this.pmo_btncomposer('n_back.gif');
				this.img_n_left  = this.pmo_btncomposer('n_left.gif');
				this.img_n_right = this.pmo_btncomposer('n_right.gif');

				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');

				this.img_s_back  = this.pmo_btncomposer('s_back.gif');
				this.img_s_left  = this.pmo_btncomposer('s_left.gif');
				this.img_s_right = this.pmo_btncomposer('s_right.gif');

				this.pmo_style_ie7();
				this.pmo_CSS();				
				break;				

			case 61:
			case 62:
				this.btn_pms_theme       = 'stylekasper';
				this.tab_color_text      = '#000000';
				if (this.pms_tabColorText!=-1) this.tab_color_text = this.pms_tabColorText;
				this.sub_color_bg_on     = '#000000' ;
				if (this.pms_theme==61) {
					this.btn_transparent = true;
					if (this.pms_tabColorBg==-1) {
						this.sub_color_bg_off    = this.pms_couleurchampnormal;
					} else {
						this.sub_color_bg_off    = this.pms_tabColorBg;
					}
				} else {
					this.sub_color_bg_off    = this.pms_couleurchamperreur;
					this.btn_transparent = false;
				}
				this.sub_color_text_on   = '#FFFFFF';
				this.sub_color_text_off  = '#000000';

				
				this.img_base    = this.pmo_btncomposer('base.gif');

				this.img_n_back  = this.pmo_btncomposer('n_back.gif');
				this.img_n_left  = this.pmo_btncomposer('n_left.gif');
				this.img_n_right = this.pmo_btncomposer('n_right.gif');

				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');
				this.img_nn_center = this.pmo_btncomposer('nn_center.gif'); 


				this.img_s_back  = this.pmo_btncomposer('s_back.gif');
				this.img_s_left  = this.pmo_btncomposer('s_left.gif');
				this.img_s_right = this.pmo_btncomposer('s_right.gif');

				this.img_ns_center = this.pmo_btncomposer('ns_center.gif'); 
				this.img_sn_center = this.pmo_btncomposer('sn_center.gif'); 

				this.pmo_style_kapers();
				break;

			case 65:
			case 66:
			case 67:
			case 68:
				this.btn_pms_theme       = 'style05';
				this.tab_color_text      = '#FFFFFF';
				this.sub_color_bg_on     = '#000000' ;
				this.btn_transparent     = true;
				this.sub_color_text_on   = '#FFFFFF';
				this.sub_color_text_off  = '#000000';
				switch (this.pms_theme) {
					case 66:
					case 68:
						this.sub_color_bg_off    = '#FFFFFF';
						break;
					default:
						if (this.pms_tabColorBg==-1) {
							this.sub_color_bg_off    = this.pms_couleurchampnormal;
						} else {
							this.sub_color_bg_off    = this.pms_tabColorBg;
						}
						break;
				}
				this.btn_transparent = !(this.pms_theme==67 || this.pms_theme==68);
				this.pms_titre    = this.pms_couleurtitre;					

				this.img_base    = this.pmo_btncomposer('base.gif');

				this.img_n_back  = this.pmo_btncomposer('n_back.gif');
				this.img_n_left  = this.pmo_btncomposer('n_left.gif');
				this.img_n_right = this.pmo_btncomposer('n_right.gif');

				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');
				this.img_nn_center = this.pmo_btncomposer('nn_center.gif'); 


				this.img_s_back  = this.pmo_btncomposer('s_back.gif');
				this.img_s_left  = this.pmo_btncomposer('s_left.gif');
				this.img_s_right = this.pmo_btncomposer('s_right.gif');

				this.img_ns_center = this.pmo_btncomposer('ns_center.gif'); 
				this.img_sn_center = this.pmo_btncomposer('sn_center.gif'); 

				this.pmo_style_05();
				break;

			
			case 70:  // PM_STYLE_TABS_STYLE_04
				if (this.pms_idCSS_Down !='') {
					this.pms_bufferStyle += '#'+this.pms_idCSS_Down+' { background-color: #dedede;} ';
				}			
			
			case 71:
			case 72:
			case 73:
				this.btn_pms_theme       = 'style04';
				this.tab_color_text      = '#FFFFFF';
				this.sub_color_bg_on     = '#000000' ;
				this.sub_color_text_on   = '#FFFFFF';
				this.sub_color_text_off  = '#000000';
				
				this.btn_transparent = false;
				
				this.img_base    = this.pmo_btncomposer('base.gif');

				this.img_n_back  = this.pmo_btncomposer('n_back.gif');
				this.img_n_left  = this.pmo_btncomposer('n_left.gif');
				this.img_n_right = this.pmo_btncomposer('n_right.gif');

				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');

				if (this.pms_theme==70) {
					this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_back_full.gif';
					this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_left_full.gif';
					this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_right_full.gif';
				} else {
					this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_back_empty.gif';
					this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_left_empty.gif';
					this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_right_empty.gif';
				}
				if (this.pms_theme==72) {
					if (this.pms_tabColorBg==-1) {
						this.sub_color_bg_off    = this.pms_couleurchampnormal;
					} else {
						this.sub_color_bg_off    = this.pms_tabColorBg;
					}
				} else {
					this.sub_color_bg_off    = '#FFFFFF';
				}
				this.pmo_style_04();
				break;				

			case 80:
				this.btn_pms_theme       = 'styleMac';
				this.sub_color_bg_on     = this.pms_couleurchampnormal;
				this.sub_color_bg_off    = 'white';
				this.color_n_text        = '#000000';			
				this.color_o_text        = '#000000';			
				this.color_s_text        = '#000000';			
				
				this.btn_transparent = false;
				
				this.img_base    = this.pmo_btncomposer('base.gif');
				this.img_top     = this.pmo_btncomposer('top.gif');

				this.img_n_back  = this.pmo_btncomposer('n_back.gif');
				this.img_n_left  = this.pmo_btncomposer('n_left.gif');
				this.img_n_right = this.pmo_btncomposer('n_right.gif');

				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');

				this.img_s_back  = this.pmo_btncomposer('s_back.gif');
				this.img_s_left  = this.pmo_btncomposer('s_left.gif');
				this.img_s_right = this.pmo_btncomposer('s_right.gif');

				this.pmo_style_mac();
				this.pmo_CSS();
				break;				

			case 81:
				this.btn_pms_theme       = 'styleMacBlack';
				this.color_n_text        = '#000000';			
				this.color_o_text        = '#000000';			
				this.color_s_text        = '#FFFFFF';			
				this.pms_imgheight       = '16px';
				
				this.btn_transparent = false;
				this.img_base    = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_base.gif';
				this.img_top     = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_top.gif';

				this.sub_color_bg_on     = 'black';
				this.sub_color_bg_off    = 'white';
				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');
				
				this.img_n_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_n_back.gif';
				this.img_n_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_n_left.gif';
				this.img_n_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_n_right.gif';
				
				this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_s_back.gif';
				this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_s_left.gif';
				this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_s_right.gif';
				
				this.pmo_style_mac();
				this.pmo_CSS();
				break;				

			case 82:
			case 83:
				this.btn_pms_theme       = 'styleMacBlack';
				this.color_n_text        = '#000000';			
				this.color_o_text        = '#000000';			
				this.color_s_text        = '#FFFFFF';		
				this.pms_imgheight       = '16px';
				
				this.btn_transparent = false;
				this.img_top     = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_top.gif';
				this.img_base    = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_base.gif';


				this.sub_color_bg_on     = 'black';
				this.sub_color_bg_off    = this.pms_couleurchampnormal;

				if (this.pms_theme==82) {
					this.img_o_back  = this.pmo_btncomposer('o_back.gif');
					this.img_o_left  = this.pmo_btncomposer('o_left.gif');
					this.img_o_right = this.pmo_btncomposer('o_right.gif');

					this.img_n_back  = this.pmo_btncomposer('n_back.gif');
					this.img_n_left  = this.pmo_btncomposer('n_left.gif');
					this.img_n_right = this.pmo_btncomposer('n_right.gif');
				} else {
					this.img_o_back  = this.pmo_btncomposer('n_back.gif');
					this.img_o_left  = this.pmo_btncomposer('n_left.gif');
					this.img_o_right = this.pmo_btncomposer('n_right.gif');

					this.img_n_back  = this.pmo_btncomposer('o_back.gif');
					this.img_n_left  = this.pmo_btncomposer('o_left.gif');
					this.img_n_right = this.pmo_btncomposer('o_right.gif');
				}
				this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_s_back.gif';
				this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_s_left.gif';
				this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/black_s_right.gif';

				this.pmo_style_mac();
				this.pmo_CSS();
				break;				

			case 90:
				this.btn_pms_theme       = 'styleMetal';
				this.color_n_text        = '#000000';			
				this.color_o_text        = '#000000';			
				this.color_s_text        = '#000000';		
				this.pms_imgheight       = '22px';
				
				this.btn_transparent = false;
				this.img_top     = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_top.gif';
				this.img_base    = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_back.gif';


				this.sub_color_bg_on     = 'black';
				this.sub_color_bg_off    = this.pms_couleurchampnormal;

				this.img_n_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_n_back.gif';
				this.img_n_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_n_left.gif';
				this.img_n_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_n_right.gif';
				
				this.img_o_back  = this.pmo_btncomposer('n_back.gif');
				this.img_o_left  = this.pmo_btncomposer('n_left.gif');
				this.img_o_right = this.pmo_btncomposer('n_right.gif');

				this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_s_back.gif';
				this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_s_left.gif';
				this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_s_right.gif';

				this.pmo_style_mac();
				this.pmo_CSS();
				break;				

			case 91:
				this.btn_pms_theme       = 'styleMetal';
				this.color_n_text        = this.pms_couleurtitre ;			
				this.color_o_text        = '#000000';			
				this.color_s_text        = '#000000';		
				this.pms_imgheight       = '22px';
				
				this.btn_transparent = false;
				this.img_top     = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_top.gif';
				this.img_base    = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_back.gif';


				this.sub_color_bg_on     = 'black';
				this.sub_color_bg_off    = this.pms_couleurchampnormal;

				this.img_o_back  = this.pmo_btncomposer('o_back.gif');
				this.img_o_left  = this.pmo_btncomposer('o_left.gif');
				this.img_o_right = this.pmo_btncomposer('o_right.gif');

				this.img_n_back  = this.pmo_btncomposer('n_back.gif');
				this.img_n_left  = this.pmo_btncomposer('n_left.gif');
				this.img_n_right = this.pmo_btncomposer('n_right.gif');

				this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_s_back.gif';
				this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_s_left.gif';
				this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_s_right.gif';

				this.pmo_style_mac();
				this.pmo_CSS();
				break;				

			case 92:
				this.btn_pms_theme       = 'styleMetal';
				this.color_n_text        = '#000000';			
				this.color_o_text        = '#000000';			
				this.color_s_text        = '#000000';		
				this.pms_imgheight       = '22px';
				
				this.btn_transparent = false;


				this.sub_color_bg_on     = 'black';
				this.sub_color_bg_off    = this.pms_couleurchampnormal;

				this.img_top     = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_top.gif';
				this.img_base    = this.pmo_btncomposer('metal_back.gif');

				this.img_n_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_n_back.gif';
				this.img_n_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_n_left.gif';
				this.img_n_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/metal_n_right.gif';
				
				this.img_o_back  = this.pmo_btncomposer('n_back.gif');
				this.img_o_left  = this.pmo_btncomposer('n_left.gif');
				this.img_o_right = this.pmo_btncomposer('n_right.gif');

				this.img_s_back  = this.pmo_btncomposer('metal_s_back.gif');
				this.img_s_left  = this.pmo_btncomposer('metal_s_left');
				this.img_s_right = this.pmo_btncomposer('metal_s_right.gif');

				this.pmo_style_mac();
				this.pmo_CSS();
				break;				

			case 100:			  // PM_STYLE_TABS_STYLE_LIGHT
				this.btn_pms_theme       = 'styleLight';
				this.tab_color_text      = '#FFFFFF';
				this.sub_color_bg_on     = '#000000' ;
				this.sub_color_text_on   = '#FFFFFF';
				this.sub_color_text_off  = '#000000';
				
				this.btn_transparent = false;
				
				this.img_base    = '';

				this.img_n_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_n_back.gif';
				this.img_n_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_n_left.gif';
				this.img_n_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/_n_right.gif';

				this.img_o_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_o_back.gif';
				this.img_o_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_o_left.gif';
				this.img_o_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/_o_right.gif';

				this.img_s_back  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_back.gif';
				this.img_s_left  = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_left.gif';
				this.img_s_right = this.pms_PopmenuResPath+this.btn_pms_theme+'/_s_right.gif';

				this.sub_color_bg_off    = this.pms_couleurchampnormal;
				this.pmo_style_04();
				break;				

			default:
				alert( 'le theme n°'+this.pms_theme+' n\'est pas défini dans PopmenuStyler_tabs.js');
				break;

		}
		document.write("</script>\n" );
		// SI UN STYLE A ETE DEFINI CI DESSUS ON LE SORT APRES LES SCRIPTS
		if (this.pms_bufferStyle!='') {
			document.write(	'<style type="text/css"><!-- ' );
			document.write(	this.pms_bufferStyle );
			document.write(	'\n--></style>' );
		}

		
	};


	this.pmo_btncomposer = function(short_img) {
		if (this.btn_transparent) {
			skin_code = '';
		} else {
			skin_code = this.pms_skin_name;
		}
		return this.pms_PopmenuResPath+this.btn_pms_theme+'/'+skin_code+'_'+short_img;
	}

	// SI IDENTIFIANT CSS DEFINI ALORS ON DEFINI UN STYLE BARRE GRAPHIQUE
	this.pmo_CSS =function() {
		if (this.pms_idCSS_Top !='') {
			this.pms_bufferStyle += '#'+this.pms_idCSS_Top+' { background-image: url('+this.img_top+');	background-repeat: repeat-x; background-position: bottom; } ';
		}
		if (this.pms_idCSS_Down !='') {
			this.pms_bufferStyle += '#'+this.pms_idCSS_Down+' { background-image: url('+this.img_base+');	background-repeat: repeat-x; background-position: top; height: '+this.pms_imgheight+';} ';						
		}
//*		alert( this.pms_bufferStyle );
	}



	this.pmo_style_ie7 = function() {

// -- Deluxe Tuner Style Names
		document.write('var bstylesNames=["Individual Style",]; ');
// -- End of Deluxe Tuner Style Names

//--- Common
		document.write('var bblankImage="'+this.pms_PopmenuResPath+'blank.gif"; ');
		document.write('var bitemCursor="pointer"; ');
		document.write('var bmenuOrientation=0; ');
		document.write('var bselectedItem='+this.pms_bselectedItem+'; ');

//--- Dimensions
		document.write('var bmenuWidth="'+this.pms_menuWidth+'"; ');
		document.write('var bmenuHeight="33px"; ');

//--- Positioning
		document.write('var babsolute=0; ');
		document.write('var bleft="120px"; ');
		document.write('var btop="120px"; ');

//--- Font
		document.write('var bfontStyle=["normal 11px Tahoma, Arial","",""]; ');
		document.write('var bfontColor=["#191919","",""]; ');
		document.write('var bfontDecoration=["none","none","none"]; ');

//--- Tab-mode
		document.write('var tabMode='+this.pms_tabMode +'; ');
		document.write('var bselectedSmItem=10; ');
		document.write('var bsmHeight=23; ');
		document.write('var bsmBackColor="#000000"; ');
		document.write('var bsmBorderColor="#000000"; ');
		document.write('var bsmBorderWidth=0; ');
		document.write('var bsmBorderStyle="solid"; ');
		document.write('var bsmBorderBottomDraw=1; ');
		document.write('var bitemTarget="_self"; ');
		document.write('var bsmItemAlign="center"; ');
		document.write('var bsmItemSpacing=1; ');
		document.write('var bsmItemPadding="2px"; ');

//--- Appearance
		document.write('var bmenuBackColor=""; ');
		document.write('var bmenuBackImage=""; ');
		document.write('var bmenuBorderColor="#FFFFFF"; ');
		document.write('var bmenuBorderWidth=0; ');
		document.write('var bmenuBorderStyle="ridge"; ');

//--- Tabs Appearance
		document.write('var bbeforeItemSpace=0; ');
		document.write('var bafterItemSpace=0; ');
		document.write('var bitemBackColor=["#ffffff","",""]; ');
		document.write('var bitemBorderColor=["#ffffff","#ffffff","#ffffff"]; ');
		document.write('var bitemBorderWidth=0; ');
		document.write('var bitemBorderStyle=["solid","solid","solid"]; ');
		document.write('var bitemAlign="left"; ');
		document.write('var bitemSpacing=0; ');
		document.write('var bitemPadding="0px"; ');
		document.write('var browSpace=0; ');

//--- Tabs Images
		document.write('var bitemBackImage=["'+this.img_n_back+'","'+this.img_o_back+'","'+this.img_s_back+'"]; ');
		document.write('var bbeforeItemImage=["'+this.img_n_left+'","'+this.img_o_left+'","'+this.img_s_left+'"]; ');
		document.write('var bafterItemImage=["'+this.img_n_right+'","'+this.img_o_right+'","'+this.img_s_right+'"]; ');
		document.write('var bbeforeItemImageW=7; ');
		document.write('var bbeforeItemImageH=33; ');
		document.write('var bafterItemImageW=7; ');
		document.write('var bafterItemImageH=33; ');

//--- Icons
		document.write('var biconWidth=16; ');
		document.write('var biconHeight=16; ');
		document.write('var biconAlign="left"; ');
		document.write('var texpandBtn=["","",""]; ');
		document.write('var texpandBtnW=9; ');
		document.write('var texpandBtnH=9; ');
		document.write('var texpandBtnAlign="left"; ');

//--- Separators
		document.write('var bseparatorWidth="1px"; ');

//--- Transitional Effects
		document.write('var btransition=24; ');
		document.write('var btransOptions=""; ');
		document.write('var btransDuration=300; ');

//--- Floatable Menu
		document.write('var bfloatable=0; ');
		document.write('var bfloatIterations=6; ');

		document.write('var bstyles = [ ');
		document.write('    ["bitemBackImage=","bbeforeItemImage=","bafterItemImage=","bitemBorderColor=#ffffff,#316AC5,#316AC5","bitemBorderWidth=1","bitemBackColor=#ffffff,#bbccee,#bbccee","bitemBorderStyle=solid,solid,solid"],');
		document.write(']; ');
	}  // fin de pmo_style_ie7()














	this.pmo_style_04 = function() {
		
	// -- Deluxe Tuner Style Names
		document.write('var bstylesNames=["Individual Style",];');


//--- Common
		document.write('var bblankImage="'+this.pms_PopmenuResPath+'blank.gif"; ');
		document.write('var bitemCursor="pointer";');
		document.write('var bmenuOrientation=0;');
		document.write('var bselectedItem='+this.pms_bselectedItem+'; ');

//--- Dimensions
		document.write('var bmenuWidth="'+this.pms_menuWidth+'"; ');
		document.write('var bmenuHeight="27px";');

//--- Positioning
		document.write('var babsolute=0;');
		document.write('var bleft="120px";');
		document.write('var btop="120px";');

//--- Font
		document.write('var bfontStyle=["bold 12px Tahoma","",""];');
		document.write('var bfontColor=["#F0F0F0","#FFFFFF","#000000"];');
		document.write('var bfontDecoration=["none","underline","none"];');

//--- Tab-mode
		document.write('var tabMode='+this.pms_tabMode +'; ');
		document.write('var bselectedSmItem=-1;');
		document.write('var bsmHeight=23;');
		document.write('var bsmBackColor="#FFFFFF";');
		document.write('var bsmBorderColor="#91A7B4";');
		document.write('var bsmBorderWidth=0;');
		document.write('var bsmBorderStyle="solid";');
		document.write('var bsmBorderBottomDraw=0;');
		document.write('var bitemTarget="_self";');
		document.write('var bsmItemAlign="center";');
		document.write('var bsmItemSpacing=0;');
		document.write('var bsmItemPadding="2px";');

//--- Appearance
		document.write('var bmenuBackColor="#FFFFFF";');
		document.write('var bmenuBackImage="";');
		document.write('var bmenuBorderColor="#FFFFFF";');
		document.write('var bmenuBorderWidth=0;');
		document.write('var bmenuBorderStyle="ridge";');

//--- Tabs Appearance
		document.write('var bbeforeItemSpace=0;');
		document.write('var bafterItemSpace=0;');
	//	document.write('var bitemBackColor=["#ffffff","",""];');
		document.write('var bitemBackColor=["'+this.sub_color_bg_off +'","'+this.sub_color_bg_off+'","'+this.sub_color_bg_off +'"]; ');

		document.write('var bitemBorderColor=["#ffffff","#ffffff","#ffffff"];');
		document.write('var bitemBorderWidth=0;');
		document.write('var bitemBorderStyle=["solid","solid","solid"];');
		document.write('var bitemAlign="center";');
		document.write('var bitemSpacing=0;');
		document.write('var bitemPadding="0px 5px 0px 0px";');
		document.write('var browSpace=0;');

//--- Tabs Images
		document.write('var bitemBackImage=["'+this.img_n_back+'","'+this.img_o_back+'","'+this.img_s_back+'"];');
		document.write('var bbeforeItemImage=["'+this.img_n_left+'","'+this.img_o_left+'","'+this.img_s_left+'"];');
		document.write('var bafterItemImage=["'+this.img_n_right+'","'+this.img_o_right+'","'+this.img_s_right+'"];');
		document.write('var bbeforeItemImageW=10;');
		document.write('var bbeforeItemImageH=27;');
		document.write('var bafterItemImageW=10;');
		document.write('var bafterItemImageH=27;');

//--- Icons
		document.write('var biconWidth=12;');
		document.write('var biconHeight=14;');
		document.write('var biconAlign="left";');
		document.write('var texpandBtn=["","",""];');
		document.write('var texpandBtnW=9;');
		document.write('var texpandBtnH=9;');
		document.write('var texpandBtnAlign="left";');

//--- Separators
		document.write('var bseparatorWidth="100px";');

//--- Transitional Effects
		document.write('var btransition=24;');
		document.write('var btransOptions="";');
		document.write('var btransDuration=300;');

//--- Floatable Menu
		document.write('var bfloatable=0;');
		document.write('var bfloatIterations=6;');

		document.write('var bstyles = [');
		document.write('    ["bitemBackImage=","bbeforeItemImage=","bafterItemImage=","bitemBorderColor=#ffffff,#316AC5,#316AC5","bitemBorderWidth=1","bitemBackColor=#ffffff,#bbccee,#bbccee","bitemBorderStyle=solid,solid,solid"],');
		document.write('];');

		
	} // fin de pmo_style_04()













	this.pmo_style_kapers = function() {

// -- Deluxe Tuner Style Names
		document.write('var bstylesNames=["Individual Style","Individual Style","Individual Style","Font",]; ');
// -- End of Deluxe Tuner Style Names

//--- Common
		document.write('var bblankImage="'+this.pms_PopmenuResPath+'blank.gif"; ');
		document.write('var bitemCursor="default"; ');
		document.write('var bmenuOrientation=0; ');
		document.write('var bselectedItem='+this.pms_bselectedItem+'; ');

//--- Dimensions
		document.write('var bmenuWidth="'+this.pms_menuWidth+'"; ');
		document.write('var bmenuHeight="30px"; ');

//--- Positioning
		document.write('var babsolute=0; ');
		document.write('var bleft="120px"; ');
		document.write('var btop="120px"; ');

//--- Font
		document.write('var bfontStyle=["bold 8pt Tahoma","",""]; ');
		document.write('var bfontColor=["#333333","#333333","'+this.tab_color_text+'"]; ');
		document.write('var bfontDecoration=["none","underline","none"]; ');

//--- Tab-mode
		document.write('var tabMode='+this.pms_tabMode +'; ');
		document.write('var bselectedSmItem=-1; ');
		document.write('var bsmHeight=10; ');
		document.write('var bsmBackColor="#FFFFFF"; ');
		document.write('var bsmBorderColor="#000000"; ');
		document.write('var bsmBorderWidth=0; ');
		document.write('var bsmBorderStyle="solid"; ');
		document.write('var bsmBorderBottomDraw=1; ');
		document.write('var bitemTarget="_self"; ');
		document.write('var bsmItemAlign="center"; ');
		document.write('var bsmItemSpacing=1; ');
		document.write('var bsmItemPadding="0px"; ');

//--- Appearance
		document.write('var bmenuBackColor=""; ');
		document.write('var bmenuBackImage=""; ');
		document.write('var bmenuBorderColor=""; ');
		document.write('var bmenuBorderWidth=0; ');
		document.write('var bmenuBorderStyle="ridge"; ');

//--- Tabs Appearance
		document.write('var bbeforeItemSpace=0; ');
		document.write('var bafterItemSpace=0; ');
		document.write('var bitemBackColor=["'+this.sub_color_bg_off +'","'+this.sub_color_bg_off+'","'+this.sub_color_bg_off +'"]; ');
		document.write('var bitemBorderColor=["","",""]; ');
		document.write('var bitemBorderWidth=0; ');
		document.write('var bitemBorderStyle=["ridge","ridge","ridge"]; ');
		document.write('var bitemAlign="center"; ');
		document.write('var bitemSpacing=0; ');
		document.write('var bitemPadding="0px"; ');
		document.write('var browSpace=0; ');

//--- Tabs Images
		document.write('var bitemBackImage=["'+this.img_n_back+'","'+this.img_n_back+'","'+this.img_s_back+'"]; ');
		document.write('var bbeforeItemImage=["","",""]; ');
		document.write('var bafterItemImage=["","",""]; ');
		document.write('var bbeforeItemImageW=20; ');
		document.write('var bbeforeItemImageH=30; ');
		document.write('var bafterItemImageW=5; ');
		document.write('var bafterItemImageH=30; ');

//--- Icons
		document.write('var biconWidth=16; ');
		document.write('var biconHeight=16; ');
		document.write('var biconAlign="left"; ');
		document.write('var texpandBtn=["","",""]; ');
		document.write('var texpandBtnW=9; ');
		document.write('var texpandBtnH=9; ');
		document.write('var texpandBtnAlign="left"; ');

//--- Separators
		document.write('var bseparatorWidth="7px"; ');

//--- Transitional Effects
		document.write('var btransition=24; ');
		document.write('var btransOptions=""; ');
		document.write('var btransDuration=300; ');

//--- Floatable Menu
		document.write('var bfloatable=1; ');
		document.write('var bfloatIterations=6; ');

		document.write('var bstyles = [ ');
		document.write('    ["bitemWidth=24px","bitemBackImageSpec='+this.img_nn_center+','+this.img_nn_center+','+this.img_ns_center+','+this.img_nn_center+','+this.img_ns_center+','+this.img_sn_center+','+this.img_sn_center+'"], ');
		document.write('    ["bbeforeItemImage='+this.img_n_left+','+this.img_n_left+','+this.img_s_left+'"], ');
		document.write('    ["bafterItemImage='+this.img_n_right+','+this.img_n_right+','+this.img_s_right+'"], ');
		document.write('    ["bfontColor=#FFFFFF,#FFFFFF,#013572","bfontDecoration=none,underline,none"], ');
		document.write(']; ');
		
	}  // fin de pmo_style_kapers()














	this.pmo_style_05 = function() {
	
// -- Deluxe Tuner Style Names
		document.write('var bstylesNames=["Individual Style","Individual Style","Individual Style","Font",]; ');
// -- End of Deluxe Tuner Style Names

//--- Common
		document.write('var bblankImage="'+this.pms_PopmenuResPath+'blank.gif"; ');
		document.write('var bitemCursor="default"; ');
		document.write('var bmenuOrientation=0; ');
		document.write('var bselectedItem='+this.pms_bselectedItem+'; ');

//--- Dimensions
		document.write('var bmenuWidth="'+this.pms_menuWidth+'"; ');
		document.write('var bmenuHeight="31px"; ');

//--- Positioning
		document.write('var babsolute=0; ');
		document.write('var bleft="120px"; ');
		document.write('var btop="120px"; ');

//--- Font
		document.write('var bfontStyle=["bold 12px Tahoma","",""]; ');
		document.write('var bfontColor=["#595959","#38342F","'+this.pms_titre +'"]; ');
		document.write('var bfontDecoration=["none","none","none"]; ');

//--- Tab-mode
		document.write('var tabMode='+this.pms_tabMode +'; ');
		document.write('var bselectedSmItem=-1; ');
		document.write('var bsmHeight=10; ');
		document.write('var bsmBackColor="#FFFFFF"; ');
		document.write('var bsmBorderColor="#91A7B4"; ');
		document.write('var bsmBorderWidth=0; ');
		document.write('var bsmBorderStyle="solid"; ');
		document.write('var bsmBorderBottomDraw=1; ');
		document.write('var bitemTarget="_self"; ');
		document.write('var bsmItemAlign="center"; ');
		document.write('var bsmItemSpacing=1; ');
		document.write('var bsmItemPadding="0px"; ');

//--- Appearance
		document.write('var bmenuBackColor=""; ');
		document.write('var bmenuBackImage=""; ');
		document.write('var bmenuBorderColor=""; ');
		document.write('var bmenuBorderWidth=0; ');
		document.write('var bmenuBorderStyle="ridge"; ');

//--- Tabs Appearance
		document.write('var bbeforeItemSpace=0; ');
		document.write('var bafterItemSpace=0; ');
		document.write('var bitemBackColor=["'+this.sub_color_bg_off +'","'+this.sub_color_bg_off +'","'+this.sub_color_bg_off +'"]; ');
		document.write('var bitemBorderColor=["","",""]; ');
		document.write('var bitemBorderWidth=0; ');
		document.write('var bitemBorderStyle=["ridge","ridge","ridge"]; ');
		document.write('var bitemAlign="center"; ');
		document.write('var bitemSpacing=0; ');
		document.write('var bitemPadding="0px"; ');
		document.write('var browSpace=0; ');

//--- Tabs Images
		document.write('var bitemBackImage=["'+this.img_n_back+'","'+this.img_n_back+'","'+this.img_s_back+'"]; ');
		document.write('var bbeforeItemImage=["","",""]; ');
		document.write('var bafterItemImage=["","",""]; ');
		document.write('var bbeforeItemImageW=8; ');
		document.write('var bbeforeItemImageH=31; ');
		document.write('var bafterItemImageW=30; ');
		document.write('var bafterItemImageH=31; ');

//--- Icons
		document.write('var biconWidth=16; ');
		document.write('var biconHeight=16; ');
		document.write('var biconAlign="left"; ');
		document.write('var texpandBtn=["","",""]; ');
		document.write('var texpandBtnW=9; ');
		document.write('var texpandBtnH=9; ');
		document.write('var texpandBtnAlign="left"; ');

//--- Separators
		document.write('var bseparatorWidth="7px"; ');

//--- Transitional Effects
		document.write('var btransition=24; ');
		document.write('var btransOptions=""; ');
		document.write('var btransDuration=300; ');

//--- Floatable Menu
		document.write('var bfloatable=1; ');
		document.write('var bfloatIterations=6; ');

		document.write('var bstyles = [ ');
		document.write('    ["bitemWidth=32px","bitemBackImageSpec='+this.img_nn_center+','+this.img_nn_center+','+this.img_ns_center+','+this.img_nn_center+','+this.img_ns_center+','+this.img_sn_center+','+this.img_sn_center+'"], ');
		document.write('    ["bbeforeItemImage='+this.img_n_left+','+this.img_n_left+','+this.img_s_left+'"], ');
		document.write('    ["bafterItemImage='+this.img_n_right+','+this.img_n_right+','+this.img_s_right+'"], ');
		document.write('    ["bfontColor=#FFFFFF,#FFFFFF,#013572","bfontDecoration=none,underline,none"], ');
		document.write(']; ');

	}	// fin de pmo_style_05()



	this.pmo_style_mac = function() {

		document.write('var bstylesNames=[];');
		document.write('var bblankImage="'+this.pms_PopmenuResPath+'blank.gif"; ');
		document.write('var bitemCursor="default";');
		document.write('var bmenuOrientation=0;');
		document.write('var bselectedItem='+this.pms_bselectedItem+'; ');

//--- Dimensions
		document.write('var bmenuWidth="100%";');
		document.write('var bmenuHeight="auto";');

//--- Positioning
		document.write('var babsolute=0;');
		document.write('var bleft="120px";');
		document.write('var btop="120px";');

//--- Font
		document.write('var bfontStyle=["bold 12px Arial","",""];');
		document.write('var bfontColor=["'+this.color_n_text+'","'+this.color_o_text+'","'+this.color_s_text+'"];');
		document.write('var bfontDecoration=["none","none","none"];');

//--- Tab-mode
		document.write('var tabMode='+this.pms_tabMode +'; ');
		document.write('var bselectedSmItem=-1;');
		document.write('var bsmHeight=10;');
		document.write('var bsmBackColor="#FFFFFF";');
		document.write('var bsmBorderColor="";');
		document.write('var bsmBorderWidth=0;');
		document.write('var bsmBorderStyle="solid";');
		document.write('var bsmBorderBottomDraw=1;');
		document.write('var bitemTarget="_self";');
		document.write('var bsmItemAlign="center";');
		document.write('var bsmItemSpacing=1;');
		document.write('var bsmItemPadding="0px";');

//--- Appearance
		document.write('var bmenuBackColor="#D4D0C8";');
		document.write('var bmenuBackImage="";');
		document.write('var bmenuBorderColor="#FFFFFF";');
		document.write('var bmenuBorderWidth=0;');
		document.write('var bmenuBorderStyle="dotted";');

//--- Tabs Appearance
		document.write('var bbeforeItemSpace=0;');
		document.write('var bafterItemSpace=0;');
		document.write('var bitemBackColor=["'+this.sub_color_bg_off+'","'+this.sub_color_bg_off+'","'+this.sub_color_bg_on+'"];');
		document.write('var bitemBorderColor=["#ffffff","#ffffff","#ffffff"];');
		document.write('var bitemBorderWidth=0;');
		document.write('var bitemBorderStyle=["solid","solid","solid"];');
		document.write('var bitemAlign="center";');
		document.write('var bitemSpacing=0;');
		document.write('var bitemPadding="0px";');
		document.write('var browSpace=0;');

//--- Tabs Images
		document.write('var bitemBackImage=["'+this.img_n_back+'","'+this.img_o_back+'","'+this.img_s_back+'"];');
		document.write('var bbeforeItemImage=["'+this.img_n_left+'","'+this.img_o_left+'","'+this.img_s_left+'"];');
		document.write('var bafterItemImage=["'+this.img_n_right+'","'+this.img_o_right+'","'+this.img_s_right+'"];');

		document.write('var bbeforeItemImageW=7;');
		document.write('var bbeforeItemImageH=31;');
		document.write('var bafterItemImageW=7;');
		document.write('var bafterItemImageH=31;');

//--- Icons
		document.write('var biconWidth=16;');
		document.write('var biconHeight=16;');
		document.write('var biconAlign="left";');
		document.write('var texpandBtn=["","",""];');
		document.write('var texpandBtnW=9;');
		document.write('var texpandBtnH=9;');
		document.write('var texpandBtnAlign="left";');

//--- Separators
		document.write('var bseparatorWidth="1px";');

//--- Transitional Effects
		document.write('var btransition=24;');
		document.write('var btransOptions="";');
		document.write('var btransDuration=300;');

//--- Floatable Menu
		document.write('var bfloatable=1;');
		document.write('var bfloatIterations=6;');

	} // fin de style MAC
	
	
	
	
	

} // fin de classe  PopTabsStyler