function ltrim(inString){
	return inString.replace(/^\s+/,"")
}
function rtrim(inString){
	return inString.replace(/\s+$/,"")
}
function trim(inString){
	return inString.replace(/^\s+|\s+$/g,"")
}
function showStdButton(obj){
	//obj.parentNode.background='images/button_std.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std.gif)';
}
function showHoverButton(obj){
	//obj.parentNode.background='images/button_std_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_hover.gif)';
}
function showStdButtonDown(obj){
	//obj.parentNode.background='images/button_std_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_down.gif)';
}
function showStdButton88DP(obj){
	//obj.parentNode.background='images/button_std_88_onDP.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_88_onDP.gif)';
}
function showHoverButton88DP(obj){
	//obj.parentNode.background='images/button_std_88_onDP_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_88_onDP_hover.gif)';
}
function showStdButtonDown88DP(obj){
	//obj.parentNode.background='images/button_std_88_onDP_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_88_onDP_down.gif)';
}
function showStdButton132LP(obj){
	//obj.parentNode.background='images/button_std_132_onLP.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_132_onLP.gif)';
}
function showHoverButton132LP(obj){
	//obj.parentNode.background='images/button_std_132_onLP_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_132_onLP_hover.gif)';
}
function showStdButtonDown132LP(obj){
	//obj.parentNode.background='images/button_std_132_onLP_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_std_132_onLP_down.gif)';
}
function showMid1HoverButton(obj){
	//obj.parentNode.background='images/button_mid1_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_mid1_hover.gif)';
}
function showMid1Button(obj){
	//obj.parentNode.background='images/button_mid1.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_mid1.gif)';
}
function showMid1ButtonDown(obj){
	//obj.parentNode.background='images/button_mid1_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_mid1_down.gif)';
}
function showLong1ButtonHover(obj){
	//obj.parentNode.background='images/button_long1_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_long1_hover.gif)';
}
function showLong1Button(obj){
	//obj.parentNode.background='images/button_long1.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_long1.gif)';
}
function showLong1ButtonDown(obj){
	//obj.parentNode.background='images/button_long1_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_long1_down.gif)';
}

function showSml1HoverButton(obj){
	//obj.parentNode.background='images/button_sml1_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_sml1_hover.gif)';
}
function showSml1Button(obj){
	//obj.parentNode.background='images/button_sml1.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_sml1.gif)';
}
function showSml1ButtonDown(obj){
	//obj.parentNode.background='images/button_sml1_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_sml1_down.gif)';
}
function showSml2HoverButton(obj){
	//obj.parentNode.background='images/button_sml2_hover.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_sml2_hover.gif)';
}
function showSml2Button(obj){
	//obj.parentNode.background='images/button_sml2.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_sml2.gif)';
}
function showSml2ButtonDown(obj){
	//obj.parentNode.background='images/button_sml2_down.gif';
	obj.parentNode.style.backgroundImage ='url(images/button_sml2_down.gif)';
}
function showOkHover(){
	document.all.OkButton.src='images/Ok_btn_hover.gif';
}
function showOkUp(){
	document.all.OkButton.src='images/Ok_btn_up.gif';
}
function showOkDown(){
	document.all.OkButton.src='images/Ok_btn_down.gif';
}
function showGeneral99Up(obj){
	obj.parentNode.style.backgroundImage ='url(images/General99_btn_up.gif)';
}
function showGeneral99Hover(obj){
	obj.parentNode.style.backgroundImage ='url(images/General99_btn_Hover.gif)';
}
function showGeneral99Down(obj){
	obj.parentNode.style.backgroundImage ='url(images/General99_btn_Down.gif)';
}
function showGeneral72Up(obj){
	obj.parentNode.style.backgroundImage ='url(images/General72_btn_up.gif)';
}
function showGeneral72Hover(obj){
	obj.parentNode.style.backgroundImage ='url(images/General72_btn_Hover.gif)';
}
function showGeneral72Down(obj){
	obj.parentNode.style.backgroundImage ='url(images/General72_btn_Down.gif)';
}
function showGeneral114Up(obj){
	obj.parentNode.style.backgroundImage ='url(images/General114_btn_up.gif)';
}
function showGeneral114Hover(obj){
	obj.parentNode.style.backgroundImage ='url(images/General114_btn_Hover.gif)';
}
function showGeneral114Down(obj){
	obj.parentNode.style.backgroundImage ='url(images/General114_btn_Down.gif)';
}

function showShortDate(dDate){
	shortMths = new Array();
	shortMths[0] = "Jan" ;
	shortMths[1] = "Feb" ;
	shortMths[2] = "Mar" ;
	shortMths[3] = "Apr" ;
	shortMths[4] = "May" ;
	shortMths[5] = "Jun" ;
	shortMths[6] = "Jul" ;
	shortMths[7] = "Aug" ;
	shortMths[8] = "Sep" ;
	shortMths[9] = "Oct" ;
	shortMths[10] = "Nov" ;
	shortMths[11] = "Dec" ;
	return shortMths[dDate.getMonth()] + " " + dDate.getDate() + " " + dDate.getFullYear();	
}

function currencyFormat(cNum){
	if(cNum == Math.round(cNum)){
		return "$" + cNum + ".00";
	}
	if(cNum * 10 == Math.round(cNum * 10)){
		return "$" + cNum + "0";
	}
	cNum = Math.round(cNum * 100)/100
	return "$" + cNum;
}	

function doNothing(){
// required as destination of non-navigational <A> elements
}
