var common=
{
	go: function(theLocation)
	{
		if (theLocation)
		{
			window.location=theLocation;
		}
		return true;
	},
	randomString: function(theLength)
	{
		if (!theLength)theLength=20;
		var id='';
		var chars='0123456789abcdefghijklmnopqrstuvwxyz'.split('');
		for (i=0; i<theLength; i++)
		{
			id+=chars[(Math.round((chars.length-1)*Math.random()))];
		}
		return id;
	},
	pwindow:
	{
		open: function(location)
		{
			window.open(location,'40','width=950, height=660,resizable=1,scrollbars=0');
		}
	}
}