    
/*    
function $(sName){return document.getElementById(sName);}
*/

function checkEMail (strEmail) {var RegExpr = /^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-])+(\.[a-zA-Z0-9-]+)+$/;return RegExpr.test(strEmail);}
function checkPassword (strIn) {var RegExpr = /^([a-zA-Z0-9]){6,30}$/;return RegExpr.test(strIn);}
function checkCustomerNumber (strIn) {var RegExpr = /^([0-9]){6}$/;return RegExpr.test(strIn);}

function showError(id){
    try { $('#' + id).attr('className','errField'); if ($('#' + id + '_error').length) { $('#' + id + '_error').show(); } if ($('#' + id + '_error_msg').length) { $('#' + id + '_error_msg').show(); } } catch (e) { }
}
function hideError(id){
    try { $('#' + id).attr('className', ''); if ($('#' + id + '_error').length) { $('#' + id + '_error').hide(); } if ($('#' + id + '_error_msg').length) { $('#' + id + '_error_msg').hide(); } } catch (e) { }
}


function ppWindow(myURL) {
    var myWin = window.open(myURL + '?mode=popup', 'Popup', 'width=550,height=640,scrollbars=yes,status=no,resizable=yes');
    myWin.focus();
}




