function Ducati()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
		
			this.models[0] = "Monster 620 i.e.";	//03-06
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(103, 106);
				
			this.models[1] = "Monster 800s i.e.";	//03-06
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(103, 106);
			
			
			this.models[2] = "Monster 900";	//95-99
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(95, 99);
			
			this.models[3] = "Monster 900";	//00-02
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(100, 102);
			
			this.models[4] = "Monster 1000s i.e.";	//03-06
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(103, 106);
			
			this.models[5] = "620 Sport";	//03-06
			
				this.years[5] = new Array();
				this.years[5] = initialize_years(103, 106);
			
			this.models[6] = "750 Sport";	//2001
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(101, 101);
			
			this.models[7] = "750SS i.e.";	//99-02
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(99, 102);
			
			this.models[8] = "800 Sport";	//03-06
			
				this.years[8] = new Array();
				this.years[8] = initialize_years(103, 106);
			
			this.models[9] = "800 SS";	//03-06
			
				this.years[9] = new Array();
				this.years[9] = initialize_years(103, 106);
			
			this.models[10] = "900SS";	//1998
			
				this.years[10] = new Array();
				this.years[10] = initialize_years(98, 98);
			
			this.models[11] = "900SS/i.e.";	//99-01
			
				this.years[11] = new Array();
				this.years[11] = initialize_years(99, 101);
			
			this.models[12] = "MH900e";	//02-04
			
				this.years[12] = new Array();
				this.years[12] = initialize_years(102, 104);
			
			this.models[13] = "1000SS DS";	//03-06
			
				this.years[13] = new Array();
				this.years[13] = initialize_years(103, 106);
			
			this.models[14] = "S4";	//01-04
			
				this.years[14] = new Array();
				this.years[14] = initialize_years(101, 104);
			
			this.models[15] = "ST2";	//98-03
			
				this.years[15] = new Array();
				this.years[15] = initialize_years(98, 103);
			
			this.models[16] = "ST3";	//04-06
			
				this.years[16] = new Array();
				this.years[16] = initialize_years(104, 106);
			
			this.models[17] = "ST4/s";	//99-06
			
				this.years[17] = new Array();
				this.years[17] = initialize_years(99, 106);
			
			this.models[18] = "748";	//97-98
			
				this.years[18] = new Array();
				this.years[18] = initialize_years(97, 98);
			
			this.models[19] = "916";	//1998
			
				this.years[19] = new Array();
				this.years[19] = initialize_years(98, 98);
			
			this.models[20] = "916";	//95-97
			
				this.years[20] = new Array();
				this.years[20] = initialize_years(95, 97);
			
			this.models[21] = "748/996/998";	//99-02
			
				this.years[21] = new Array();
				this.years[21] = initialize_years(99, 102);
			
			this.models[22] = "749/R/S/999/R/S";	//03-06
			
				this.years[22] = new Array();
				this.years[22] = initialize_years(103, 106);
			
			this.models[23] = "848/1098/S/1198";	//ALL
			
				this.years[23] = new Array();
				this.years[23] = initialize_years("ALL", "ALL");
			
			this.models[24] = "F1";	//
			
				this.years[24] = new Array();
				this.years[24] = initialize_years("ALL", "ALL");
			
			this.models[25] = "HYPERMOTARD";	//
			
				this.years[25] = new Array();
				this.years[25] = initialize_years("ALL", "ALL");

	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Honda()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "CBR600F";			//87-89
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(87, 89);
		
			this.models[1] = "CBR600F2/F3/F4/F4I";	//90-06
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(90, 106);
			
			this.models[2] = "CBR600RR";		//03-09
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(103, 109);
				
			this.models[3] = "NT650";			//88-91 
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(88, 91);			
			
			this.models[4] = "VFR750F";			//90-97

				this.years[4] = new Array();
				this.years[4] = initialize_years(90, 97);

			this.models[5] = "VFR800FI";		//98-07
			
				this.years[5] = new Array();
				this.years[5] = initialize_years(98, 107);
			
			this.models[6] = "CBR900RR";		//93-99
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(93, 99);
			
			this.models[7] = "CB919";		//02-07
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(102, 107);
			
			this.models[8] = "CBR929RR";		//00-01
			
				this.years[8] = new Array();
				this.years[8] = initialize_years(100, 101);
			
			this.models[9] = "CBR954RR";		//02-03
			
				this.years[9] = new Array();
				this.years[9] = initialize_years(102, 103);
			
			this.models[10] = "CBR1000RR";		//04-09
			
				this.years[10] = new Array();
				this.years[10] = initialize_years(104, 109);
			
			this.models[11] = "VTR1000F";		//98-05
			
				this.years[11] = new Array();
				this.years[11] = initialize_years(98, 105);
			
			this.models[12] = "RC51";		//00-06
			
				this.years[12] = new Array();
				this.years[12] = initialize_years(100, 106);			
			
			this.models[13] = "CBR1100XX";		//97-07
			
				this.years[13] = new Array();
				this.years[13] = initialize_years(97, 107); 
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Kawasaki()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "EX500";			//92-05 Clutch
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(92, 105);
		
			this.models[1] = "ZZR600";			//	03-06	Clutch
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(103, 106);
			
			this.models[2] = "ZX6D/E";			//	90-03	Clutch
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(90, 103);
			
			this.models[3] = "ZX6R";			//	95-97	Clutch
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(95, 97);
			
			this.models[4] = "ZX6R";			//	98-02	Brake
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(98, 102);
			
			this.models[5] = "ZX6R/RR";			//	00-09	Clutch
			
				this.years[5] = new Array();
				this.years[5] = initialize_years(100, 109);
			
			this.models[6] = "NINJA 650R";			//	06-07	Clutch
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(106, 107);
			
			this.models[7] = "ZR7/S";			//	00-03	Clutch
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(100, 103);
			
			this.models[8] = "ZX7/R/RR";			//	89-03	Clutch
			
				this.years[8] = new Array();
				this.years[8] = initialize_years(89, 103);
			
			this.models[9] = "ZX9R";			//	94-97	Clutch
			
				this.years[9] = new Array();
				this.years[9] = initialize_years(94, 97);
			
			this.models[10] = "ZX9R";			//	98-03	Brake
			
				this.years[10] = new Array();
				this.years[10] = initialize_years(98, 103);
			
			this.models[11] = "ZX10";			//	88-90	Clutch
			
				this.years[11] = new Array();
				this.years[11] = initialize_years(88, 90);
			
			this.models[12] = "ZX10R";			//	04-09	Clutch
			
				this.years[12] = new Array();
				this.years[12] = initialize_years(104, 109);
			
			this.models[13] = "Z1000";			//	03-08	Clutch
			
				this.years[13] = new Array();
				this.years[13] = initialize_years(103, 108);
			
			this.models[14] = "ZRX1100";			//	99-00	Clutch
			
				this.years[14] = new Array();
				this.years[14] = initialize_years(99, 100);
			
			this.models[15] = "ZX11C/D";			//	90-01	Clutch
			
				this.years[15] = new Array();
				this.years[15] = initialize_years(90, 101);
			
			this.models[16] = "ZZR1200";			//	02-05	Brake
			
				this.years[16] = new Array();
				this.years[16] = initialize_years(102, 105);
			
			this.models[17] = "ZX12R";			//	00-05	Clutch
			
				this.years[17] = new Array();
				this.years[17] = initialize_years(100, 105);
			
			this.models[18] = "ZRX1200";			//	01-05	Brake
			
				this.years[18] = new Array();
				this.years[18] = initialize_years(101, 105);
			
			this.models[19] = "ZX14";			//	06-09	Clutch
			
				this.years[19] = new Array();
				this.years[19] = initialize_years(106, 109);

	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Suzuki()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "Bandit400";			//91-93 Clutch
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(91, 93);
		
			this.models[1] = "Bandit400";	//91-93
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(91, 93);
			
			this.models[2] = "GS500F";	//04-06
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(104, 106);
			
			this.models[3] = "Bandit600";	//96-03
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(96, 103);
			
			this.models[4] = "Bandit600";	//96-03
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(96, 103);
			
			this.models[5] = "Katana600";	//88-97
			
				this.years[5] = new Array();
				this.years[5] = initialize_years(88, 97);
			
			this.models[6] = "Katana600";	//98-06
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(98, 106);
			
			this.models[7] = "Katana600";	//98-06
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(98, 106);
			
			this.models[8] = "RF600";	//94-96
			
				this.years[8] = new Array();
				this.years[8] = initialize_years(94, 96);
			
			this.models[9] = "RF600";	//94-96
			
				this.years[9] = new Array();
				this.years[9] = initialize_years(94, 96);
			
			this.models[10] = "GSXR600";	//92-93
			
				this.years[10] = new Array();
				this.years[10] = initialize_years(92, 93);
			
			this.models[11] = "GSXR600";	//92-93
			
				this.years[11] = new Array();
				this.years[11] = initialize_years(92, 93);
			
			this.models[12] = "GSXR600";	//97-05
			
				this.years[12] = new Array();
				this.years[12] = initialize_years(97, 105);
			
			this.models[13] = "GSXR600";	//97-00
			
				this.years[13] = new Array();
				this.years[13] = initialize_years(97, 100);
			
			this.models[14] = "GSXR600";	//01-03
			
				this.years[14] = new Array();
				this.years[14] = initialize_years(101, 103);
			
			this.models[15] = "GSXR600";	//04-09
			
				this.years[15] = new Array();
				this.years[15] = initialize_years(104, 109);
			
			this.models[16] = "GSXR600";	//06-09
			
				this.years[16] = new Array();
				this.years[16] = initialize_years(106, 109);
			
			this.models[17] = "SV650/S";	//99-06
			
				this.years[17] = new Array();
				this.years[17] = initialize_years(99, 106);
			
			this.models[18] = "SV650/S";	//99-06
			
				this.years[18] = new Array();
				this.years[18] = initialize_years(99, 106);
			
			this.models[19] = "Katana 750";	//89-97
			
				this.years[19] = new Array();
				this.years[19] = initialize_years(89, 97);
			
			this.models[20] = "Katana750";	//89-06
			
				this.years[20] = new Array();
				this.years[20] = initialize_years(89, 106);
			
			this.models[21] = "Katana750";	//98-06
			
				this.years[21] = new Array();
				this.years[21] = initialize_years(98, 106);
			
			this.models[22] = "GSXR750";	//86-87
			
				this.years[22] = new Array();
				this.years[22] = initialize_years(86, 87);
			
			this.models[23] = "GSXR750";	//89-97
			
				this.years[23] = new Array();
				this.years[23] = initialize_years(89, 97);
			
			this.models[24] = "GSXR750";	//89-95
			
				this.years[24] = new Array();
				this.years[24] = initialize_years(89, 95);
			
			this.models[25] = "GSXR750";	//96-05
			
				this.years[25] = new Array();
				this.years[25] = initialize_years(96, 105);
			
			this.models[26] = "GSXR750";	//98-03
			
				this.years[26] = new Array();
				this.years[26] = initialize_years(98, 103);
			
			this.models[27] = "GSXR750";	//04-09
			
				this.years[27] = new Array();
				this.years[27] = initialize_years(104, 109);
			
			this.models[28] = "GSXR750";	//06-09
			
				this.years[28] = new Array();
				this.years[28] = initialize_years(106, 109);
			
			this.models[29] = "RF900";	//94-97
			
				this.years[29] = new Array();
				this.years[29] = initialize_years(94, 97);
			
			this.models[30] = "RF900";	//94-97
			
				this.years[30] = new Array();
				this.years[30] = initialize_years(94, 97);
			
			this.models[31] = "GSXR1000";	//01-04
			
				this.years[31] = new Array();
				this.years[31] = initialize_years(101, 104);
			
			this.models[32] = "GSXR1000";	//01-04
			
				this.years[32] = new Array();
				this.years[32] = initialize_years(101, 104);
			
			this.models[33] = "GSXR1000";	//05-08
			
				this.years[33] = new Array();
				this.years[33] = initialize_years(105, 108);
			
			this.models[34] = "GSXR1000";	//05-06
			
				this.years[34] = new Array();
				this.years[34] = initialize_years(105, 106);
			
			this.models[35] = "GSXR1000";	//07-08
			
				this.years[35] = new Array();
				this.years[35] = initialize_years(107, 108);
			
			this.models[36] = "SV1000/S";	//03-06
			
				this.years[36] = new Array();
				this.years[36] = initialize_years(103, 106);
			
			this.models[37] = "SV1000/S";	//03-06
			
				this.years[37] = new Array();
				this.years[37] = initialize_years(103, 106);
			
			this.models[38] = "TL1000R";	//98-03
			
				this.years[38] = new Array();
				this.years[38] = initialize_years(98, 103);
			
			this.models[39] = "TL1000R";	//98-03
			
				this.years[39] = new Array();
				this.years[39] = initialize_years(98, 103);
			
			this.models[40] = "TL1000S";	//97-01
			
				this.years[40] = new Array();
				this.years[40] = initialize_years(97, 101);
			
			this.models[41] = "TL1000S";	//97-01
			
				this.years[41] = new Array();
				this.years[41] = initialize_years(97, 101);
			
			this.models[42] = "Katana1100G";	//91-93
			
				this.years[42] = new Array();
				this.years[42] = initialize_years(91, 93);
			
			this.models[43] = "Katana1100G";	//91-93
			
				this.years[43] = new Array();
				this.years[43] = initialize_years(91, 93);
			
			this.models[44] = "GSXR1100";	//89-98
			
				this.years[44] = new Array();
				this.years[44] = initialize_years(89, 98);
			
			this.models[45] = "GSXR1100";	//89-98
			
				this.years[45] = new Array();
				this.years[45] = initialize_years(89, 98);
			
			this.models[46] = "Bandit1200";	//97-00
			
				this.years[46] = new Array();
				this.years[46] = initialize_years(97, 100);
			
			this.models[47] = "Bandit1200";	//01-04
			
				this.years[47] = new Array();
				this.years[47] = initialize_years(101, 104);
			
			this.models[48] = "Hayabusa";	//99-09
			
				this.years[48] = new Array();
				this.years[48] = initialize_years(99, 109);
			
			this.models[49] = "Hayabusa";	//99-09

				this.years[49] = new Array();
				this.years[49] = initialize_years(99, 109);
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Yamaha()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "YZF600";			//95-07
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(95, 107);
		
			this.models[1] = "YZF600";	//95-07
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(95, 107);
			
			this.models[2] = "FZR600";	//89-99
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(89, 99);
			
			this.models[3] = "FZR600";	//89-99
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(89, 99);
			
			this.models[4] = "FZ6";	//04-07
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(104, 107);
			
			this.models[5] = "FZ6";	//04-07
			
				this.years[5] = new Array();
				this.years[5] = initialize_years(104, 107);
			
			this.models[6] = "YZFR6";	//99-09
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(99, 109);
			
			this.models[7] = "YZFR6";	//99-04
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(99, 104);
			
			this.models[8] = "YZFR6";	//05-09
			
				this.years[8] = new Array();
				this.years[8] = initialize_years(105, 109);
			
			this.models[9] = "YZFR6/S";	//06-07
			
				this.years[9] = new Array();
				this.years[9] = initialize_years(106, 107);
			
			this.models[10] = "YZF750";	//94-98
			
				this.years[10] = new Array();
				this.years[10] = initialize_years(94, 98);
			
			this.models[11] = "FZ1";	//01-07
			
				this.years[11] = new Array();
				this.years[11] = initialize_years(101, 107);
			
			this.models[12] = "FZ1";	//01-07
			
				this.years[12] = new Array();
				this.years[12] = initialize_years(101, 107);
			
			this.models[13] = "YZFR1";	//98-08
			
				this.years[13] = new Array();
				this.years[13] = initialize_years(98, 108);
			
			this.models[14] = "YZFR1";	//98-01
			
				this.years[14] = new Array();
				this.years[14] = initialize_years(98, 101);
			
			this.models[15] = "YZFR1";	//02-03
			
				this.years[15] = new Array();
				this.years[15] = initialize_years(102, 103);
			
			this.models[16] = "YZFR1";	//04-08
			
				this.years[16] = new Array();
				this.years[16] = initialize_years(104, 108);
			
			this.models[17] = "FZR1000";	//89-93
			
				this.years[17] = new Array();
				this.years[17] = initialize_years(89, 93);
			
			this.models[18] = "FZR1000";	//91-95
			
				this.years[18] = new Array();
				this.years[18] = initialize_years(91, 95);
 
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Triumph()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "TT600";			//00-04
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(100, 104);

			this.models[1] = "Daytona600";			//03-04
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(103, 104);
			
			this.models[2] = "T509/595/955i";			//97-03
				
				this.years[2] = new Array();
				this.years[2] = initialize_years(97, 103);	
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function BMW()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "K1200S/R";			//05-06
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(105, 106);

			this.models[1] = "R1200GS";			//04-05
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(104, 105);
			
			this.models[2] = "HP2";			//05-07
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(105, 107);
			
			this.models[3] = "R 1200GS ADVENTURE";	//04-07
	
				this.years[3] = new Array();
				this.years[3] = initialize_years(104, 107);
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Husqvarna()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "450 SMR/TC";			//2004
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(104, 104);

			this.models[1] = "510";		//04-08
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(104, 108);
			
			this.models[2] = "SM610";	//00-08
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(100, 108);
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function KTM()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "SX-F 250";		//06-08
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(106, 108);

			this.models[1] = "450";		//2006
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(106, 106);
			
			this.models[2] = "525";		//2006
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(106, 106);
			
			this.models[3] = "560";		//2006
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(106, 106);
			
			this.models[4] = "630";		//2006
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(106, 106);
			
			this.models[5] = "LC8";		//04-08
			
				this.years[5] = new Array();
				this.years[6] = initialize_years(104, 108);
			
			this.models[6] = "SX-F 450";		//07-08
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(107, 108);
			
			this.models[7] = "SX-F 505";		//07-08
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(107, 108);
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function HarleyDavidson()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "XR1200R";			//08-09
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(108, 109);

			this.models[1] = "SPORTSTER";	//ALL
	
				this.years[1] = new Array();
				this.years[1] = initialize_years("ALL", "ALL");
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Buell()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "XB12R";			//06-07
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(106, 107);

			this.models[1] = "XB12S";			//06-07
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(106, 107);
			
			this.models[2] = "XB12X";			//06-07
			
				this.years[2] = new Array();
				this.years[2] = initialize_years(106, 107);
			
			this.models[3] = "XB9R";			//06-07
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(106, 107);
			
			this.models[4] = "XB9S";			//06-07
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(106, 107);
			
			this.models[5] = "XB9SX";			//08-09
			
				this.years[5] = new Array();
				this.years[5] = initialize_years(108, 109);
			
			this.models[6] = "XB12XT";			//08-09
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(108, 109);
			
			this.models[7] = "XB12S";			//08-09
			
				this.years[7] = new Array();
				this.years[7] = initialize_years(108, 109);
			
			this.models[8] = "1125R";			//08-09
			
				this.years[8] = new Array();
				this.years[8] = initialize_years(108, 109);
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Aprilia()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "RS50";			//
			
				this.years[0] = new Array();
				this.years[0] = initialize_years(35, 35);

			this.models[1] = "RS250"; //
			
				this.years[1] = new Array();
				this.years[1] = initialize_years(35, 35);
			
			this.models[2] = "RST1000 Futura";	//ALL
			
				this.years[2] = new Array();
				this.years[2] = initialize_years("ALL", "ALL");
			
			this.models[3] = "RSV Mille/R";	//99-03
			
				this.years[3] = new Array();
				this.years[3] = initialize_years(99, 103);
			
			this.models[4] = "RSV Mille/R Factory";	//04-07
			
				this.years[4] = new Array();
				this.years[4] = initialize_years(104, 107);
			
			this.models[5] = "SL1000 Falco";	//ALL
			
				this.years[5] = new Array();
				this.years[5] = initialize_years("ALL", "ALL");
			
			this.models[6] = "Tuono/R";	//03-07
			
				this.years[6] = new Array();
				this.years[6] = initialize_years(103, 107);
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;
		
		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function MVAugusta()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "F4";			//
			
				this.years[0] = new Array();
				this.years[0] = initialize_years("ALL", "ALL");

			this.models[1] = "BRUTALE"; //

				this.years[1] = new Array();
				this.years[1] = initialize_years("ALL", "ALL");
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Bimota()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "All Models";			//
			
				this.years[0] = new Array();
				this.years[0] = initialize_years("ALL", "ALL");
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function MotoGuzzi()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "All Models";			//
			
				this.years[0] = new Array();
				this.years[0] = initialize_years("ALL", "ALL");
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function Benelli()
{
	var models;
	var years;
	
	this.init = init;
	this.initialize_years = initialize_years;
	
	function init()
	{
		this.models = new Array();
		this.years = new Array();
	
			this.models[0] = "All Models";			//
			
				this.years[0] = new Array();
				this.years[0] = initialize_years("ALL", "ALL");
	}
	
	function initialize_years(year1, year2)
	{
		var array = new Array();		
		var num_years = year2 - year1 + 1;

		if(year1 == "ALL")
		{
			array[0] = "ALL";
			return array;
		}
		
		for(var i = 0; i < num_years; ++i)
		{
			array[i] = year1 + i;
			
			if(array[i] >= 100)
			{
				array[i] = "0" + (array[i] - 100);
			}
		}
		
		return array;
	}
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

	function initialize_years(year1, year2)
	{
		if(year1 == "ALL" || year2 == "ALL")
		{
			return "ALL";
		}
		
		if(year1 > 100 && year1 < 110)
		{
			year1 = year1 - 100;
			year1 = "0" + year1;
		}
		else if(year1 > 110)
		{
			year1 = year1 - 100;
		}
		else if(year1 == 100)
		{
			year1 = "00";
		}

		if(year2 > 100 && year2 < 110)
		{
			year2 = year2 - 100;
			year2 = "0" + year2;
		}
		else if(year2 > 110)
		{
			year2 = year2 - 100;
		}
		else if(year2 == 100)
		{
			year2 = "00";
		}

		return year1 + "-" + year2;		
	}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/

function VehicleManager()
{
	var current_vehicle;
	
	this.getVehicle = getVehicle;
	
	function getVehicle(vehicle)
	{
		if(vehicle == "Ducati")
		{
			this.current_vehicle = new Ducati();
		}
		else if(vehicle == "Honda")
		{
			this.current_vehicle = new Honda();
		}
		else if(vehicle == "Kawasaki")
		{
			this.current_vehicle = new Kawasaki();
		}
		else if(vehicle == "Suzuki")
		{
			this.current_vehicle = new Suzuki();
		}
		else if(vehicle == "Yamaha")
		{
			this.current_vehicle = new Yamaha();
		}
		else if(vehicle == "Triumph")
		{
			this.current_vehicle = new Triumph();
		}
		else if(vehicle == "BMW")
		{
			this.current_vehicle = new BMW();
		}
		else if(vehicle == "Husqvarna")
		{
			this.current_vehicle = new Husqvarna();
		}
		else if(vehicle == "KTM")
		{
			this.current_vehicle = new KTM();
		}
		else if(vehicle == "Harley Davidson")
		{
			this.current_vehicle = new HarleyDavidson();
		}
		else if(vehicle == "Buell")
		{
			this.current_vehicle = new Buell();
		}
		else if(vehicle == "Aprilia")
		{
			this.current_vehicle = new Aprilia();
		}
		else if(vehicle == "MV Augusta")
		{
			this.current_vehicle = new MVAugusta();
		}
		else if(vehicle == "Bimota")
		{
			this.current_vehicle = new Bimota();
		}
		else if(vehicle == "Moto Guzzi")
		{
			this.current_vehicle = new MotoGuzzi();
		}
		else if(vehicle == "Benelli")
		{
			this.current_vehicle = new Benelli();
		}

		return this.current_vehicle;
	}
}
