// DisplayFuncScript2k3.asp 
function DisplayFuncShooter(fPage, fNewPage)
{
//alert(fPage);
//alert(fNewPage);

if (fPage.length > 1)
	{
	 window.location.href = fPage;
	}

if (fNewPage.length > 0)
	{
	var args;
	var fNewWindow;
	args = "width=600,height=475,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,hotkeys=0,screenx=200,screeny=200,left=200,top=200";
	fNewWindow = window.open(fNewPage, "Value", args);
	return BlockerCheck(fNewWindow);
	fNewWindow.focus();
	}

}

function DisplayFuncShooter2k3(fPage, fPopPage, fExternPage)
{
//alert(fPage);
//alert(fNewPage);

if (fPage.length > 1)
	{
	 window.location.href = fPage;
	}

if (fPopPage.length > 0)
	{
	var args;
	var fNewWindow;
	var fFullPath;
	var fFullPath = fPopPage + '?Page=' + escape(fExternPage)
	args = "width=600,height=475,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,hotkeys=0,screenx=200,screeny=200,left=200,top=200";
	fNewWindow = window.open(fFullPath, "Value", args);
	return BlockerCheck(fNewWindow);
	fNewWindow.focus();
	}

}

var gWindow = null;
	
function doPopup(fHeight, fWidth, fURL)
	{
		
		var lWinName = "MyWindow";
		var lWinSettings = "scrollbars=yes,directories=no,height=" + fHeight + ",width=" + fWidth + ",location=no,menubar=no,status=no,titlebar=no,resizable=yes";
		
		if((gWindow != null) && (!gWindow.open == false))
			{
			gWindow.close();
			gWindow = null;
			//alert('test');
			}
		
		gWindow = window.open(fURL, lWinName, lWinSettings);
		BlockerCheck(gWindow);
		gWindow.focus();
	}
	
function BlockerCheck(lWindow)
	{
	
		//Check to see if the window exists and is open.
		if((lWindow != null) && (!lWindow.open == false) && (!lWindow.closed == true))
			{
			//do nothing
			//lWindow.focus();
			//alert('No error.');
			}
		else
			{				
			//Window didn't open - display alert.
			alert('Pop-up blocking software installed on your computer may have prevented \nthis page from opening. Please disable it and try again.');
			return false;
			}
	
	}

					
	if(window.event + "" == "undefined") event = null;
	function HM_f_PopUp(){return false};
	function HM_f_PopDown(){return false};
	popUp = HM_f_PopUp;
	popDown = HM_f_PopDown;
	// These are the Page defaults. Get these values from the database.
	HM_PG_MenuWidth = 150;
	HM_PG_FontFamily = "Arial,sans-serif";
	HM_PG_FontSize = 10;
	HM_PG_FontBold = "true";
	HM_PG_FontItalic = "0";
	HM_PG_FontColor = "#FFFFFF";
	HM_PG_FontColorOver = "white";
	HM_PG_BGColor = "#336699";
	HM_PG_BGColorOver = "#003366";
	HM_PG_ItemPadding = 2;

	HM_PG_BorderWidth = 1;
	HM_PG_BorderColor = "003366";
	HM_PG_BorderStyle = "solid";
	HM_PG_SeparatorSize = 1;
	HM_PG_SeparatorColor = "#003366";

	HM_PG_ImageSrc = "photolib/common/menu/HM_More_black_right.gif";
	HM_PG_ImageSrcLeft = "photolib/common/menu/HM_More_black_left.gif";
	HM_PG_ImageSrcOver = "photolib/common/menu/HM_More_white_right.gif";
	HM_PG_ImageSrcLeftOver = "photolib/common/menu/HM_More_white_left.gif";

	HM_PG_ImageSize = 5;
	HM_PG_ImageHorizSpace = 0;
	HM_PG_ImageVertSpace = 2;

	HM_PG_KeepHilite = true; 
	HM_PG_ClickStart = 0;
	HM_PG_ClickKill = false;
	HM_PG_ChildOverlap = 1;
	HM_PG_ChildOffset = 4;
	HM_PG_ChildPerCentOver = null;
	HM_PG_TopSecondsVisible = .5;
	HM_PG_StatusDisplayBuild =0;
	HM_PG_StatusDisplayLink = 0;
	HM_PG_UponDisplay = null;
	HM_PG_UponHide = null;
	HM_PG_RightToLeft = 0;

	HM_PG_CreateTopOnly = 1;
	HM_PG_ShowLinkCursor = 1;
	HM_PG_NSFontOver = true;
	//HM_PG_ScrollEnabled = true; //This could be usefull

	//HM_a_TreesToBuild = []

/*HM_Loader.js
* by Peter Belesis. v4.1.3 011108
* Copyright (c) 2001 Peter Belesis. All Rights Reserved.
*/

   HM_DOM = (document.getElementById) ? true : false;
   HM_NS4 = (document.layers) ? true : false;
    HM_IE = (document.all) ? true : false;
   HM_IE4 = HM_IE && !HM_DOM;
   HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  HM_IE4M = HM_IE4 && HM_Mac;
 HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

HM_IsMenu = !HM_Opera && !HM_Konqueror && !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4);

HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

// Global default values.
HM_GL_MenuWidth          = 150;
HM_GL_FontFamily         = "Arial,sans-serif";
HM_GL_FontSize           = 10;
HM_GL_FontBold           = true;
HM_GL_FontItalic         = false;
HM_GL_FontColor          = "#FFFFFF";
HM_GL_FontColorOver      = "#FFFFFF";
//HM_GL_BGColor            = "transparent";
HM_GL_BGColor            = "#336699";
HM_GL_BGColorOver        = "#003366";
HM_GL_ItemPadding        = 2;

HM_GL_BorderWidth        = 1;
HM_GL_BorderColor        = "003366";
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 1;
HM_GL_SeparatorColor     = "#003366";

HM_GL_ImageSrc = "photolib/common/menu/HM_More_black_right.gif";
HM_GL_ImageSrcLeft = "photolib/common/menu/HM_More_black_left.gif";
HM_GL_ImageSrcOver = "photolib/common/menu/HM_More_white_right.gif";
HM_GL_ImageSrcLeftOver = "photolib/common/menu/HM_More_white_left.gif";

HM_GL_ImageSize          = 5;
HM_GL_ImageHorizSpace    = 5;
HM_GL_ImageVertSpace     = 5;

HM_GL_KeepHilite         = true;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = 0;
HM_GL_ChildOverlap       = 1;
HM_GL_ChildOffset        = 4;
HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = .5;
HM_GL_ChildSecondsVisible = .3;
HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = 0;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;

HM_GL_RightToLeft      = false;
//HM_GL_CreateTopOnly      = HM_NS4 ? true : false;
HM_GL_CreateTopOnly      = 0;
HM_GL_ShowLinkCursor     = true;
//HM_GL_ScrollEnabled = true; //This could be usefull

// the following function is included to illustrate the improved JS expression handling of
// the left_position and top_position parameters introduced in 4.0.9
// and modified in 4.1.3 to account for IE6 standards-compliance mode
// you may delete if you have no use for it

function HM_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = HM_DOM ? document.getElementById(topmenuid) : HM_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = HM_IE ? (HM_DOM ? HM_IEcanvas.clientWidth : document.body.clientWidth) : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(HM_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/incfolder2k1/MenuArrays2k2.asp' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/java/HM_Menu413/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end	        

function validateLocation()
{

	//Added on 7/29/02 by Jay Harvey
	//Loads category page for those categories that only have National Merchants...

	var type;
	type = document.SearchFormMWtop.SPType.value;
	
	if (type == "NationalDeals")
		{
		window.document.location.href = "/Memberweb2K1/NationalMerchants.asp";
		return false;
		}

	if (type == "268435456")
		{
		window.document.location.href = "/Memberweb2K1/SplashPage2k2.asp?SPType=" + type;
		return false;
		}
	
	if (type == "8388608")
		{
		window.document.location.href = "/Memberweb2K1/SplashPage2k2.asp?SPType=" + type;
		return false;
		}
	
	if (type == "1024")
		{
		window.document.location.href = "/Memberweb2K1/SplashPage2k2.asp?SPType=" + type;
		return false;
		}
	
	if (type == "2048")
		{
		window.document.location.href = "/Memberweb2K1/SplashPage2k2.asp?SPType=" + type;
		return false;
		}
		
	var fTempVar;
					
	fTempVar = document.SearchFormMWtop.Location.value;
	if (fTempVar.length < 1)
		{
		 alert("Please supply a valid location.");
		 return false;
		}
	return true;
}


if (document.images) {
 searchhelp_on =new Image();  searchhelp_on.src ="PhotoLib/Common/button_search_on.gif"; 
 searchhelp_off=new Image();  searchhelp_off.src="PhotoLib/Common/button_search_off.gif"; 
}

function SearchHelpOver() { 
 if (document.images) document.imgName.src=searchhelp_on.src;
}

function SearchHelpOut() {
 if (document.images) document.imgName.src=searchhelp_off.src;
}

function CheckForm()
{

	var zip = document.form1.zip.value;
	var email = document.form1.email.value;
	var fname = document.form1.fname.value;
	var lname = document.form1.lname.value;
	var Hmphone = document.form1.Hmphone.value;
	var address1 = document.form1.address1.value;
	var city = document.form1.city.value;
	var state = document.form1.state.value;

	
	var errstring = "Please enter the following fields to continue:\n\n";
	err = false;
	
	if(email.length < 1)
	{
		  err = true; 
		  errstring += "- Email Address\n";
	   
	}

	if(zip.length < 5)
	{
		err = true; 
		errstring += "- ZIP/Postal Code\n";
	}
	
	if(fname.length < 3)
	{
		err = true; 
		errstring += "- First Name\n";
	}	

	if(lname.length < 3)
	{
		err = true; 
		errstring += "- Last Name\n";
	}

	if(Hmphone.length < 10)
	{
		err = true; 
		errstring += "- Home Phone\n";
	}	

	if(address1.length < 3)
	{
		err = true; 
		errstring += "- Address\n";
	}

	if(city.length < 3)
	{
		err = true; 
		errstring += "- City\n";
	}

	if(state.length < 2)
	{
		err = true; 
		errstring += "- State\n";
	}


	if(err == true)
	{
		alert(errstring);
		return false;
	}
	
	
	
	var fValidEmail = ValidateEmail2k4(email);

	if(fValidEmail == false)
		{
		alert("Please enter a valid e-mail address to continue (example: yourname@domain.com).")
		return false;
		}

	return true;
}

function ValidateEmail2k4(fEmail)
{

if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(fEmail))
	{
	return true;
	}
return false;
}



// Written by Mike A Pritchard
// Copyright Access Development Inc. Sept 1998
// //////////////////////////////////////////////////////////////////////////////////////
// Set up some global variables.
var		gbDateType = 2;			// Date type value. this value can not be mixed with the others
var		gbLetterType = 4;		// Include/Exclude all letters
var		gbA_ZType = 128;			// Include/Exclude A through Z and a through z.
var		gbNumType = 8;			// Include/Exclude Numbers
var		gbOtherChar	= 16;		// Include/Exclude all characters
var		gbDbChar = 32;				// Include/Exclude all valid database cahracters
var		gbWhiteSpace = 64;		// Include/Exclude white space

var		gsLetterType = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþaA";	// Include/Exclude all letters
var		gsA_ZType = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";			// Include/Exclude A through Z and a through z.
var		gsNumType = "0123456789";			// Include/Exclude Numbers
var		gsOtherChar	= "`~!@#$%^*()_-+={}[]\x5C|';:,./?\x22\x26\x3C\x3E";		// Include/Exclude all characters
var		gsDbChar = "\x22\x27\x25";		// Include/Exclude all valid database cahracters
var		gsWhiteSpace = "\x20\xA0\x09";	// Include/Exclude white space

//var		gbCont = true;							// Global continue bit
var		gsCont = "";							// String value for continue

var		gbReqField = 0;							// Required field bit map.

// //////////////////////////////////////////////////////////////////////////////////////
// StringCheck will validate the information in the given field.
// 
// First check Date fields, the Exclude fields. Then check the Include fields. If all is good
// continue...
// Don't call this function if all charcaters are valid.
//
// bInc = 0 and sInc = "" inplies include all values. 
// Including gbLetterType would imply exclude everything else.
// bExc = 0 and sExc = "" implies exclude no additional characters.
// bReq. This is a bit map value of the required fields. Each required field should have a 
// unique bit field value. All required fields must have values.
function StringCheck(x, bInc, bExc, sInc, sExc, bReq) {

var		sTempValue = x.value;		// Create a temp value for testing.
var		sTempStr;					// Temp string for messaging.
var		sExcList;					// Exclude character list
var		sIncList;					// Include character list

var newDate = new Date();			// Date value for parsing.

var	iMonth;							// Month value
var iDate;							// Day value.
var iYear;							// Year value.

var sDateStr;						// Date string.

// ---------------------------------------------------------------------------------------

// There is no value. Look to see if this in a required value. If so add it
// to the required bit map.
gbReqField = gbReqField | bReq;		// Set the required flag for this field.

// If the field is empty don't validate the data.
if (sTempValue == "")
	{
//	 gbCont = true;		// Could probly remove this value from the set...
	 return true;
	}
// ---------------------------------------------------------------------------------------
// First check to see if the value is a date field
if (gbDateType == bInc)
	{
	 // this is a date field. Validate the info.
	 if (isNaN(Date.parse(x.value)))
		{
		 alert("Please enter a valid date");
//		 gbCont = false;
		 gsCont = "Please fix the inclomplete date field";
		 x.value = "";		// Clear the data field.
		 x.focus();			// Set the data field  to have the focus.
//alert(" 1 ");
		 return false;
		}
		else
		{
		 // Everything is OK. Force the date to be a valid format...
		 newDate.setTime(Date.parse(x.value));
		 // newDate.toLocaleString();
		 // alert((newDate.getMonth() + 1));
		 iDate = newDate.getDate();
		 iMonth = newDate.getMonth() + 1;
		 iYear = newDate.getYear();
		 // alert(newDate.getYear());
		 if (newDate.getYear() < 50)
			 iYear = newDate.getYear() + 2000;
			 else
			 {
			 if (newDate.getYear() < 1900)
				 iYear = newDate.getYear() + 1900;
				 else
				 iYear = newDate.getYear();
			}
	
		 sDateStr = iMonth + "/" + iDate + "/" + iYear;

		 x.value = sDateStr; 
		 gbReqField = gbReqField ^ bReq;		// Unset the required bit for this field.
//		 gbCont = true;
		 return true;
		}
	}
// ---------------------------------------------------------------------------------------
// Now check the exclude list.
// Are any characters in the the exclude list???
if ((bExc > 0) || (sExc != ""))
	{
	 // Build an exclude list
	 sExcList = sExc;
	 if ((bExc & gbLetterType) == gbLetterType) 
			{
			 sExcList = sExcList + gsLetterType;
			}
	 
	 if ((bExc & gbA_ZType) == gbA_ZType) 
			{
			 sExcList = sExcList + gsA_ZType;
			}
	 
	 if ((bExc & gbNumType) == gbNumType) 
			{
			 sExcList = sExcList + gsNumType;
			}
	 
	 if ((bExc & gbOtherChar) == gbOtherChar) 
			{
			 sExcList = sExcList + gsOtherChar;
			}
	 
	 if ((bExc & gbDbChar) == gbDbChar) 
			{
			 sExcList = sExcList + gsDbChar;
			}
	 
	 if ((bExc & gbWhiteSpace) == gbWhiteSpace) 
			{
			 sExcList = sExcList + gsWhiteSpace;
			}

	 sExcList = unescape(sExcList);

	 // Look for each character in the the Exclude list.
	 // alert(sExcList);
	 
	 for (iCount = 0; iCount < sExcList.length; iCount++)  
		{
		 if (sTempValue.indexOf(sExcList.charAt(iCount)) >= 0)
			{
			 // An excluded letter was found. Show an error.
			 sTempStr = "Invalid character. Please remove " + sExcList.charAt(iCount) + ". Please DO NOT use characters: " + sExcList;
			 alert(sTempStr);
//			 gbCont = false;
			 gsCont = sTempStr;
			 // x.value = "";		// Clear the data field.
			 x.focus();			// Set the data field  to have the focus.
			 return false;
			}
		}

// strVariable.charAt(index)
// strVariable.indexOf( substring, startindex )
// strVariable.length
	}

// ---------------------------------------------------------------------------------------
// Now check the include list.
// Are all the letters in the include list???
if ((bInc > 0) || (sInc != ""))
	{
	 // Build an Include list
	 sIncList = sInc;
	 if ((bInc & gbLetterType) == gbLetterType) 
			{
			 sIncList = sIncList + gsLetterType;
			}
	 
	 if ((bInc & gbA_ZType) == gbA_ZType) 
			{
			 sIncList = sIncList + gsA_ZType;
			}
	 
	 if ((bInc & gbNumType) == gbNumType) 
			{
			 sIncList = sIncList + gsNumType;
			}
	 
	 if ((bInc & gbOtherChar) == gbOtherChar) 
			{
			 sIncList = sIncList + gsOtherChar;
			}
	 
	 if ((bInc & gbDbChar) == gbDbChar) 
			{
			 sIncList = sIncList + gsDbChar;
			}
	 
	 if ((bInc & gbWhiteSpace) == gbWhiteSpace) 
			{
			 sIncList = sIncList + gsWhiteSpace;
			}

	 sIncList = unescape(sIncList);

	 // Look for each character in the the Include list.
	 // alert(sExcList);
	 
	 for (iCount = 0; iCount < sTempValue.length; iCount++)  
		{
		 if (sIncList.indexOf(sTempValue.charAt(iCount)) < 0)
			{
			 // An Included letter was not found. Show an error.
			 sTempStr = "Invalid character. Please remove " + sTempValue.charAt(iCount) + ". Valid characters are " + sIncList;
			 alert(sTempStr);
//			 gbCont = false;
			 gsCont = sTempStr;
			 // x.value = "";		// Clear the data field.
			 x.focus();			// Set the data field  to have the focus.
			 return false;
			}
		}
	}

// -----------------------------------------------------------------------------------
// All OK.
// gbCont = true;
gbReqField = gbReqField ^ bReq;		// Unset the required bit for this field.
return true;

}
// //////////////////////////////////////////////////////////////////////////////////////
// Make sure all the required fields have data, and make sure there aren't any
// outstanding "continue" errors.
function StringCheckSubmit(x) {

if (gbReqField != 0)
	{
	 alert("Please supply values for all the required fields");
	 return false;
	}

//if (gbCont == false)
//	{
//	 alert(gsCont);
//	 return false;
//	}

return true;
}
// //////////////////////////////////////////////////////////////////////////////////////
function ReqFields(bMap) {

gbReqField = bMap;

}

function LoginSubmit()
{
document.Login.submit();
}

function MoreInfoPopup(fHref)
	{
		args = "width=" + 400 + "," + "height=" + 300 + "," + "location=0," + "menubar=0," + "resizable=1," + "scrollbars=1," + "status=0," + "titlebar=0," + "toolbar=0," + "hotkeys=0," + "screenx=" + 400 + "," + "screeny=" + 400 + "," + "left=" + 400 + "," + "top=" + 400;
		fNewWindow = window.open(fHref, "TextSelect", args);
	}

	// PRELOADING IMAGES
if (document.images) {
	 remembermehelp_on =new Image();  remembermehelp_on.src="PhotoLib/Common/button_search_on.gif"; 
	 remembermehelp_off=new Image();  remembermehelp_off.src="PhotoLib/Common/button_search_off.gif"; 
}

function RememberOver() { 
	 if (document.images) document.remembermehelp.src=remembermehelp_on.src;
}

function RememberOut() {
	 if (document.images) document.remembermehelp.src=remembermehelp_off.src;
}


	function UpdateMenu(fSubMenu)
	{
		
	//alert("fSubMenu = " + fSubMenu);
	
	var MenuString;
	var TabColorOn = "#FFFFFF";
	var TabColorOff = "#DCDCDC";
			
	if(fSubMenu == '1') //Help Home
		{
		document.getElementById("Tab1").style.backgroundColor = TabColorOn;
		document.getElementById("Tab2").style.backgroundColor = TabColorOff;
		document.getElementById("Tab3").style.backgroundColor = TabColorOff;
		document.getElementById("Tab4").style.backgroundColor = TabColorOff;
		document.getElementById("Tab5").style.backgroundColor = TabColorOff;
		
		MenuString = "&nbsp;"
		}
	
	if(fSubMenu == '2') //Account Help
		{
		document.getElementById("Tab1").style.backgroundColor = TabColorOff;
		document.getElementById("Tab2").style.backgroundColor = TabColorOn;
		document.getElementById("Tab3").style.backgroundColor = TabColorOff;
		document.getElementById("Tab4").style.backgroundColor = TabColorOff;
		document.getElementById("Tab5").style.backgroundColor = TabColorOff;
		
		MenuString = "<DIV align=left>"
		MenuString += "<A HREF=account.asp?Section=1 CLASS=bottom>Membership Cards</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "Logging In / Out&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=account.asp?Section=3 CLASS=bottom>Privacy</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=account.asp?Section=4 CLASS=bottom>Security</A>";
		MenuString += "</DIV>"
		}
		
	if(fSubMenu == '3') //Search Help
		{
		document.getElementById("Tab1").style.backgroundColor = TabColorOff;
		document.getElementById("Tab2").style.backgroundColor = TabColorOff;
		document.getElementById("Tab3").style.backgroundColor = TabColorOn;
		document.getElementById("Tab4").style.backgroundColor = TabColorOff;
		document.getElementById("Tab5").style.backgroundColor = TabColorOff;
		
		MenuString = "<DIV align=center>"
		MenuString += "<A HREF=search.asp?Section=1 CLASS=bottom>Basics of Searching</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=search.asp?Section=2 CLASS=bottom>Advanced Searching</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=search.asp?Section=3 CLASS=bottom>Interpreting Results</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=search.asp?Section=4 CLASS=bottom>Discount Redemption</A>";
		MenuString += "</DIV>"
		}
		
	if(fSubMenu == '4') //Technical Help
		{
		document.getElementById("Tab1").style.backgroundColor = TabColorOff;
		document.getElementById("Tab2").style.backgroundColor = TabColorOff;
		document.getElementById("Tab3").style.backgroundColor = TabColorOff;
		document.getElementById("Tab4").style.backgroundColor = TabColorOn;
		document.getElementById("Tab5").style.backgroundColor = TabColorOff;
		
		MenuString = "<DIV align=right>"
		MenuString += "<A HREF=technical.asp?Section=1 CLASS=bottom>Browser Software</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=technical.asp?Section=2 CLASS=bottom>Browser Settings</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=technical.asp?Section=3 CLASS=bottom>Pop-Up Blockers</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=technical.asp?Section=4 CLASS=bottom>Printing Coupons</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		MenuString += "<A HREF=technical.asp?Section=5 CLASS=bottom>Glossary</A>";
		MenuString += "</DIV>"
		}

	if(fSubMenu == '5') //Additional Help
		{
		document.getElementById("Tab1").style.backgroundColor = TabColorOff;
		document.getElementById("Tab2").style.backgroundColor = TabColorOff;
		document.getElementById("Tab3").style.backgroundColor = TabColorOff;
		document.getElementById("Tab4").style.backgroundColor = TabColorOff;
		document.getElementById("Tab5").style.backgroundColor = TabColorOn;
		
		MenuString = "&nbsp;"
		}
		
	document.getElementById("displayLinks").innerHTML = MenuString;
	}

function done()
	{
	document.Done.submit()
	alert(' Thank you. Your registration is now in process.'); Done.submit()
}

function dosubmit()
{
	document.register.submit()
}
