function LWAPI(A){this.base=A;this.serviceUrl=A+"/services";this.contentService="community-nns";this.responseType="application/xml"}LWAPI.prototype.getBlogsCategory=function(A){this.getCategoryContent("getBlogsCategory","",A)};LWAPI.prototype.getBlogs=function(D,F,B,A,C,E){if(C=="revChron"){A="d";C="d"}if(!A){A="d"}if(!C){C="d"}this.getForumListContent("getBlogs","categoryID="+D+"&start="+F+"&numResults="+B+"&sort="+A+"&sortOrder="+C,E)};LWAPI.prototype.getBlogEntries=function(D,C,A,B){this.getThreadListContent("getBlogEntries","forumID="+D+"&start="+C+"&numResults="+A,B)};LWAPI.prototype.getBlogEntryComments=function(B,D,A,C){this.getMessageListContent("getBlogEntryComments","threadID="+B+"&start="+D+"&numResults="+A,C)};LWAPI.prototype.getBlogEntryTrackbacks=function(A,B){LWAPI.NA("LWAPI.prototype.getBlogEntryTrackbacks")};LWAPI.prototype.getFeaturedBlogEntries=function(B,D,A,C){this.getMessageListContent("getFeaturedBlogEntries","categoryID="+B+"&start="+D+"&numResults="+A,C)};LWAPI.prototype.getBlogroll=function(B,A){this.getNameValueContent("getBlogroll","forumID="+B,A)};LWAPI.prototype.getVideosCategory=function(A){this.getCategoryContent("getVideosCategory","",A)};LWAPI.prototype.getVideo=function(A,B){this.getContent("getVideo","threadID="+A,B)};LWAPI.prototype.getCategoryVideos=function(B,D,A,C){this.getListContent("getCategoryVideos","categoryID="+B+"&start="+D+"&numResults="+A,C)};LWAPI.prototype.getFeaturedVideos=function(B,D,A,C){this.getMessageListContent("getFeaturedVideos","categoryID="+B+"&start="+D+"&numResults="+A,C)};LWAPI.prototype.getVideoComments=function(B,D,A,C){this.getMessageListContent("getVideoComments","threadID="+B+"&start="+D+"&numResults="+A,C)};LWAPI.prototype.getVideoTrackbacks=function(A,B){this.getListContent("getVideoTrackbacks","threadID="+A,B)};LWAPI.prototype.getBookmarksCategory=function(A){this.getCategoryContent("getBookmarksCategory","",A)};LWAPI.prototype.getFeaturedBookmarks=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getFeaturedBookmarks")};LWAPI.prototype.getPopularCategoryBookmarks=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getPopularCategoryBookmarks")};LWAPI.prototype.getRecentCategoryBookmarks=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getRecentCategoryBookmarks")};LWAPI.prototype.getUserBookmarks=function(A,D,B,C){LWAPI.NA("LWAPI.prototype.getUserBookmarks")};LWAPI.prototype.getForumsCategory=function(A){this.getCategoryContent("getForumsCategory","",A)};LWAPI.prototype.getThreadMessages=function(C,E,A,B,D){this.getMessageListContent("getThreadMessages","threadID="+C+"&start="+E+"&numResults="+A+"&sortOrder="+B,D)};LWAPI.prototype.getForums=function(A,B){this.getForumListContent("getForums","categoryID="+A,B)};LWAPI.prototype.getPopularForums=function(B,A,C){this.getForumListContent("getPopularForums","categoryID="+B+"&numResults="+A,C)};LWAPI.prototype.getRecentForumThreads=function(D,C,A,B){this.getThreadListContent("getRecentForumThreads","forumID="+D+"&start="+C+"&numResults="+A,B)};LWAPI.prototype.getFeaturedBoardMessages=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getFeaturedBoardMessages")};LWAPI.prototype.getExternalMessages=function(C,E,A,B,D){this.getMessageListContent("getExternalMessages","itemID="+C+"&start="+E+"&numResults="+A+"&sortOrder="+B,D)};LWAPI.prototype.createExternalMessage=function(B,A,C){this.getMessageContent("createExternalMessage","itemID="+escape(B)+"&body="+escape(A),C)};LWAPI.prototype.getExternalRating=function(A,B){this.callContentService("getExternalRating","itemID="+escape(A),function(C){B(LWAPI.makeObject(C))})};LWAPI.prototype.getExternalUpDownRating=function(A,B){this.callContentService("getExternalUpDownRating","itemID="+escape(A),function(C){B(LWAPI.makeObject(C))})};LWAPI.prototype.createExternalRating=function(B,A,C){this.callContentService("createExternalRating","itemID="+B+"&rating="+A,function(D){C(LWAPI.makeObject(D))})};LWAPI.prototype.rateMessage=function(A,B,C){this.callContentService("rateMessage","messageID="+A+"&rating="+B,function(D){C(LWAPI.makeObject(D))})};LWAPI.prototype.rateThread=function(B,A,C){this.callContentService("rateThread","threadID="+B+"&rating="+A,function(D){C(LWAPI.makeObject(D))})};LWAPI.prototype.getMainGalleryCategory=function(A){this.getCategoryContent("getMainGalleryCategory","",A)};LWAPI.prototype.getPhotoAlbumsCategory=function(A){this.getCategoryContent("getPhotoAlbumsCategory","",A)};LWAPI.prototype.getAlbumPhotos=function(A,D,B,C){this.getListContent("getAlbumPhotos","threadID="+A+"&start="+D+"&numResults="+B,C)};LWAPI.prototype.getFeaturedPhotos=function(B,D,A,C){this.getListContent("getFeaturedPhotos","categoryID="+B+"&start="+D+"&numResults="+A,C)};LWAPI.prototype.getPhotoWithComments=function(A,D,B,C){LWAPI.NA("LWAPI.prototype.getPhotoWithComments")};LWAPI.prototype.getCategoryPhotos=function(D,F,B,A,C,E){this.getListContent("getCategoryPhotos","categoryID="+D+"&start="+F+"&numResults="+B+"&sort="+A+"&sortOrder="+C,E)};LWAPI.prototype.getStoryboardsCategory=function(A){this.getCategoryContent("getStoryboardsCategory","",A)};LWAPI.prototype.getCategoryStoryboards=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getCategoryStoryboards")};LWAPI.prototype.getFeaturedStoryboards=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getFeaturedStoryboards")};LWAPI.prototype.getForumStoryboards=function(D,C,A,B){LWAPI.NA("LWAPI.prototype.getForumStoryboards")};LWAPI.prototype.getStoryboard=function(A,B){LWAPI.NA("LWAPI.prototype.getStoryboard")};LWAPI.prototype.getStoryboardComments=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getStoryboardComments")};LWAPI.prototype.getCalendarEvents=function(E,D,A,C,B){LWAPI.NA("LWAPI.prototype.getCalendarEvents")};LWAPI.prototype.getEventDetails=function(C,E,A,B,D){LWAPI.NA("LWAPI.prototype.getEventDetails")};LWAPI.prototype.getMainCalendarForum=function(A){LWAPI.NA("LWAPI.prototype.getMainCalendarForum")};LWAPI.prototype.getFeaturedSupportThreads=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getFeaturedSupportThreads")};LWAPI.prototype.getSegmentCalendarForum=function(A,B){LWAPI.NA("LWAPI.prototype.getSegmentCalendarForum")};LWAPI.prototype.getSegmentForumsCategory=function(A,B){LWAPI.NA("LWAPI.prototype.getSegmentForumsCategory")};LWAPI.prototype.getSegmentGalleryCategories=function(A){LWAPI.NA("LWAPI.prototype.getSegmentGalleryCategories")};LWAPI.prototype.getSegmentPhotoAlbumsCategory=function(A,B){LWAPI.NA("LWAPI.prototype.getSegmentPhotoAlbumsCategory")};LWAPI.prototype.getSegmentStoryboardsCategory=function(A,B){LWAPI.NA("LWAPI.prototype.getSegmentStoryboardsCategory")};LWAPI.prototype.getSegmentVideosCategory=function(A,B){LWAPI.NA("LWAPI.prototype.getSegmentVideosCategory")};LWAPI.prototype.getCategory=function(B,A){this.getCategoryContent("getCategory","categoryID="+B,A)};LWAPI.prototype.getSubcategories=function(B,A){this.getCategoryListContent("getSubcategories","categoryID="+B,A)};LWAPI.prototype.getCategoryActivePolls=function(D,C,A,B){this.getPollListContent("getCategoryActivePolls","categoryID="+D+"&start="+C+"&numResults="+A,B)};LWAPI.prototype.getForumActivePolls=function(D,C,A,B){this.getPollListContent("getForumActivePolls","forumID="+D+"&start="+C+"&numResults="+A,B)};LWAPI.prototype.getCategoryAnnouncements=function(C,A,B){this.getAnnouncementListContent("getCategoryAnnouncements","categoryID="+C+"&numResults="+A,B)};LWAPI.prototype.getCategoryPopularTags=function(B,A){this.getTagListContent("getCategoryPopularTags","categoryID="+B,A)};LWAPI.prototype.simpleSearch=function(E,D,A,B,C){this.getMessageListContent("simpleSearch","categoryID="+E+"&start="+D+"&numResults="+A+"&query="+encodeURIComponent(B),C)};LWAPI.prototype.getAllFeatured=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getAllFeatured")};LWAPI.prototype.getFeaturedContent=function(C,E,B,A,D){LWAPI.NA("LWAPI.prototype.getFeaturedContent")};LWAPI.prototype.getFeaturedMessages=function(C,E,B,A,D){LWAPI.NA("LWAPI.prototype.getFeaturedMessages")};LWAPI.prototype.getCategoryActiveUsers=function(B,A,C){LWAPI.NA("LWAPI.prototype.getCategoryActiveUsers")};LWAPI.prototype.getCategoryMessagesFromTag=function(C,A,E,B,D){LWAPI.NA("LWAPI.prototype.getCategoryMessagesFromTag")};LWAPI.prototype.getForum=function(B,A){LWAPI.NA("LWAPI.prototype.getForum")};LWAPI.prototype.getForumActiveUsers=function(C,A,B){LWAPI.NA("LWAPI.prototype.getForumActiveUsers")};LWAPI.prototype.getForumAnnouncements=function(C,A,B){LWAPI.NA("LWAPI.prototype.getForumAnnouncements")};LWAPI.prototype.getForumMessagesFromTag=function(E,A,D,B,C){LWAPI.NA("LWAPI.prototype.getForumMessagesFromTag")};LWAPI.prototype.getForumPopularTags=function(B,A){LWAPI.NA("LWAPI.prototype.getForumPopularTags")};LWAPI.prototype.getMessage=function(A,B){LWAPI.NA("LWAPI.prototype.getMessage")};LWAPI.prototype.getRecentCategoryThreads=function(B,D,A,C){LWAPI.NA("LWAPI.prototype.getRecentCategoryThreads")};LWAPI.prototype.getThread=function(A,B){LWAPI.NA("LWAPI.prototype.getThread")};LWAPI.prototype.getCategoryContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getCategoryListContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getForumListContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getThreadListContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getMessageListContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getMessageContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getPollListContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getAnnouncementListContent=function(C,A,B){this.callContentService(C,A,function(D){B(LWAPI.makeArray(D))})};LWAPI.prototype.getTagListContent=function(C,A,B){this.callContentService(C,A,function(D){B(LWAPI.makeArray(D))})};LWAPI.prototype.getListContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getContent=function(C,A,B){this.callContentService(C,A,function(D){B(D)})};LWAPI.prototype.getNameValueContent=function(C,A,B){this.callContentService(C,A,function(D){B(LWAPI.makeArray(D))})};LWAPI.prototype.callContentService=function(D,B,C){if(B==null){B=""}var A=this.serviceUrl+"/"+this.contentService+"/"+D+"?"+B;this.callAPI(A,D,C)};LWAPI.DEBUG=false;LWAPI.DEBUGFUNC=null;LWAPI.debug=function(A){if(LWAPI.DEBUG){if(LWAPI.DEBUGFUNC){LWAPI.DEBUGFUNC(A)}else{alert(A)}}};LWAPI.NA=function(A){alert(A+" NOT YET IMPLEMENTED")};LWAPI.prototype.callAPI=function(request,method,callback){var hashttp=request.indexOf("http:",0);if(request.indexOf("http:")==0){request=request.substring(this.base.length)}HTTP.getTextWithScript(this.base,request,function(responseText){if(responseText!=null&&responseText!=""){LWAPI.debug(responseText);var data=eval(responseText);var response=data["ns:"+method+"Response"];var jsondata=response["return"];var obj={};if(jsondata){obj=LWAPI.makeObject(jsondata)}callback(obj)}})};LWAPI.makeArray=function(B){if(B instanceof Array){return B}else{var A=new Array();if(B.type){A[0]=B}return A}};LWAPI.makeObject=function(jsondata){var obj;var type="Object";if(jsondata&&jsondata.type){var typeParts=jsondata.type.split(".");if(typeParts.length>0){var type="LW"+typeParts[typeParts.length-1];jsondata.type=type}}obj=eval("new "+type+"(jsondata)");return obj};LWAPI.fillValues=function(G,F){for(var D in F){var H=F[D];if(H instanceof Object){if(H["@nil"]=="true"){G[D]=""}else{if(D=="attachments"){if(H instanceof Array){var C=0;for(var E in H){var B=H[E];if(B instanceof Object){B.type="Attachment";B.URL=B.name;B.caption=B.value;var A=LWAPI.makeObject(B);H[C]=A}C++}G[D]=H}else{H.type="Attachment";H.URL=H.name;H.caption=H.value;var A=LWAPI.makeObject(H);G[D]=new Array();G[D][0]=A}}else{if(H instanceof Array){var C=0;for(var E in H){var B=H[E];if(B instanceof Object){var A=LWAPI.makeObject(B);H[C]=A}else{H[C]=B}C++}G[D]=H}else{G[D]=LWAPI.makeObject(H)}}}}else{G[D]=H}}};function LWCategory(A){LWAPI.fillValues(this,A)}LWCategory.prototype.toString=function(){return"[LWCategory:"+this.categoryID+":"+this.name+"]"};function LWCategoryList(B){LWAPI.fillValues(this,B);if(B.forums){B=B.categories}else{if(B instanceof Array){for(var A=0;A<B.length;A++){this.categories[A]=new LWCategory(B[A])}}else{this.categories[0]=new LWCategory(B)}}}LWCategoryList.prototype.toString=function(){return"[LWCategoryList:count="+this.categories.length+"]"};LWCategoryList.prototype.loadJSONCategoryList=function(B){if(B instanceof Array){for(var A=0;A<B.length;A++){this.categories[A]=new LWCategory(B[A])}}else{this.categories[0]=new LWCategory(B)}};function LWForum(A){LWAPI.fillValues(this,A)}LWForum.prototype.toString=function(){return"[LWForum:"+this.forumID+":"+this.name+"]"};function LWBlog(A){LWAPI.fillValues(this,A)}LWBlog.prototype=new LWForum();LWBlog.prototype.constructor=LWBlog;LWBlog.prototype.toString=function(){return"[LWBlog:forumID="+this.forumID+"]"};function LWForumList(B){LWAPI.fillValues(this,B);if(!(this.forums instanceof Array)){var A=this.forums;this.forums=new Array();this.forums[0]=A}}LWForumList.prototype.toString=function(){return"[LWForumList:count="+this.forums.length+"]"};LWForumList.prototype.loadJSONForumList=function(B){if(B.forums){B=B.forums}if(B instanceof Array){for(var A=0;A<B.length;A++){this.forums[A]=new LWForum(B[A])}}else{this.forums[0]=new LWForum(B)}};function LWMessage(A){LWAPI.fillValues(this,A)}LWMessage.prototype.toString=function(){return"[LWMessage:"+this.messageID+":"+this.subject+"]"};function LWMessageList(A){LWAPI.fillValues(this,A);if(!(this.messages instanceof Array)){var B=this.messages;this.messages=new Array();this.messages[0]=B}}LWMessageList.prototype.toString=function(){return"[LWMessageList:count="+(this.totalItemCount-1)+"]"};LWMessageList.prototype.loadJSONMessageList=function(B){for(var A=0;A<B.length;A++){this.messages[A]=new LWMessage(B[A])}};function LWThread(A){LWAPI.fillValues(this,A)}LWThread.prototype.toString=function(){return"[LWThread:"+this.threadID+":"+this.subject+"]"};function LWThreadList(B){LWAPI.fillValues(this,B);if(!(this.threads instanceof Array)){var A=this.threads;this.threads=new Array();this.threads[0]=A}}LWThreadList.prototype.toString=function(){return"[LWThreadList:count="+this.threads.length+"]"};LWThreadList.prototype.getThreads=function(){return this.threads};function LWBlogEntryList(B){LWAPI.fillValues(this,B);if(!(this.blogEntries instanceof Array)){var A=this.blogEntries;this.blogEntries=new Array();this.blogEntries[0]=A}this.threads=this.blogEntries}LWBlogEntryList.prototype=new LWThreadList();LWBlogEntryList.prototype.constructor=LWBlogEntryList;LWBlogEntryList.prototype.toString=function(){return"[LWBlogEntryList:count="+this.threads.length+"]"};function LWBookmarkList(B){LWAPI.fillValues(this,obj);if(!(this.bookmarks instanceof Array)){var A=this.bookmarks;this.bookmarks=new Array();this.bookmarks[0]=A}this.threads=this.bookmarks}LWBookmarkList.prototype=new LWThreadList();LWBookmarkList.prototype.constructor=LWBookmarkList;LWBookmarkList.prototype.toString=function(){return"[LWBookmarkList:count="+this.threads.length+"]"};function LWEventList(B){LWAPI.fillValues(this,obj);if(!(this.events instanceof Array)){var A=this.events;this.events=new Array();this.events[0]=A}this.threads=this.events}LWEventList.prototype=new LWThreadList();LWEventList.prototype.constructor=LWEventList;LWEventList.prototype.toString=function(){return"[LWEventList:count="+this.threads.length+"]"};function LWBlogEntry(A){LWAPI.fillValues(this,A)}LWBlogEntry.prototype=new LWThread();LWBlogEntry.prototype.constructor=LWBlogEntry;LWBlogEntry.prototype.toString=function(){return"[LWBlogEntry:threadID="+this.threadID+"]"};function LWBookmark(A){LWAPI.fillValues(this,A)}LWBookmark.prototype=new LWThread();LWBookmark.prototype.constructor=LWBookmark;LWBookmark.prototype.toString=function(){return"[LWBookmark:"+this.bookmarkURL+":threadID="+this.threadID+"]"};function LWEvent(A){LWAPI.fillValues(this,A)}LWEvent.prototype=new LWThread();LWEvent.prototype.constructor=LWEvent;LWEvent.prototype.toString=function(){return"[LWBookmark:"+this.bookmarkURL+":threadID="+this.threadID+"]"};function LWVideo(A){LWAPI.fillValues(this,A)}LWVideo.prototype=new LWThread();LWVideo.prototype.constructor=LWVideo;LWVideo.prototype.toString=function(){return"[LWVideo:"+this.videoID+":threadID="+this.threadID+"]"};function LWVideoList(B){LWAPI.fillValues(this,B);if(!(this.videos instanceof Array)){var A=this.videos;this.videos=new Array();this.videos[0]=A}}LWVideoList.prototype.toString=function(){return"[LWVideoList:count="+(this.totalItemCount-1)+"]"};LWMessageList.prototype.loadJSONMessageList=function(B){for(var A=0;A<B.length;A++){this.messages[A]=new LWMessage(B[A])}};function LWPoll(A){LWAPI.fillValues(this,A)}LWPoll.prototype.toString=function(){return"[LWPoll:"+this.pollID+":"+this.name+":options="+this.options.length+"]"};LWPoll.prototype.loadPollOptions=function(A){LWAPI.fillValues(this,obj)};LWPoll.loadPollList=function(C){var B=[];if(C instanceof Array){for(var A=0;A<C.length;A++){B[A]=new LWPoll(C[A])}}else{B[0]=new LWPoll(C)}return B};function LWPollOption(A){this.name=jsondata.name;this.option=jsondata.value}LWPollOption.prototype.toString=function(){return"[LWPollOption:"+this.name+":"+this.option+"]"};function LWAnnouncement(A){LWAPI.fillValues(this,A)}LWAnnouncement.prototype.toString=function(){return"[LWAnnouncement:"+this.subject+":"+this.body+"]"};function LWNameValue(A){LWAPI.fillValues(this,A)}LWNameValue.prototype.toString=function(){return"[LWNameValue:"+this.name+":"+this.value+"]"};function LWTag(A){LWAPI.fillValues(this,A)}LWTag.prototype.toString=function(){return"[LWTag:"+this.name+":"+this.level+"]"};LWTag.loadTagList=function(C){var B=[];if(C==null){return B}if(C instanceof Array){for(var A=0;A<C.length;A++){B[A]=new LWTag(C[A])}}else{B[0]=new LWTag(C)}return B};function LWAttachment(A){LWAPI.fillValues(this,A)}LWTag.prototype.toString=function(){return"[LWAttachment:"+this.URL+":"+this.caption+"]"};function LWAttachmentList(A){LWAPI.fillValues(this,A)}LWAttachmentList.prototype.toString=function(){return"[LWAttachmentList:count="+this.attachments.length+"]"};function LWUser(A){LWAPI.fillValues(this,A)}LWUser.prototype.toString=function(){return"[LWUser:"+this.userID+":"+this.username+"]"};function LWNameValue(A){LWAPI.fillValues(this,A)}function LWPhoto(A){LWAPI.fillValues(this,A)}LWMessage.prototype.toString=function(){return"[LWMessage:"+this.messageID+":"+this.subject+"]"};function LWPhotoList(B){LWAPI.fillValues(this,B);if(!(this.photos instanceof Array)){var A=this.photos;this.photos=new Array();this.photos[0]=A}}LWPhotoList.prototype.toString=function(){return"[LWPhotoList:count="+(this.totalItemCount-1)+"]"};LWPhotoList.prototype.loadJSONPhotoList=function(B){for(var A=0;A<B.length;A++){this.photos[A]=new LWPhoto(B[A])}};var LWUtil;LWUtil={};LWUtil.getStringValue=function(A){if(A==null||A["@nil"]=="true"){return""}return A};var UTIL;UTIL={};UTIL.escapeAttribute=function(E,C){var D=E.split(C);var A="";for(var B=0;B<D.length;B++){if(B>0){A+="\\"+C}A+=D[B]}return A};var HTTP;if(HTTP&&(typeof HTTP!="object"||HTTP.NAME)){throw new Error("Namespace 'HTTP' already exists")}HTTP={};HTTP.NAME="HTTP";HTTP.VERSION=1;HTTP.getTextWithScript=function(D,C,E){var B=document.createElement("script");document.body.appendChild(B);var A="func"+HTTP.getTextWithScript.counter++;HTTP.getTextWithScript[A]=function(F){E(F);document.body.removeChild(B);delete HTTP.getTextWithScript[A]};B.src=D+"/merge/scripts/js-liveapiwrap.jsp?uri="+encodeURIComponent(C)+"&callback="+encodeURIComponent("HTTP.getTextWithScript."+A)};HTTP.getTextWithScript.counter=0;function PageQuery(B){if(B.length>1){this.q=B.substring(1,B.length)}else{this.q=null}this.keyValuePairs=new Array();if(B){for(var A=0;A<this.q.split("&").length;A++){this.keyValuePairs[A]=this.q.split("&")[A]}}this.getKeyValuePairs=function(){return this.keyValuePairs};this.getValue=function(D){for(var C=0;C<this.keyValuePairs.length;C++){if(this.keyValuePairs[C].split("=")[0]==D){return this.keyValuePairs[C].split("=")[1]}}return false};this.getParameters=function(){var C=new Array(this.getLength());for(var D=0;D<this.keyValuePairs.length;D++){C[D]=this.keyValuePairs[D].split("=")[0]}return C};this.getLength=function(){return this.keyValuePairs.length}};