// Developed by Spherion Technology Solutions Canberra

function Check4ResultSizeWarning(dropDownEventCaller)
{
	// Show a warning if the user has selected 100 or all records.
	var __ALL_RECORDS = 0;
	var __100_RECORDS = 100;
	var __200_RECORDS = 200;
	var __400_RECORDS = 400;
	var __Number;
	
	if (dropDownEventCaller.value == __100_RECORDS ||
		dropDownEventCaller.value == __200_RECORDS ||
		dropDownEventCaller.value == __400_RECORDS ||
		dropDownEventCaller.value == __ALL_RECORDS)
	{
		if ( dropDownEventCaller.value == __ALL_RECORDS )
		{
			__Number = "All";
		}
		else
		{
			__Number = dropDownEventCaller.value;
		}
		alert("Viewing '" + __Number + " vehicles' could take some time.");
		//alert("Warning - selecting to view " + __Number + " records could take some time if you have a slow internet connection (e.g. Modem).");
	}

}

function ShowSizeAlert(resultSize)
{
	alert("Viewing '" + resultSize + " vehicles' could take some time.");
}



