 



 






var server_environment="production";

var psViews = new Object();
var psViewsWithHistory = new Object();
var psViewsLookUpByPathurl = new Object();
var psViewsLookUpByPathhtml = new Object();
function _hasValue(v){return (v != null && v != undefined && v != "");}
function PSView(id, containerId, pathhtml, scriptpaths,pathurl, statsId, navstate, ishistory){
this.id = id;
this.containerId = containerId;
this.scriptpaths = scriptpaths;
this.pathhtml = pathhtml;
this.pathurl = pathurl;
this.statsId = statsId;
this.navstate = navstate;
this.viewconfig = null; 
this.params = null;
this.ishistory = ishistory;
this.loadcallback = null;
this.getUrl = function(params){
var urlS = this.id;
if(_hasValue(this.viewconfig)){urlS += "/" + this.viewconfig}
if(_hasValue(params)){for (prop in params) {urlS += "/" + prop + "/" + params[prop];}}return urlS;}
var thisobj =  this;
psViews[id] = thisobj;
if(ishistory){psViewsWithHistory[id] = thisobj;}
if(_hasValue(pathurl)){psViewsLookUpByPathurl[pathurl] = thisobj;}
if(_hasValue(pathhtml)){psViewsLookUpByPathhtml[pathhtml] = thisobj;}}

new PSView("profilewiz_step1", "maincontent",
"/profile-wiz/p/step1_body/", 
null,
"/profile-wiz/p/step1/",
"/step1Wiz",
null,
true);

new PSView("profilewiz_step2", "maincontent",
"/profile-wiz/p/step2_body/", 
null,
"/profile-wiz/p/step2/",
"/step2Wiz",
null,
true);

new PSView("profilewiz_step3", "maincontent",
"/profile-wiz/p/step3_body/", 
null,
"/profile-wiz/p/step3/",
"/step3Wiz",
null,
true);

new PSView("index", "maincontent",
"/home/p/main/", 
null,
"/",
"/home",
"homeNav",
true);

new PSView("userprofile", "maincontent",
"/profile/p/edit/", 
null,
"/profile/",
"/userProfile",
"mypawspotNav",
true);

new PSView("petprofile", "maincontent",
"/pet-profile/p/main/", 
null,
"/pet-profile/",
"/petProfile",
null,
true);

new PSView("parkprofile", "maincontent",
"/park-profile/p/main/", 
null,
"/park-profile/",
"/parkProfile",
null,
true);

new PSView("findpeoplevw", "maincontent",
"/find-people/p/main/", 
null,
"/find-people/",
"/findPeople",
"findpeoplevwNav",
true);

new PSView("findparksvw", "maincontent",
"/find-parks/p/main/", 
null,
"/find-parks/",
"/findParks",
"findparksvwNav",
true);

new PSView("gallery", "maincontent",
"/gallery/all-albums/p/main/", 
null,
"/gallery/all-albums/",
"/gallery/all-albums/",
"galleryNav",
true);

new PSView("singlealbum", "maincontent",
"/gallery/single-album/p/main/", 
null,
"/gallery/single-album/",
"/gallery/single-album/",
"galleryNav",
true);

new PSView("viewphoto", "maincontent",
"/gallery/view-photo/p/main/", 
null,
"/gallery/view-photo/",
"/gallery/view-photo/",
"galleryNav",
true);

new PSView("allalbums", "maincontent",
"/gallery/all-albums/p/main/", 
null,
"/gallery/all-albums/",
"/gallery/all-albums/",
"galleryNav",
true);

new PSView("editphoto", "maincontent",
"/gallery/edit-photo/p/main/", 
null,
"/gallery/edit-photo/",
"/gallery/editphoto/",
"galleryNav",
true);

new PSView("addphoto", "maincontent",
"/gallery/add-photo/p/main/", 
null,
"/gallery/add-photo/",
"/gallery/add-photo/",
"galleryNav",
true);

new PSView("admin", "maincontent",
"/admin/p/main/", 
null,
"/admin/",
"/admin",
"administrationNav",
true);

new PSView("admin_gallery", "maincontent",
"/admin/gallery/p/main/", 
null,
"/admin/gallery/",
"/admin/gallery",
"administrationNav",
true);

new PSView("admin_users", "maincontent",
"/admin/users/p/main/", 
null,
"/admin/users/",
"/admin/users",
"administrationNav",
true);

new PSView("admin_parks", "maincontent",
"/admin/parks/p/main/", 
null,
"/admin/parks/",
"/admin/parks",
"administrationNav",
true);

new PSView("home", "maincontent",
"/home/p/main/", 
null,
"/home/",
"/home",
"homeNav",
true);

new PSView("invitations", "maincontent",
"/invitations/p/main/", 
null,
"/invitations/",
"/invitations",
"mypawspotNav",
true);

new PSView("invitations_send", "maincontent",
"/invitations/p/send-view/", 
null,
"/invitations/p/send/",
"/invitationsSend",
"mypawspotNav",
true);

new PSView("messages", "maincontent",
"/messages/p/main/", 
null,
"/messages/",
"/messages",
"mypawspotNav",
true);

new PSView("myparks", "maincontent",
"/my-parks/p/main/", 
null,
"/my-parks/",
"/my-parks",
"mypawspotNav",
true);

new PSView("network", "maincontent",
"/network/p/main/", 
null,
"/network/",
"/network",
"mypawspotNav",
true);

new PSView("registration", "maincontent",
"/registration/p/main/", 
null,
"/registration/",
"/registration",
"registrationNav",
true);

new PSView("user", "maincontent",
"/profile/display/p/view/", 
null,
"/profile/display/",
"/user",
null,
true);

new PSView("mypawspot", "maincontent",
"/my-pawspot/p/main/", 
null,
"/my-pawspot/",
"/my-pawspot",
"mypawspotNav",
true);

new PSView("topnav", "topnav",
"/common/p/topnav/", 
null,
null,
"/topNav",
null,
false);

new PSView("rightnav", "rightnav",
"/common/p/rightnav/", 
null,
null,
"/rightNav",
null,
false);

new PSView("petListView", "petListView",
"/profile/p/pet-list/", 
null,
null,
"/userProfile/petListView",
null,
false);

new PSView("petPhotosView", "petPhotosView",
"/profile/p/pet-photos/", 
null,
null,
"/userProfile/petPhotoView",
null,
false);

new PSView("petSaveView", "petSaveView",
"/profile/p/edit-pet/", 
null,
null,
"/userProfile/petSaveView",
null,
false);

new PSView("userEditView", "userEditView",
"/profile/p/edit-user/", 
null,
null,
"/userProfile/userEditView",
null,
false);

new PSView("userDetailView", "userDetailView",
"/profile/p/about-me/", 
null,
null,
"/userProfile/userDetailView",
null,
false);

new PSView("userPhotoView", "userPhotoView",
"/profile/p/user-photo/", 
null,
null,
"/userProfile/userPhotoView",
null,
false);

new PSView("petsAllView", "petsAllView",
"/profile/p/my-pets/", 
null,
null,
"/userProfile/petsAllView",
null,
false);

new PSView("parksResultsView", "parksResultsView",
"/find-parks/p/results-view/", 
null,
null,
"/parksProfile/parksResultsView",
null,
false);

new PSView("peopleResultsView", "peopleResultsView",
"/find-people/p/results-view/", 
null,
null,
"/findPeople/peopleResultsView",
null,
false);

new PSView("adminQueryView", "queryView",
"/admin/users/p/search/", 
null,
null,
"/admin/users/search",
null,
false);

new PSView("adminResultsView", "resultsView",
"/admin/users/p/results/", 
null,
null,
"/admin/users/results",
null,
false);

new PSView("adminManageAlbumsListView", "listView",
"/admin/gallery/p/main/", 
null,
null,
"/admin/gallery/list-albums",
null,
false);

new PSView("adminManageAlbumsNewView", "newView",
"/admin/gallery/p/add-album/", 
null,
null,
"/admin/gallery/add-album",
null,
false);

new PSView("adminManageAlbumsEditView", "editView",
"/admin/gallery/p/edit-album/", 
null,
null,
"/admin/gallery/edit-album",
null,
false);

new PSView("adminManageParksListView", "listView",
"/admin/parks/p/list-parks/", 
null,
null,
"/admin/parks/list-parks",
null,
false);

new PSView("adminManageParksUploadView", "uploadView",
"/admin/parks/p/add-photo/", 
null,
null,
"/admin/parks/add-photo",
null,
false);

new PSView("adminManageParksEditView", "editView",
"/admin/parks/p/edit-park/", 
null,
null,
"/admin/parks/edit-park",
null,
false);

new PSView("myParksListView", "listView",
"/my-parks/p/list/", 
null,
null,
"/my-parks/parksList",
null,
false);

new PSView("myParksUploadView", "uploadView",
"/my-parks/p/add-photo/", 
null,
null,
"/my-parks/parksUpload",
null,
false);

new PSView("myParksEditView", "editView",
"/my-parks/p/edit/", 
null,
null,
"/my-parks/editParks",
null,
false);

new PSView("forum", "",
"", 
null,
null,
"/forum",
null,
false);

new PSView("invitations_display", "maincontent",
"/invitations/display/p/main/", 
null,
"/invitations/display/",
"/invitations/display",
null,
true);

new PSView("invitations_decline", "maincontent",
"/invitations/decline/p/main/", 
null,
"/invitations/decline/",
"/invitations/decline",
null,
true);

new PSView("pet-sitting-request", "maincontent",
"/pet-sitting/p/main/", 
null,
"/pet-sitting/",
"/petSitting/request",
null,
true);

new PSView("pet-sitting-request-summary", "maincontent",
"/pet-sitting/display/p/main/", 
null,
"/pet-sitting/display/",
"/petSitting/summary",
null,
true);

new PSView("pet-sitting-response-form", "pet-sitting-response-form",
"/pet-sitting/display/p/send_response/", 
null,
null,
"/petSitting/responseForm",
null,
false);

new PSView("pet-sitting-response-list", "pet-sitting-response-list",
"/pet-sitting/display/p/view_responses/", 
null,
null,
"/petSitting/responseList",
null,
false);

new PSView("pet-sitting-comments-list", "pet-sitting-comments-list",
"/pet-sitting/display/p/comments_list/", 
null,
null,
"/petSitting/commentList",
null,
false);

new PSView("pet-sitting-select-sitters", "pet-sitting-select-sitters",
"/pet-sitting/display/p/select_sitters/", 
null,
null,
"/petSitting/selectSitters",
null,
false);

new PSView("pet-sitting-request-actions", "pet-sitting-request-actions",
"/pet-sitting/display/p/requester_actions/", 
null,
null,
"/petSitting/requestActions",
null,
false);

new PSView("messages.send", "messages.send",
"/messages/p/send-view/", 
null,
null,
"/messagesSend",
null,
false);

new PSView("messages.sent", "messages.sent",
"/messages/p/sent-view/", 
null,
null,
"/messagesSent",
null,
false);

new PSView("messages.inbox", "messages.inbox",
"/messages/p/received-view/", 
null,
null,
"/messagesInbox",
null,
false);

new PSView("pet-sitting-feedback", "pet-sitting-feedback",
"/pet-sitting/feedback/p/main/", 
null,
"/pet-sitting/feedback/",
"/petSitting/feedback",
null,
true);

new PSView("pet-comments-list", "pet-comments-list",
"/pet-profile/p/comments_list/", 
null,
null,
"/petProfile/commentList",
null,
false);

new PSView("paw-cast", "maincontent",
"/paw-cast/p/main/", 
null,
"/paw-cast/",
"/pawCast/edit",
null,
true);

new PSView("neighborhood-selector", "neighborhood-selector",
"/widget/neighborhood-selector/", 
null,
null,
"/widget/neighborhoodSelector",
null,
false);

new PSView("browse-by", "maincontent",
"/browse-by/p/main/", 
null,
"/browse-by/",
"/browseBy",
null,
true);

new PSView("location-display", "location-display",
"/widget/location/", 
null,
null,
"/widget/locationDisplay",
null,
false);

new PSView("state-selector", "state-selector",
"/widget/state-selector/", 
null,
null,
"/widget/stateSelector",
null,
false);

new PSView("city-selector", "city-selector",
"/widget/city-selector/", 
null,
null,
"/widget/citySelector",
null,
false);

new PSView("paw-cast-display", "maincontent",
"/paw-cast/display/p/main/", 
null,
"/paw-cast/display/",
"/pawCast/display/",
null,
true);

new PSView("paw-cast-comments-list", "paw-cast-comments-list",
"/paw-cast/display/p/comments_list/", 
null,
null,
"/pawCast/commentList",
null,
false);

new PSView("paw-cast-browse", "maincontent",
"/paw-cast/browse/p/main/", 
null,
"/paw-cast/browse/",
"/pawCast/browse",
null,
true);

new PSView("neighborhood-selector-withall", "neighborhood-selector",
"/widget/neighborhood-selector-withall/", 
null,
null,
"/widget/neighborhoodSelectorWithAll",
null,
false);

new PSView("city-selector-withall", "city-selector",
"/widget/city-selector-withall/", 
null,
null,
"/widget/citySelectorWithAll",
null,
false);

new PSView("state-selector-withall", "state-selector",
"/widget/state-selector-withall/", 
null,
null,
"/widget/stateSelectorWithAll",
null,
false);

new PSView("resources", "",
"", 
null,
null,
"/resources",
null,
false);

new PSView("photo-vote", "photo-vote",
"/gallery/p/vote/", 
null,
null,
"/widget/voteForPhoto",
null,
false);

new PSView("photo-comments-list", "photo-comments-list",
"/gallery/view-photo/p/comments_list/", 
null,
null,
"/gallery/viewPhoto/commentList",
null,
false);

new PSView("gallery.add.form", "gallery.add.form",
"/gallery/add-photo/p/add-form/", 
null,
null,
"/gallery/add-form/",
null,
false);

new PSView("contest.terms", "maincontent",
"/gallery/contest/p/main/", 
null,
"/gallery/contest/",
"/gallery/contest/",
"galleryNav",
false);

new PSView("halloween-contest", "maincontent",
"/gallery/contest/p/halloween-contest/", 
null,
"/gallery/contest/p/halloween-contest/",
"/gallery/contest/halloween-contest",
"galleryNav",
true);

new PSView("halloween-contest-winner", "maincontent",
"/gallery/contest/p/halloween-contest-winner/", 
null,
"/gallery/contest/p/halloween-contest-winner/",
"/gallery/contest/halloween-contest-winner",
"galleryNav",
true);

new PSView("park-reviews", "park-reviews",
"/park-profile/p/review_list/", 
null,
null,
"/parkProfile/reviews",
null,
false);

new PSView("park-comments-list", "park-comments-list",
"/park-profile/p/comments_list/", 
null,
null,
"/viewPark/commentsList",
null,
false);

new PSView("park-reviews-all", "park-reviews-all",
"/park-profile/p/all-reviews/", 
null,
"/park-profile/p/all-reviews/",
"/viewPark/reviewsAll",
null,
true);

new PSView("park-pet-registry", "park-pet-registry",
"/park-profile/p/registry/", 
null,
null,
"/viewPark/petRegistry",
null,
false);

new PSView("park-pet-registry-all", "park-pet-registry-all",
"/park-profile/p/all-pets/", 
null,
"/park-profile/p/all-pets/",
"/viewPark/petRegistryAll",
null,
true);

new PSView("park-pet-registry-all-list", "park-pet-registry-all-list",
"/park-profile/p/all-pets-list/", 
null,
null,
"/viewPark/petRegistryAllList",
null,
false);

new PSView("urbanhund-contest", "maincontent",
"/gallery/contest/urbanhund/2006/p/main/", 
null,
"/gallery/contest/urbanhund/2006/",
"/gallery/contest/urbanhund-contest",
"galleryNav",
true);

new PSView("photo.recent.ratings", "photo.recent.ratings",
"/gallery/view-photo/p/recent_ratings/", 
null,
null,
"/photoRecentRatings",
null,
false);

new PSView("photo.review", "photo.review",
"/gallery/view-photo/p/review/", 
null,
null,
"/photoReview",
null,
false);

new PSView("profile-edit-prefs", "maincontent",
"/profile/prefs/p/edit/", 
null,
"/profile/prefs/",
"/userProfile/editPrefs",
null,
true);

new PSView("profilewiz_step4", "maincontent",
"/profile-wiz/p/step4_body/", 
null,
"/profile-wiz/p/step4/",
"/step4Wiz",
null,
true);

new PSView("email-unsubscribe", "maincontent",
"/email/unsubscribe/p/main/", 
null,
"/email/unsubscribe/",
"/email/unsubscribe",
null,
true);

new PSView("help", "maincontent",
"/help/p/main/", 
null,
"/help/",
"/help",
null,
true);

new PSView("mvp-landing-page", "maincontent",
"/mvp/p/main/", 
null,
"/mvp/",
"/mvp/LandingPage",
null,
true);

new PSView("mvp-leaderboard", "maincontent",
"/mvp/p/leaderboard_main/", 
null,
"/mvp/p/leaderboard/",
"/mvp/LeaderBoard",
null,
true);

new PSView("mvp-leaderboard-weekly", "maincontent",
"/mvp/p/leaderboard_main/v/type/weekly/", 
null,
"/mvp/p/leaderboard/v/type/weekly/",
"/mvp/LeaderBoard/Weekly",
null,
true);

new PSView("credits", "maincontent",
"/credits/", 
null,
"/credits/",
"/credits",
null,
true);

new PSView("photo.votes", "photo.votes",
"/gallery/view-photo/p/credits/", 
null,
null,
"/photoVotes",
null,
false);

new PSView("photo.recent.supporters", "photo.recent.supporters",
"/gallery/view-photo/p/recent_supporters/", 
null,
null,
"/photoRecentSupporters",
null,
false);

new PSView("mvp-leaderboard-all", "maincontent",
"/mvp/p/leaderboard_main/v/global/true/", 
null,
"/mvp/p/leaderboard/v/global/true/",
"/mvp/LeaderBoard/All",
null,
true);

new PSView("mvp-leaderboard-all-weekly", "maincontent",
"/mvp/p/leaderboard_main/v/global/true/type/weekly/", 
null,
"/mvp/p/leaderboard/v/global/true/type/weekly/",
"/mvp/LeaderBoard/All/Weekly",
null,
true);

new PSView("forgot-password", "maincontent",
"/security/forgotPassword/p/forgot/", 
null,
"/security/forgotPassword/",
"/security/forgotPassword",
null,
true);

new PSView("forgot-password-confirm", "maincontent",
"/security/forgotPassword/p/confirm/", 
null,
"/security/forgotPassword/p/confirm/",
"/security/forgotPasswordConfirm",
null,
true);

new PSView("access-denied", "maincontent",
"/security/accessdenied/p/access_denied/", 
null,
"/security/accessdenied/",
"/security/accessDenied",
null,
true);

new PSView("news", "",
"", 
null,
null,
"/news",
null,
false);
			
