/////////////////////////////////////////////////////////////////////////////
// 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('632','Home',ssUrlPrefix + 'default.asp',null,'MetaDescription==SmartStyle Family Hair Salons are located in Walmart stores. SmartStyle offers quick and convenient no-appointment haircuts at affordable prices for men, women and children.','MetaKeywords==Family hair salon, haircuts, kids haircut, women\u2019s hairstyles, men\u2019s hairstyles, kids hairstyles. ','PageTitle==Family Hair Salon \u2013 SmartStyle \u2013 Haircuts for Men, Women \x26 Kids','ShowInBottomFooterNav==TRUE');
g_navNode_0=g_navNode_Root.addNode('633','Locations',ssUrlPrefix + 'salonlocator/default.asp','MetaDescription==SmartStyle Family Hair Salons are conveniently located in Walmarts across the US. Find the hair salon nearest you and get a great new haircut for an affordable price.','MetaKeywords==Family hair salon, salon locator, affordable haircut, salon finder, SmartStyle','PageTitle==Find a SmartStyle Family Hair Salon Near You','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_1=g_navNode_Root.addNode('634','About Us',ssUrlPrefix + 'aboutus/default.asp','MetaDescription==SmartStyle Family Hair Salons are affordable, quick and located conveniently in Walmart and offer affordable, quick haircuts and hairstyles for men, women and children. ','MetaKeywords==Family hair salons, men\u2019s hairstyles, women\u2019s hairstyles, kids hairstyles, SmartStyle, Walmart, affordable haircuts, no-appointments.','PageTitle==Family Hair Salons \u2013 About SmartStyle - Hairstyles for Men, Women \x26 Kids','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_2=g_navNode_Root.addNode('635','Style File',ssUrlPrefix + 'StyleFile/default.asp','MetaDescription==SmartStyle Family Hair Salon can help you find a new look. Whether you\u2019re looking for a new long or short hairstyle, men\u2019s haircuts, women\u2019s haircuts or kids\u2019 haircuts. ','MetaKeywords==Hairstyle, family hair salon, haircut, curls, hair, texture, definition, waves, body, hair type, curling, layers, volume, classic cut, shine, layers, color, crop, highlights, soft curls, healthy hair, beauty, shine, hold, short bob, length, bangs, blunt, shoulder-length cut, straightening, soft waves','PageTitle==Hairstyles, Haircuts and Trends from SmartStyle Family Hair Salon','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_3=g_navNode_Root.addNode('636','Specials',ssUrlPrefix + 'Specials/default.asp','MetaDescription==Get great deals on men\u2019s, women\u2019s and kids\u2019 haircuts, hairstyles and haircare products at SmartStyle Family Hair Salon. ','MetaKeywords==Keywords \x2a\x09Family hair salon, specials, savings, haircare products, haircuts, hairstyles, SmartStyle','PageTitle==Family Hair Salon \u2013 SmartStyle Specials ','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_3_0=g_navNode_3.addNode('647','LPEPED',ssUrlPrefix + 'Specials/LPEPED/default.asp','MetaDescription==Save on great professional haircare products at unbelievably low prices every day at SmartStyle family hair salon','MetaKeywords==Haircare products, family hair salon, low prices, save every day, favorite products, SmartStyle','PageTitle==Save on Haircare Products at SmartStyle Family Hair Salon');
g_navNode_3_1=g_navNode_3.addNode('648','nonLPEPED',ssUrlPrefix + 'Specials/nonLPEPED/default.asp','MetaDescription==Save on great professional haircare products at unbelievably low prices at SmartStyle Family Hair Salon. ','MetaKeywords==Haircare products, family hair salon, low prices, save, favorite products, SmartStyle.','PageTitle==Save on Haircare Products at SmartStyle Family Hair Salon');
g_navNode_4=g_navNode_Root.addNode('637','Gift Cards',ssUrlPrefix + 'GiftCards/default.asp','MetaDescription==Buy a SmartStyle family hair salon gift card for family and friends, redeemable on salon services and haircare products.  ','MetaKeywords==Gift cards, gifts, holiday, birthday, family hair salon, SmartStyle, haircare products','PageTitle==SmartStyle Family Hair Salon \u2013 Buy a Gift Card','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_5=g_navNode_Root.addNode('638','Careers',ssUrlPrefix + 'Career/default.asp','MetaDescription==SmartStyle Family Hair Salon is the perfect place to get a job. With free on-going education and a high-traffic location thanks to Walmart, SmartStyle is a hair stylist\u2019s dream place to work. ','MetaKeywords==Hair stylist, hair salon career, salon opportunities, family hair salon, SmartStyle, hairstyles, hair careers, hair stylist careers','PageTitle==SmartStyle Family Hair Salon \u2013 Hair Stylist Careers','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_5_0=g_navNode_5.addNode('728','Rewards',ssUrlPrefix + 'Career/Rewards/default.asp','MetaDescription==When you work at SmartStyle Family Hair Salon, you not only get to create fantastic hairstyles for all your clients, you also get amazing prizes and rewards for your hard work. ','MetaKeywords==Hair stylist, career rewards, salon perks, prizes, family hair salon, SmartStyle, hair careers, hair stylist careers','PageTitle==SmartStyle Family Hair Salon \u2013 Career Rewards for Hair Stylists');
g_navNode_5_1=g_navNode_5.addNode('729','Education',ssUrlPrefix + 'Career/Education/default.asp','MetaDescription==Keep up on the latest trends and techniques in hair cuts, hairstyles and hair color. ','MetaKeywords==Haircut, hair color, hairstyle, hair trends, hair stylist training, family hair salon, SmartStyle, hair careers, hair stylist careers','PageTitle==Haircut, Hair Color \x26 Hairstyle Trends \u2013 SmartStyle Career Education');
g_navNode_5_2=g_navNode_5.addNode('730','Benefits',ssUrlPrefix + 'Career/Benefits/default.asp','MetaDescription==SmartStyle Family Hair Salon offers many great benefits for all hair stylists, including Working for SmartStyle you will receive generous commission and a competitive wage, along with free style tools and supplies. ','MetaKeywords==Hair stylist benefits, commission, wages, insurance, family hair salon, SmartStyle','PageTitle==SmartStyle Family Hair Salon \u2013 Hair Stylist Career Benefits');
g_navNode_6=g_navNode_Root.addNode('639','Products',ssUrlPrefix + 'Products/default.asp','MetaDescription==Keep your haircut looking great in between salon visits with SmartStyle\u2019s wide range of affordable top haircare products. ','MetaKeywords==Haircare products, professional haircare, SmartStyle, family hair salon, affordable haircare','PageTitle==Haircare Products at SmartStyle Family Hair Salon','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_7=g_navNode_Root.addNode('640','Profile',ssUrlPrefix + 'myprofile/default.asp','MetaDescription==As a loyal SmartStyle Family Hair Salon client, we want to keep you updated on any salon promotions. Please create a client profile with details on how you wish to be contacted. ','MetaKeywords==SmartStyle, client profile, client information, salon profile, family hair salon','PageTitle==Family Hair Salon \u2013 SmartStyle \u2013 Client Profile','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_8=g_navNode_Root.addNode('641','Contact Us',ssUrlPrefix + 'contactus/default.asp','MetaDescription==Please contact SmartStyle with any comments or questions you may have. If your question pertains to a specific SmartStyle hair salon, please note the location. We appreciate all customer feedback. ','MetaKeywords==SmartStyle, family hair salon, contact, salon inquiry','PageTitle==Contact SmartStyle Family Hair Salon','ShowInBottomFooterNav==TRUE','ShowInBottomNav==TRUE');
g_navNode_9=g_navNode_Root.addNode('643','Privacy Policy',ssUrlPrefix + 'PrivacyPolicy/default.asp','MetaDescription==SmartStyle Family Hair Salons respects the privacy of all of our customers who visit for haircuts, hair color and haircare products. ','MetaKeywords==Privacy, policy, information','PageTitle==Family Hair Salon \u2013 SmartStyle \u2013 Privacy Policy');
g_navNode_10=g_navNode_Root.addNode('644','Thank You',ssUrlPrefix + 'ThankYou/index.htm');
g_navNode_10_0=g_navNode_10.addNode('645','Contact Us',ssUrlPrefix + 'ThankYou/ContactUs/default.asp','MetaDescription==Thank you for contacting SmartStyle Family Hair Salon. We appreciate our customers and all of their comments, questions and feedback','MetaKeywords==Thank you, contact, SmartStyle, family hair salon','PageTitle==Thank you for Contacting SmartStyle Family Hair Salon');
g_navNode_10_1=g_navNode_10.addNode('646','Careers',ssUrlPrefix + 'ThankYou/Careers/default.asp','MetaDescription==Thank you for applying for a position at SmartStyle Family Hair Salons. ','MetaKeywords==SmartStyle, family hair salon, job application, hair stylist careers','PageTitle==SmartStyle Family Hair Salon \u2013 Thank You for Your Application');
g_navNode_11=g_navNode_Root.addNode('664','Unsubscribe',ssUrlPrefix + 'Unsubscribe/default.asp','MetaDescription==Thank you for making SmartStyle the place you go for affordable family haircuts. You have been unsubscribed from our email list. ','MetaKeywords==Unsubscribe, cancel profile, email','PageTitle==Unsubscribe from SmartStyle Family Hair Salon');
g_navNode_12=g_navNode_Root.addNode('665','Forgot Password',ssUrlPrefix + 'ForgotPassword/default.asp','MetaDescription==Forget your password? No problem\x21 Simply fill out the form and we will e-mail you your login information.','MetaKeywords==password','PageTitle==SmartStyle Family Hair Salon \u2013 Password Reminder');
g_navNode_13=g_navNode_Root.addNode('666','Login',ssUrlPrefix + 'Login/default.asp','MetaDescription==Please login to update your client profile so you can continue to receive salon communications about any event or promotion happening at SmartStyle Family Hair Salons.','MetaKeywords==SmartStyle, profile login, login','PageTitle==SmartStyle Family Hair Salon - Client Profile Login');
g_navNode_14=g_navNode_Root.addNode('667','Image Assets',ssUrlPrefix + 'ImageAssets/default.asp');
g_navNode_15=g_navNode_Root.addNode('668','Error',ssUrlPrefix + 'Error/default.asp','MetaDescription==Sorry, the page you are looking for does not exist.  ','MetaKeywords==Error, page not found','PageTitle==Error Page Not Found');
g_navNode_16=g_navNode_Root.addNode('719','SalonDetail',ssUrlPrefix + 'salondetail/default.asp','MetaDescription==SmartStyle Family Hair Salons are conveniently located in Walmarts across the US. Find the hair salon nearest you and get a great new haircut for an affordable price.','MetaKeywords==Family hair salon, salon locator, affordable haircut, salon finder, SmartStyle','PageTitle==Find a SmartStyle Family Hair Salon Near You');
g_navNode_17=g_navNode_Root.addNode('731','Job Application',ssUrlPrefix + 'careers/default.asp','MetaDescription==Working at SmartStyle Family Hair Salons you\u2019ll have the opportunity to perform hair cuts, hair color, conditioning services and get to sell top professional haircare products for men and women.','MetaKeywords==SmartStyle, family hair salon, apply for salon position, hair stylist, haircare products, hair careers','PageTitle==SmartStyle Family Hair Salon \u2013 Apply for a Job');
g_navNode_17_0=g_navNode_17.addNode('732','Areasup',ssUrlPrefix + 'careers/area/default.asp','MetaDescription==Working at SmartStyle Family Hair Salons you\u2019ll have the opportunity to perform hair cuts, hair color, conditioning services and get to sell top professional haircare products for men and women.','MetaKeywords==SmartStyle, family hair salon, apply for salon position, hair stylist, haircare products, hair careers','PageTitle==SmartStyle Family Hair Salon \u2013 Apply for a Job');
