/////////////////////////////////////////////////////////////////////////////
// Function : NavNode (constructor)
// Comments :
/////////////////////////////////////////////////////////////////////////////
function NavNode(id, label, href, parent)
{
	this.m_parent = null;
	this.m_level = 0;

	if (parent)
	{
		this.m_parent = parent;
		this.m_level = parent.m_level+1;
	}

	this.m_id = id;

	// assume that m_label will most often be used directly as HTML
	this.m_rawlabel = label;

	label = label.replace(/&/g, '&amp;');
	label = label.replace(/</g, '&lt;');
	label = label.replace(/>/g, '&gt;');
	label = label.replace(/"/g, '&quot;');

	this.m_label = label;

	this.m_href = href;
	this.m_subNodes = new Array();

	var argValues = NavNode.arguments;
	var argCount = NavNode.arguments.length;

	for (i = 4 ; i < argCount ; i++)
	{
		var attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];

		eval("this.cp_" + attrName + " = '" + attrValue + "';");
	}

	NavNode.prototype.addNode = addNode;
	NavNode.prototype.isSelected = isSelected;
}

/////////////////////////////////////////////////////////////////////////////
// Function : addNode
// Comments :
/////////////////////////////////////////////////////////////////////////////
function addNode(id, label, href)
{
	var newIndex = this.m_subNodes.length;
	var newNode = new NavNode(id, label, href, this);

	var argValues = addNode.arguments;
	var argCount = addNode.arguments.length;

	for (i = 3 ; i < argCount ; i++)
	{
		var attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];

		eval("newNode.cp_" + attrName + " = '" + attrValue + "';");
	}

	this.m_subNodes[newIndex] = newNode;
	return newNode;
}

/////////////////////////////////////////////////////////////////////////////
// Function : isSelected
// Comments :
/////////////////////////////////////////////////////////////////////////////
function isSelected()
{
    var pos = window.location.href.lastIndexOf("/");
    var docname = window.location.href.substring(pos+1, window.location.href.length);

    pos = this.m_href.lastIndexOf("/");
    var myname = this.m_href.substring(pos+1, this.m_href.length);

    if (docname == myname)
		return true;
	else
		return false;
}

/////////////////////////////////////////////////////////////////////////////
// Function : customSectionPropertyExists
// Comments :
/////////////////////////////////////////////////////////////////////////////
function customSectionPropertyExists(csp)
{
	return (typeof csp != _U && csp != null);
}

/////////////////////////////////////////////////////////////////////////////
// Function : getCustomSectionProperty
// Comments :
/////////////////////////////////////////////////////////////////////////////
function getCustomSectionProperty(csp)
{
	if (customSectionPropertyExists(csp))
	{
		return csp;
	}
	else
	{
		return "";
	}
}

/////////////////////////////////////////////////////////////////////////////

var g_navNode_Root = new NavNode('810','Home',ssUrlPrefix + 'default.asp',null,'MetaDescription==Visit Regis Salons for the latest in hair cut, hair color, texture \x26 finishing services. Keep your hairstyle \x26 color looking great with professional hair care products.','MetaKeywords==Regis, salon, hair styles, hairstyles, hair care, haircare products, hair color, beauty products, Matrix, sale, holiday','PageTitle==Regis Salons \x7c Newest Hairstyles \x7c Hair Coloring \x7c Finishing Services');
g_navNode_0=g_navNode_Root.addNode('812','specials',ssUrlPrefix + 'specials/default.asp','MetaDescription==Regis Salons has the hottest hair care and salon service specials. Get great deals on hair care \x26 beauty products. Keep your hairstyle and hair color looking great with professional hair care products.','MetaKeywords==Regis Salons, sale, hair care, haircare products, beauty products, savings, Redekn, Paul Mitchell, Biolage, Kenra, Sebastian, DESIGNLINE, It\u2019s a 10, TIGI, Purology, Matrix, Joico, OPI','PageTitle==Hair Products and Service Specials \x7c Regis Salons');
g_navNode_1=g_navNode_Root.addNode('813','trends',ssUrlPrefix + 'trends/default.asp','MetaDescription==Find a fabulous style at Regis Salons. Visit Regis Salons for the latest in haircuts, color, texture and finishing services. Keep your hairstyle and hair color looking great with professional hair-care products.','MetaKeywords==Regis Salons, salon services, styling trends, holiday style, hair style, hairstyle, hair color, haircolor, hair cut, haircut, products, beauty products, hair care, haircare products, DESIGNLINE, blonde, highlights, lowlights, shine','PageTitle==Styling Trends \x7c Hairstyles for Women \x7c Hairstyles for Men \x7c Regis Salons');
g_navNode_2=g_navNode_Root.addNode('814','experts',ssUrlPrefix + 'experts/default.asp','MetaDescription==Regis Salons are the haircut and hair coloring experts. Our team of educators keep every Regis stylist up to date on the latest in haircuts, color, texture and finishing services. ','MetaKeywords==Regis Salons, Regis Corporation, education, artistic director, hair cut, haircut, color, haircolor, experts, salon, stylists, colorists','PageTitle==Hair Color Experts \x7c Haircut Experts \x7c Regis Salons');
g_navNode_3=g_navNode_Root.addNode('815','giftcards',ssUrlPrefix + 'giftcards/default.asp','MetaDescription==Regis Salons gift cards make great gifts. Gift card recipients can redeem their gift card for salon services \x26 hair products at any Regis Salon in the U.S. and Canada. ','MetaKeywords==Regis Salons, Regis Corporate, Corporation, gift card, sales, online','PageTitle==Gift  Cards \x7c Regis Salon Gift Certificates \x7c Regis Salons');
g_navNode_4=g_navNode_Root.addNode('816','enews',ssUrlPrefix + 'enews/default.asp','MetaDescription==Sign up for the Regis Salons E-News. Be the first to learn about Regis Salons deals \x26 specials on salon services and professional hair care products. ','MetaKeywords==E-News, email newsletter, Regis Salons, promotions, hair styling, hairstyling tips, trends','PageTitle==E-News Sign-Up \x7c Regis Salons Specials \x26 Deals');
g_navNode_5=g_navNode_Root.addNode('817','work',ssUrlPrefix + 'work/default.asp','MetaDescription==Regis Salon is a world leader in the salon industry. Enjoy a creative hair stylist career \x26 opportunity to advance with free monthly training on hottest techniques. ','MetaKeywords==Regis Salons, Regis Corporation, employment, career, application, work, cosmetology, hairstylist, hair design','PageTitle==Careers at Regis Salons \x7c Hair Stylist Jobs \x7c Beauty Salon Jobs \x7c Regis Salons');
g_navNode_6=g_navNode_Root.addNode('819','myprofile',ssUrlPrefix + 'myprofile/default.asp','MetaKeywords==E-News, email newsletter, Regis Salons, promotions, hair styling, hairstyling tips, trends','PageTitle==Profile Login \x7c Regis Salons');
g_navNode_7=g_navNode_Root.addNode('820','salonlocator',ssUrlPrefix + 'salonlocator/default.asp','MetaDescription==To find a Regis Salons location, enter a zip code, area code, city name or mall name. ','MetaKeywords==Regis, salons, locations, find salons, mall','PageTitle==Salon Locator \x7c Regis Salons Locations \x7c Regis Salons');
g_navNode_8=g_navNode_Root.addNode('821','about',ssUrlPrefix + 'about/default.asp','MetaDescription==Regis Salons are the flagship division of Regis Corporation, the largest, most experienced hair salon company in the world. Stylists supported by industry\u2019s best education, ongoing training in current trends \x26 techniques.','MetaKeywords==Regis Salons, cut, haircut, color, haircolor, experts, hairstyle, style, stylists, industry, products, trends, designline, tips, tricks, consultations ','PageTitle==About Regis \x7c Regis Hair Salons \x7c Regis Salons');
g_navNode_9=g_navNode_Root.addNode('822','login',ssUrlPrefix + 'login/default.asp','MetaKeywords==E-News, email newsletter, Regis Salons, promotions, hair styling, hairstyling tips, trends','PageTitle==Profile Login \x7c Regis Salons');
g_navNode_10=g_navNode_Root.addNode('823','contactus',ssUrlPrefix + 'contactus/default.asp','MetaKeywords==Regis Salons, Regis Corporation, information, online, customers, career application, feedback, products','PageTitle==Contact Us \x7c Regis Salons');
g_navNode_11=g_navNode_Root.addNode('824','privacypolicy',ssUrlPrefix + 'privacypolicy/default.asp','MetaDescription==Your privacy is important to us at Regis Corporation. Read our Privacy Policy for additional information. ','MetaKeywords==Regis Corporation, Regis Salons, privacy, policy, information, usage, opt out, opting out, permission','PageTitle==Privacy Policy  \x7c Regis Salons');
g_navNode_12=g_navNode_Root.addNode('825','forgotpassword',ssUrlPrefix + 'forgotpassword/default.asp','MetaKeywords==E-News, email newsletter, Regis Salons, promotions, hair styling, hairstyling tips, trends','PageTitle==Password Reminder \x7c Regis Salons');
g_navNode_13=g_navNode_Root.addNode('826','thankyou',ssUrlPrefix + 'thankyou/default.asp');
g_navNode_13_0=g_navNode_13.addNode('834','ContactUs',ssUrlPrefix + 'thankyou/ContactUs/default.asp','MetaKeywords==Regis Salons, Regis Corporation, information, online, customers, career application, feedback, products','PageTitle==Contact Confirmation \x7c Regis Salons');
g_navNode_13_1=g_navNode_13.addNode('837','Careers',ssUrlPrefix + 'thankyou/Careers/default.asp','MetaKeywords==Regis Salons, Regis Corporation, employment, career, application, work, cosmetology, hairstylist, hair design','PageTitle==Career Confirmation \x7c Regis Salons');
g_navNode_14=g_navNode_Root.addNode('827','salondetail',ssUrlPrefix + 'salondetail/default.asp','MetaKeywords==Regis, salons, locations, location, find salons, mall','PageTitle==Locations \x7c Regis Salons');
g_navNode_15=g_navNode_Root.addNode('828','unsubscribe',ssUrlPrefix + 'unsubscribe/default.asp','MetaKeywords==Regis Salons, Regis Corporation, employment, career, application, work, cosmetology, hairstylist, hair design','PageTitle==Unsubscribe \x7c Regis Salons');
g_navNode_16=g_navNode_Root.addNode('829','error',ssUrlPrefix + 'error/default.asp','PageTitle==Page Not Found \x7c Regis Salons');
g_navNode_17=g_navNode_Root.addNode('830','imageassets',ssUrlPrefix + 'imageassets/default.asp');
g_navNode_18=g_navNode_Root.addNode('831','careers',ssUrlPrefix + 'careers/default.asp','MetaKeywords==Regis Salons, Regis Corporation, employment, career, application, work, cosmetology, hairstylist, hair design','PageTitle==Career Application  \x7c Regis Salons');
g_navNode_19=g_navNode_Root.addNode('839','mobile',ssUrlPrefix + 'mobile/default.asp','MetaDescription==Visit Regis Salons for the latest in hair cut, hair color, texture \x26 finishing services. Keep your hairstyle \x26 color looking great with professional hair care products.','MetaKeywords==Regis, salon, hair styles, hairstyles, hair care, haircare products, hair color, beauty products, Matrix, sale, holiday','PageTitle==Regis Salons Mobile');
g_navNode_19_0=g_navNode_19.addNode('840','searchresults',ssUrlPrefix + 'mobile/searchresults/default.asp','PageCat==Salon Results','PageTitle==Salon Locator \x7c Regis Salons Locations \x7c Regis Salons Mobile');
g_navNode_19_1=g_navNode_19.addNode('841','salondetail',ssUrlPrefix + 'mobile/salondetail/default.asp','MetaKeywords==Regis, salons, locations, location, find salons, mall','PageCat==Salon Detail','PageTitle==Locations \x7c Regis Salons Mobile');
g_navNode_19_2=g_navNode_19.addNode('842','careers',ssUrlPrefix + 'mobile/careers/default.asp','PageCat==Careers','PageTitle==Careers \x7c Regis Salons Mobile');
g_navNode_19_3=g_navNode_19.addNode('843','contactus',ssUrlPrefix + 'mobile/contactus/default.asp','PageCat==Contact Us','PageTitle==Contact Us \x7c Regis Salons Mobile');
g_navNode_19_4=g_navNode_19.addNode('844','thankyou',ssUrlPrefix + 'mobile/thankyou/index.htm');
g_navNode_19_4_0=g_navNode_19_4.addNode('845','careers',ssUrlPrefix + 'mobile/thankyou/careers/default.asp','PageCat==Careers','PageTitle==Thank You \x7c Regis Salons Mobile');
g_navNode_19_4_1=g_navNode_19_4.addNode('846','contactus',ssUrlPrefix + 'mobile/thankyou/contactus/default.asp','PageCat==Contact Us','PageTitle==Thank You \x7c Regis Salons Mobile');
