if (document.images) {
	
	
//Main Navigation//	
	homeup       = new Image();
    homeup.src   = "images/home_a.jpg" ;
    homedown     = new Image() ;
    homedown.src = "images/home_b.jpg" ;
	
    aboutusup       = new Image();
    aboutusup.src   = "images/abtus_a.gif" ;
    aboutusdown     = new Image() ;
    aboutusdown.src = "images/abtus_b.gif" ;

    ourservicesup       = new Image();
    ourservicesup.src   = "images/ourservices_a.gif" ;
    ourservicesdown     = new Image() ;
    ourservicesdown.src = "images/ourservices_b.gif" ;
	
	ourclientsup       = new Image();
    ourclientsup.src   = "images/ourclients_a.gif" ;
    ourclientsdown     = new Image() ;
    ourclientsdown.src = "images/ourclients_b.gif" ;
	
	jobopportunitiesup       = new Image();
    jobopportunitiesup.src   = "images/jobopp_a.gif" ;
    jobopportunitiesdown     = new Image() ;
    jobopportunitiesdown.src = "images/jobopp_b.gif" ;	
	
	joinusup       = new Image();
    joinusup.src   = "images/joinus_a.gif" ;
    joinusdown     = new Image() ;
    joinusdown.src = "images/joinus_b.gif" ;	
	
	contactusup       = new Image();
    contactusup.src   = "images/contactus_a.gif" ;
    contactusdown     = new Image() ;
    contactusdown.src = "images/contactus_b.gif" ;	
	
/////////////////////////////////////////////////////

//Regional Offices//	
	sgup       = new Image();
    sgup.src   = "images/regoff_sg_a.gif" ;
    sgdown     = new Image() ;
    sgdown.src = "images/regoff_sg_b.gif" ;
	
	myup       = new Image();
    myup.src   = "images/regoff_my_a.gif" ;
    mydown     = new Image() ;
    mydown.src = "images/regoff_my_b.gif" ;	

	twup       = new Image();
    twup.src   = "images/regoff_tw_a.gif" ;
    twdown     = new Image() ;
    twdown.src = "images/regoff_tw_b.gif" ;	

	hkup       = new Image();
    hkup.src   = "images/regoff_hk_a.gif" ;
    hkdown     = new Image() ;
    hkdown.src = "images/regoff_hk_b.gif" ;	

	ausup       = new Image();
    ausup.src   = "images/regoff_aus_a.gif" ;
    ausdown     = new Image() ;
    ausdown.src = "images/regoff_aus_b.gif" ;	


	}
	


function buttondown( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "down.src" );
    }
}
function buttonup ( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "up.src" );
    }
}

function news(TheLink) {
        window.open(TheLink,"","width=710,height=550,menubar=0,scrollbars=yes,resizable=no,left=100,top=125");
}

function newbrowser(TheLink) {
        window.open(TheLink,"","width=800,height=600,menubar=1,scrollbars=yes,resizable=yes,left=100,top=125");
}

function openwin(TheLink) {
        window.open(TheLink,"","width=710,height=600,menubar=0,scrollbars=yes,resizable=no,left=100,top=125");
}

function game(TheLink) {
        window.open(TheLink,"","width=520,height=405,menubar=0,scrollbars=no,resizable=no,left=100,top=125");
}

function uploadresume(TheLink) {
        window.open(TheLink,"","width=615,height=580,menubar=0,scrollbars=yes,resizable=no,left=100,top=125");
}






/***********************************************
* Highlight Table Cells Script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Specify highlight behavior. "TD" to highlight table cells, "TR" to highlight the entire row:
var highlightbehavior="TD"

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes';
win=window.open(mypage,myname,settings);}

