<% '--------------------------- 'Variables and Class Instantiation '--------------------------- Set CLASS_cCategory = new cCategory Set CLASS_cUser = new cUser 'Sets the entire front-end to seo friendly querystrings, as this is included on all front-end pages PARAM.ParamMode = "SEO" CLASS_cCategory.navbar_strSearchValue = CLASS_cCast.cast(request("searchvalue"),"str","") ' if CLASS_cCategory.navbar_strSearchValue = "" then CLASS_cCategory.navbar_strSearchValue = "Search" CLASS_cCategory.navbar_searchcategory = CLASS_cCast.cast(request("searchcategoryid"),"lng","") CLASS_cCategory.navbar_searchcategory_resolved = PARAM.SearchCategoryID 'If 0 returned, then we might be at the top but also, we might simply be already on a search page 'So check if the searchcategory already had something in it, from a previous search, and maintain 'that information if CLASS_cCategory.navbar_searchcategory_resolved = 0 then CLASS_cCategory.navbar_searchcategory_resolved = CLASS_cCategory.navbar_searchcategory %>
/categories/default.asp" method="post"> <%IF CONFIG.Setting("Layout") = "Left" or CONFIG.Setting("Layout") = "Right" Then%>
  " onclick="javascript: if (document.formnav.searchvalue.value == '') {return false;} else {document.formnav.submit();return false;}" title="Search Now">Find
Navigation
" title="Home">Home
/link_new.asp" title="What's New" >What's New
/link_favorite.asp" title="Favorite <%=CONFIG.Setting("SiteWordPlural")%>">Favorites
/link_toprated.asp" title="Top Rated <%=CONFIG.Setting("SiteWordPlural")%>">Top Rated <%IF CONFIG.Setting("UserSubmitOnly") = True AND CLASS_cUser.isLoggedIn = False Then%> <%Else%>
/link_submit.asp" title="Submit Your <%=CONFIG.Setting("SiteWord")%>">Submit <%=CONFIG.Setting("SiteWord")%> <%End If%> <%If CONFIG.Setting("ActivateNews") = True then%>
/news.asp" title="News">News <%End If%> <%IF CONFIG.Setting("ActivateUser") = True Then%> <%If CLASS_cuser.isLoggedIn() = True Then%>
/user_dashboard.asp">Your Account <%Else%>
/user_login.asp">Login <%If CONFIG.Setting("UserSubmitOnly") = True Then%> to submit<%End If%>
/user_submit.asp">Register <%If CONFIG.Setting("UserSubmitOnly") = True Then%> to submit<%End If%> <%End If%> <%End If%> <%IF CONFIG.Setting("ActivateContactUs") = True Then%>
/contact.asp" title="Contact Us">Contact Us <%End If%>
<%If CONFIG.Setting("ShowCustomMenu") = True Then set CLASS_cCustomPage = new cCustomPage CLASS_cCategory.navbar_strCustomMenuContent = CLASS_cCustomPage.CustomMenu("vertical") if NOT CLASS_cCategory.navbar_strCustomMenuContent= "" Then %>
<%=CLASS_cCategory.navbar_strCustomMenuContent%>
<%End If%> <%set CLASS_cCustomPage = nothing End If %> <%ElseIF CONFIG.Setting("Layout") = "Top" Then%> <%If CONFIG.Setting("ShowCustomMenu") = True Then set CLASS_cCustomPage = new cCustomPage CLASS_cCategory.navbar_strCustomMenuContent = CLASS_cCustomPage.CustomMenu("horizontal") if NOT CLASS_cCategory.navbar_strCustomMenuContent= "" Then %>
<%=CLASS_cCategory.navbar_strCustomMenuContent%>
<%End If%> <%set CLASS_cCustomPage = nothing End If %>
" title="Home">Home | /link_new.asp" title="What's New" >What's New | /link_favorite.asp" title="Favorite <%=CONFIG.Setting("SiteWordPlural")%>">Favorites | /link_toprated.asp" title="Top Rated <%=CONFIG.Setting("SiteWordPlural")%>">Top Rated<%IF CONFIG.Setting("UserSubmitOnly") = True AND CLASS_cUser.isLoggedIn = False Then%><%Else%> | /link_submit.asp" title="Submit Your <%=CONFIG.Setting("SiteWord")%>">Submit <%=CONFIG.Setting("SiteWord")%><%End If%><%If CONFIG.Setting("ActivateNews") = True then%> | /news.asp" title="News">News<%End If%><%IF CONFIG.Setting("ActivateUser") = True Then%><%If CLASS_cuser.isLoggedIn() = True Then%> | /user_dashboard.asp" title="Your Account">Your Account<%Else%> | /user_login.asp" title="Login">Login or /user_submit.asp" title="Register">Register<%If CONFIG.Setting("UserSubmitOnly") = True Then%> to submit<%End If%><%End If%><%End If%><%IF CONFIG.Setting("ActivateContactUs") = True Then%> | /contact.asp" title="Contact Us">Contact Us<%End If%> |   " onclick="javascript: if (document.formnav.searchvalue.value == '') {return false;} else {document.formnav.submit();return false;}" title="Search Now">Go
<%End If%>
<% '--------------------------- 'Clean Up '--------------------------- Set CLASS_cCategory = nothing Set CLASS_cUser = nothing %>