function colorThisElement(face, field_color, text_color){
	if (document.documentElement){
		face.style.backgroundColor=field_color;
		face.style.color=text_color;
	}
}

function showCAATermsPopUp(){
	openHTML('http://www.classactionamerica.com/policy/terms.asp', 'winTestimonial', '600', '500', '0');
}

function showCAALegalPopUp(){
	openHTML('http://www.classactionamerica.com/policy/legal.asp', 'winTestimonial', '600', '500', '0');
}

function showCAAPrivacyPopUp(){
	openHTML('http://www.classactionamerica.com/policy/privacy.asp', 'winTestimonial', '600', '500', '0');
}

function showLegalPopUp(){
	openHTML('/policy/legal.htm', 'winTestimonial', '600', '500', '0');
}

function showPersonalInjuryPoliciesPopUp(){
	openHTML('/policy/totalAttorneysPersonalInjuryPolicies.htm', 'winTestimonial', '600', '500', '0');
}

function showHelpPopUp(){
	openHTML('/policy/help.htm', 'winTestimonial', '600', '500', '0');
}

function showPrivacyPopUp(){
	openHTML('/policy/privacy.htm', 'winTestimonial', '600', '500', '0');
}

function openHTML( pageToLoad, winname, width, height, center) {
	self.name = "winMain";
	xposition=0; yposition=0;
	if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
		xposition = (screen.width - width) / 2;
		yposition = (screen.height - height) / 2;
	}
	args = 'width=' + width + ',height=' + height + ',location=0,menubar=0,resizable=1,';
	args = args + 'scrollbars=1,status=0,titlebar=0,toolbar=0,hotkeys=0,screenx=' + xposition + ',';
	args = args + 'screeny=' + yposition + ',left=' + xposition + ',top=' + yposition;

	window.open( pageToLoad,winname,args);
}