var DBSelectLink = {

 /******************************************************************************
 ID_01 - Main Select ID
 ID_02 - Secondary Select Container ID
 Default_Value - Secondary Select Default Value
 Loading_Text - Text For Loading
 CSS_Class - Secondary Select CSS Class
 DB_Table - Secondary Select DB Table
 DB_Field - Secondary Select DB Field Compared With The Value Of First Select
 Order_By - DB Field For Sorting Secondary Select Values
 Order - Order Direction: ASC or DESC
 Option_Value - Field That Will Populate The Value Options In Secondary Select
 Option_Label - Field That Will Populate The Label Options In Secondary Select
 Car_Type - Type Of The Vehicle
 Car_Subtype - SubType Of The Vehicle
 ******************************************************************************/

 Populate: function(ID_01, ID_02, Default_Value, Loading_Text, CSS_Class, DB_Table, DB_Field, Order_By, Order, Option_Value, Option_Label, Option_Page, Car_Type, Car_Subtype)
 {
  var Item_ID = document.getElementById(ID_01).value;

  var Url="./AjaxPhp/DBSelectLink.Ajp.Php?ID_01="+Item_ID+"&ID_02="+ID_02+"&CSS_Class="+CSS_Class+"&DB_Table="+DB_Table+"&DB_Field="+DB_Field+"&Order_By="+Order_By+"&Order="+Order+"&Option_Value="+Option_Value+"&Option_Label="+Option_Label+"&Default_Value="+Default_Value+"&Option_Page="+Option_Page+"&Car_Type="+Car_Type+"&Car_Subtype="+Car_Subtype;
  Url = Url + "&RandomID=" + Math.random();

  XMLHttp = MakeXMLHttp.Create();

  XMLHttp.onreadystatechange = function(){

   if (XMLHttp.readyState == 4)
   {
    if(document.getElementById(ID_02))
    {
     document.getElementById(ID_02).innerHTML = XMLHttp.responseText;
    }

    if(document.getElementById("FixModel"))
    {
     document.getElementById("FixModel").innerHTML = "";
    }
   }
   else
   {
    if(document.getElementById(ID_02))
    {
     document.getElementById(ID_02).innerHTML = unescape(Loading_Text);
    }
   }                                     }

  XMLHttp.open("GET", Url, true);
  XMLHttp.setRequestHeader( 'If-Modified-Since', 'Thu, 06 Apr 2006 00:00:00 GMT' );
  XMLHttp.send(null);
 }

                   };
