// show terms and condition dialog
function show_terms() {
var inst = pswindow.show('Terms and Conditions', peepsoregister.terms ),
elem = inst.$container.find('.ps-dialog');
elem.addClass('ps-dialog-full');
ps_observer.add_filter('pswindow_close', function() {
elem.removeClass('ps-dialog-full');
}, 10, 1 );
}
function show_privacy() {
var inst = pswindow.show('Privacy Policy', peepsoregister.privacy ),
elem = inst.$container.find('.ps-dialog');
elem.addClass('ps-dialog-full');
ps_observer.add_filter('pswindow_close', function() {
elem.removeClass('ps-dialog-full');
}, 10, 1 );
}