/*
	VivJavaScript.js
	
	JavaScript routines developed by Rampant, Inc. to replace those provided by Viv in redesign
	(originals were unnecessarily complicated, didn't track values, etc)
	
	7/4/07 RGS V002 Add header, remove all older routines
	
'-----------------------------------------------------------------------------------$$$
' Copyright 1995 - 2007 Rampant, Inc!!  All rights Reserved.
'	Rampant, Inc!! 4700 Rockside Road #400, Independence, Ohio 44131
'	Rampant, Inc!! Voice: (216) 524-5577, Fax: (216) 524-9226
'	Rampant, Inc!! Web: http://www.rampant.com  Email: rampant@rampant.com
'	This work is exclusively the confidential and proprietary property of Rampant, Inc.
'	This work may not be duplicated, distributed or used in any form without the express
'	written permission of Rampant, Inc.
'-----------------------------------------------------------------------------------$$$
*/

function bluemenu_buttonHilight(elem) {
		elem.style.svColor= elem.style.color;
		elem.style.color = "#ffffff";
}

function bluemenu_buttonRestore(elem) {
		elem.style.color = elem.style.svColor
}

function subnav_buttonHilight(elem) {
		elem.style.svColor= elem.style.backgroundColor;
		elem.style.backgroundColor = "#009933";
		elem.style.cursor = 'pointer';
}

function subnav_buttonRestore(elem) {
		elem.style.backgroundColor = elem.style.svColor
}

/* 7/24/07 make buttons behave like buttons
		  Firefox: use cursor='pointer' vs cursor='hand'
 */
function mouseoverbuttonon(elem) {
		elem.style.color = "#cc0000";
		elem.style.cursor = 'pointer';
		
}
function mouseoverbuttonoff(elem) {
		elem.style.color = "#0000ff";
		elem.style.cursor = 'auto';
}
