//Global Variables //

					var num=0;
					var interval = null;
					var mkIndex=0;
//End//

function get_range(ranges,req_prod_size)	{

	selectedIndex = 0;
	var dropDown;

	if (document.qSearch && document.qSearch.prod_size)  {
		dropDown = document.qSearch.prod_size;
	}
	else if(document.search && document.search.prod_size)  {
		dropDown=document.search.prod_size;
	}
	else if (document.forms[0] && document.forms[0].prod_size)  {
		dropDown = document.forms[0].prod_size;
	}

	if (dropDown)  {

		dropDown.length = 0;

		for(index=0; index<ranges.length; index++)	{

			var brackets=ranges[index].split("#")
			//dropDown[index] = new Option(ranges[index],ranges[index]);
			dropDown[index] = new Option(brackets[0],brackets[1]);

			if(ranges[index].toUpperCase() == req_prod_size){
				selectedIndex = index;
			}
		}
		dropDown.options[selectedIndex].selected = true;
	}
}

function select_make(req_make)  {
	var dropDown;

	if (req_make == null)  {
		req_make="";
	}

	if (document.qSearch && document.qSearch.make)  {
		dropDown = document.qSearch.make;
	}
	else if(document.search && document.search.make)  {
		dropDown=document.search.make;
	}
	else if (document.forms[0] && document.forms[0].make)  {
		dropDown = document.forms[0].make;
	}

	if (dropDown)  {
		for (x=0; x<dropDown.length; x++)  {
			mk=dropDown.options[x].value;
			if ( mk.toUpperCase()==req_make)  {
				if (dropDown.options[x].selected==false)   {
					dropDown.options[x].selected=true;
				}
			}
		}
	}
}


