// JavaScript Document var xmlhttp=false; try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } if (!xmlhttp && typeof XMLHttpRequest!='undefined') { xmlhttp = new XMLHttpRequest();} function GetSeries(Style) { var cate = document.searchform.Category.value; if (cate == 1){ var GetMake = document.searchform.make.value; var GetModel = document.searchform.model.value; var GetStyle = Style; var GetPage = 'http://www.discountusedcars.com.au/modules/mod_FetchSeriesForSearch.cfm'; var Current = GetPage + "?" + "GetMake=" + GetMake + "&" + "GetModel=" + GetModel + "&" + "GetStyle=" + GetStyle; xmlhttp.open("POST", Current, true); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==1) {document.getElementById('ShowSeries').innerHTML = 'Loading..';} if (xmlhttp.readyState==4) {document.getElementById('ShowSeries').innerHTML = xmlhttp.responseText;} } xmlhttp.send('') } }