function css_js (__name) {
	this.name		= __name;
	this.items		= new Array();

	this.over_class 	= "";
	this.down_class 	= "";
	this.normal_class 	= "";

	this.cur_click	= "";
	this.itemcount 	= 1;

	this.css_down 	= css_down;
	this.css_over 	= css_over;
	this.css_out 	= css_out;

	this.set_style	= set_style;
}
function set_style (__normal,__over,__down) {
	this.normal_class 	= __normal;
	this.over_class 	= __over;
	this.down_class 	= __down;
}
function css_down(__html_obj) {
	if(this.cur_click != "" && this.cur_click != __html_obj) {
		this.cur_click.className = this.normal_class;
	}
	this.cur_click	= __html_obj;
	__html_obj.className	= this.down_class;
}
function css_over(__html_obj) {
	if(__html_obj != this.cur_click) {
		__html_obj.className	= this.over_class;

	}
}
function css_out(__html_obj) {
	if(__html_obj != this.cur_click) {
		__html_obj.className	= this.normal_class;
	}
}

	nav1 	= new css_js("nav1");
	nav1.set_style("normalclass","overclass","downclass");

	nav2 	= new css_js("nav2");
	nav2.set_style("normalclass2","overclass2","downclass2");

	nav3 	= new css_js("nav3");
	nav3.set_style("normalclass3","overclass3","downclass3");
