var ABOUTUS		= 1001110;
var CONTACTUS	= 1001120;
var PRIVACY		= 1001130;
var TERMS		= 1001140;
var SITEMAP		= 1001150;
var NEWS		= 1001160;
var EMPLOYMENT	= 1001170;
var REFERRALS	= 1001180;
var CLIENTS		= 1001190;
var DISCLAIMER	= 1001200;
var TESTIMONIALS= 1001210;
var RESOURCES	= 1001220;
var GENERAL		= 1001230;
var PROFESSIONALS=1001240;

var BIOS		= 1002100;
var PARTNERS	= 1002110;
var BIO_PEARLMAN	= 1002120;
var BIO_BORSKA		= 1002130;
var BIO_WAX			= 1002140;
var BIO_BROWN		= 1002150;
var BIO_SCHWARTZ	= 1002160;
var BIO_LANG		= 1002170;
var BIO_GROB		= 1002180;
var BIO_STERN		= 1002190;

var ASSOCIATES	= 1003110;
var BIO_DREYFUS		= 1003120;
var BIO_YOUNG		= 1003130;
var BIO_KAO			= 1003140;
var BIO_CHING		= 1003150;
var BIO_GOLDSMITH	= 1003160;
var BIO_MENDOZA		= 1003170;
var BIO_HELLER		= 1003180;
var BIO_ROSENFELD	= 1003190;
var BIO_JOSEPH		= 1003200;
var BIO_HOLERT		= 1003210;
var BIO_WALKER		= 1003220;
var BIO_HILTON		= 1003230;
var BIO_RAMIREZ		= 1003240;
var BIO_GAINES		= 1003250;
var BIO_OLINS		= 1003260;
var BIO_SIROUNIAN	= 1003270;
var BIO_BSTERN		= 1003280;
var BIO_RESSLER		= 1003290;
var BIO_GRAPER		= 1003300;
var BIO_JORDAN		= 1003310;
var BIO_ASLANIAN	= 1003320;
var BIO_COHEN		= 1003330;
var BIO_HRDS		= 1003340;
var BIO_OHARA		= 1003350;
var BIO_DANOWITZ	= 1003360;
var BIO_CORREIO     = 1003370;
var BIO_PENNEY      = 1003380;

var PARALEGALS	= 1004110;
var BIO_HURD		= 1004120;
var BIO_ALDAZ		= 1004130;
var BIO_DANIELSSTOCK= 1004140;
var BIO_TRAPP		= 1004150;
var BIO_PHUAPHES	= 1004160;
var BIO_LUDOVICO	= 1004170;
var BIO_REES		= 1004180;
var BIO_CORDERO		= 1004190;
var BIO_JOHNS		= 1004200;
var BIO_ALVARENGA	= 1004210;
var BIO_CHAPPELL	= 1004220;
var BIO_BENLLOCH	= 1004230;
var BIO_MARTIN		= 1004240;
var BIO_HALL		= 1004250;
var BIO_TORRES		= 1004260;
var BIO_MELLINGER	= 1004270;
var BIO_MORSE		= 1004280;
var BIO_CUNNINGHAM	= 1004290;
var BIO_MONSERRAT	= 1004300;
var BIO_ROTH		= 1004310;
var BIO_MCGILL		= 1004320;
var BIO_SHERMAN		= 1004330;
var BIO_FLUKKER		= 1004340;
var BIO_RUMORE		= 1004350;
var BIO_GOLLOM		= 1004360;
var BIO_RODRIGUEZ	= 1004370;
var BIO_MACRO		= 1004380;
var BIO_KNIGHT		= 1004390;
var BIO_NWALKER		= 1004400;
var BIO_SALAS		= 1004410;
var BIO_FRANKFORT	= 1004420;
var BIO_ZANNELLI	= 1004430;
var BIO_MAYEN		= 1004440;
var BIO_ARMAS		= 1004450;
var BIO_GARCIA		= 1004460;
var BIO_RETTIG		= 1004470;
var BIO_BAKER		= 1004480;
var BIO_MCCAIN		= 1004490;
var BIO_CORTEZ		= 1004500;
var BIO_JONES		= 1004510;
var BIO_PRENGER		= 1004520;
var BIO_TILLER		= 1004530;
var BIO_LOPEZ		= 1004540;
var BIO_FLORES		= 1004550;
var BIO_WHITE       = 1004560;
var BIO_ALCALDE     = 1004570;
var BIO_RUMM        = 1004580;

var BIO_RENTEN        = 1004590;
var BIO_HITCHINGS      = 1004600;
var BIO_DAVILA        = 1004610;
var BIO_LYNETTE        = 1004620;
var BIO_LEVIN        = 1004630;

var ADMIN		= 1005110;
var BIO_ELLISON		= 1005130;
var BIO_STOCKWELL	= 1005140;

var LIEN_REP	= 1006110;
var BIO_MUNDWILER	= 1006120;

var OFFICE_ENCINO	= 1007110;
var OFFICE_GLENDALE	= 1007120;
var OFFICE_OXNARD	= 1007130;

var NONE		= 2000000;

var ie = document.all;
var ns = document.getElementById;

function getObject(objectName){
	var obj;
	if(ns){
		obj = document.getElementById(objectName);
	}
	else if(ie){
		obj = document.all.item(objectName);
	}
	return obj;
}

function jump(linkCode, pageType){
	var href = "";
	var tempHref = "";
	if(pageType == CONTACTUS)
		tempHref = "contactus.html?cid=";
	else //if(pageType == BIOS)
		tempHref = "bios.html?bid=";
		
	switch(linkCode){
		case ABOUTUS:
			href = "aboutus.html";
			break;
		case NEWS:
			href = "news.html";
			break;
		case EMPLOYMENT:
			href = "employment.html";
			break;
		case REFERRALS:
			href = "referral.html";
			break;
		case CONTACTUS:
			href = "contactus.html";
			break;
		case CLIENTS:
			href = "clients.html";
			break;
		case TESTIMONIALS:
			href = "testimonials.html";
			break;
		case TERMS:
			href = "terms.html";
			break;
		case RESOURCES:
			href = "resources.html";
			break;
		case PROFESSIONALS:
			href = "professionals.html";
			break;
		case PARTNERS:
			href = "partners.html";
			break;
		case ASSOCIATES:
			href = "associates.html";
			break;
		case PARALEGALS:
			href = "paralegals.html";
			break;
		case ADMIN:
			href = "administrators.html";
			break;
		case LIEN_REP:
			href = "lien_reps.html";
			break;
		case BIO_PEARLMAN:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_PEARLMAN;
			else
				href = "bio_pearlman.html";
			break;
		case BIO_BORSKA:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_BORSKA;
			else
				href = "bio_borska.html";
			break;
		case BIO_WAX:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_WAX;
			else
				href = "bio_wax.html";
			break;
		case BIO_BROWN:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_BROWN;
			else
				href = "bio_brown.html";
			break;
		case BIO_SCHWARTZ:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_SCHWARTZ;
			else
				href = "bio_schwartz.html";
			break;
		case BIO_LANG:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_LANG;
			else
				href = "bio_lang.html";
			break;
		case BIO_GROB:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_GROB;
			else
				href = "bio_grob.html";
			break;
		case BIO_STERN:
			if(pageType == CONTACTUS)
				href = tempHref + BIO_STERN;
			else
				href = "bio_stern.html";
			break;
		case BIO_DREYFUS:
			href = tempHref + BIO_DREYFUS;
			break;
		case BIO_YOUNG:
			href = tempHref + BIO_YOUNG;
			break;
		case BIO_KAO:
			href = tempHref + BIO_KAO;
			break;
		case BIO_CHING:
			href = tempHref + BIO_CHING;
			break;
		case BIO_GOLDSMITH:
			href = tempHref + BIO_GOLDSMITH;
			break;
		case BIO_MENDOZA:
			href = tempHref + BIO_MENDOZA;
			break;
		case BIO_HELLER:
			href = tempHref + BIO_HELLER;
			break;
		case BIO_ROSENFELD:
			href = tempHref + BIO_ROSENFELD;
			break;
		case BIO_JOSEPH:
			href = tempHref + BIO_JOSEPH;
			break;
		case BIO_HOLERT:
			href = tempHref + BIO_HOLERT;
			break;
		case BIO_WALKER:
			href = tempHref + BIO_WALKER;
			break;
		case BIO_HILTON:
			href = tempHref + BIO_HILTON;
			break;
		case BIO_RAMIREZ:
			href = tempHref + BIO_RAMIREZ;
			break;
		case BIO_GAINES:
			href = tempHref + BIO_GAINES;
			break;
		case BIO_OLINS:
			href = tempHref + BIO_OLINS;
			break;
		case BIO_SIROUNIAN:
			href = tempHref + BIO_SIROUNIAN;
			break;
		case BIO_BSTERN:
			href = tempHref + BIO_BSTERN;
			break;
		case BIO_RESSLER:
			href = tempHref + BIO_RESSLER;
			break;
		case BIO_GRAPER:
			href = tempHref + BIO_GRAPER;
			break;
		case BIO_JORDAN:
			href = tempHref + BIO_JORDAN;
			break;
		case BIO_ASLANIAN:
			href = tempHref + BIO_ASLANIAN;
			break;
		case BIO_COHEN:
			href = tempHref + BIO_COHEN;
			break;
		case BIO_HRDS:
			href = tempHref + BIO_HRDS;
			break;
		case BIO_OHARA:
			href = tempHref + BIO_OHARA;
			break;
		case BIO_DANOWITZ:
			href = tempHref + BIO_DANOWITZ;
			break;
        case BIO_CORREIO:
            href = tempHref + BIO_CORREIO;
            break;
        case BIO_PENNEY:
            href = tempHref + BIO_PENNEY;
            break;
		case BIO_HURD:
			href = tempHref + BIO_HURD;
			break;
		case BIO_ALDAZ:
			href = tempHref + BIO_ALDAZ;
			break;
		case BIO_DANIELSSTOCK:
			href = tempHref + BIO_DANIELSSTOCK;
			break;
		case BIO_TRAPP:
			href = tempHref + BIO_TRAPP;
			break;
		case BIO_PHUAPHES:
			href = tempHref + BIO_PHUAPHES;
			break;
		case BIO_LUDOVICO:
			href = tempHref + BIO_LUDOVICO;
			break;
		case BIO_REES:
			href = tempHref + BIO_REES;
			break;
		case BIO_CORDERO:
			href = tempHref + BIO_CORDERO;
			break;
		case BIO_JOHNS:
			href = tempHref + BIO_JOHNS;
			break;
		case BIO_ALVARENGA:
			href = tempHref + BIO_ALVARENGA;
			break;
		case BIO_CHAPPELL:
			href = tempHref + BIO_CHAPPELL;
			break;
		case BIO_BENLLOCH:
			href = tempHref + BIO_BENLLOCH;
			break;
		case BIO_MARTIN:
			href = tempHref + BIO_MARTIN;
			break;
		case BIO_MARTIN:
			href = tempHref + BIO_MARTIN;
			break;
		case BIO_MUNDWILER:
			href = tempHref + BIO_MUNDWILER;
			break;
		case BIO_HALL:
			href = tempHref + BIO_HALL;
			break;
		case BIO_TORRES:
			href = tempHref + BIO_TORRES;
			break;
		case BIO_MELLINGER:
			href = tempHref + BIO_MELLINGER;
			break;
		case BIO_MORSE:
			href = tempHref + BIO_MORSE;
			break;
		case BIO_CUNNINGHAM:
			href = tempHref + BIO_CUNNINGHAM;
			break;
		case BIO_MONSERRAT:
			href = tempHref + BIO_MONSERRAT;
			break;
		case BIO_ROTH:
			href = tempHref + BIO_ROTH;
			break;
		case BIO_MCGILL:
			href = tempHref + BIO_MCGILL;
			break;
		case BIO_SHERMAN:
			href = tempHref + BIO_SHERMAN;
			break;
		case BIO_FLUKKER:
			href = tempHref + BIO_FLUKKER;
			break;
		case BIO_RUMORE:
			href = tempHref + BIO_RUMORE;
			break;
		case BIO_RODRIGUEZ:
			href = tempHref + BIO_RODRIGUEZ;
			break;
		case BIO_MACRO:
			href = tempHref + BIO_MACRO;
			break;
		case BIO_KNIGHT:
			href = tempHref + BIO_KNIGHT;
			break;
		case BIO_NWALKER:
			href = tempHref + BIO_NWALKER;
			break;
		case BIO_SALAS:
			href = tempHref + BIO_SALAS;
			break;
		case BIO_FRANKFORT:
			href = tempHref + BIO_FRANKFORT;
			break;
		case BIO_ZANNELLI:
			href = tempHref + BIO_ZANNELLI;
			break;
		case BIO_MAYEN:
			href = tempHref + BIO_MAYEN;
			break;
		case BIO_ARMAS:
			href = tempHref + BIO_ARMAS;
			break;
		case BIO_GARCIA:
			href = tempHref + BIO_GARCIA;
			break;
		case BIO_RETTIG:
			href = tempHref + BIO_RETTIG;
			break;
		case BIO_BAKER:
			href = tempHref + BIO_BAKER;
			break;
		case BIO_MCCAIN:
			href = tempHref + BIO_MCCAIN;
			break;
		case BIO_CORTEZ:
			href = tempHref + BIO_CORTEZ;
			break;
		case BIO_JONES:
			href = tempHref + BIO_JONES;
			break;
		case BIO_PRENGER:
			href = tempHref + BIO_PRENGER;
			break;
		case BIO_TILLER:
			href = tempHref + BIO_TILLER;
			break;
		case BIO_LOPEZ:
			href = tempHref + BIO_LOPEZ;
			break;
		case BIO_FLORES:
			href = tempHref + BIO_FLORES;
			break;
		case BIO_WHITE:
			href = tempHref + BIO_WHITE;
			break;
        case BIO_ALCALDE:
            href = tempHref + BIO_ALCALDE;
            break;
        case BIO_RUMM:
            href = tempHref + BIO_RUMM;
            break;


case BIO_RENTEN:
            href = tempHref + BIO_RENTEN;
            break;
case BIO_HITCHINGS:
            href = tempHref + BIO_HITCHINGS;
            break;
case BIO_DAVILA:
            href = tempHref + BIO_DAVILA;
            break;
case BIO_LYNETTE:
            href = tempHref + BIO_LYNETTE;
            break;
case BIO_LEVIN:
            href = tempHref + BIO_LEVIN;
            break;



		case BIO_ELLISON:
			href = tempHref + BIO_ELLISON;
			break;
		case BIO_STOCKWELL:
			href = tempHref + BIO_STOCKWELL;
			break;
		case OFFICE_ENCINO:
			href = "offices.html?bid=" + OFFICE_ENCINO;
			break;
		case OFFICE_GLENDALE:
			href = "offices.html?bid=" + OFFICE_GLENDALE;
			break;
		case OFFICE_OXNARD:
			href = "offices.html?bid=" + OFFICE_OXNARD;
			break;
		case GENERAL:
			href = tempHref + GENERAL;
			break;
		default:
			href = "index.html";
	}
	window.location.href = href;
	window.status = href;
}

function Deco(p_image, p_slice, p_link){
	this.image = p_image;
	this.slice = p_slice;
	this.link = p_link;     
}

var introArray = new Array;
var randnum = 1;
//introArray[0] = new Deco('images/deco9.jpg', 'images/deco9_slice.jpg', 'javascript:jump();');
introArray[0] = new Deco('images/deco10.jpg', 'images/deco10_slice.jpg', 'javascript:jump();');
introArray[1] = new Deco('images/deco11_4.jpg', 'images/deco11_4_slice.jpg', 'javascript:jump();');
introArray[2] = new Deco('images/deco12_5.jpg', 'images/deco12_5_slice.jpg', 'javascript:jump();');
randnum = Math.floor(Math.random()*introArray.length);

function loadDeco(){
	document.deco.src = introArray[randnum].image;
	document.slice.src = introArray[randnum].slice;
}

var testArray = new Array;
var testRand = 1;
testArray[0] = "\"Pearlman, Borksa & Wax have consistently provided outstanding representation for the American Red Cross.  They always make themselves available to meet our company needs.  We look forward to many more years of excellent service\"<br> - Mike Starkey - Divisional Risk Manager for the American Red Cross";
testArray[1] = "\"Pearlman, Borska & Wax has represented Ball Corporation since 2003 in managing the legal activities associated with our workers' compensation exposure in the State of California.  They have demonstrated a commitment in understanding our culture, needs and concerns.  Their attention to detail, open communications and technical knowledge has helped us manage and control our costs in this often complicated area of workers' compensation\". <br> - Harold L. Lykins - Director, Corporate Risk for Ball Corporation";
testArray[2] = "\"I can't imagine the world of workers' compensation without Pearlman, Borska & Wax!  They have been representing the University of Southern California for many years and they are always there for us.  We appreciate their commitment to our philosophy of doing the right thing for our employees.  They are always available to offer suggestions and recommendations on the sensitive issues that often come our way\". <br>Nancy Pelissier - Director, University of Southern California Workers' Compensation/Disability Career and Protective Services";
testArray[3] = "\"USC is a long-time client of Pearlman Borska & Wax.  They not only have great expertise in the workers' compensation field, but also help us with many other employment-related issues.  They have been a great resource for the university and have helped us with many complex legal problems.\" <br>- Doug Moore, University of Southern California Executive Director, Risk Management";
testRand = Math.floor(Math.random()*testArray.length);


function loadTestimonial(){
	obj = getObject("testimony")
	//alert("obj:" + obj + ", rand: " + testRand);
	//obj.innerHTML = testArray[testRand];
}

function top(selectedMenu){
	var text = "";
	text += "<table cellpadding=0 cellspacing=0 border=0 width=740>\n";
	text += "<tr>\n";
	text += "	<td align=center height=30 class=title>\n";
	text += "		<table cellpadding=0 cellspacing=0 border=0 width=740>\n";
	text += "		<tr>\n";
	text += "			<td align=center class=menuinactive width=100>\n";
	text += "				<a href=\"javascript:jump(ABOUTUS);\" class=" + (selectedMenu==ABOUTUS?"menuSelected":"menu") + ">About Us</a>\n";
	text += "			</td>\n";
	text += "			<td align=center class=title width=10>\n";
	text += "				|\n";
	text += "			</td>\n";
	text += "			<td align=center class=menuactive width=100>\n";
	text += "				<a href=\"javascript:jump(PROFESSIONALS);\" class=" + (selectedMenu==PARTNERS?"menuSelected":"menu") + ">Professionals</a>\n";
	text += "			</td>\n";
	text += "			<td align=center class=title width=10>\n";
	text += "				|\n";
	text += "			</td>\n";
	text += "			<td align=center class=menuinactive width=140>\n";
	text += "				<a href=\"javascript:jump(NEWS);\" class=" + (selectedMenu==NEWS?"menuSelected":"menu") + ">News - Press Release</a>\n";
	text += "			</td>\n";
	text += "			<td align=center class=title width=10>\n";
	text += "				|\n";
	text += "			</td>\n";
	text += "			<td align=center class=menuinactive width=100>\n";
	text += "				<a href=\"javascript:jump(EMPLOYMENT);\" class=" + (selectedMenu==EMPLOYMENT?"menuSelected":"menu") + ">Employment</a>\n";
	text += "			</td>\n";
	text += "			<td align=center class=title width=10>\n";
	text += "				|\n";
	text += "			</td>\n";
	text += "			<td align=center class=menuinactive width=100>\n";
	text += "				<a href=\"javascript:jump(REFERRALS);\" class=" + (selectedMenu==REFERRALS?"menuSelected":"menu") + ">File Referrals</a>\n";
	text += "			</td>\n";
	text += "			<td align=center class=title width=10>\n";
	text += "				|\n";
	text += "			</td>\n";
	text += "			<td align=center class=menuinactive width=100>\n";
	text += "				<a href=\"javascript:jump(CLIENTS);\" class=" + (selectedMenu==CLIENTS?"menuSelected":"menu") + ">Client List</a>\n";
	text += "			</td>\n";
	text += "			<td align=center class=title width=10>\n";
	text += "				|\n";
	text += "			</td>\n";
	text += "			<td align=center class=menuinactive width=100>\n";
	text += "				<a href=\"javascript:jump(GENERAL, CONTACTUS);\" class=" + (selectedMenu==CONTACTUS?"menuSelected":"menu") + ">Contact Us</a>\n";
	text += "			</td>\n";
	text += "		</tr>\n";
	text += "		</table>\n";
	text += "	</td>\n";
	text += "</tr>\n";
	text += "</table>\n";
	document.write(text);
}

function bottom(){
	var text = "";
	text += "<tr>\n";
	text += "	<td align=center width=100% height=25>\n";
	text += "		<a href=\"javascript:jump(TERMS);\" class=link>\n";
	text += "		Terms & Conditions</a>&nbsp;&nbsp;\n";
	text += "		<a href=\"docs/brochure.pdf\" class=link target=_brochure>\n";
	text += "		Firm Brochure</a>&nbsp;&nbsp;\n";
	text += "		<a href=\"docs/brochure2.pdf\" class=link target=_brochure>\n";
	text += "		Firm Resume</a>&nbsp;&nbsp;\n";
	text += "		<a href=\"javascript:jump(RESOURCES);\" class=link>\n";
	text += "		Resources</a>&nbsp;&nbsp;\n";
	text += "	</td>\n";
	text += "</tr>\n";
	text += "<tr>\n";
	text += "	<td align=center width=100% height=25 background=\"images/bottom_bar.gif\">\n";
	//text += "		<a href=\"javascript:jump(DISCLAIMER);\" class=menu>\n";
	//text += "		Disclaimer</a>&nbsp;&nbsp;\n";
	text += "		<span class=title>&copy;2007 Pearlman, Borska & Wax, LLP</span>\n";
	text += "	</td>\n";
	text += "</tr>\n";
	document.write(text);
}

function proLinks(printLien, printAdmin, printParalegals, printAssociates, printPartners, align){
	var text = "";
	var spacer = 740;
	if(printAdmin) spacer -= 90;
	if(printParalegals) spacer -= 90;
	if(printAssociates) spacer -= 90;
	if(printPartners) spacer -= 90;
	if(printLien) spacer -= 90;

	text += "<table cellpadding=0 cellspacing=0 border=0 width=740>\n";
	text += "<tr>\n";
	if(align == "RIGHT"){
		text += "	<td align=right width=" + spacer + ">\n";
		text += "	</td>\n";
	}
	if(printLien){
		if(align=="RIGHT"){
			text += "	<td align=right width=2>\n";
			text += "	</td>\n";
		}
		text += "	<td align=left width=100>\n";
		text += button('javascript:jump(LIEN_REP);', 'menu', 'button', 'buttonface', 'Lien Reps');
		text += "	</td>\n";
	}
	if(printAdmin){
		if(align=="RIGHT"){
			text += "	<td align=right width=2>\n";
			text += "	</td>\n";
		}
		text += "	<td align=left width=100>\n";
		text += button('javascript:jump(ADMIN);', 'menu', 'button', 'buttonface', 'Administrators');
		text += "	</td>\n";
	}
	if(printParalegals){
		text += "	<td align=right width=2>\n";
		text += "	</td>\n";
		text += "	<td align=left width=100>\n";
		text += button("javascript:jump(PARALEGALS);", "menu", "button", "buttonface", "Paraprofessional");
		text += "	</td>\n";
	}
	if(printAssociates){
		text += "	<td align=right width=2>\n";
		text += "	</td>\n";
		text += "	<td align=left width=100>\n";
		text += button("javascript:jump(ASSOCIATES);", "menu", "button", "buttonface", "Attorneys");
		text += "	</td>\n";
	}
	if(printPartners){
		text += "	<td align=right width=2>\n";
		text += "	</td>\n";
		text += "	<td align=left width=100>\n";
		text += button("javascript:jump(PARTNERS);", "menu", "button", "buttonface", "Partners");
		text += "	</td>\n";
	}
	if(align == "LEFT"){
		text += "	<td align=right width=" + spacer + ">\n";
		text += "	</td>\n";
	}
	text += "</tr>\n";
	text += "</table>\n";
	document.write(text);
}

function button(url, linkClass, outerClass, innerClass, buttonText){
	var text = "";
	if(ie){
		text += "<a href=\"" + url + "\" class=" + linkClass + "><span class=" + outerClass;
		text += "><span class=" + innerClass + ">"+ buttonText + "</span></span></a>";
	}
	else{
		text += "<div style=\" width: 100px; height: 20px; \" class=" + linkClass + " onClick=\"location.href='";
		text += url + "'\"><span class=" + outerClass;
		text += "><span class=" + innerClass + ">"+ buttonText + "</span></span></a>";
	}		
	return text;
}

function printButton(url, linkClass, outerClass, innerClass, buttonText){
	document.write(button(url, linkClass, outerClass, innerClass, buttonText));
}

function hiliteOn(objName, linkID){
	object = getObject(objName);
	originalBgColor = object.style.backgroundColor;
	object.style.backgroundColor = "#000000";
	if(ie) object.cursor = "hand";
	else object.cursor = "pointer";
	if(ff){
		originalBorder = object.style.border;
		object.style.border = "1px solid grey";
		iobj = getObject(linkID); // document.getElementById(linkID);
		if(iobj)
			iobj.className = "menuselected";
	}
}

function hiliteOff(objName, linkID){
	object = getObject(objName);
	object.style.backgroundColor = originalBgColor; //"white";
	object.cursor = "default";
	if(ff){
		object.style.border = originalBorder;
		iobj = getObject(linkID); // document.getElementById(linkID);
		if(iobj)
			iobj.className = "menu";
	}
}