function mmLoadMenus() {


			if (window.menu) return;
			
//
			switch(FundationSkin){
				case '100':
					ColorText='#555555';
					ColorFondo='#757575';
					break;				
				case '200':
					ColorText='#EAEAEA';
					ColorFondo='#FFFFFF';					
					break;									
				case '400':
					ColorText='#EAEAEA';
					ColorFondo='#FFFFFF';					
					break;														
				case '700':
					ColorText='#ACACAC';
					ColorFondo='#D8D8D8';					
					break;									
				default:  	
					ColorText='#555555';
					ColorFondo='#757575';
					break;								
			} 

//
			switch(foundationMio){
				case 4:
					window.menu = new Menu("root",180,21,"Verdana, Arial, Helvetica, sans-serif",11,ColorText,ColorFondo,"#000000","#000084","left","middle",5,0,500,0,0,true,true,true,3,true,false);
					break;
				case 9:
					window.menu = new Menu("root",180,21,"Verdana, Arial, Helvetica, sans-serif",11,ColorText,ColorFondo,"#000000","#000084","left","middle",5,0,500,0,0,true,true,true,3,true,false);
					break;
				case 7:
					window.menu = new Menu("root",180,21,"Verdana, Arial, Helvetica, sans-serif",11,ColorText,ColorFondo,"#000000","#000084","left","middle",5,0,500,0,0,true,true,true,3,true,false);
					break;
				case 2:
					window.menu = new Menu("root",180,21,"Verdana, Arial, Helvetica, sans-serif",11,ColorText,ColorFondo,"#000000","#000084","left","middle",5,0,500,0,0,true,true,true,3,true,false);
					break;
				default:
					window.menu = new Menu("root",180,21,"Verdana, Arial, Helvetica, sans-serif",11,ColorText,ColorFondo,"#000000","#000084","left","middle",5,0,500,0,0,true,true,true,3,true,false);
					break;
			}
			
			switch(foundationMio){
				case 2: //Cadillac
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						menu.addMenuItem("Third-Party Comparison","window.open('http://www.cadillac.com/comparator/cadillac/select-model.jsp', 'v1', 'width=700,height=600');");
						menu.addMenuItem("Estimate Payment","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=USBP&langcd=EN&cntrycd=US&formnamevalue=f&makedesc=CADILLAC&tlmngr_path=/PE/calc/PEServlet&mmc=6YV67&needCounty=false&displayIncompleteBox=false&HANDLE=VehicleSelectorHandler&pricing_model=A&toolname=PE&year=2006&make_desc=CADILLAC&trim_desc=&zipcode=', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						menu.addMenuItem("Trade-in Appraisal","window.open('http://web1.intellipriceauto.com/EtradeinMatrix/Identify.aspx?lcdealer=3045402&spanish=NO', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una Cotizacion","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Comparar con Terceros","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=1'");
						//menu.addMenuItem("Calcula tus pagos","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Localizá un Vehiculo","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Valor de intercambio","window.open('http://web1.intellipriceauto.com/EtradeinMatrix/Identify.aspx?lcdealer=3045202&spanish=NO', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}				
					break;				
				case 6://Hammer
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Third-Party Comparison","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN', 'v1', 'width=700,height=600');");
						menu.addMenuItem("Payment Estimator","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN&year=2005&make_desc=HUMMER&model_desc=H2', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Trade-in Appraisal","window.open('http://web1.intellipriceauto.com/EtradeinMatrix/Identify.aspx?lcdealer=3045202&spanish=NO', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una Cotizacion","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Comparar con Terceros","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=1'");
						//menu.addMenuItem("Calcula tus pagos","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Localizá un Vehiculo","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Valor de intercambio","window.open('http://web1.intellipriceauto.com/EtradeinMatrix/Identify.aspx?lcdealer=3045202&spanish=NO', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}				
					break;	
				case 5:
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Third-Party Comparison","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=1'");
						//menu.addMenuItem("Estimate Payment","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=2'");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Trade-in Appraisal","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=3'");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una CotizaciÃ³n","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Comparar con Terceros","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=1'");
						//menu.addMenuItem("Calcula tus pagos","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=2'");
						if(Inventory=='T'){menu.addMenuItem("Localiza un Vehiculo","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Valor de intercambio","location='RedirectExternos.aspx?division=" + foundationMio + "&amp;pag=3'");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}
					break;
				case 1://Buick		
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						menu.addMenuItem("Third-Party Comparison","window.open('http://www.kbb.com/kb/ki.dll/ke.kb.sp?gmsb;MA025;&02199&&compare&1&Buick', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Estimate Payment","window.open('http://www.buick.com/divisional/gmactools.jsp?pageSection=1&brand=divisional', 'v1', 'width=720,height=500');");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						menu.addMenuItem("Trade-in Appraisal","http://www.buick.com/divisional/gmactools.jsp?pageSection=4&brand=divisional', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una Cotizacion","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Comparar con Terceros","window.open('http://www.kbb.com/kb/ki.dll/ke.kb.sp?gmsb;;MA025;&02199&&compare&1&Buick', 'v1', 'width=700,height=500');");
						//menu.addMenuItem("Calcula tus pagos","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN', 'v1', 'width=720,height=500');");
						if(Inventory=='T'){menu.addMenuItem("Localiza un Vehiculo","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Valor de intercambio","window.open('http://web1.intellipriceauto.com/EtradeinMatrix/Identify.aspx?lcdealer=3045202&spanish=NO', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}			
					break;
				case 4:	//GMC			
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						menu.addMenuItem("Third-Party Comparison","window.open('http://www.kbb.com/kb/ki.dll/ke.kb.sp?gmsg;MA025;&02199&&compare&1&GMC', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Estimate Payment","window.open('http://www.gmc.com/divisional/gmactools/gmactools.jsp?pagesection=estPayment&brand=', 'v1', 'width=720,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						menu.addMenuItem("Trade-in Appraisal","window.open('http://www.gmc.com/divisional/gmactools/gmactools.jsp?pageSection=tradeAppr&brand=', 'v1', 'width=700,height=600');");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una Cotizacion","location='DealerSearch.aspx'");}
						menu.addMenuItem("Comparar con Terceros","window.open('http://www.gmc.com/es/common/bp/compare.jsp?brand=&originatingBrand=', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Calcula tus pagos","window.open('http://www.gmc.com/es/redirect.jsp?http://www.gmc.com/divisional/gmactools/gmactools.jsp?pagesection=estPayment&brand=', 'v1', 'width=720,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Localiza un Vehiculo","location='DealerSearch.aspx'");}
						//menu.addMenuItem("Valor de intercambio","window.open('http://www.gmc.com/divisional/gmactools/gmactools.jsp?pageSection=tradeAppr&brand= ', 'v1', 'width=700,height=600');");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}			
					break;	
				case 9://Pontiac-GMC
				case 7://Pontiac
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						menu.addMenuItem("Third-Party Comparison","window.open('http://www.kbb.com/kb/ki.dll/ke.kb.sz?gmsp&&&zip;5945&1&Pontiac', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Estimate Payment","window.open('http://www.pontiac.com/divisional/gmactools/gmactools.jsp?pageSection=1&brand=divisional', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						menu.addMenuItem("Trade-in Appraisal","window.open('http://www.pontiac.com/divisional/gmactools/gmactools.jsp?pageSection=4&brand=divisional', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una Cotizacion","location='DealerSearch.aspx'");}
						menu.addMenuItem("Comparar con Terceros","window.open('http://www.kbb.com/kb/ki.dll/ke.kb.sp?gmsp;MA025;&02199&&compare&1&Pontiac', 'v1', 'width=700,height=500');");
						menu.addMenuItem("Calcula tus pagos","window.open('http://www.pontiac.com/divisional/gmactools/gmactools.jsp?pageSection=1&brand=divisional', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Localiza un Vehiculo","location='DealerSearch.aspx'");}
						menu.addMenuItem("Valor de intercambio","window.open('http://www.pontiac.com/divisional/gmactools/gmactools.jsp?pageSection=4&brand=divisional', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}			
					break;	
				case 3://Chevrolet
					if(language == 'en'){
						if(RAQ=='T'){menu.addMenuItem("Request a Quote","location='DealerSearch.aspx'");}
						menu.addMenuItem("Compare Vehicles","window.open('http://www.edmunds.com/spotlight/chevrolet/comparison/syndicated.html', 'v1', 'width=750,height=650');");
						menu.addMenuItem("Payment Calculator","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Search Inventory","location='DealerSearch.aspx'");}
						menu.addMenuItem("Trade-in Appraisal","window.open('http://www.intelliprice.com/Intellipricedealer/start.htm?dealerid=3045202', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Brochures","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Schedule a Test Drive","location='DealerSearch.aspx'");}
					}else{
						if(RAQ=='T'){menu.addMenuItem("Solicita una Cotizacion","location='DealerSearch.aspx'");}
						menu.addMenuItem("Comparar con Terceros","window.open('http://www.chevrolet.com/comparator/chevy/comparevehicle.jsp?year=2006&make=Chevrolet&makeId=001&model=&modelId=&subModelId=', 'v1', 'width=750,height=650');");
						menu.addMenuItem("Calcula tus pagos","window.open('http://www.gmacfinancialtools.com/toolmanager?toolname=PE&websiteid=GMFS&cntrycd=US&langcd=EN', 'v1', 'width=700,height=600');");
						if(Inventory=='T'){menu.addMenuItem("Localizá un Vehiculo","location='DealerSearch.aspx'");}
						menu.addMenuItem("Valor de intercambio","window.open('http://web1.intellipriceauto.com/EtradeinSP/Identify.aspx?lcdealer=3045202&spanish=YES', 'v1', 'width=740,height=600');");
						menu.addMenuItem("Folletos","location='Brochures.aspx'");			
						if(STD=='T'){menu.addMenuItem("Maneje un Vehiculo","location='DealerSearch.aspx'");}
					}			
					break;										
												
			}
			
			menu.hideOnMouseOut=true;
			menu.bgColor='#555555';

			switch(foundationMio){
				case 4:
					menu.bgImageUp='img/bk2.gif';
					break;
				case 9:
					menu.bgImageUp='img/bk2.gif';					
					break;
				case 7:
					menu.bgImageUp='img/bk4.gif';
					break;
				case 2:
					menu.bgImageUp='img/bk5.gif';
					break;
				default:
					menu.bgImageUp='img/bk3.gif';
					break;
			}
			
//
			switch(FundationSkin){
				case '100':
					menu.bgImageUp='img/bk3.gif';
					break;				
				case '200':
					menu.bgImageUp='img/bk2.gif';
					break;									
				case '400':
					menu.bgImageUp='img/bk2.gif';
					break;														
				case '700':
					menu.bgImageUp='img/bk4.gif';
					break;									
			} 
//
			menu.fontWeight="bold";
				
			menu.menuBorder=0;
			menu.menuLiteBgColor='#FFFFFF';
			menu.menuBorderBgColor='#777777';

			menu.writeMenus();
}

	