urchinTrackerPrefix="/people";var IM_ACTION={OPEN_CONVERSATION:1,ADD_FRIEND:2,DELETE_FRIEND:3,BLOCK_USER:4,SEND_LOOKING_AT:5,DECLINE_FRIENDSHIP:6,ACCEPT_FRIENDSHIP:7};var FRIENDSHIP_ACTION={AUTH_IGNORED:0,AUTH_ACCEPTED:1,AUTH_DECLINED:2};function gotoArtistCommunity(c,b,a){if(c!="35081"&&c!="184110"){doRedirect(LOCAL_PATH_CONSTANT+"/discovery/artist.html?id="+c+"&idType="+b+"&useGenre="+a)}}function gotoGenreCommunity(a){doRedirect(LOCAL_PATH_CONSTANT+"/discovery/genre.html?id="+a)}function returnArrayValue(b,c){for(var a=0;a<b.length;a++){if(b[a].id==c){return b[a].title}}}function gotoLink(f,a){if(isGuestMode(myUserId)){var d=false;for(var b in GUEST_USER_AVAILABLE_PAGES){if(f.indexOf(GUEST_USER_AVAILABLE_PAGES[b])!=-1){d=true;break}}if(!d){try{iMesh6Discovery.ShowNeedRegistration()}catch(c){}}else{top.location.href=addAuthParams(f)}}else{a=a?("#"+a):"";top.location.href=addAuthParams(f)+a}return false}function scrollToElementToView(c){var b=document.getElementById(c);if(b){try{b.scrollIntoView(true)}catch(a){}}}function getStatus(a){if(a!=""){if(parseInt(a,10)%2==0||parseInt(a,10)==13){return"0"}else{return"1"}}else{return"0"}}function gotoPeopleProfile(a){location.href=addAuthParams("profile.php?UserId="+a)}function gotoGallery(a){location.href=addAuthParams("gallery.html?UserId="+a)}function gotoMessages(){location.href=addAuthParams("messages.html")}var picturesObject=null;var arrowObject;var doMove=false;var movingRightAmount=0;var movingLeftAmount=0;var picMoveAmount=0;var isMouseClicked=false;function moveLeft(b,e,d,c,a){picturesObject=document.getElementById(c);if(a!=null){arrowObject=a}else{arrowObject=""}if(d){if(!doMove){if(picturesObject.picMoveAmount==0){doMove=false}else{isMouseClicked=true;doMove=true;movingLeftAmount=0;picturesObject.picMoveAmount=parseInt(picturesObject.picMoveAmount,10)-1;if(picturesObject.picMoveAmount==0){disableLeftScrolling(arrowObject)}else{enableLeftScrolling(arrowObject)}if(picturesObject.picMoveAmount==e){disableRightScrolling(arrowObject)}else{enableRightScrolling(arrowObject)}}}else{return}}if(doMove){if(movingLeftAmount<b){picturesObject.scrollLeft=picturesObject.scrollLeft-3;movingLeftAmount=movingLeftAmount+3;setTimeout("moveLeft("+b+","+e+",false,'"+c+"','"+arrowObject+"')",1)}else{doMove=false;if(isMouseClicked){moveLeft(b,e,true,c,arrowObject)}}}}function moveRight(b,e,d,c,a){picturesObject=document.getElementById(c);if(a!=null){arrowObject=a}else{arrowObject=""}if(d){if(!doMove){if(picturesObject.picMoveAmount==e){doMove=false}else{isMouseClicked=true;doMove=true;movingRightAmount=0;picturesObject.picMoveAmount=parseInt(picturesObject.picMoveAmount,10)+1;if(picturesObject.picMoveAmount==0){disableLeftScrolling(arrowObject)}else{enableLeftScrolling(arrowObject)}if(picturesObject.picMoveAmount==e){disableRightScrolling(arrowObject)}else{enableRightScrolling(arrowObject)}}}else{return}}if(doMove){if(movingRightAmount<b){picturesObject.scrollLeft=picturesObject.scrollLeft+3;movingRightAmount=movingRightAmount+3;setTimeout("moveRight("+b+","+e+",false,'"+c+"','"+arrowObject+"')",1)}else{doMove=false;if(isMouseClicked){moveRight(b,e,true,c,arrowObject)}}}}function openWebImportFriends(){try{iMesh6Discovery.OpenImportFriends()}catch(a){try{iMesh6Discovery.OpenWebDialog(LOCAL_PATH_CONSTANT+"/importfriends/welcome.php?userId="+myUserId+"&myPasswordHash="+myPasswordHash,"Import Friends",442,230,1)}catch(a){}}}function openClientImportFriends(){if(INVITE_TRIGGER_ON){try{iMesh6Discovery.SetAdvisoryLink("<AdvisoryLink> <LinkAttributes> <Caption>Your friends are on Shareaza too. Find out who!</Caption> <ColorNormal>16711680</ColorNormal> <ColorHighlighted>10767886</ColorHighlighted> <Font> <Size/><FaceName>Arial</FaceName> <Bold>1</Bold> <Italic>0</Italic> <Underline>1</Underline> </Font> </LinkAttributes> <FromLinkCommand> <OpenWebDialog> <URL> <![CDATA["+LOCAL_PATH_CONSTANT+"/importfriends/welcome.php?userId="+myUserId+"&myPasswordHash="+myPasswordHash+"]]></URL></OpenWebDialog> </FromLinkCommand> </AdvisoryLink>")}catch(a){}}}function reportAbuse(){if(myUserId!=userId){gotoLink("reportAbuse.html?UserId="+userId)}else{alert("You cannot report yourself!")}}function copyContent(){var a=document.selection.text;document.execCommand("Copy")}function pasteContent(a){document.getElementById(a).focus();document.execCommand("Paste")}function getGenreProfileName(b){var c=false;for(var a=0;a<genreArr.length;a++){if(genreArr[a].id==b){c=genreArr[a].title}}return c}function returnGender(a){return(parseInt(a,10))?"Female":"Male"}function showLoader(){document.getElementById("ajaxLoader").style.display="inline";document.getElementById("ajaxContent").style.display="none"}var hereToArr=createObjArray([[1,"Network, Make Friends"],[2,"Get music"],[3,"Date, hook up"]],"selectObj");var orientationArr=createObjArray([[1,"Straight"],[2,"Gay"],[3,"Bisexual"],[4,"Not sure"]],"selectObj");var bodyTypeArr=createObjArray([[1,"Slim"],[2,"Slim and athletic"],[3,"Average"],[4,"Few extra pounds"],[5,"Bit more"],[6,"Bodybuilder"]],"selectObj");var hairColorArr=createObjArray([[1,"Black"],[2,"Brown"],[3,"Auburn"],[4,"Blonde"],[5,"Pale Blonde"],[6,"Red"],[7,"Orange"],[8,"Salt 'n pepper"],[9,"Gray"]],"selectObj");var eyeColorArr=createObjArray([[1,"Brown"],[2,"Hazel"],[3,"Amber/yellow"],[4,"Green"],[5,"Gray"],[6,"Blue"]],"selectObj");var religionArr=createObjArray([[1,"Atheist, not religious"],[2,"Christian"],[3,"Islam"],[4,"Jewish"],[5,"Buddhist"],[6,"Other"]],"selectObj");var smokeArr=createObjArray([[1,"Yes"],[2,"No"],[3,"Trying to quit"],[4,"Used to"]],"selectObj");var drinkArr=createObjArray([[1,"Yes"],[2,"No"],[3,"Occasionally"]],"selectObj");var foodArr=createObjArray([[1,"Omnivore (eat everything)"],[2,"Semi vegetarian"],[3,"Lacto vegetarian"],[4,"Lacto-ovo vegetarian"],[5,"Vegan"]],"selectObj");function getProBadge(){var a=document.createElement("img");a.src="../images/people/pro_badge.gif";if(!isProUser()){a.style.cursor="pointer";a.alt="Learn more about Pro Users";a.onclick=proBadgeClick}return a}function proBadgeClick(){if(isGuestMode(myUserId)){try{iMesh6Discovery.ShowNeedRegistration()}catch(b){}return}var a=getClientVersion();if(!checkClientVersion(a,CLIENT_VERSION_SUPPORT_PRO)){if(PRO_CLIENT_AVAILABLE){displayModalDialog(DYNAMIC_PATH+"/purchase/upgradeClient.html",new Array(),"dialogWidth:490px;dialogHeight:226px;status:no; resizable:no;")}else{displayModalDialog(DYNAMIC_PATH+"/people/noProNotify.html",new Array(),"dialogWidth:490px;dialogHeight:210px;status:no; resizable:no;")}}else{try{iMesh6Discovery.ShowPurchaseDialog(PURCHASE_ACTION.PRO,PURCHASE_ORIGIN.PEOPLE,"")}catch(b){}}}function uploadMultiplePhotosAvailable(){return checkClientVersion(getClientVersion(),CLIENT_VERSION_SUPPORT_HTTPUPLOADER)}var IMG_TYPE_MAP={GIF:1,JPG:2,PNG:3,EXT:{1:"gif",2:"jpg",3:"png"}};function getUserImagePath(b,e,d,g){g=g||"";b=parseInt(b);e=parseInt(e);var f={};if(!isNaN(e)&&e>0&&!isNaN(b)&&b>0){var c=IMG_TYPE_MAP.EXT[d];var a=e.toString();while(a.length<4){a="0"+a}f.dir1=a.substr(a.length-4,2);f.dir2=a.substr(a.length-2);f.name=b+"-"+e+g+"."+c;f.path="/pics/"+f.dir1+"/"+f.dir2+"/"+f.name}return f}function cloneObject(c){if(!c){return c}var a=(c instanceof Array)?[]:{};for(var b in c){if(c[b]&&c[b] instanceof Object){a[b]=cloneObject(c[b])}else{a[b]=c[b]}}return a}function isDOM(a){return((typeof(a)=="object")&&("nodeType" in a)&&(a.nodeType===1)&&a.cloneNode)}function Class(){}Class.prototype.initialize=function(){};Class.prototype.formatDate=function(d,g){var f=(new Date(g).getTime()-new Date(d).getTime())*0.001;var c={year:86400*365,month:86400*30,week:86400*7,day:86400,hour:3600,minute:60,second:1};for(var b in c){if(f>=c[b]){if(b=="year"){return"More than a year ago"}if(b=="second"){return"1 minute ago"}var e=Math.floor(f/c[b]);if(b=="day"&&e==1){return"Yesterday"}return""+e+" "+b+(e==1?"":"s")+" ago"}}};Class.extend=function(e){var a=function(){if(arguments[0]!==Class){this.initialize.apply(this,arguments)}};var d=new this(Class);var b=this.prototype;for(var f in e){var c=e[f];if(c instanceof Function){c.Parent=b}else{a[f]=c}d[f]=c}a.prototype=d;a.extend=this.extend;return a};var Component=Class.extend({_template:null,initialize:function(a){this.mountPoint=null;this.dom=null;this.config=a||{};this.template=this.config.template||cloneObject(this._template);this.children={};this.idCounter=0;this.mountPoints={};this.insertPoints={};if($.isArray(this.config.children)){for(var b=0;b<this.config.children.length;b++){this.appendChildComponent(null,this.config.children[b])}}},renderTo:function(a,c){a=a||document.body;this.renderPoint=a;this.createDomStructure();if(this.dom){if(c&&a.hasChildNodes){var b=((c instanceof Component)&&c.dom)?c.dom:c;b=(isDOM(b)&&b.parentNode===a)?b:a.firstChild;a.insertBefore(this.dom,b)}else{a.appendChild(this.dom)}return this.dom}},appendChildComponent:function(a,e,d,c){a=a||("instance"+(this.idCounter++));this.children[a]=e;this.mountPoints[a]=d;this.insertPoints[a]=c;e.setParent(this);if(this.dom){var b=isDOM(this[d])?this[d]:this.mountPoint;if(b){this.childRender(a,b,c)}}},destroy:function(){if(this.parentObj){this.parentObj.removeChild(this);this.parentObj=null}if(this.dom){$(this.dom).remove()}},removeChild:function(c){for(var b in this.children){if(this.children[b]==c){delete this.children[b];return}}},removeChildByName:function(a){if(a in this.children){delete this.children[a]}},setParent:function(a){this.parentObj=a},getDomNode:function(){this.createDomStructure();return this.dom},createDomStructure:function(){if(this.dom){return}this.getDomFromTemplate();if(isDOM(this.dom)){this.renderSubComponents()}else{this.dom=null}},getDomFromTemplate:function(){this.dom=this.processTemplate(this.template);this.domMountPoint=this.mountPoint;this.onDomCreated()},onDomCreated:function(){},processTemplate:function(e){if(!e){return false}if(e.component){return new e.component(e.config)}var b;if(isDOM(e.dom)){b=e.dom.cloneNode(true);if(e.mountPoint){this.mountPoint=e.mountPoint}return b}b=this.attrDecorator(document.createElement(e.sTag),e.oAttrs);if(e.sObjProperty){this[e.sObjProperty]=b;Component.domProps.push({i:this,p:e.sObjProperty})}if(e.mountPoint){this.mountPoint=b}if(e.oEvents){for(var c in e.oEvents){this.eventDecorator(b,c,this[e.oEvents[c]])}}if(e.aSubTags){for(var a=0;a<e.aSubTags.length;a++){var d=this.processTemplate(e.aSubTags[a]);if(d instanceof Component){this.appendChildComponent(null,d);b.appendChild(d.getDomNode())}else{b.appendChild(d)}}}return b},renderSubComponents:function(){for(var a in this.children){var b=this[this.mountPoints[a]];b=isDOM(b)?b:this.mountPoint;var c=this.insertPoints[a];if(b){this.childRender(a,b,c)}}},childRender:function(a,c,b){this.children[a].renderTo(c,b)},eventDecorator:function(a,b,f,c){if(!$.isFunction(f)){throw {code:"-1",message:"Incompatible types. Function expected"}}c=c||null;var g=("on"+b).toLowerCase();var e=delegate(this,f,c);var d=a.attachEvent(g,e);if(d){Component.domEvents.push({d:a,n:g,h:e})}return d},attrDecorator:function(c,e,b){if(b){return this.decoratorSpecialist()}for(var a in e){if(a=="style"){for(var d in e[a]){c.style[d]=e[a][d]}}else{c[a]=e[a]}}return c},hitTest:function(a,g,c){var e=c||this.dom;if(!e){return{}}var f=this.getPos(e);var b=this.getSize(e);var d=((a>=f.left)&&(a<=(f.left+b.width))&&(g>=f.top)&&(g<=(f.top+b.height)));return d},getPos:function(a){var b=a||this.dom;if(!b){return{top:0,left:0}}var c=$(b).offset();return c},getSize:function(a){var b=a||this.dom;if(!b){return{width:0,height:0}}return{width:$(b).width(),height:$(b).height()}}});Component.domProps=[];Component.domEvents=[];Component.cleanup=function(){var a;for(a=0;a<Component.domProps.length;a++){if(Component.domProps[a].i){Component.domProps[a].i[Component.domProps[a].p]=null}}for(a=0;a<Component.domEvents.length;a++){if(Component.domEvents[a].d&&Component.domEvents[a].d.detachEvent){Component.domEvents[a].d.detachEvent(Component.domEvents[a].n,Component.domEvents[a].h)}}window.detachEvent("onunload",Component.cleanup)};window.attachEvent("onunload",Component.cleanup);var Single=Component.extend({initialize:function(c){arguments.callee.Parent.initialize.apply(this,arguments);var b,d=cloneObject(this._template);if(this.template){for(var b in this.template){d[b]=this.template[b]}}this.template=d},_template:{sTag:"div",mountPoint:true}});var ColBase=Component.extend({childRender:function(b,d){var a=this.mountPoint.childNodes.length;var c=this.attrDecorator(document.createElement("li"),this.config.colProperties[a]);this.mountPoint.appendChild(c);if(this.children[b] instanceof Component){this.children[b].renderTo(c)}else{c.appendChild(this.children[b])}},_template:{sTag:"div",oAttrs:{className:"ColBase"},aSubTags:[{sTag:"ul",mountPoint:true,oAttrs:{className:"ColBase"}}]}});var RowBase=Component.extend({renderTo:function(a){a=a||document.body;this.dom=this.mountPoint=a;this.renderSubComponents()}});var Container=Component.extend({_template:{sTag:"div",oAttrs:{className:"Container"},aSubTags:[{sTag:"div",mountPoint:true,oAttrs:{className:"SubContainer"}}]}});var Spacer=Single.extend({initialize:function(){arguments.callee.Parent.initialize.apply(this,arguments);this.template.oAttrs={innerHTML:"<hr/>"}},attrDecorator:function(b,c,a){c.className="Spacer";if(this.config.view){c.className+=" SpacerViewModel"+this.config.view}if(this.config.space){c.className+=" SpacerSpaceModel"+this.config.space}return arguments.callee.Parent.attrDecorator.call(this,b,c,a)}});var mvcEvent=Class.extend({initialize:function(a,c,e,f){var d=false;var b=(f!=undefined)?f:true;this.cancel=function(){if(b){d=true}};this.isCancelled=function(){return d};this.sender=a;this.type=c;this.data=e}});var mvcView=Component.extend({setController:function(b,a){if(!(b instanceof mvcModelController)){throw {code:"-1",message:"Incompatible types. mvcModelController expected"}}this.controller=b;if(a){b.registerNamedView(a,this)}else{b.registerView(this)}},update:function(a){},onDomCreated:function(){arguments.callee.Parent.onDomCreated.apply(this,arguments);if(this.controller){this.controller.viewEvent(new mvcEvent(this,"domCreated"))}}});var mvcViewBasic=Class.extend({setController:function(b,a){if(!(b instanceof mvcModelController)){throw {code:"-1",message:"Incompatible types. mvcModelController expected"}}this.controller=b;if(a){b.registerNamedView(a,this)}else{b.registerView(this)}this.controller.viewEvent(new mvcEvent(this,"domCreated"))},update:function(a){}});var PreloadableMvcView=mvcView.extend({getLoaderParent:function(){}});var mvcModelController=Class.extend({initialize:function(){this.views={};this.listeners=[];this.idCounter=0},registerView:function(c,d){for(var b in this.views){if(c==this.views[b]){return}}this.registerNamedView("instance"+(this.idCounter++),c,d)},registerNamedView:function(b,a,c){if(!(a instanceof mvcView||a instanceof mvcViewBasic)){throw {code:"-1",message:"Incompatible types. mvcView expected"}}if(this.views[b]){unRegisterView(b)}this.views[b]=a;if(c||c==undefined){this.listeners.push(a)}},unRegisterView:function(a){if(!this.views[a]){throw {code:"-2",message:"Object not found. No view with specified name found "+a}}for(var b=0;b<this.listeners.length;b++){if(this.listeners[b]==this.views[a]){this.listeners.splice(b,1)}}delete this.views[a]},getNamedView:function(a){if(!this.views[a]){throw {code:"-2",message:"Object not found. No view with specified name found "+a}}return this.views[a]},updateListeners:function(b){if(!(b instanceof mvcEvent)){throw {code:"-1",message:"Incompatible types. mvcEvent expected"}}this.handleEvent(b);for(var a=0;a<this.listeners.length&&!b.isCancelled();a++){this.listeners[a].update(b)}},viewEvent:function(a){this.updateListeners(a)},handleEvent:function(a){}});var WebRequest=Class.extend({initialize:function(e,a,b,c,d){this.id=e||"request"+(++WebRequest.idCounter);this.endPoint=a||null;this.func=b||null;this.xmlDoc=c||null;this.params=d||null;this.myState=WebRequest.State.NEW;this.response=null;this.error={code:0,message:null}},complete:function(a,b,c){this.myState=WebRequest.State.DONE;this.response=a;this.error.code=b;this.error.message=c}});WebRequest.idCounter=0;WebRequest.State={NEW:0,RUNNING:1,DONE:2};var WebRequestExec=Class.extend({executeRequest:function(d,b,e){var a=[];var k;var h;function c(j){if(!(j instanceof Array)){j=[j]}for(var n=0;n<j.length;n++){if(j[n] instanceof Array){c(j[n])}else{if(j[n] instanceof WebRequest){a.push(j[n])}else{throw {code:"-1",message:"Incompatible types. WebRequest expected"}}}}}function m(n){var j=[];for(var i in n){j.push(encodeURIComponent(i)+"="+encodeURIComponent(n[i]))}return j.join("&")}function l(i,j,n){i.complete(j,0,n);if($.isFunction(d)){d(i)}}function f(n,o,p,i){var j=-1;if(p=="timeout"){j=-2}n.complete(null,j,p);if($.isFunction(b)){b(n)}}c(e);var g=0;for(k=0;k<a.length;k++){$.ajax({type:"POST",url:DYNAMIC_PATH+a[k].endPoint+"?function="+encodeURIComponent(a[k].func)+(a[k].params?"&"+$.param(a[k].params):""),data:"XMLDOC="+encodeURIComponent(a[k].xmlDoc),dataType:"xml",timeout:AJAX_TIMEOUT,success:delegate(this,l,[a[k]]),error:delegate(this,f,[a[k]])});a[k].myState=WebRequest.State.RUNNING;g++}return g}});var PageManager=mvcModelController.extend({initialize:function(){arguments.callee.Parent.initialize.apply(this,arguments);this.executor=new WebRequestExec();this.scheduledRequests={};this.requestsRunning=0;this.data={};this.unloadHandler=delegate(this,this.cleanup);window.attachEvent("onunload",this.unloadHandler)},controllerInitialize:function(){var c=new mvcEvent(this,"init",null,false);this.updateListeners(c);var d=[];for(var b in this.scheduledRequests){d.push(this.scheduledRequests[b])}this.executeRequest(d);this.scheduledRequests={}},scheduleRequest:function(a){if(!(a instanceof WebRequest)){throw {code:"-1",message:"Incompatible types. WebRequest expected"}}this.scheduledRequests[a.id]=a;this.data[a.id]=a},executeRequest:function(a){this.data[a.id]=a;this.requestsRunning+=this.executor.executeRequest(delegate(this,this.onRequestSuccess),delegate(this,this.onRequestFailure),a)},getRequest:function(a){if(this.data[a]){return this.data[a]}return null},requestFinished:function(){this.requestsRunning--;this.checkRequestsRunning()},onRequestSuccess:function(a){this.requestFinished()},onRequestFailure:function(b){if(b.error.code==-2){var a=new mvcEvent(this,"requestTimeout",b);this.updateListeners(a)}this.requestFinished()},checkRequestsRunning:function(){if(!this.requestsRunning){var a=new mvcEvent(this,"ready",null,false);this.updateListeners(a);var a=new mvcEvent(this,"updateComplete",null,false);this.updateListeners(a)}},cleanup:function(){window.detachEvent("onunload",this.unloadHandler)}});var Loader=mvcView.extend({initialize:function(a){arguments.callee.Parent.initialize.apply(this,arguments);if(this.config.preloadable&&!(this.config.preloadable instanceof PreloadableMvcView)){throw {code:-1,message:"Invalid type. Preloadable expected"}}this.preloadable=this.config.preloadable},__serveLoader:function(a){switch(a){case"show":this.serveShow();$(this.dom).show();if(this.preloadable){$(this.preloadable.getLoaderParent()).addClass("Loading")}else{$(document.body).addClass("Loading")}break;case"hide":$(this.dom).hide();if(this.preloadable){$(this.preloadable.getLoaderParent()).removeClass("Loading")}else{$(document.body).removeClass("Loading")}break}},show:function(){this.__serveLoader("show")},hide:function(){this.__serveLoader("hide")},serveShow:function(){},update:function(a){if(a.type=="updateComplete"){this.hide()}}});var RootLoader=Loader.extend({initialize:function(a){arguments.callee.Parent.initialize.apply(this,arguments);this.pageCrashCached=false},update:function(a){if(((a.type=="requestTimeout"&&a.data.id=="peopleHomeMain")||(a.type=="loadingCrash"))&&!this.pageCrashCached){this.pageCrashCached=true;$(this.dom).addClass("onPageLoadCrash");$(this.domDesc).html(((a.type=="requestTimeout")?"The page seems to be taking too much time to load":"An error occurred while trying to load the page")+'. <br /> <a hideFocus="true" href="javascript: window.location.reload(true);">Reload this page</a>')}else{if(!this.pageCrashCached){arguments.callee.Parent.update.apply(this,arguments)}}},_template:{sTag:"div",oAttrs:{className:"ProcessingRootLoader Module",style:{display:"none"}},aSubTags:[{sTag:"div",oAttrs:{className:"ProcessingRootLoaderData"},aSubTags:[{sTag:"div",oAttrs:{className:"Message"},aSubTags:[{sTag:"h3",oAttrs:{innerHTML:"Processing your request"}},{sTag:"p",sObjProperty:"domDesc",oAttrs:{innerHTML:"Loading, Please wait..."}}]}]}]}});var InnerModuleLoader=Loader.extend({serveShow:function(){this.dom.style.height=$(this.preloadable?this.preloadable.getLoaderParent():document.body).height()},_template:{sTag:"div",oAttrs:{className:"ProcessingInnerLoader Module"},aSubTags:[{sTag:"div",oAttrs:{className:"ProcessingInnerLoaderData"},aSubTags:[{sTag:"div",oAttrs:{className:"Message"},aSubTags:[{sTag:"h3",oAttrs:{innerHTML:"Processing your request"}},{sTag:"p",oAttrs:{innerHTML:"Loading, Please wait..."}}]}]}]}});var PeopleSearchParams=Class.extend({initialize:function(a){this.cookie=a||"peopleSearchParams";this.params={};this.load()},load:function(){var b=readCookie(this.cookie);if(b!=null){var a=b.split("|");for(var d=0;d<a.length;d++){var c=a[d].split("=");if((c[0]=="mrt")||(c[0]=="edu")){c[1]=c[1].split(",")}this.params[c[0]]=c[1]}}this.params.pic=this.params.pic!=undefined?this.params.pic:"";this.params.online=this.params.online!=undefined?this.params.online:""},save:function(){var c=[];for(var b in this.params){if(this.params[b]&&this.params[b].constructor.toString().indexOf("Array")!=-1){c.push(b+"="+this.params[b].join(","))}else{c.push(b+"="+this.params[b])}}saveCookie(this.cookie,c.join("|"))},setParam:function(b,c,a){if(a){if(this.params[b]&&this.params[b].constructor.toString().indexOf("Array")==-1){this.params[b]=[this.params[b]]}else{if(!this.params[b]){this.params[b]=[]}}this.params[b].push(c)}else{this.params[b]=c}return this},getParam:function(a){return this.params[a]},unsetParam:function(a){if(a&&a.constructor.toString().indexOf("Array")!=-1){for(var b=0;b<a.length;b++){delete this.params[a[b]]}}else{delete this.params[a]}return this}});