$(function(e) { }); function page_init(e) { } function loadGSearch(key, brandingId, resultId) { google.load("search", "1"); google.setOnLoadCallback(function() { google.search.Search.getBranding(document.getElementById(brandingId)); var ws = new google.search.WebSearch(); searchControl = new google.search.SearchControl(); searchControl.addSearcher(ws); var options = new google.search.DrawOptions(); options.setDrawMode(GSearchControl.DRAW_MODE_TABBED); searchControl.draw(document.getElementById(resultId), options); searchControl.execute(key) }) } function GSearch_Onload(key, brandingId, resultId) { google.search.Search.getBranding(document.getElementById(brandingId)); var ws = new google.search.WebSearch(); searchControl = new google.search.SearchControl(); searchControl.addSearcher(ws); var options = new google.search.DrawOptions(); options.setDrawMode(GSearchControl.DRAW_MODE_TABBED); searchControl.draw(document.getElementById(resultId), options); searchControl.execute(key) } if (typeof (Sys) !== "undefined") { Sys.Application.notifyScriptLoaded() };