+ if ( show && show == 4 ) {
+ msg1.style.display = msg2.style.display = msg3.style.display = 'none';
+ msg4.style.display = 'block';
+ } else if ( google.gears.factory.hasPermission ) {
+ msg1.style.display = msg2.style.display = msg4.style.display = 'none';