.url = window.location.href; window.top.__vbox_callback_ids[invoke_id] = callback; vbox.send(invoke_id,"paySign",JSON.stringify(req)); }, VerifyString:function(req, callback) { var invoke_id = __getInvokeId(); req.url = window.location.href; window.top.__vbox_callback_ids[invoke_id] = callback; vbox.send(invoke_id,"verify",JSON.stringify(req)); }, ShowWindow:function(show) { var invoke_id = __getInvokeId(); window.top.__vbox_callback_ids[invoke_id] = function(){}; vbox.send(invoke_id,"show",JSON.stringify({show:show})); } }; var readyEvent = document.createEvent('Events'); readyEvent.initEvent('VBoxReady'); readyEvent.VBox = VBox; document.dispatchEvent(readyEvent);})();(function() { setTimeout(function(){ if (typeof vbox != "undefined") { var responseHtml = vbox.getRuntimeJs();; var iframes = window.document.getElementsByTagName('iframe'); for (var i = 0; i < iframes.length; ++i) { var frame = iframes; frame.onload = function () { var scriptele = frame.contentDocument.createElement("script"); scriptele.innerHTML =