functiononBridgeReady(){
WeixinJSBridge.call('hideOptionMenu');
}
if(typeofWeixinJSBridge =="undefined") {
if(document.addEventListener) {
document.addEventListener('WeixinJSBridgeReady', onBridgeReady,false);
}elseif(document.attachEvent) {
document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
}else{
onBridgeReady();
}