<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}

function trim(sTr){
	sTr += "";
	sTr = sTr.replace(/^\s*/, "");
	sTr = sTr.replace(/\s*$/, "");
	return (sTr);
}
function isEmailAddress(strValue)
{
       var j,strTemp;
       strTemp = strValue;
       if (strTemp != '')
       {
               var nCountC = 0;
               for ( j = 0; j< strTemp.length; j++ ){
                       c = strTemp.charAt(j);
                       if ( !( c>='0' && c<='9' || c>='a' && c<='z' || c>='A' && c<='Z' || c == '@' || c == '.' || c =='_' || c =='-') )
                               return false;
                       if (c == '@') nCountC  = nCountC + 1;
               }// End for
       if (nCountC != 1)return false;
       if (strTemp.charAt(strTemp.length - 1) == '@' || strTemp.charAt(0) == '@' || strTemp.charAt(strTemp.length - 1) == '.' || strTemp.charAt(0) == '.')
               return false;
       }
          return true;
}
//-->
