/////////////////////////////////////////////////////////////////////////////////////////////////
// JavaScript Document
// Copyright DACOMY 2004
// All rights reserved.
/////////////////////////////////////////////////////////////////////////////////////////////////

// roll over function for menu
function RollOver(itemID,e){
	if(e==1){
		document.getElementById(itemID).style.backgroundColor = '#001a35';
		document.getElementById(itemID).style.color = '#ffffff';
	}
	else{
		document.getElementById(itemID).style.backgroundColor = '';
		document.getElementById(itemID).style.color = '';
	}
}

// jump menu for info.htm
function JumpMenuInfo(p_Leter){
	document.all.dataframe.src='info_info.htm'+'#'+p_Leter;
}

// jump menu for rates.htm
function JumpMenuRates(p_Leter){
	document.all.dataframe.src='rates_info.htm'+'#'+p_Leter;
}

function OpenCursWindow(p_Page,p_Title,p_width,p_height) {
   var features, w = p_width, h = p_height; 
   var top = (screen.height - h)/2, left = (screen.width - w)/2;
   features = 'scrollbars=yes,top=' + top + ',left=' +left; 
   features += ',height=' + h + ',width=' + w + ',resizable=no';
   window.open(p_Page,p_Title,features); 
}


//setting the title of document
document.title = "Thomas Hook Communications Inc.";
document.statusbar = "cucu";
