Sacramento Top 10   Featured Website: BMW of Roseville Donate Your Car
To Charity







<!-- application up and running --> <html> <head> <title>Roseville BMW of Roseville California -- Serving Sacramento, Roseville, Davis, Granite Bay, Fair Oaks, and Rancho Cordova California with BMW vehicles, service, parts and accessories.</title> <meta name="charset" content="ISO-8859-1"> <meta name="expires" content="never"> <meta name="email" content="PerezT@autonation.com"> <meta http-equiv="reply-to" content="PerezT@autonation.com"> <meta name="resource-type" content="document"> <meta name="classification" content="Recreation"> <meta name="description" content="Roseville BMW in Roseville California with internet specials on new and used BMW cars, trucks, SUVs for Roseville CA, Davis California, Granite Bay CA, Fair Oaks California, Rancho Cordova CA "> <meta name="keywords" content="Sacramento BMW, Roseville BMW, Davis BMW, Granite Bay BMW, Fair Oaks BMW, Rancho Cordova BMW, California, CA "> <meta name="distribution" content="Global"> <meta name="rating" content="GENERAL"> <meta name="author" content="BMW of Roseville"> <meta name="publisher" content="BMW of Roseville"> <meta name="generator" content="ColdFusion MX"> <meta name="language" content="english"> <meta name="copyright" content="Copyright ©2010 - BMW of Roseville"> <script language="JavaScript" src="Templates/Javascript.js" type="text/javascript"></script> <link href="/Templates/website/autonation_nonbranded2/stylesheet.css" rel="stylesheet" type="text/css" title="Stylesheet"> <script type='text/javascript' src='/templates/swfobject.js'></script><script type='text/javascript'>swfobject.registerObject('mediaplayer', '8.0.0');</script><style>BODY{background: url(/templates/website/autonation_family/images/bodyback.jpg) bottom repeat-x white fixed;}</style></head> <script LANGUAGE="JavaScript"> function hiLite(Name,Image) { document.images[Name].src = Image; } function windowredirect() { franchiseID = selectdealer.elements["franchiseID"].options[selectdealer.elements["franchiseID"].selectedIndex].value; if(franchiseID != '') { window.location.href="/index.cfm?action=contact&subaction=dealerdetail&franchiseID=" + franchiseID; } } </script> <body> <center> <div class="cf" id="contentcontainer"> <!-- Add key-value pairs here consisiting of franchiseid = facebook url ---> <!-- Add key-value pairs here consisiting of franchiseid = Twitter url ---> <!-- Begin Outsell Chat Code --> <table width="985" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="right"> <A HREF="" onClick="javascript:return Outsell_StartChat('4b1697d749697', '4b1593cca5fb8');"><IMG border="0" src="templates/website/AutoNation_Family/images/livechat.gif" alt="Live Chat"> </A> <!-- End Outsell Chat Code --> </td> </tr> </table> <script language="Javascript" type="text/javascript" src="templates/website/autonation_family/outsell.js"></script> <div id="topbar"> <p><a href="/"><img src="/Templates/website/autonation_family/images//logos/2527A_brand_logo.gif" alt="BMW of Roseville" border="0"></a></p> <div id="navbar"> <script language=JavaScript> <!-- var hideTimeOut = ""; var nowShowing = ""; function hideLayer(thisLayer){ thisLayer.style.visibility = 'hidden'; } function showLayer(thisLayerName){ thisLayerRef = document.getElementById(thisLayerName); if(nowShowing.length){ hideLayer( document.getElementById(nowShowing)); } if(!isNaN(hideTimeOut) && (hideTimeOut + "").length){ window.clearTimeout(hideTimeOut); hideTimeOut = ""; } nowShowing = thisLayerName; thisLayerRef.style.visibility = 'visible'; } function hideLayersTimeOut(thisLayerName) { thisLayerRef = document.getElementById(thisLayerName); hideTimeOut = window.setTimeout("hideLayer(thisLayerRef)",900); } //--> </script> <table width="" cellpadding="0" cellspacing="0" border="0" > <tr> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="/" onmouseover="showLayer('Children3813621');" onmouseout="hideLayersTimeOut('Children3813621'); " class="navlink">Home</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813621"> <div onmouseover="showLayer('Children3813621');" onmouseout="hideLayersTimeOut('Children3813621'); " id="Children3813621" style="position:absolute; left: -1px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> </table> </div> </div> </td> </tr> </table> </td> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="index.cfm?action=inventorysearch" onmouseover="showLayer('Children3813622');" onmouseout="hideLayersTimeOut('Children3813622'); " class="navlink">Find Your Vehicle</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813622"> <div onmouseover="showLayer('Children3813622');" onmouseout="hideLayersTimeOut('Children3813622'); " id="Children3813622" style="position:absolute; left: -1px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_top.gif"></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverinventorysearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=inventorysearch&subaction=searchdisplaynew" >Search Make &amp; Model</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverinventorysearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=inventorysearch&subaction=searchdisplaynew&SearchType=bodytype" >Search Vehicle Type</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverinventorysearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=inventorysearch&subaction=searchdisplaynew&SearchType=paymentrange" >Search Payment &amp; Price</a></td> </tr> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_bottom.gif"></td> </tr> </table> </div> </div> </td> </tr> </table> </td> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="index.cfm?action=research" onmouseover="showLayer('Children3813623');" onmouseout="hideLayersTimeOut('Children3813623'); " class="navlink">Research</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813623"> <div onmouseover="showLayer('Children3813623');" onmouseout="hideLayersTimeOut('Children3813623'); " id="Children3813623" style="position:absolute; left: -1px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_top.gif"></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverresearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=research&subaction=researchintro" >Shop &amp; Compare Home</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverresearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=research&subaction=researchvehicle" >Research &amp; Compare</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverresearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=research&subaction=researchcalculator" >How Much Can I Spend</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverresearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=research&subaction=researchincentives" >Incentives &amp; Rebates</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverresearch'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=research&subaction=researchcarreviews" >Car Reviews</a></td> </tr> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_bottom.gif"></td> </tr> </table> </div> </div> </td> </tr> </table> </td> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="index.cfm?action=finance" onmouseover="showLayer('Children3813624');" onmouseout="hideLayersTimeOut('Children3813624'); " class="navlink">Finance &amp; Insurance</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813624"> <div onmouseover="showLayer('Children3813624');" onmouseout="hideLayersTimeOut('Children3813624'); " id="Children3813624" style="position:absolute; left: -1px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_top.gif"></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverfinance'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=finance&subaction=financeintro" >Finance &amp; Insurance Home</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverfinance'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=finance&subaction=financepledge" >Our Pledge to You</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverfinance'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=research&subaction=researchleasebuy" >Leasing &amp; Financing Options</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverfinance'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=finance&subaction=financeprotection" >Vehicle Protection Programs</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverfinance'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="https://securesite.adpwebmarketingan.com/index.cfm?action=finance&subaction=financeform&franchiseId=2060" >Express Credit</a></td> </tr> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_bottom.gif"></td> </tr> </table> </div> </div> </td> </tr> </table> </td> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="index.cfm?action=service" onmouseover="showLayer('Children3813625');" onmouseout="hideLayersTimeOut('Children3813625'); " class="navlink">Service &amp; Parts</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813625"> <div onmouseover="showLayer('Children3813625');" onmouseout="hideLayersTimeOut('Children3813625'); " id="Children3813625" style="position:absolute; left: -1px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_top.gif"></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverservice'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=service&subaction=serviceintro" >Service &amp; Parts Home</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverservice'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=service&subaction=serviceabout" >Why Service With Us</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverservice'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=service&subaction=serviceformexternal&franchiseid=2060" >Make a Service Appointment</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverservice'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="http://accessories.bmwusa.com?CenterID=04923" >Order Parts &amp; Accessories</a></td> </tr> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_bottom.gif"></td> </tr> </table> </div> </div> </td> </tr> </table> </td> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="index.cfm?action=specials" onmouseover="showLayer('Children3813626');" onmouseout="hideLayersTimeOut('Children3813626'); " class="navlink">Specials</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813626"> <div onmouseover="showLayer('Children3813626');" onmouseout="hideLayersTimeOut('Children3813626'); " id="Children3813626" style="position:absolute; left: -1px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_top.gif"></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverspecials'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="index.cfm?action=specials&subaction=specialsintro" >Search All Specials</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverspecials'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=specials&subaction=specialscoupons&special=new&franchiseid=2060" >New Vehicle Specials</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverspecials'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=specials&subaction=specialscoupons&special=used&franchiseid=2060" >Used Vehicle Specials</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverspecials'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=specials&subaction=specialscoupons&special=service&franchiseID=2060" >Service Specials</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkoverspecials'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=specials&subaction=specialscoupons&special=parts&franchiseID=2060" >Parts Specials</a></td> </tr> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_bottom.gif"></td> </tr> </table> </div> </div> </td> </tr> </table> </td> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td align="center"><a href="/index.cfm?action=contact&subaction=dealerdetail&franchiseid=2060" onmouseover="showLayer('Children3813627');" onmouseout="hideLayersTimeOut('Children3813627'); " class="navlink">Hours &amp; Directions</a></td></tr> <tr> <td> <div style="position: absolute; z-index:10;" id="Container3813627"> <div onmouseover="showLayer('Children3813627');" onmouseout="hideLayersTimeOut('Children3813627'); " id="Children3813627" style="position:absolute; left: -92px; top: 10px; width: 175px; z-index:10; visibility: hidden; "> <table width="175" border="0" cellspacing="0" cellpadding="0" id="navbarmenu"> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_top.gif"></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkovercontact'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=contact&subaction=dealerdetail&franchiseid=2060&contact=1" >Store Hours</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkovercontact'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=contact&subaction=dealerdetail&franchiseid=2060&contact=1" >Department Contacts</a></td> </tr> <tr> <td class="dmenulink" onmouseover="this.className='dmenulinkovercontact'; this.style.cursor='pointer'; this.style.cursor='hand';" onmouseout="this.className='dmenulink';"><a class="dmenulinktext" href="/index.cfm?action=contact&subaction=dealerdetail&franchiseid=2060" >Directions to Store</a></td> </tr> <tr> <td><img src="templates/website/autonation_family/images/navbar_dropmenu_bottom.gif"></td> </tr> </table> </div> </div> </td> </tr> </table> </td> </tr> </table> </div> </div> <script language="javascript"> function showHide(elementId){ showHideElement = document.getElementById(elementId); showHideElement.style.display=(showHideElement.style.display == 'none')?"":"none"; } function show(elementId){ showHideElement = document.getElementById(elementId); showHideElement.style.display="" } // highly customized validation routines function validate(thisForm){ var errors = ""; if(errors.length){ alert("The following errors occured:\n" + errors + "\n\nPlease fix these problems and re-submit."); return false; } else{ return true; } } function getRadioValue(radioOBJ){ selectedRadioValue = ""; for(i=0; i<radioOBJ.length; i++){ selectedRadioValue = (radioOBJ[i].checked)?radioOBJ[i].value:selectedRadioValue; } return selectedRadioValue; } // validation and value manipulation function submitSearch(searchForm){ //alert('here'); var errors = ""; if(searchForm.name == "paymentpriceform"){ // paymentpriceform validation if(searchForm.downpayment.value == ""){ errors+="Down Payment is a required field\n"; }else if(isNaN(searchForm.downpayment.value)){ errors+="Down Payment may only contain numeric values\n"; } if(searchForm.tradevalue.value == ""){ searchForm.tradevalue.value = 0; }else if(isNaN(searchForm.tradevalue.value)){ errors+="Trade-in value may only contain numeric values\n"; } if(searchForm.tradeowed.value == ""){ searchForm.tradeowed.value = 0; }else if(isNaN(searchForm.tradeowed.value)){ errors+="Owed on Trade value may only contain numeric values\n"; } if(searchForm.term.value == ""){ errors+="Term is a required field\n"; } if(searchForm.rate.value == "") { errors+="APR is a required field\n"; }else if(isNaN(searchForm.rate.value)){ errors+="APR may only contain numeric values\n"; } if(searchForm.pricerange.value == ""){ errors+="Monthly Payment Range is a required field\n"; } // set the startPriceRange and endPriceRange form elements based on the value pricerange field pricerange = searchForm.elements["pricerange"].options[searchForm.elements["pricerange"].selectedIndex].value; pos = pricerange.search("-"); pricestart = pricerange.substr(0,pos); priceend = pricerange.substr(pos+1,pricerange.length); pricevariation = .1; trade = parseInt(searchForm.tradevalue.value) - parseInt(searchForm.tradeowed.value); // set the pricestart = pricestart * pricevariation var pricestart = Math.round(parseInt(pricestart) - (parseFloat(pricestart * pricevariation))); // get the starting price range searchForm.startpricerange.value = calculateLoanTotal(pricestart, searchForm.term.value, searchForm.rate.value, searchForm.downpayment.value, trade); if(priceend.length > 0){ // set the priceend = priceend * pricevariation var priceend = Math.round(parseInt(priceend) + (parseFloat(priceend * pricevariation))); // get the ending price range searchForm.endpricerange.value = calculateLoanTotal(priceend, searchForm.term.value, searchForm.rate.value, searchForm.downpayment.value, trade); } } else { // ymm search and vehicle type search validation if(searchForm.name == "makemodelform"){ //alert(searchForm.inventoryType[1].checked); // required: year, make, model, zip, radius /* if(searchForm.yr.value == ""){ errors+="Year is a required field\n"; } */ if(searchForm.make.value == "" || searchForm.model.value == ""){ //errors+="Make is a required field\n"; searchForm.searchtype.value='allnew'; } else { searchForm.searchtype.value='ymm'; } //if(searchForm.zipcode.value.length != 5){ // errors+="A valid Zip code is required" //} //else if(isNaN(searchForm.zipcode.value)){ // errors+="A valid Zip code is required" //} } if(searchForm.name == "vehicletypeform"){ if(searchForm.bodycategoryid.value == "") { errors+="Vehicle Type is required\n"; } if(searchForm.pricerange.value == ""){ errors+="Price Range is a required field\n"; } // set the startPriceRange and endPriceRange form elements based on the value pricerange field pricerange = searchForm.elements["pricerange"].options[searchForm.elements["pricerange"].selectedIndex].value; pos = pricerange.search("-"); pricestart = pricerange.substr(0,pos); priceend = pricerange.substr(pos+1,pricerange.length); if(pricestart.length > 0){ searchForm.startpricerange.value = pricestart; } if(priceend.length > 0){ searchForm.endpricerange.value = priceend; } //searchForm.elements["pricerange"].options[searchForm.elements["pricerange"].selectedIndex].value = ""; //if(searchForm.zipcode.value.length != 5){ // errors+="A valid Zip code is required" //} //else if(isNaN(searchForm.zipcode.value)){ // errors+="A valid Zip code is required" //} } } // set the dummy type field to nothing if(errors.length < 1) { action = searchForm.action; for(i=0; i<searchForm.elements.length; i++){ if(searchForm.elements[i].name.length){ nameValString = ""; switch(searchForm.elements[i].type){ // text,textarea and hidden fields get the same treatment case "hidden": case "textarea": case "text": if(searchForm.elements[i].value.length){ nameValString = searchForm.elements[i].name + "=" + searchForm.elements[i].value ; } break; // case for select box case "select-one": if(searchForm.elements[i].options[searchForm.elements[i].selectedIndex].value.length){ nameValString = searchForm.elements[i].name + "=" + searchForm.elements[i].options[searchForm.elements[i].selectedIndex].value; } break; // radio and checkbox fields get same treatment case "checkbox": case "radio": if(searchForm.elements[i].checked){ nameValString = searchForm.elements[i].name + "=" + searchForm.elements[i].value; } break; default: if(searchForm.elements[i].value.length){ nameValString = searchForm.elements[i].name + "=" + searchForm.elements[i].value ; } break; } action += (nameValString.length)?"&" + nameValString :""; } } oldAction = searchForm.action searchForm.action = action; searchForm.submit(); //searchForm.action = oldAction; //return true; }else{ alert("The following errors occured:\n" + errors + "\n\nPlease fix these problems and re-submit."); //return false; } } /* * payment calculator for loan * L = loan amount * n = number of months (term) * r = rate * P = monthly payment * * 1200P{(1+r/1200)^n-1}/r = L * ----------------------- * (1+r/1200)^n */ function calculateLoanTotal(payment, term, rate, downpayment, tradeequity) { var P = payment; var n = term; var r = rate; var dp = parseInt(downpayment) + parseInt(tradeequity) var a = 1 + (r/1200); // [1200P{a^n-1}/r]/(a^n) = L var b = Math.pow(a,n); // {1200P(b-1)/r}/b = L var c = b-1; // {1200P(c)/r}/b = L var d = 1200*P; // {d(c)/r}/b = L var e = (d*c)/r; // (e/b) = L var f = e/b; // f = L var g = (f - 0) + parseInt(dp); var ret = Math.round(g); return ret; } function check(x) { return (!isNaN(x) && (x != Number.POSITIVE_INFINITY) && (x != Number.NEGATIVE_INFINITY)); } function round(x) { return Math.round(x*100)/100; } function limitText(limitField, limitCount, limitNum, counterId) { var bName = navigator.appName; if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; if(bName == "Netscape"){ document.getElementById(counterId).textContent=limitNum - limitField.value.length; } else{ document.getElementById(counterId).innerText=limitNum - limitField.value.length; } } } </script> <style> #auxboxtwo {float:right;width:240px;height:185px;margin:0 0 0 0;background:url(http://www.bmwofroseville.com/custom_links/homecollision.gif) no-repeat;} </style> <div id="bigplayer"> <!--version 2.2 added ebay block to not use JS to render code Params: http://dealer2822.adpwebmarketingan.com 2822 Standard --> <div> <script type="text/javascript"> var flashvars = false; var params = { allowscriptaccess: "always", wmode: "opaque", quality: "high", bgcolor: "#FFFFFF", menu: "false", base: "http://www.bmwofroseville.com", flashvars: "franchiseWebAddress=http://dealer2822.adpwebmarketingan.com&FranchiseID=2822&PlaylistID=10873498&isEbay=false&isAdmin=0&loopshow=true&mediafileversion=_original&st_w=684&st_h=314&autoplay=true&isPopup=false&" }; swfobject.embedSWF("http://dealer2822.adpwebmarketingan.com/templates/flash/mediaplayerV2.swf", "myContent687847C7", "684", "314", "9.0.0","expressInstall.swf", flashvars, params); </script> <div id="myContent687847C7"> <p><br><br> <i>For an enhanced experience, please install or enable the Adobe Flash player.</i><br><br> <a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" border="0" /></a></p> </div> <script language="javascript"> function set360PopUpFaderDivSize() { // Find Screen size, and x & y scroll ofset we we can precisely size the fader div var myWidth = 0, myHeight = 0; var scrOfX = 0, scrOfY = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } if( typeof( window.pageYOffset ) == 'number' ) { //Netscape compliant scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { //DOM compliant scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft; } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { //IE6 standards compliant mode scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft; } myWidth = myWidth + scrOfX; myHeight = myHeight + scrOfY; document.getElementById("s360PopUpFader").style.height=myHeight; document.getElementById("s360PopUpFader").style.width=myWidth; } function toggle360PopUp() { var width = 566 var height = 438 var topSep = 30 var leftPos = Math.round((document.body.clientWidth / 2) - (width/2)); var topPos = Math.round((document.body.clientHeight / 2) - (height/2+topSep)); var scrollPosY = 0 var obj = document.getElementById("s360PopUp"); var objFader = document.getElementById("s360PopUpFader"); set360PopUpFaderDivSize(); if (document.getElementById) { if ( obj.style.display == "none"){ /*if(window.pageYOffset != null){ scrollPosY = window.pageYOffset + topSep; }else if (document.body.scrollTop != null){ scrollPosY = document.body.scrollTop + topSep; }*/ obj.style.top = topPos + "px"; obj.style.left = leftPos + "px"; obj.style.display = ""; objFader.style.display=""; } else { obj.style.display = "none"; objFader.style.display="none"; obj.style.top = 0; obj.style.left = 0; } } } </script> </div> </div> <div id="homeinfobox"> <h3> 110 Automall Drive<br> Roseville, California 95661 </h3> <div id="homenumbers"><br> Service:<h4>866-246-2380</h4> New Vehicles:<h4>866-808-7139</h4> <br> </div> <div id="homenumbers"><br> Parts:<h4>877-657-4756</h4> Pre-Owned Vehicles:<h4>877-206-5148 </h4> <br> </div> <div id="smallplayer"> <!--version 2.2 added ebay block to not use JS to render code Params: http://dealer2822.adpwebmarketingan.com 2060 Standard --> <div> <script type="text/javascript"> var flashvars = false; var params = { allowscriptaccess: "always", wmode: "opaque", quality: "high", bgcolor: "#FFFFFF", menu: "false", base: "http://www.bmwofroseville.com", flashvars: "franchiseWebAddress=http://dealer2822.adpwebmarketingan.com&FranchiseID=2060&PlaylistID=11070945&isEbay=false&isAdmin=0&loopshow=true&mediafileversion=_original&st_w=280&st_h=132&autoplay=true&isPopup=false&iconNav=true&" }; swfobject.embedSWF("http://dealer2822.adpwebmarketingan.com/templates/flash/mediaplayerV2an.swf", "myContent687847D7", "280", "132", "9.0.0","expressInstall.swf", flashvars, params); </script> <div id="myContent687847D7"> <p><br><br> <i>For an enhanced experience, please install or enable the Adobe Flash player.</i><br><br> <a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" border="0" /></a></p> </div> <script language="javascript"> function set360PopUpFaderDivSize() { // Find Screen size, and x & y scroll ofset we we can precisely size the fader div var myWidth = 0, myHeight = 0; var scrOfX = 0, scrOfY = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } if( typeof( window.pageYOffset ) == 'number' ) { //Netscape compliant scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { //DOM compliant scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft; } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { //IE6 standards compliant mode scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft; } myWidth = myWidth + scrOfX; myHeight = myHeight + scrOfY; document.getElementById("s360PopUpFader").style.height=myHeight; document.getElementById("s360PopUpFader").style.width=myWidth; } function toggle360PopUp() { var width = 566 var height = 438 var topSep = 30 var leftPos = Math.round((document.body.clientWidth / 2) - (width/2)); var topPos = Math.round((document.body.clientHeight / 2) - (height/2+topSep)); var scrollPosY = 0 var obj = document.getElementById("s360PopUp"); var objFader = document.getElementById("s360PopUpFader"); set360PopUpFaderDivSize(); if (document.getElementById) { if ( obj.style.display == "none"){ /*if(window.pageYOffset != null){ scrollPosY = window.pageYOffset + topSep; }else if (document.body.scrollTop != null){ scrollPosY = document.body.scrollTop + topSep; }*/ obj.style.top = topPos + "px"; obj.style.left = leftPos + "px"; obj.style.display = ""; objFader.style.display=""; } else { obj.style.display = "none"; objFader.style.display="none"; obj.style.top = 0; obj.style.left = 0; } } } </script> </div> </div> </div> <div id="boxarea"> <div id="auxboxquote"> <h1>your free price quote</h1> <div id="auxboxarea"> <div> <script language="javascript"> function isValidEmail(anEmail){ regEmail = /^[A-Za-z0-9\-_]+(\.[A-Za-z0-9\-_]+)*@([A-Za-z0-9\-_\.]+\.)+[A-Za-z]{2,3}$/i; return regEmail.test(anEmail); } function isValidZipCode(zipCode){ zipPattern = /(^\d{5}$)/ ; return zipPattern.test(zipCode); } function validateQuickQuote(thisForm){ errors = ""; errors += (thisForm.elements.firstname.value.length == 0)?"\nFirst Name is required.":""; errors += (thisForm.elements.lastname.value.length == 0)?"\nLast Name is required.":""; errors += (!isValidEmail(thisForm.elements.homeemail.value))?"\nA valid email address is required.":""; isValidAreaCode = ((!isNaN(thisForm.elements.homephonearea.value)) && thisForm.elements.homephonearea.value.length == 3); isValidPhonePrefix = ((!isNaN(thisForm.elements.homephoneprefix.value)) && thisForm.elements.homephoneprefix.value.length == 3) ; isValidPhoneSuffix = ((!isNaN(thisForm.elements.homephonesuffix.value)) && thisForm.elements.homephonesuffix.value.length == 4); errors += (!isValidAreaCode || !isValidPhonePrefix || !isValidPhoneSuffix)?"\nA valid phone number is required.":""; //errors += (thisForm.elements.CurrHomeZip.value.length == 0)?"\nZip Code is required.":""; errors += (!isValidZipCode(thisForm.elements.CurrHomeZip.value))?"\nA valid zip code is required.":""; errors += (thisForm.elements.vehicleYear.options[thisForm.elements.vehicleYear.selectedIndex].value.length == 0)?"\nVehicle Year is required.":""; errors += (thisForm.elements.vehicleMake.options[thisForm.elements.vehicleMake.selectedIndex].value.length == 0)?"\nVehicle Make is required.":""; errors += (thisForm.elements.vehicleModel.options[thisForm.elements.vehicleModel.selectedIndex].value.length == 0)?"\nVehicle Model is required.":""; if(errors.length){ alert(errors); return false; } else{ return true; } } </script> <form action="/index.cfm?&gaconfirm=4" method="post" name="quickQuoteForm" onsubmit="return validateQuickQuote(this);" style="margin-top:0px; margin-bottom:0px;"> <table align="center" cellpadding="2" cellspacing="0" border="0" width="315"> <tr> <td style="padding:1 0 0 2px;" width="50%" valign="top"> <table cellspacing="2" cellpadding="0" border="0" width="100%" height="0"> <tr> <td> <input class="textbox" type="text" name="firstname" value="First Name" size="15" style="width: 140px;" class="textbox" onfocus="if(this.value == 'First Name') this.value='';"> </td> </tr> <tr> <td> <input class="textbox" type="text" name="lastname" value="Last Name" size="15" style="width: 140px;" class="textbox" value="Last Name"onfocus="if(this.value == 'Last Name') this.value='';"> </td> </tr> <tr> <td> <input class="textbox" type="text" name="homeemail" value="Email Address" size="15" style="width: 140px;" class="textbox" onfocus="if(this.value == 'Email Address') this.value='';"> </td> </tr> <tr> <td> <input class="textbox" type="text" name="CurrHomeZip" value="Zip Code" style="width: 55px;" class="textbox" maxlength="5" onfocus="if(this.value == 'Zip Code') this.value='';"> </td> </tr> <tr> <td style="font-size:9px;"> <textarea name="customerComments" onKeyUp="limitText(this.form.customerComments,this.form.countdown,80,'textareacharcounter');" onKeyDown="limitText(this.form.customerComments,this.form.countdown,80,'textareacharcounter');" onfocus="if(this.value == 'Additional Information') this.value='';" class="textbox" style="width:140px; height:58px; font-size:10px; font-family:arial; overflow:auto;" >Additional Information</textarea><input type="hidden" name="countdown"><br> <span id="textareacharcounter">80</span> Characters Remaining </td> </tr> </table> </td> <td style="padding:1 0 0 2px;" align="right" valign="top" width="50%"> <script language="javascript"> // functions to return constants var vehicleSelectorForm1534495141302 = document.forms["quickQuoteForm"]; function getYearSelector1534495141302(){ return vehicleSelectorForm1534495141302.elements["vehicleYear"]; } function getYearSelectorSelectedValue1534495141302(){ yearSelectorValue = getYearSelector1534495141302().options[getYearSelector1534495141302().options.selectedIndex].value; return yearSelectorValue; } function getMakeSelector1534495141302(){ return vehicleSelectorForm1534495141302.elements["vehicleMake"]; } function getMakeSelectorSelectedValue1534495141302(){ return getMakeSelector1534495141302().options[getMakeSelector1534495141302().selectedIndex].value; } function getModelSelector1534495141302(){ return vehicleSelectorForm1534495141302.elements["vehicleModel"]; } function getModelSelectorSelectedValue1534495141302(){ return getModelSelector1534495141302().options[getModelSelector1534495141302().selectedIndex].value; } function getStyleSelector1534495141302(){ return vehicleSelectorForm1534495141302.elements["style"]; } function getTrimSelector1534495141302(){ return vehicleSelectorForm1534495141302.elements["trim"]; } function getScriptsURL1534495141302(){ var scriptsURL = document.location.protocol + "//www.bmwofroseville.com/com/autofuse/vehicledata"; return scriptsURL; } function getRequestingFranchiseId1534495141302(){ return "2060"; } function newXMLHttpRequest() { var xmlreq = false; if (window.XMLHttpRequest) { xmlreq = new XMLHttpRequest(); } else if (window.ActiveXObject) { try { xmlreq = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e2) { alert("Unable to create a Microsoft.XMLHTTP XMLHttpRequest."); } } return xmlreq; } function getDefaultYearValue1534495141302(){ return ""; } function getDefaultMakeValue1534495141302(){ return "BMW"; } function getDefaultModelValue1534495141302(){ return ""; } function getDefaultStyleValue1534495141302(){ return ""; } function getDefaultTrimValue1534495141302(){ return ""; } function getYearSpan1534495141302(){ return "2010"; } function getFranchiseTypes1534495141302(){ return "BMW"; } /* * Returns a function that waits for the specified XMLHttpRequest to complete, then passes its XML response to the given handler function. * req - The XMLHttpRequest whose state is changing * responseXmlHandler - Function to pass the XML response to */ function getReadyStateHandler(req, responseXmlHandler) { // If the request's status is "complete" (4) , then Check that a "successful" (200)server response was received // and pass the XML payload of the response to the handler function //alert("in handler - request.readystate was: " + req.status); return function () { if (req.readyState == 4) { (req.status == 200)?responseXmlHandler(req.responseXML) : alert("HTTP error: " + req.status); } } } function clearSelect(selectObject){ while (selectObject.options.length) selectObject.options[0] = null; return true; } function disableSelector(aSelector){ aSelector.disabled = true; aSelector.options[0].text = "Loading..."; return; } function enableSelector(aSelector){ aSelector.disabled = false; return; } function fetchAvailableYears1534495141302(requestingFranchiseId){ disableSelector(getYearSelector1534495141302()); var fetchAvailableYearsRequest = newXMLHttpRequest(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler(fetchAvailableYearsRequest, populateYearSelector); var fetchAvailableYearsURL = getScriptsURL1534495141302() + "/getstockyearsxml.cfm?requestingFranchiseID=" + requestingFranchiseId + "&yearSpan=" + getYearSpan1534495141302() + "&franchiseTypes=" + getFranchiseTypes1534495141302(); fetchAvailableYearsRequest.onreadystatechange = handlerFunction; fetchAvailableYearsRequest.open("POST", fetchAvailableYearsURL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableYearsRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableYearsRequest.send(""); } function populateYearSelector(responseXML) { yearSelector = getYearSelector1534495141302(); //clear whatever options may already be in there clearSelect(yearSelector); yearSelector.options[0] = new Option("Select a Year*","",false,false); // populate the selector var selected = false; var years = responseXML.getElementsByTagName("year"); for (var i = 0 ; i < years.length ; i++) { year = years[i].firstChild.nodeValue; if (year == getDefaultYearValue1534495141302()) { selected = true; } else { selected = false; } yearSelector.options[yearSelector.options.length] = new Option(year,year,false,selected); } enableSelector(yearSelector); } function fetchAvailableMakes1534495141302(requestingFranchiseId,yr){ disableSelector(getMakeSelector1534495141302()); var fetchAvailableMakesRequest = newXMLHttpRequest(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler(fetchAvailableMakesRequest, populateMakeSelector1534495141302); var fetchAvailableMakesURL = getScriptsURL1534495141302() + "/getstockmakesxml.cfm?requestingFranchiseID=" + requestingFranchiseId + "&yr=" + yr + "&franchiseTypes=" + getFranchiseTypes1534495141302(); fetchAvailableMakesRequest.onreadystatechange = handlerFunction; fetchAvailableMakesRequest.open("POST", fetchAvailableMakesURL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableMakesRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableMakesRequest.send(""); } function populateMakeSelector1534495141302(responseXML) { makeSelector = getMakeSelector1534495141302(); selectedMake = '' ; //get the make thats currently selected //selectedMake = makeSelector.options[makeSelector.selectedIndex].value; //clear whatever options may already be in there clearSelect(makeSelector); makeSelector.options[0] = new Option("Select a Make*","",false,false); var selected = false; var makes = responseXML.getElementsByTagName("make"); for (var i = 0 ; i < makes.length ; i++) { make = makes[i].firstChild.nodeValue; if (make == getDefaultMakeValue1534495141302()) { selected = true; } else { selected = false; } makeSelector.options[makeSelector.options.length] = new Option(make,make,false,selected); } enableSelector(makeSelector); } function fetchAvailableModels1534495141302(requestingFranchiseId,yr,make){ disableSelector(getModelSelector1534495141302()); var fetchAvailableModelsRequest = newXMLHttpRequest(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler(fetchAvailableModelsRequest, populateModelSelector1534495141302); var fetchAvailableModelsURL = getScriptsURL1534495141302() + "/getstockmodelsxml.cfm?requestingFranchiseID=" + requestingFranchiseId + "&yr=" + yr + "&make=" + make + "&franchiseTypes=" + getFranchiseTypes1534495141302(); fetchAvailableModelsRequest.onreadystatechange = handlerFunction; fetchAvailableModelsRequest.open("POST", fetchAvailableModelsURL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableModelsRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableModelsRequest.send(""); } function populateModelSelector1534495141302(responseXML) { modelSelector = getModelSelector1534495141302(); //clear whatever options may already be in there clearSelect(modelSelector); modelSelector.options[0] = new Option("Select a Model*","",false,false); var selected = false; var models = responseXML.getElementsByTagName("model"); for (var i = 0 ; i < models.length ; i++) { model = models[i].firstChild.nodeValue; if (model == getDefaultModelValue1534495141302()) { selected = true; } else { selected = false; } modelSelector.options[modelSelector.options.length] = new Option(model,model,false,selected); } enableSelector(modelSelector); } function fetchAvailableStyles1534495141302(requestingFranchiseId,yr,make,model){ disableSelector(getStyleSelector1534495141302()); var fetchAvailableStylesRequest = newXMLHttpRequest(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler(fetchAvailableStylesRequest, populateStyleSelector1534495141302); var fetchAvailableStylesURL = getScriptsURL1534495141302() + "/getstockstylesxmlDEV.cfm?requestingFranchiseID=" + requestingFranchiseId + "&yr=" + yr + "&make=" + make + "&model=" + model + "&franchiseTypes=" + getFranchiseTypes1534495141302(); fetchAvailableStylesRequest.onreadystatechange = handlerFunction; fetchAvailableStylesRequest.open("POST", fetchAvailableStylesURL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableStylesRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableStylesRequest.send(""); } function populateStyleSelector1534495141302(responseXML) { styleSelector = getStyleSelector1534495141302(); //clear whatever options may already be in there clearSelect(styleSelector); styleSelector.options[0] = new Option("Select a Style*","",false,false); var selected = false; var vehicles = responseXML.getElementsByTagName("vehicle"); for (var i = 0 ; i < vehicles.length ; i++) { styleIdNode = vehicles[i].firstChild.firstChild; styleNameNode = vehicles[i].firstChild.nextSibling ; styleId = styleIdNode.nodeValue; styleName = styleNameNode.firstChild.nodeValue; if (styleName == getDefaultStyleValue1534495141302()) { selected = true; } else { selected = false; } styleSelector.options[styleSelector.options.length] = new Option(styleName,styleId,false,selected); } /**/ enableSelector(styleSelector); } function fetchAvailableTrims1534495141302(requestingFranchiseId,yr,make,model){ disableSelector(getTrimSelector1534495141302()); var fetchAvailableTrimsRequest = newXMLHttpRequest(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler(fetchAvailableTrimsRequest, populateTrimSelector1534495141302); var fetchAvailableTrimsURL = getScriptsURL1534495141302() + "/getstocktrimsxml.cfm?requestingFranchiseID=" + requestingFranchiseId + "&yr=" + yr + "&make=" + make + "&model=" + model + "&franchiseTypes=" + getFranchiseTypes1534495141302(); fetchAvailableTrimsRequest.onreadystatechange = handlerFunction; fetchAvailableTrimsRequest.open("POST", fetchAvailableTrimsURL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableTrimsRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableTrimsRequest.send(""); } function populateTrimSelector1534495141302(responseXML) { trimSelector = getTrimSelector1534495141302(); //clear whatever options may already be in there clearSelect(trimSelector); trimSelector.options[0] = new Option("Select a Trim","",false,false); var selected = false; var trims = responseXML.getElementsByTagName("trim"); for (var i = 0 ; i < trims.length ; i++) { trim = trims[i].firstChild.nodeValue; if (trim == getDefaultTrimValue1534495141302()) { selected = true; } else { selected = false; } trimSelector.options[trimSelector.options.length] = new Option(trim,trim,false,selected); } enableSelector(trimSelector); } function resetTrimSelector1534495141302(){ } function resetStyleSelector1534495141302(){ } // default populate menus function buildMenus1534495141302(){ //This code is required to bypass ie6. bug "operations aborted" //You have to wait until onload in order to do document.body.appendChild which is a bug in Internet Explorer's implementation. //if (window.addEventListener) window.addEventListener("load",buildMenus1534495141302,false); //else if (window.attachEvent) window.attachEvent("onload",buildMenus1534495141302); //start creating menus requestingFranchiseId = getRequestingFranchiseId1534495141302(); defaultYear = (getDefaultYearValue1534495141302().length)?getDefaultYearValue1534495141302():getYearSpan1534495141302(); fetchAvailableYears1534495141302(requestingFranchiseId); fetchAvailableMakes1534495141302(requestingFranchiseId,defaultYear); fetchAvailableModels1534495141302(requestingFranchiseId,defaultYear,getDefaultMakeValue1534495141302()); } function changeYearEvent1534495141302(yearSelector){ thisForm = yearSelector.form; selectedYear = getYearSelectorSelectedValue1534495141302(); requestingFranchiseId = getRequestingFranchiseId1534495141302(); fetchAvailableMakes1534495141302(requestingFranchiseId,selectedYear); // setting the make to the default if(makeSelector.options[makeSelector.selectedIndex].value == '') { selectedMake = getDefaultMakeValue1534495141302(); } else { selectedMake = makeSelector.options[makeSelector.selectedIndex].value; } fetchAvailableModels1534495141302(requestingFranchiseId,selectedYear,selectedMake); resetStyleSelector1534495141302(); resetTrimSelector1534495141302(); } function changeMakeEvent1534495141302(makeSelector){ thisForm = makeSelector.form; selectedYear = getYearSelectorSelectedValue1534495141302(); selectedMake = makeSelector.options[makeSelector.selectedIndex].value; requestingFranchiseId = getRequestingFranchiseId1534495141302(); fetchAvailableModels1534495141302(requestingFranchiseId,selectedYear,selectedMake); resetStyleSelector1534495141302(); resetTrimSelector1534495141302(); } function changeModelEvent1534495141302(modelSelector){ thisForm = modelSelector.form; selectedYear = getYearSelectorSelectedValue1534495141302(); selectedMake = getMakeSelectorSelectedValue1534495141302(); selectedModel = modelSelector.options[modelSelector.selectedIndex].value; requestingFranchiseId = getRequestingFranchiseId1534495141302(); } </script> <table border="0" cellpadding="0" cellspacing="2" width="100%" height="0"> <tr> <td class="textbox" align="left" width="50%"> <select name="vehicleYear" onchange="changeYearEvent1534495141302(this);" class="textbox" style="width:99%"><option value="">Select a Year*</option></select> </td> </tr><tr> <td class="textbox" align="left" width="50%"> <select name="vehicleMake" onchange="changeMakeEvent1534495141302(this);" class="textbox" style="width:99%"><option value="">Select a Make*</option> <option value="BMW">BMW</option> </select> </td> </tr><tr> <td class="textbox" align="left" width="50%"> <select name="vehicleModel" onchange="changeModelEvent1534495141302(this);" class="textbox" style="width:99%"><option value="">Select a Model*</option> <option value="1 Series">1 Series</option> <option value="3 Series">3 Series</option> <option value="5 Series">5 Series</option> <option value="6 Series">6 Series</option> <option value="7 Series">7 Series</option> <option value="M3">M3</option> <option value="M5">M5</option> <option value="M6">M6</option> <option value="X3">X3</option> <option value="X5">X5</option> <option value="X5 M">X5 M</option> <option value="X6">X6</option> <option value="X6 ActiveHybrid">X6 ActiveHybrid</option> <option value="X6 M">X6 M</option> <option value="Z4">Z4</option> </select> </td> <input type="hidden" name="trim" value="" /> </tr> </table> <script language="javascript"> if(document.location.protocol == "https:"){ setTimeout(function(){buildMenus1534495141302(); }, 5000); } else{ buildMenus1534495141302(); } // </script> <div height="0" style="font-size:10px; padding-right:7px;"> Phone: <input type="text" class="textbox" name="homephonearea" value="" maxlength="3" style="width:25px; font-size:10px; font-family:arial;" onkeyup="if(this.value.length == 3){this.form.elements['homephoneprefix'].focus();}"/> - <input type="text" class="textbox" name="homephoneprefix" value="" maxlength="3" style="width:25px; font-size:10px; font-family:arial;" onkeyup="if(this.value.length == 3){this.form.elements['homephonesuffix'].focus();}"/> - <input type="text" class="textbox" name="homephonesuffix" value="" maxlength="4" style="width:30px; font-size:10px; font-family:arial;"/> </div> <input type="hidden" name="quickQuoteProcess" value="" /> <br> <div style="padding:0 5px 0 0; _padding:0 5px 0 0; margin: -8px 0px 0 0; _margin: -12px 0px 0 0;"><input type="image" src="/Templates/website/autonation_family/images//nonbranded_submit_button.gif" onClick="s_objectID='home_quotebutton';" border="0"></div> </td> </tr> </table> </form> </div> </div> </div> <div id="auxbox"> <h1>inventory search</h1> <div id="auxboxarea" style="margin:0px 0 0 3px;"> <form action="index.cfm?action=inventorysearch&subaction=searchlistnew" method="post" name="makemodelform" > <script language="javascript"> // functions to return constants var vehicleSelectorForm15345264411229 = document.forms["makemodelform"]; function getCertifiedCheckbox15345264411229(){ return vehicleSelectorForm15345264411229.elements["certified"]; } function getMakeSelector15345264411229(){ return vehicleSelectorForm15345264411229.elements["make"]; } function getModelSelector15345264411229(){ return vehicleSelectorForm15345264411229.elements["model"]; } function getScriptsURL15345264411229(){ var scriptsURL = document.location.protocol + "//www.bmwofroseville.com/com/autofuse/inventory"; return scriptsURL; } function getVehicleType15345264411229(){ var vehicleType = "Used,CPO,New" vehicleType = getRadioValue15345264411229(vehicleSelectorForm15345264411229.elements['inventorytype']); return vehicleType; } function getRequestingFranchiseId15345264411229(){ return "2060"; } function getRadioValue15345264411229(aRadio){ radioValue = ""; if(aRadio.length > 0){ for(i=0; i<aRadio.length; i++){ radioValue = (aRadio[i].checked)?aRadio[i].value:radioValue; } } else{ radioValue = (aRadio.checked)?aRadio.value:radioValue; } return radioValue; } function newXMLHttpRequest15345264411229() { var xmlreq = false; if (window.XMLHttpRequest) { xmlreq = new XMLHttpRequest(); } else if (window.ActiveXObject) { try { xmlreq = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e2) { alert("Unable to create a Microsoft.XMLHTTP XMLHttpRequest."); } } return xmlreq; } function getMakeSelectedValue15345264411229(){ return "BMW"; } function getModelSelectedValue15345264411229(){ return ""; } /* * Returns a function that waits for the specified XMLHttpRequest to complete, then passes its XML response to the given handler function. * req - The XMLHttpRequest whose state is changing * responseXmlHandler - Function to pass the XML response to */ function getReadyStateHandler15345264411229(req, responseXmlHandler) { // If the request's status is "complete" (4) , then Check that a "successful" (200)server response was received // and pass the XML payload of the response to the handler function //alert("in handler - request.readystate was: " + req.status); return function () { if (req.readyState == 4) { (req.status == 200)?responseXmlHandler(req.responseXML) : alert("HTTP error: " + req.status); } } } function clearSelect(selectObject){ while (selectObject.options.length) selectObject.options[0] = null; return true; } function disableSelector(aSelector){ aSelector.disabled = true; aSelector.options[0].text = "Loading..."; return; } function enableSelector(aSelector){ aSelector.disabled = false; return; } function fetchAvailableMakes15345264411229(requestingFranchiseId,vehicleType){ disableSelector(getMakeSelector15345264411229()); var fetchAvailableMakes15345264411229Request = newXMLHttpRequest15345264411229(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler15345264411229(fetchAvailableMakes15345264411229Request, populateMakeSelector15345264411229); var fetchAvailableMakes15345264411229URL = getScriptsURL15345264411229() + "/getinstockmakesxml.cfm?&zipCode=95661&radius=&rooftopId=&city=&state=&requestingFranchiseID=" + requestingFranchiseId + "&vehicleType=" + vehicleType; fetchAvailableMakes15345264411229Request.onreadystatechange = handlerFunction; fetchAvailableMakes15345264411229Request.open("POST", fetchAvailableMakes15345264411229URL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableMakes15345264411229Request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableMakes15345264411229Request.send(""); } function fetchAvailableCertifiedMakes15345264411229(requestingFranchiseId,vehicleType,certified){ disableSelector(getMakeSelector15345264411229()); var fetchAvailableMakes15345264411229Request = newXMLHttpRequest15345264411229(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler15345264411229(fetchAvailableMakes15345264411229Request, populateMakeSelector15345264411229); var fetchAvailableMakes15345264411229URL = getScriptsURL15345264411229() + "/getinstockmakesxml.cfm?&zipCode=95661&radius=&rooftopId=&city=&state=&requestingFranchiseID=" + requestingFranchiseId + "&vehicleType=" + vehicleType + "&certified=" + certified; fetchAvailableMakes15345264411229Request.onreadystatechange = handlerFunction; fetchAvailableMakes15345264411229Request.open("POST", fetchAvailableMakes15345264411229URL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableMakes15345264411229Request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableMakes15345264411229Request.send(""); } function populateMakeSelector15345264411229(responseXML) { makeSelector = getMakeSelector15345264411229(); selectedMake = '' ; //get the make thats currently selected //selectedMake = makeSelector.options[makeSelector.selectedIndex].value; //clear whatever options may already be in there clearSelect(makeSelector); makeSelector.options[0] = new Option("All Makes","",false,false); var selected = false; var makes = responseXML.getElementsByTagName("make"); for (var i = 0 ; i < makes.length ; i++) { if(makes[i].firstChild !== null){ make = makes[i].firstChild.nodeValue; if ((getVehicleType15345264411229().toLowerCase() == "new" || getVehicleType15345264411229().toLowerCase() == "cpo") && make == getMakeSelectedValue15345264411229()) { selected = true; } else { selected = false; } makeSelector.options[makeSelector.options.length] = new Option(make,make,false,selected); } } enableSelector(makeSelector); } function fetchAvailableModels15345264411229(requestingFranchiseId,vehicleType,make){ disableSelector(getModelSelector15345264411229()); var fetchAvailableModels15345264411229Request = newXMLHttpRequest15345264411229(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler15345264411229(fetchAvailableModels15345264411229Request, populateModelSelector15345264411229); var fetchAvailableModels15345264411229URL = getScriptsURL15345264411229() + "/getinstockmodelsxml.cfm?&zipCode=95661&radius=&rooftopId=&city=&state=&requestingFranchiseID=" + requestingFranchiseId + "&vehicleType=" + vehicleType + "&make=" + make; //document.write(fetchAvailableModels15345264411229URL); fetchAvailableModels15345264411229Request.onreadystatechange = handlerFunction; fetchAvailableModels15345264411229Request.open("POST", fetchAvailableModels15345264411229URL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableModels15345264411229Request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableModels15345264411229Request.send(""); } function fetchAvailableCertifiedModels15345264411229(requestingFranchiseId,vehicleType,make,certified){ disableSelector(getModelSelector15345264411229()); var fetchAvailableModels15345264411229Request = newXMLHttpRequest15345264411229(); // Set the handler function to receive callback notifications from the request object var handlerFunction = getReadyStateHandler15345264411229(fetchAvailableModels15345264411229Request, populateModelSelector15345264411229); var fetchAvailableModels15345264411229URL = getScriptsURL15345264411229() + "/getinstockmodelsxml.cfm?&zipCode=95661&radius=&rooftopId=&city=&state=&requestingFranchiseID=" + requestingFranchiseId + "&vehicleType=" + vehicleType + "&make=" + make + "&certified=" + certified; //document.write(fetchAvailableModels15345264411229URL); fetchAvailableModels15345264411229Request.onreadystatechange = handlerFunction; fetchAvailableModels15345264411229Request.open("POST", fetchAvailableModels15345264411229URL, true); // Open an HTTP POST connection. Third parameter specifies request is asynchronous. fetchAvailableModels15345264411229Request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify that the body of the request contains form data fetchAvailableModels15345264411229Request.send(""); } function populateModelSelector15345264411229(responseXML) { modelSelector = getModelSelector15345264411229(); //clear whatever options may already be in there clearSelect(modelSelector); modelSelector.options[0] = new Option("All Models","",false,false); var selected = false; var models = responseXML.getElementsByTagName("model"); for (var i = 0 ; i < models.length ; i++) { if(models[i].firstChild !== null){ model = models[i].firstChild.nodeValue; if (model == getModelSelectedValue15345264411229()) { selected = true; } else { selected = false; } modelSelector.options[modelSelector.options.length] = new Option(model,model.replace("&","%26"),false,selected); } } enableSelector(modelSelector); } function changeMakeEvent15345264411229(makeSelector){ thisForm = makeSelector.form; selectedMake = makeSelector.options[makeSelector.selectedIndex].value; selectedVehicleType = getVehicleType15345264411229(); requestingFranchiseId = getRequestingFranchiseId15345264411229(); fetchAvailableModels15345264411229(requestingFranchiseId,selectedVehicleType,selectedMake); //fetchAvailableModels15345264411229(requestingFranchiseId,selectedVehicleType,selectedMake); } function buildMenus15345264411229(){ // This code is required to bypass ie6. bug "operations aborted" // You have to wait until onload in order to do document.body.appendChild which is a bug in Internet Explorer's implementation. if (window.addEventListener) window.addEventListener("load",buildMenus15345264411229,false); else if (window.attachEvent) window.attachEvent("onload",buildMenus15345264411229); //start creating menus var requestingFranchiseId = getRequestingFranchiseId15345264411229(); var vehicleType = getVehicleType15345264411229(); fetchAvailableMakes15345264411229(requestingFranchiseId,vehicleType); fetchAvailableModels15345264411229(requestingFranchiseId,vehicleType,getMakeSelectedValue15345264411229()); } </script> <table cellpadding="0" cellspacing="0" width=""> <tr> <td align="right" ><div class="homesearchlabels"><strong>Type:</strong></div></td> <td nowrap="nowrap" > <input type="radio" name="inventorytype" value="Used" Checked onclick="buildMenus15345264411229();"/> <div class="homesearchlabels" style="display:inline;"> Used </div> <input type="radio" name="inventorytype" value="CPO" onclick="buildMenus15345264411229();"/> <div class="homesearchlabels" style="display:inline;"> CPO <a href="javascript:void(0);" title="Certified Pre-Owned vehicles have passed a rigorous inspection and are backed by a manufacturer warranty."><img src="/templates/website/autonation_family/images/info_icon_grey.gif" border="0"></a> </div> <input type="radio" name="inventorytype" value="New" onclick="buildMenus15345264411229();"/> <div class="homesearchlabels" style="display:inline;"> New </div> </td> </tr> <tr> <td align="right" > <div class="homesearchlabels"><strong>Make:</strong></div> </td> <td > <select style="width:95%;" name="make" onchange="changeMakeEvent15345264411229(this);" class="homesearchfields"> <option value="">All Makes</option> <option value="BMW">BMW</option> </select> </td> </tr> <tr> <td align="right" > <div class="homesearchlabels"><strong>Model:</strong></div> </td> <td > <select style="width:95%;" name="model" class="homesearchfields"> <option value="">All Models</option> <option value="1 Series">1 Series</option> <option value="3 Series">3 Series</option> <option value="5 Series">5 Series</option> <option value="6 Series">6 Series</option> <option value="7 Series">7 Series</option> <option value="M3">M3</option> <option value="M5">M5</option> <option value="M6">M6</option> <option value="X3">X3</option> <option value="X5">X5</option> <option value="X5 M">X5 M</option> <option value="X6">X6</option> <option value="X6 ActiveHybrid">X6 ActiveHybrid</option> <option value="X6 M">X6 M</option> <option value="Z4">Z4</option> </select> </td> </tr> </table> <script language="javascript"> if(document.location.protocol == "https:"){ setTimeout(function(){buildMenus15345264411229(); }, 5000); } else{ buildMenus15345264411229(); } </script> <div id="homesearchnow" style="margin:0 0 0 77px"><a href="#"><img src="/Templates/website/autonation_family/images//nonbranded_search_button.gif" alt="search now" border="0" onClick="JavaScript:submitSearch(document.makemodelform)"></a></div> <input type="hidden" name="sendinfo" value="Submit" /> <input type="hidden" name="searchtype" value="ymm" /> <input type="hidden" name="radius" value="200" /> </form> </div> </div> <div id="auxbox"> <h1>car buying tools</h1> <div id="auxboxarea"> <center style="padding:0 0 7px 0;"> <a href="/index.cfm?action=tradein&subaction=tradeinform"><img src="/Templates/website/autonation_family/images//buyingtools_pic.jpg" width="196" border="0"></a> </center> <div id="links"> <a href="/index.cfm?action=tradein">Get Your KBB Value</a><br> <a href="https://securesite.adpwebmarketingan.com/index.cfm?action=finance&subaction=financeform&franchiseId=2060">Express Credit</a><br> <a href="/index.cfm?action=specials&subaction=specialscoupons&special=new&franchiseid=2060">New Car Specials</a><br> <a href="/index.cfm?action=specials&subaction=specialscoupons&special=used&franchiseid=2060">Used Car Specials</a><br> </div> </div> </div> <div id="auxbox"> <h1>parts & service</h1> <div id="auxboxarea"> <center style="padding:0 0 7px 0;"><img src="/Templates/website/autonation_family/images//partsservicecollision_pic.jpg" width="196"></center> <div id="links"> <a href="/index.cfm?action=service&subaction=serviceformexternal&franchiseid=2060">Service Appointment</a><br> <a href="/index.cfm?action=specials&subaction=specialscoupons&special=service&franchiseID=2060">Service Specials</a><br> <a href="/index.cfm?action=service&subaction=serviceabout&type=service">Why Service With Us</a><br> <a href="/index.cfm?action=specials&subaction=specialscoupons&special=parts&franchiseID=2060">Parts Specials</a><br> </div> </div> </div> </div> <div id="footer"> <table bgcolor="white" cellpadding="5" cellspacing="0" width="990"> <tr> <td> <div id="superlongcontentbox"> <div class="aboutussuperlongheader" style="margin: 0;padding: 12px 0 0 0;font-size: 14px;text-transform: uppercase;color: white;"><b>About Us</b></div> </div> </td> </tr> <tr> <td style="padding:15px"> <h1 style='COLOR: #000000';>Roseville BMW of Roseville California </h1> <p>Roseville BMW is a Roseville BMW Dealer, specializing in new BMW vehicle sales and service for the greater Sacramento California area. Roseville BMW has served buyers and owners in surrounding communities including Roseville, Davis, Granite Bay, Fair Oaks and Rancho Cordova.</p> <p>As a leader in BMW sales and service for the Sacramento California metropolitan area, Roseville BMW has access to one of the largest BMW vehicle inventories including both new and used cars, trucks, vans and SUVs. At Roseville BMW, our dedicated BMW sales representatives will help you in researching your next automobile purchase.</p> <p>At Roseville BMW, it is our top priority to provide our customers and patrons with:</p> <ul> <li>Competative pricing on all BMW and preowned vehicles</li> <li>A friendly and knowledgeable staff familiar with the full line of BMW vehicles</li> <li>Convenient services and amenities</li> <li>The highest level of customer service</li> </ul> <h1 style='COLOR: #000000';>Sacramento BMW Vehicles</h1> <p>Roseville BMW has a large inventory of BMW vehicles, including the BMW 1 Series, 3 Series Convertible, 3 Series Coupe, 3 Series Sedan, 3 Series Wagon, 5 Series Sedan, 5 Series Wagon, 6 Series Convertible, 6 Series Coupe, 7 Series Sedan, M3 Convertible, M3 Coupe, M5 Sedan, M6, X3, X5, Z4 M Coupe or Z4 Roadster and other used cars, trucks and SUVs. </p> <h1 style='COLOR: #000000';>BMW Service in Sacramento California</h1> <p> Roseville BMW provides BMW OEM factory service and warranty services for Roseville, Davis, Granite Bay, Fair Oaks, Rancho Cordova and surrounding communities in the Sacramento area.</p> <h1 style='COLOR: #000000';>BMW Factory and OEM Service in Roseville California</h1> <p><ul> <li>BMW Tune Ups</li> <li>BMW Transmission Repair & Service</li> <li>BMW Brake System Services & Repair</li> <li>BMW Engine Repair and Maintenance</li> </ul></P> <h1 style='COLOR: #000000';>BMW OEM Parts & Accessories</h1> <p>Roseville BMW also sells BMW parts and BMW accessories for BMW cars, BMW trucks and BMW SUVs to those in Roseville, Davis, Granite Bay, Fair Oaks, Rancho Cordova and surrounding communities of the Sacramento area.</p> <p><ul> <li>BMW Performance Parts and Accessories</li> <li>BMW Car Stereos and Audio Upgrades</li> <li>BMW Replacement and Performance Tires, Wheels and Brakes</li> <li>BMW Interior Accessories</li> </ul></P> <h1 style='COLOR: #000000';>Roseville BMW -- Location & Driections</h1> <p>From everyone here at Roseville BMW, thanks for visiting and we hope to see you soon!</p> <blockquote> <p>Roseville BMW<br> 110 Automall Drive<br> Roseville, California 95661</p> </blockquote> <p>Find us on: <a href='http://maps.google.com/maps?f=q&hl=en&q=110 Automall Drive+Roseville California 95661' target='_blank'>Google Maps</a> | <a href='http://maps.yahoo.com/dd?taddr=110 Automall Drive&tcsz=Roseville%2C+CA+95661&tcountry=us' target='_blank'>Yahoo! Local</a> | <a href='http://www.mapquest.com/maps/110 Automall Drive+Roseville+CA+95661'target='_blank'>Mapquest</a></p> </td> </tr> </table> <br> <div class="links"><a href="javascript:MM_openBrWindow('http://www.bmwofroseville.com/index.cfm?action=contact&subaction=privacy&window=true','','scrollbars=yes,resizable=yes','660','500')">Privacy Policy</a> <a href="http://corp.autonation.com/investors/">Investor Relations</a><a href="http://www.autonation.com">AutoNation.com</a><a href="/index.cfm?action=inventorysearch">Find Your Vehicle</a><a href="/index.cfm?action=research">Research Center</a><a href="/index.cfm?action=finance">Finance & Insurance</a><a href="/index.cfm?action=service">Service & Parts</a><a href="/index.cfm?action=specials">Specials</a><a href="/index.cfm?action=contact">Find A Dealer</a> <br /> <br /> <strong>AutoNation ©2010</strong>&nbsp;&nbsp;&nbsp; <a href="http://www.truste.org/ivalidate.php?url=www.autonation.com&sealid=101" target="_blank"><img src="/Templates/website/autonation_family/images//icon_trust.gif" width="88" height="23" border="0" alt="trust-e" align="absmiddle" /></a> &nbsp;&nbsp; <strong>Site by ADP</strong></div> </div> </div> </center> <script type="text/JavaScript" src="/Templates/website/autonation-branded/sitecatalyst/s_code.js"></script> <script language="JavaScript"> <!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="home"; s.server=""; s.channel=""; s.pageType=""; s.prop1=""; s.prop2=""; s.prop3=""; s.prop4=""; s.prop5=""; s.prop6=""; s.prop7=""; /* E-commerce Variables */ s.events=""; s.products=""; s.purchaseID=""; s.eVar1=""; s.eVar2=""; s.eVar3=""; s.eVar4=""; s.eVar5=""; /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t(); if(s_code) document.write(s_code) //--> </script> <!-- Google Code --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-9412889-17"); pageTracker._trackPageview(); var globalTracker = _gat._getTracker("UA-9412889-23"); globalTracker._setDomainName("none"); globalTracker._trackPageview(); } catch(err) {}</script> <!-- End Google Code --> </body> </html>