mypage = location.href.toLowerCase();
var myString = mypage;
var myfolderlength_registermailings = myString.lastIndexOf("f_registermailings") + 18;
var myfolderlength = myString.lastIndexOf("m_just4you") + 10;
var myfolderlength_media = myString.lastIndexOf("f_media") + 7;  
var myfolderlength_inthecommunity = myString.lastIndexOf("f_inthecommunity") + 16;

document.write("<table border='0' cellpadding='2' cellspacing='0' width='750' align='center' class=\"menu\">");
document.write("  <tr bgcolor='#000000'>");

<!--//just 4 you
if (mypage.substring(mypage.length - 12, mypage.length) == "just4you.asp")
{
	document.write("<td align='center'>");		

	<!--//whoweare
	document.write("<a href=\"/whoweare.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#996633\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>who we are</b></span></a>");
	document.write("</td><td align='center'>");

	<!--//whereweare
	document.write("<a href=\"/whereweare.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#5a865a\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>where we are</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//eats and drinks
	document.write("<a href=\"/eatsanddrinks.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ad0408\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>eats & drinks</b></span></a>");
	document.write("</td><td align='center'>");

	<!--//kids club
	document.write("<a href=\"/kidsclub.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#336699\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>kids club</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//join our team
	document.write("<a href=\"/joinourteam.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#FF9900\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<strong>employment</strong></span></a>");
	document.write("</td><td align='center'>");

	<!--//just 4 u
	document.write("<span style=\"color: #d64118; font-size: .7em;\" onmouseover=\"this.style.color=\'#FFFFFF\';\" onmouseout=\"this.style.color=\'#d64118\';\">");
	document.write("<b>just 4 you</b></span>");
	document.write("</td><td align='center'>");

	<!--//kwik card
	document.write("<a href=\"/kwikcard.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#9933cc\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>kwik card</b></span></a>");
	document.write("</td><td align='center'>");

	<!--//kwikshop
	document.write("<a href=\"/kwikshop.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffcc33\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>kwik shop</b></span></a>");
	document.write("</td></tr></table>");
	
	<!--//divider just 4 you section
	document.write("<div class=\"litegrey-border\"><hr /></div>");
	document.write("<table border='0' cellpadding='2' cellspacing='0' width='750' align='center' class=\"menu\">");
	document.write("<tr><td width='750' bgcolor='#d64118' colspan='8' align='right'>");
	document.write("&nbsp;&nbsp;&nbsp;");
	
	<!--//email coupon program
	document.write("<a href='http://www.kwiktrip.com/ecoupons'>");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>email coupon program</b></span></a>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

	<!--//in-store specials		
	document.write("<a href=\"/m_just4you/adsonspecials.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>in-store specials</b></span></a>");
	
	<!--//inthecommunity	
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("<a href=\"/m_just4you/inthecommunity.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>in the community</b></span></a>");
			
	<!--//register mailings		
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("<a href=\"/m_just4you/registermailings.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>register mailings</b></span></a>");
	
	<!--//coupons		
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("<a href=\"/m_just4you/coupons.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>coupons</b></span></a>");
	
	<!--//media		
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("<a href=\"/m_just4you/media.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>media</b></span></a>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("</div>");
	document.write("</td></tr></table>");
}	
else if (mypage.substring(myString.lastIndexOf("m_just4you"), myfolderlength) == "m_just4you")
{
	<!--//whoweare
	document.write("<td align='center'>");
	document.write("<a href=\"/whoweare.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ff9900\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>who we are</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//whereweare  
	document.write("<a href=\"/whereweare.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#5a865a\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>where we are</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//eats and drinks
	document.write("<a href=\"/eatsanddrinks.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ad0408\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>eats & drinks</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//kids club
	document.write("<a href=\"/kidsclub.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#336699\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>kids club</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//join our team
	document.write("<a href=\"/joinourteam.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ff9900\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<strong>employment</strong></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//just 4 u
	document.write("<a href=\"/just4you.asp\">");
	document.write("<span style=\"color: #d64118;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#d64118\';\">");
	document.write("<b>just 4 you</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//kwik card
	document.write("<a href=\"/kwikcard.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#9933cc\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>kwik card</b></span></a>");
	document.write("</td><td align='center'>");
	
	<!--//kwikshop
	document.write("<a href=\"/kwikshop.asp\">");
	document.write("<span onmouseover=\"this.style.color=\'#ffcc33\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
	document.write("<b>kwik shop</b></span></a>");
	document.write("</td></tr></table>");
	
	<!--//divider just 4 you folder
	document.write("<div class=\"litegrey-border\"><hr /></div>");
	document.write("<table border='0' cellpadding='2' cellspacing='0' width='750' align='center' class=\"menu\">");
	document.write("<tr><td width='750' bgcolor='#d64118' colspan='8' align='right'>");
	document.write("&nbsp;&nbsp;&nbsp;");
	
	<!--//email coupon program
	document.write("<a href='http://www.kwiktrip.com/ecoupons'>");
	document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	document.write("<b>email coupon program</b></span></a>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	
	<!--//in-store specials		
	if (mypage.substring(mypage.length - 17, mypage.length) == "adsonspecials.asp")
	{
	  document.write("<span style=\"color: #ffff33; font-size: .7em;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
	  document.write("<b>in-store specials</b></span>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	else
	{
	  document.write("<a href=\"/m_just4you/adsonspecials.asp\">");
	  document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	  document.write("<b>in-store specials</b></span></a>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	
	<!--//in the community	
	if (mypage.substring(mypage.length - 18, mypage.length) == "inthecommunity.asp") 
	{		
	  document.write("<span style=\"color: #ffff33; font-size: .7em;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
	  document.write("<b>in the community</b></span>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	else
	{
		if (mypage.substring(myString.lastIndexOf("f_inthecommunity"), myfolderlength_inthecommunity) == "f_inthecommunity")
		{
		  document.write("<a href=\"/m_just4you/inthecommunity.asp\">");
		  document.write("<span style=\"color: #ffff33;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
		  document.write("<b>in the community</b></span></a>");
		  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		}
		else
		{
		  document.write("<a href=\"/m_just4you/inthecommunity.asp\">");
		  document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
		  document.write("<b>in the community</b></span></a>");
		  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		}
	}
	
	<!--//register mailings
	if (mypage.substring(mypage.length - 20, mypage.length) == "registermailings.asp")
	{
	  document.write("<span style=\"color: #ffff33; font-size: .7em;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
	  document.write("<b>register mailings</b></span>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	else
	{
		if (mypage.substring(myString.lastIndexOf("f_registermailings"), myfolderlength_registermailings) == "f_registermailings")
		{
		  document.write("<a href=\"/m_just4you/registermailings.asp\">");
		  document.write("<span style=\"color: #ffff33;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
		  document.write("<b>register mailings</b></span></a>");
		  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		}
		else
		{
		  document.write("<a href=\"/m_just4you/registermailings.asp\">");
		  document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
		  document.write("<b>register mailings</b></span></a>");
		  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		}
	}
	
	<!--//coupons	
	if (mypage.substring(mypage.length - 11, mypage.length) == "coupons.asp")
	{
	  document.write("<span style=\"color: #ffff33; font-size: .7em;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
	  document.write("<b>coupons</b></span>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	else
	{
	  document.write("<a href=\"/m_just4you/coupons.asp\">");
	  document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
	  document.write("<b>coupons</b></span></a>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	
	<!--//media
	if (mypage.substring(mypage.length - 9, mypage.length) == "media.asp")
	{
	  document.write("<span style=\"color: #ffff33; font-size: .7em;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
	  document.write("<b>media</b></span>");
	  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	}
	else
	{
		if (mypage.substring(myString.lastIndexOf("f_media"), myfolderlength_media) == "f_media")
		{
		  document.write("<a href=\"/m_just4you/media.asp\">");
		  document.write("<span style=\"color: #ffff33;\" onmouseover=\"this.style.color=\'#ffffff\';\" onmouseout=\"this.style.color=\'#ffff33\';\">");
		  document.write("<b>media</b></span></a>");
		  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		}
		else
		{
		  document.write("<a href=\"/m_just4you/media.asp\">");
		  document.write("<span onmouseover=\"this.style.color=\'#ffff33\';\" onmouseout=\"this.style.color=\'#ffffff\';\">");
		  document.write("<b>media</b></span></a>");
		  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		}
	}
	
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("</td></tr></table>");
}	
else
{
  document.write("<td align='center'>");
  document.write("<a href=\"/whoweare.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#996633\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>who we are</b></span></a>");
  document.write("</td><td align='center'>");
  document.write("<a href=\"/whereweare.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#5a865a\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>where we are</b></span></a>");
  document.write("</td><td align='center'>");
  document.write("<a href=\"/eatsanddrinks.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#ad0408\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>eats & drinks</b></span></a>");
  document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
  document.write("<a href=\"/kidsclub.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#336699\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>kids club</b></span></a>");
  document.write("</td><td align='center'>");
  document.write("<a href=\"/joinourteam.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#ff9900\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<strong>employment</strong></span></a>");
  document.write("</td><td align='center'>");
  document.write("<a href=\"/just4you.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#d64118\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>just 4 you</b></span></a>");
  document.write("</td><td align='center'>");
  document.write("<a href=\"/kwikcard.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#9933cc\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>kwik card</b></span></a>");
  document.write("</td><td align='center'>");
  
  <!--//kwikshop
  document.write("<a href=\"/kwikshop.asp\">");
  document.write("<span onmouseover=\"this.style.color=\'#ffcc33\';\" onmouseout=\"this.style.color=\'#FFFFFF\';\">");
  document.write("<b>kwik shop</b></span></a>");
  document.write("</td></tr></table>");
}

<!--//Single Gray and Black Lines
document.write("<div class='litegrey-border'><hr /></div>");
//-->