/* ==============================================================================
Code to solve the problem of double-click the flash elements in IE
============================================================================== */
var theObjects = document.getElementsByTagName("object"); 
for (var i = 0; i < theObjects.length; i++) 
{ 
	theObjects[i].outerHTML = theObjects[i].outerHTML; 
}
/* ============================================================================= */

/* ==============================================================================
FUNCTION:	OpenPopupWindow(winURL, winName, winFeatures)
- Opens a new browser window with the parameters passed into the function
============================================================================== */
function OpenPopupWindow(winURL, winName, winFeatures) 
{
	var objWin = window.open(winURL, winName, winFeatures);
	objWin.focus();
}

/* ======================================================================
FUNCTION:	isValidEmail(strEmail)
INPUT:		strEmail - String representing the e-mail to validade
RETURNS:		true, if the e-mail is valid according to the regular expression
				false, otherwise.
====================================================================== */
function isValidEmail(strEmail)
{
	var reg = /^(\w+(?:(\.|\-)\w+)*)@((?:\w+(?:(\.|\-)\w+)*\.)+)([a-z\d]{2,})$/i;
	return reg.test(strEmail);
}

function MM_jumpMenu(targ,selObj,restore)
{ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
