var isIE,isNN; function checkBrow() { var vers = parseInt(navigator.appVersion); var agt = navigator.userAgent.toLowerCase(); if (agt.indexOf("win")!=-1) { var plat = "pc"; } else if (agt.indexOf("mac")!=-1) { var plat = "mac"; } } checkBrow(); var click_to_open_menu = 0; var y_offset = 50; var x_offset = 15; var main_menu_bg_color = '#666666'; var main_menu_hl_color = '#4650b3'; var main_menu_bg_img_url = ''; var main_menu_hl_img_url = ''; var sub_menu_bg_color = '#8a8a8a'; var sub_menu_hl_color = '#4650b3'; var sub_menu_bg_img_url = ''; var sub_menu_hl_img_url = ''; var sub_sub_menu_bg_color = '#a1a1a1'; var sub_sub_menu_hl_color = '#4650b3'; var sub_sub_menu_bg_img_url = ''; var sub_sub_menu_hl_img_url = ''; var element_height = 23; var element_width = 120; var orientation = 'horizontal'; if (isIE || isNN) { var Community = new NavBarItem("Community","/community", true, false); var Forums = Community.cascade.addMember("Forums ...","/community/forums",true); Forums.cascade.addMember("General photography (Archived)","/bboard/q-and-a?topic_id=23",false); Forums.cascade.addMember("General Photography (Not Archived)","http://www.photo.net/bboard/q-and-a?topic_id=201",false); Forums.cascade.addMember("Photo Critique","http://www.photo.net/bboard/q-and-a?topic_id=1481",false); Forums.cascade.addMember("Medium format","/bboard/q-and-a?topic_id=35",false); Forums.cascade.addMember("Nature","/bboard/q-and-a?topic_id=34",false); Forums.cascade.addMember("Videography","http://www.photo.net/bboard/q-and-a?topic_id=1461",false); Forums.cascade.addMember("Costa Rica","/bboard/q-and-a?topic_id=25",false); Community.cascade.addMember("Classifieds","/gc",false); Community.cascade.addMember("User Recommendations","/neighbor",false); Community.cascade.addMember("Chat","/chat",false); Community.cascade.addMember("Stolen equipment registry","/registry",false); Community.cascade.addMember("Mailing list","/mailing-list",false); Community.cascade.addMember("Directory","/directory",false); Community.cascade.addMember("Who's online now?","/shared/whos-online",false); var Gallery = new NavBarItem("Gallery","/gallery", true, false); Gallery.cascade.addMember("Your portfolio","/photodb",false); var Search = Gallery.cascade.addMember("Search ...","/gallery",true); Search.cascade.addMember("User uploaded pictures","/photodb/search",false); Search.cascade.addMember("Stock photographs","/stock/search.html",false); var Publicportfolios = Gallery.cascade.addMember("Public portfolios ...","/gallery",true); Publicportfolios.cascade.addMember("By most recent","/photodb/browse-folders.tcl",false); Publicportfolios.cascade.addMember("By member","/photodb/browse-folders.tcl?sort_by=user",false); var Publicpresentations = Gallery.cascade.addMember("Public presentations ...","/gallery",true); Publicpresentations.cascade.addMember("By title","/photodb/browse-presentations.tcl",false); Publicpresentations.cascade.addMember("By member","/photodb/browse-presentations.tcl?sort_by=lastname",false); var Photographers = Gallery.cascade.addMember("Photographers ...","/gallery",true); Photographers.cascade.addMember("By most recent","/photodb/browse-users.tcl",false); Photographers.cascade.addMember("By name","/photodb/browse-folders.tcl?sort_by=user",false); var Stockphotography = Gallery.cascade.addMember("Stock photography ...","http://photo.net/stock/",true); Stockphotography.cascade.addMember("Search","/stock/search.html",false); Stockphotography.cascade.addMember("Browse","/stock/browse",false); Gallery.cascade.addMember("Archives","/photo/old-exhibits",false); var Photocritique = Gallery.cascade.addMember("Photocritique ...","/gallery/photocritique/",true); Photocritique.cascade.addMember("Critique photos","/gallery/photocritique/",false); Photocritique.cascade.addMember("Filter photos","/gallery/photocritique/filter",false); var Learn = new NavBarItem("Learn","/learn/", true, false); var Beginners = Learn.cascade.addMember("Beginners ...","#",true); Beginners.cascade.addMember("Textbook","/photo/tutorial/",false); Beginners.cascade.addMember("Point and Shoot","/photo/point-and-shoot-tips",false); var Otherresources = Learn.cascade.addMember("Other resources ...","/learn",true); Otherresources.cascade.addMember("Books","/photo/dead-trees.html",false); Otherresources.cascade.addMember("Workshops","/photo/workshops/",false); Otherresources.cascade.addMember("Film recommendation","/photo/film",false); Otherresources.cascade.addMember("Using Filters","/photo/filters",false); Otherresources.cascade.addMember("Using Tilt-shift Lenses","/photo/canon/tilt-shift",false); var TakingPictures = Learn.cascade.addMember("Taking Pictures ...","/learn/",true); TakingPictures.cascade.addMember("Portraits","/photo/portraits",false); TakingPictures.cascade.addMember("Gardens","/architectural/gardens",false); TakingPictures.cascade.addMember("Architecture","/architectural/exterior",false); TakingPictures.cascade.addMember("Interiors","/architectural/interior",false); TakingPictures.cascade.addMember("Macro","/photo/macro",false); TakingPictures.cascade.addMember("Studio","/photo/studio-photography",false); TakingPictures.cascade.addMember("Nudes","/photo/nudes",false); TakingPictures.cascade.addMember("Underwater","/photo/underwater/primer",false); TakingPictures.cascade.addMember("Sports and Action","/photo/sports/overview",false); TakingPictures.cascade.addMember("Concerts","/photo/canon/mirarchi/concert/concer_i",false); TakingPictures.cascade.addMember("Astrophotography","/photo/astrophotography",false); TakingPictures.cascade.addMember("Star Trails","/photo/star-streak",false); TakingPictures.cascade.addMember("Infrared and Ultraviolet","/photo/edscott/spectsel",false); TakingPictures.cascade.addMember("Pinhole","/photo/pinhole/pinhole",false); TakingPictures.cascade.addMember("Street Photography","/photo/street-photography",false); TakingPictures.cascade.addMember("Nature","/photo/nature/",false); var PostExposure = Learn.cascade.addMember("Post-Exposure ...","/learn/",true); PostExposure.cascade.addMember("Recommended Labs","/photo/labs",false); PostExposure.cascade.addMember("Evaluating Photographs","/photo/evaluation",false); PostExposure.cascade.addMember("Storing","/photo/storage",false); PostExposure.cascade.addMember("Framing","/learn/framing",false); PostExposure.cascade.addMember("Digital-Editing (photoshop)","/learn/editing",false); var PublishingandSharing = Learn.cascade.addMember("Publishing and Sharing ...","/learn/",true); PublishingandSharing.cascade.addMember("for the web","http://www.arsdigita.com/books/panda/images",false); PublishingandSharing.cascade.addMember("using photo.net","/photodb/",false); var CaringforEquipment = Learn.cascade.addMember("Caring for Equipment ...","/learn/",true); CaringforEquipment.cascade.addMember("Cleaning","/photo/cleaning-cameras",false); CaringforEquipment.cascade.addMember("Repair","/photo/camera-repair",false); CaringforEquipment.cascade.addMember("Insurance","/learn/insurance",false); var Background = Learn.cascade.addMember("Background ...","/learn/",true); Background.cascade.addMember("History","/history/timeline",false); Background.cascade.addMember("Optics","/photo/optics",false); var FromOtherUsers = Learn.cascade.addMember("From Other Users ...","/learn/",true); FromOtherUsers.cascade.addMember("Learning Forums","/bboard/unified/",false); FromOtherUsers.cascade.addMember("Chat","/chat/",false); Learn.cascade.addMember("Digital cameras","/learn",false); Learn.cascade.addMember("Traditional cameras","/learn",false); var Equipment = new NavBarItem("Equipment","/shop/", true, false); var Equipmentreviews = Equipment.cascade.addMember("Equipment reviews ...","#",true); Equipmentreviews.cascade.addMember("35mm film cameras","/learn/reviews-35mm",false); Equipmentreviews.cascade.addMember("Medium format cameras","/learn/reviews-medium-format",false); Equipmentreviews.cascade.addMember("Large format cameras","/learn/reviews-large-format",false); Equipmentreviews.cascade.addMember("Digital cameras","/learn/reviews-digital-camera",false); Equipmentreviews.cascade.addMember("Scanners","/learn/reviews-scanner",false); var Whatcameratobuy = Equipment.cascade.addMember("What camera to buy ...","/photo/what-camera-should-I-buy",true); Whatcameratobuy.cascade.addMember("By camera type","/photo/what-camera-should-I-buy",false); Whatcameratobuy.cascade.addMember("By situation","/photo/what-camera",false); Whatcameratobuy.cascade.addMember("For a long trip","/photo/travel-camera",false); Equipment.cascade.addMember("Where to buy a camera?","/photo/where-to-buy",false); Equipment.cascade.addMember("Classifieds","/gc/domain-multi",false); var Travel = new NavBarItem("Travel","/webtravel/", true, false); Travel.cascade.addMember("Travels with Samantha","/samantha/",false); Travel.cascade.addMember("California","/ca/",false); Travel.cascade.addMember("New Mexico","/photo/travel/new-mexico",false); Travel.cascade.addMember("New England Foliage","/photo/travel/foliage",false); Travel.cascade.addMember("Italy","/italy/",false); Travel.cascade.addMember("Sweden","/sweden/",false); Travel.cascade.addMember("China","/china/",false); Travel.cascade.addMember("Japan","/japan/",false); Travel.cascade.addMember("New Zealand","/nz/",false); Travel.cascade.addMember("International Airlines","/webtravel/international-airlines",false); var CityGuides = Travel.cascade.addMember("City Guides ...","#",true); CityGuides.cascade.addMember("Barcelona","/spain/barcelona",false); CityGuides.cascade.addMember("Boston","/photo/travel/boston",false); CityGuides.cascade.addMember("Las Vegas","/webtravel/las-vegas",false); CityGuides.cascade.addMember("London","/uk/london",false); CityGuides.cascade.addMember("Paris","/france/paris",false); var ezShop = new NavBarItem("ezShop","/ezshop", true, false); ezShop.cascade.addMember("35mm","/ezshop/category?category_id=7",false); ezShop.cascade.addMember("Digital","/ezshop/category?category_id=1",false); ezShop.cascade.addMember("Medium Format","/ezshop/category?category_id=9",false); ezShop.cascade.addMember("Panorama","/ezshop/category?category_id=10",false); ezShop.cascade.addMember("Large Format","/ezshop/category?category_id=11",false); ezShop.cascade.addMember("APS","/ezshop/category?category_id=18",false); } if (isIE || isNN) MakeNavLayers();