var domainroot="www.sinwaglobal.com"

function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}

function acthome() {
      document.images["home"].src = "images/ico_homeb.jpg";
   }

function dehome() {
      document.images["home"].src = "images/ico_home.jpg";
   }
   
function acthometab() {
      document.images["hometab"].src = "images/ico_homes.jpg";
   }

function dehometab() {
      document.images["hometab"].src = "images/ico_homess.jpg";
   }   

function actoffshore() {
      document.images["offshore"].src = "images/ico_compb.jpg";
   }

function deoffshore() {
      document.images["offshore"].src = "images/ico_comp.jpg";
   }

function actseafirst() {
      document.images["seafirst"].src = "images/ico_compb.jpg";
   }

function deseafirst() {
      document.images["seafirst"].src = "images/ico_comp.jpg";
   }

function actwindsor() {
      document.images["windsor"].src = "images/ico_compb.jpg";
   }

function dewindsor() {
      document.images["windsor"].src = "images/ico_comp.jpg";
   }
   
function actinfo() {
      document.images["info"].src = "images/ico_infob.jpg";
   }

function deinfo() {
      document.images["info"].src = "images/ico_info.jpg";
   }

function actnetwork() {
      document.images["network"].src = "images/ico_networkb.jpg";
   }

function denetwork() {
      document.images["network"].src = "images/ico_network.jpg";
   }
   
function actproduct() {
      document.images["product"].src = "images/ico_prodb.jpg";
   }

function deproduct() {
      document.images["product"].src = "images/ico_prod.jpg";
   }
   
function actinvest() {
      document.images["invest"].src = "images/ico_investb.jpg";
   }

function deinvest() {
      document.images["invest"].src = "images/ico_invest.jpg";
   }   

function actnews() {
      document.images["news"].src = "images/ico_newsb.jpg";
   }

function denews() {
      document.images["news"].src = "images/ico_news.jpg";
   }      
   
function actcontact() {
      document.images["contact"].src = "images/ico_contactb.jpg";
   }

function decontact() {
      document.images["contact"].src = "images/ico_contact.jpg";
   }      

function actequip() {
      document.images["equip"].src = "images/ico_equipb.jpg";
   }

function deequip() {
      document.images["equip"].src = "images/ico_equip.jpg";
   }      

function actfilm() {
      document.images["film"].src = "images/ico_filmb.jpg";
   }

function defilm() {
      document.images["film"].src = "images/ico_film.jpg";
   }      

function actwork() {
      document.images["work"].src = "images/ico_workb.jpg";
   }

function dework() {
      document.images["work"].src = "images/ico_work.jpg";
   }      

function actmike() {
      document.images["mike"].src = "images/team/mike_bw.jpg";
   }

function demike() {
      document.images["mike"].src = "images/team/mike_small.jpg";
   }
   
function actlayling() {
      document.images["layling"].src = "images/team/layling_bw.jpg";
   }

function delayling() {
      document.images["layling"].src = "images/team/layling_small.jpg";
   }

function actbruce() {
      document.images["bruce"].src = "images/team/bruce_bw.jpg";
   }

function debruce() {
      document.images["bruce"].src = "images/team/bruce_small.jpg";
   }   

function actheng() {
      document.images["heng"].src = "images/team/heng_bw.jpg";
   }

function deheng() {
      document.images["heng"].src = "images/team/heng_small.jpg";
   }   

function actyeo() {
      document.images["yeo"].src = "images/team/yeo_bw.jpg";
   }

function deyeo() {
      document.images["yeo"].src = "images/team/yeo_small.jpg";
   }   

function actchonghuat() {
      document.images["chonghuat"].src = "images/team/chonghuat_bw.jpg";
   }

function dechonghuat() {
      document.images["chonghuat"].src = "images/team/chonghuat_small.jpg";
   }   

function actchua() {
      document.images["chua"].src = "images/team/chua_bw.jpg";
   }

function dechua() {
      document.images["chua"].src = "images/team/chua_small.jpg";
   }   

function actrichard() {
      document.images["richard"].src = "images/team/richard_bw.jpg";
   }

function derichard() {
      document.images["richard"].src = "images/team/richard_small.jpg";
   }   

function actalex() {
      document.images["alex"].src = "images/team/alex_bw.jpg";
   }

function dealex() {
      document.images["alex"].src = "images/team/alex_small.jpg";
   }   

function actkhenglin() {
      document.images["khenglin"].src = "images/team/khenglin_bw.jpg";
   }

function dekhenglin() {
      document.images["khenglin"].src = "images/team/khenglin_small.jpg";
   }   

function actdennis() {
      document.images["dennis"].src = "images/team/dennis_bw.jpg";
   }

function dedennis() {
      document.images["dennis"].src = "images/team/dennis_small.jpg";
   }   

function actboard() {
      document.images["board"].src = "images/team/board_bw.jpg";
   }

function deboard() {
      document.images["board"].src = "images/team/board_small.jpg";
   }

var WindowObjectReference;
/* Declaring a global variable which will store
 a reference to the new window to be created */

function openRequestedPopup()
{
WindowObjectReference = window.open("http://www.sinwaglobal.com/video/mlow.html",
"Test",
 "menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,titlebar=no,statusbar=no,width=300,height=300");
}

function openAnchorages()
{
WindowObjectReference = window.open("anchorages.html",
"Anchorages",
 "menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,titlebar=no,statusbar=no,width=750,height=530");
}

function openEbusiness()
{
var WindowEbusiness = window.open ("http://203.127.223.39/e-business/ExLogin.aspx?loginname="+Txtlogin.value+"&password="+Txtpassword.value);
Txtpassword.value="";
}
