function cc_register() {
    var d = new Date();
    jQuery('#browserTimeOffset_register').val(Math.round(d.getTimezoneOffset() * 60));
    jQuery('#frmregister').submit();
    return false;
}
function cc_registration_show_tooltip(e) {
    var tt = {
        'vFirstname': 'Please enter your first name.',
        'vLastname': 'Please enter your last name.',
        'vEmail': 'Please enter your email address.',
        'confirm_vEmail': 'Please confirm your email address.',
        'vPassword': 'Password should be atleast 6 characters.',
        'confirm_vPassword': 'Please confirm your password.',
        'security_code': 'Please enter the security code shown above.'
    }
    var t = jQuery(this);
    var id = t.attr('id');
    var offset = t.offset();
    var width = t.width();
    var tt_text = tt[id];
    var ttobj = jQuery('#registration_tooltip_outer');
    ttobj.hide();
    ttobj.find('#registration_tooltip_inner').html('<p>' + tt_text + '</p>');
    ttobj.css({
        'top': Math.floor(offset.top),
        'left': Math.floor(offset.left) + width + 6,
        'width': '340px'
    }).show();
    e.preventDefault();
    return false;
}
function cc_registration_hide_tooltip(e) {
    e.preventDefault();
    var ttobj = jQuery('#registration_tooltip_outer');
    ttobj.hide();
    return false;
}

