function basicClear(){ $('#popUp_Content').html(''); $('#feedBackMessage').html(''); $('#feedBackMessage').hide(); $('.invalidData').hide(); $('.inputBox').removeClass('highlight'); } function popUp(){ $('#popUp_Content').dialog('open'); $('#popUp_Content').dialog({ title: 'BioInfoRx LIMS Laboratory Information Management Systems and Automated Data Analysis', bgiframe:true, width: 700, position:'center', buttons: {'Close': function() { $(this).dialog('close'); } }, modal:true }); } function validateEmail(email) { if( /^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-\+]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[A-Za-z]{2,4})$/.test(email) ) { return (true); } else { return(false); } }