gotoscript - function ChangeMake() cfw_

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
function ChangeMake() { mmChangeMakeEx(document.getElementById('findacar'), (document.getElementById('findacar').mmType[0].checked ? 'true' : 'false'), 'Choose a model', true); with (document.getElementById('findacar')) { if (mmMakes.options[mmMakes.selectedIndex].value != 0) { addElementAtPos(mmModels, 1, '(All Models)', '-1'); } } } function ChangeNewUsed(v) { var f = document.getElementById('findacar'); mmInitializeEx(f, f.mmMakes.options[f.mmMakes.selectedIndex].text, f.mmModels.options[f.mmModels.selectedIndex].text, 'Choose a make', 'Choose a model', v, true); } function GotoVIP(oForm, sGLinkTemplate, bDebug) { var sMake = oForm.mmMakes.options[oForm.mmMakes.selectedIndex].value; var sModel = oForm.mmModels.options[oForm.mmModels.selectedIndex].value; var sNew = oForm.mmType[0].checked ? 'true' : 'false'; var sLink = ''; if (!CheckNames(oForm, sMake, sModel)) return; if (sModel == '-1') { sLink = "http://" + window.location.hostname + '/browse/' + LNMakeSafeName(sMake) + '.aspx?ICID=FAC';
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

gotoscript - function ChangeMake() cfw_

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online