/* --------------------------------------------------------------------------

	(c) 2005-2006 U.S. Robotics Corporation

	-------------------------------------------------------------------------- */

/*
	There is no need to translate the strings in this function.
*/
function getString(id)
{
	var s = strings[id];
/*
	OPTIONAL FUTURE TODO ENHANCEMENT

	For more complex strings, we could store a function and test the
	type of the array element ("string" vs "function"); if it's a
	function, we could call it, pass the id, and use the return as
	the resource string.
*/

	if (s == undefined)
	{
		alert("The string id " + id + " isn't in the resource table.");
		return "<ERROR>";
	}
	if (s.length == 0)
	{
		alert("The string id " + id + " is empty.");
		return "<WARNING>";
	}

	return s;
}



/* --------------------------------------------------------------------------

	TRANSLATE THE STRINGS TO THE RIGHT OF THE EQUAL SIGN (=).

*/

var strings = new Array();

strings["idProdName"]		= "56K USB Mini Faxmodem";
strings["idProdNameHTML"]	= "56K USB Mini Faxmodem";

