function googlesearch(){ form = document.getElementById("cse-search-box"); form.action="https://www.google.com/cse"; form.target= add_newtab( '' , "Google"); form.submit(); form.action="javascript:googlesearch()"; } </script> <?php $onload .= "initiate_tabview();"; if (CHAT_SYSTEM == "ejabberd") { require_once "class/class.ejabberd.php"; $chat = new ejabberd(); $chat->get_login($page->auth->Get_user_name()); $onload .= "iJab.loginWithStatus( '" . $chat->username . "' , '" . $chat->password . "');"; $arr = $chat->get_chats_by_contact("11079"); } ?> <style> html, body { height:100%; } #container, #container.yui-navset, #container.yui-content { top: 75px; bottom: 0px;