function enviaEmail() { window.open("Index.do?process=loadEmailFriend" , "email", "directories=0, height=700, width=600, location=0, menubar=0, toolbar=0, titlebar=0, status=0, scrollbars=0"); } function isNull(field) { if(field == null || field == "") { return true; } else { return false; } } function isNotNull(field) { if(field == null || field == "") { return false; } else { return true; } } function isAlphanumeric(field) { var numaric = field; for(var j=0; j 47 && hh<58) || (hh > 64 && hh<91) || (hh > 96 && hh<123)) { } else { return false; } } return true; } function isAlphanumericSpace(field) { var numaric = field; for(var j=0; j 47 && hh<58) || (hh > 64 && hh<91) || (hh > 96 && hh<123) || (hh == 32) ) { } else { return false; } } return true; } function isAlphanumericHyphen(field) { var numaric = field; for(var j=0; j 47 && hh<58) || (hh > 64 && hh<91) || (hh > 96 && hh<123) || (hh == 45) ) { } else { return false; } } return true; } function isAlphanumericSpaceHyphen(field) { var numaric = field; for(var j=0; j 47 && hh<58) || (hh > 64 && hh<91) || (hh > 96 && hh<123) || (hh == 32) || (hh == 45) ) { } else { return false; } } return true; } function IsNumeric(str){ stringCheck="0123456789"; f1=0; for(j=0;j 64 && hh<91) || (hh > 96 && hh<123)) { } else { return false; } } return true; } //added for playing video in mozilla browser function playVideo() { var browserName=navigator.appName; if (browserName=="Netscape") { document.getElementById('NetscapeId').style.display = 'inline'; document.getElementById('ExplorerId').style.visibility = 'hidden'; } else { if (browserName=="Microsoft Internet Explorer") { document.getElementById('ExplorerId').style.display = 'inline'; document.getElementById('NetscapeId').style.visibility = 'hidden'; } else { document.getElementById('NetscapeId').style.visibility = 'hidden'; document.getElementById('ExplorerId').style.visibility = 'hidden'; } } }