ts.stackData = [4151,"Phone Book","HyperCard",{returnKey:function(){var _=arguments.callee.__ var $g=ts.Global _.a='mouseUp' $g.$TARGET=this.tile().button("Search Person",true) $g.$TARGET.send(_.a) }},"This is a Stack which access the Phonebook of the University of Zurich.\r\nThis was just a Project to see what can be done with tileStack. \r\nCheck out the nifty umlaut conversion inside the \"Search Person\" button.",0,0,0,0,[0,0,512,342],[[2008,null,,0,0,1,"bg_picture.png",[]]],[[2009,"Go Next",,2008,0,0,0,1,null,[[53,"SearchBG",0,,"116,66,278,88",2,"Helvetica",12,1,"0,0,0","transparent",0,null,1,0,1,0,0,"SearchField.png",0,0,null,,null],[25,"fldNamesOnly",1,{mouseUp:function(){var _=arguments.callee.__ var $g=ts.Global var _g=$g.$GLOBALS if(_g["gEMailAdresseAll"]==undefined)_g["gEMailAdresseAll"]='' if(_g["gNamesOnly"]==undefined)_g["gNamesOnly"]='' if(_g["gGebaeudeAll"]==undefined)_g["gGebaeudeAll"]='' if(_g["gAbteilungAll"]==undefined)_g["gAbteilungAll"]='' if(_g["gNummerAll"]==undefined)_g["gNummerAll"]='' if(_g["gStrasseAll"]==undefined)_g["gStrasseAll"]='' if(_g["gRaumAll"]==undefined)_g["gRaumAll"]='' if(_g["gNachnameAll"]==undefined)_g["gNachnameAll"]='' if(_g["gVornameAll"]==undefined)_g["gVornameAll"]='' if(_g["gOrtAll"]==undefined)_g["gOrtAll"]='' this.background().field("fldAddress",true).$setContents("") this.background().field("fldLineNumber",true).$setContents(this.background().field("fldNamesOnly",true).get("selectedLines")) _.k=this.background().field("fldLineNumber",true) this.background().field("fldAddress",true).$setContents($g.$chunk(3,_g["gVornameAll"].toString(),_.k)+' '+$g.$chunk(3,_g["gNachnameAll"].toString(),_.k)+"\n"+$g.$chunk(3,_g["gAbteilungAll"].toString(),_.k)+"\n"+"("+$g.$chunk(3,_g["gGebaeudeAll"].toString(),_.k)+' '+$g.$chunk(3,_g["gRaumAll"].toString(),_.k)+")"+"\n"+$g.$chunk(3,_g["gStrasseAll"].toString(),_.k)+"\n"+$g.$chunk(3,_g["gOrtAll"].toString(),_.k)+"\n"+"\n"+"Tel: "+$g.$chunk(3,_g["gNummerAll"].toString(),_.k)+"\n"+"Mail: "+$g.$chunk(3,_g["gEMailAdresseAll"].toString(),_.k)+"\n") }},"36,121,184,311",0,"Verdana",12,0,"64,179,25","89,81,81",1,null,1,1,0,0,1,0,1,1,0,0,16,0,null,null],[30,"fldLineNumber",1,,"452,37,496,61",2,"Verdana",12,0,"0;0;0","255;255;255",2,null,0,0,0,0,0,1,0,0,0,0,16,0,null,null],[32,"fldSearch",1,{enterInField:function(){var _=arguments.callee.__ var $g=ts.Global _.a='mouseUp' $g.$TARGET=this.tile().button("SearchPerson.png",true) $g.$TARGET.send(_.a) }},"145,66,261,88",0,"Verdana",12,0,"9,235,69","117,117,117",0,null,1,0,1,0,0,1,0,0,0,0,16,0,null,null],[50,"Tel_Icon",0,,"225,227,251,249",2,"Helvetica",12,1,"0,0,0","255,255,255",0,null,1,0,1,0,0,"phone_button.png",0,0,null,,null],[51,"Mail_Icon",0,,"225,248,251,270",2,"Helvetica",12,1,"0,0,0","255,255,255",0,null,1,0,1,0,0,"mail_button.png",0,0,null,,null],[33,"New Label",1,,"22,69,114,91",1,"Verdana",12,0,"54,189,10","transparent",0,"Enter Name:",1,0,0,0,0,1,1,0,0,0,16,0,null,null],[52,"New Button",0,,"225,136,251,158",2,"Helvetica",12,1,"0,0,0","255,255,255",0,null,1,0,1,0,0,"map_button.png",0,0,null,,null],[36,"fldAddress",1,,"255,137,568,280",0,"Verdana",12,0,"60,194,15","255;255;255",0,null,1,0,0,0,0,1,0,0,0,0,16,0,null,null],[48,"New Label",1,,"37,101,129,119",0,"Verdana",12,0,"54;189;10","transparent",0,"Click a Name:",1,0,0,0,0,1,1,0,0,0,16,0,null,null],[49,"UNI Label",1,,"102,24,445,52",0,"Verdana",20,0,"54;189;10","transparent",0,"Phone Book University of Zürich",1,0,0,0,0,1,1,0,0,0,26,0,null,null],[54,"Clear.png",0,{mouseUp:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Clear.png") this.background().field("fldLineNumber",true).$setContents("") this.background().field("fldNamesOnly",true).$setContents("") this.background().field("fldAddress",true).$setContents("") this.background().field("fldSearch",true).$setContents("") },mouseDown:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Clear_down.png") },mouseEnter:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Clear_over.png") },mouseLeave:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Clear.png") }},"397,68,491,90",2,"Helvetica",12,1,"0;0;0","transparent",0,null,1,0,1,0,0,"Clear.png",0,0,null,,null],[55,"Clear_over.png",0,,"400,122,495,144",2,"Helvetica",12,1,"0;0;0","transparent",0,null,0,0,1,0,0,"Clear_over.png",0,0,null,,null],[56,"Clear_down.png",0,,"401,98,496,120",2,"Helvetica",12,1,"0;0;0","transparent",0,null,0,0,1,0,0,"Clear_down.png",0,0,null,,null],[57,"Info.png",0,{mouseUp:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Info.png") this.send("go",this.stack().tile().next()) },mouseDown:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Info_down.png") },mouseEnter:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Info_over.png") },mouseLeave:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"Info.png") }},"394,296,489,318",2,"Helvetica",12,1,"0;0;0","transparent",0,null,1,0,1,0,0,"Info.png",0,0,null,,null],[58,"Info_over.png",0,,"293,123,388,145",2,"Helvetica",12,1,"0;0;0","transparent",0,null,0,0,1,0,0,"Info_over.png",0,0,null,,null],[59,"Info_down.png",0,,"297,97,392,119",2,"Helvetica",12,1,"0;0;0","transparent",0,null,0,0,1,0,0,"Info_down.png",0,0,null,,null],[60,"SearchPerson.png",0,{mouseUp:function(){var _=arguments.callee.__ var $g=ts.Global _.c='myCallback' var _g=$g.$GLOBALS if(_g["gRawHTML"]==undefined)_g["gRawHTML"]='' this.set('icon',"SearchPerson.png") this.tile().button("Alert",true).set('visible',true) this.tile().button("bar_bg",true).set('visible',true) this.background().field("fldDownloading",true).set('visible',true) this.tile().button("bar",true).set('visible',true) _g["gRawHTML"]="" this.background().field("fldNamesOnly",true).$setContents("") this.background().field("fldAddress",true).$setContents("") _.b=this.background().field("fldSearch",true) this.send("request","text","http://www.phonebook.uzh.ch/?Name/Bezeichnung="+_.b+"&&submitButtonName=suchen&case=i¨aute=on&aslist=d",_.c) },mouseDown:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"SearchPerson_down.png") },mouseEnter:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"SearchPerson_over.png") },mouseLeave:function(){var _=arguments.callee.__ var $g=ts.Global this.set('icon',"SearchPerson.png") },myCallback:function(a,b){var _=arguments.callee.__ var $g=ts.Global var _g=$g.$GLOBALS if(_g["gOrtAll"]==undefined)_g["gOrtAll"]='' if(_g["gAbteilungAll"]==undefined)_g["gAbteilungAll"]='' if(_g["gStrasseAll"]==undefined)_g["gStrasseAll"]='' if(_g["gRaumAll"]==undefined)_g["gRaumAll"]='' if(_g["gNachnameAll"]==undefined)_g["gNachnameAll"]='' if(_g["gVornameAll"]==undefined)_g["gVornameAll"]='' if(_g["gRawHTML"]==undefined)_g["gRawHTML"]='' if(_g["gNummerAll"]==undefined)_g["gNummerAll"]='' _.w='J' _.o='I' if(_g["gNamesOnly"]==undefined)_g["gNamesOnly"]='' if(_g["gEMailAdresseAll"]==undefined)_g["gEMailAdresseAll"]='' if(_g["gGebaeudeAll"]==undefined)_g["gGebaeudeAll"]='' _g["gRawHTML"]=_.a _.n="" for(_.p=1,_.q=$g.$parseInteger($g.$get($g.$chunk(3,_g["gRawHTML"].toString(),0),"number"));_.p<=_.q;_.p++){_.o=_.p if(($g.$chunk(1,$g.$chunk(3,_g["gRawHTML"].toString(),_.o),1).toLowerCase()=="