function handleEnter (field, event) {
		var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
		var cFocus;
		var parent;
		
		if (keyCode == 13) {
			cFocus = document.activeElement;
//			alert('cFocus.type==>' + cFocus.type + ' cFocus.tagName==>' + cFocus.tagName);
			switch (cFocus.type.toUpperCase()){
				case 'TEXTAREA':
				case 'BUTTON':
				case 'SUBMIT':
					return true;  // allow above types to fire click on Enter key.
					break;		  // you may want to include <a> tags in this but you can't use type. you must use cFocus.tagName = 'A'
								// but this action is what I am trying to stop here.
				default :
					window.event.keyCode = 9;  // set to tab instead of enter
					break;
			}
		} 
		else
		return true;
	}      


//SAMPLE USAGE- detect "Flash"
//if (pluginlist.indexOf("Flash")!=-1)
//document.write("You have flash installed")

//<SCRIPT LANGUAGE="Javascript">
//<!--
function DefaultPageStart()
{

var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
	x = navigator.plugins["Shockwave Flash"];
	if (x)
	{
		flashinstalled = 2;
		if (x.description)
		{
			y = x.description;
			flashversion = y.charAt(y.indexOf('.')-1);
		}
	}
	else
		flashinstalled = 1;
	if (navigator.plugins["Shockwave Flash 2.0"])
	{
		flashinstalled = 2;
		flashversion = 2;
	}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
	x = navigator.mimeTypes['application/x-shockwave-flash'];
	if (x && x.enabledPlugin)
		flashinstalled = 2;
	else
		flashinstalled = 1;
}
else
	MSDetect = "true";
	
	
}
// -->
//</SCRIPT>

function alerttest()
{
alert('TEST');
}


