\n"); outputFrame.write("\n"); outputFrame.write(prefixHTML + "\n\n"); if (treeData[1].target == "") {var targetFrame = defaultTargetFrame} else {var targetFrame = treeData[1].target} if (treeData[1].icon == "") {var imageString = defaultImageURL + 'img-globe-' + structureStyle + '.gif'} else {imageString = defaultImageURL + treeData[1].icon} outputFrame.write("" + treeData[1].url + " " + treeData[1].name + "
\n"); drawBranch("root",""); outputFrame.write("
\n" + suffixHTML + "\n"); outputFrame.write("
\ \n



"); outputFrame.close(); window.status="Jeena Homepage"; } function drawBranch(startNode,structureString) { var children = extractChildrenOf(startNode); var currentIndex = 1; while (currentIndex <= children.length) { outputFrame.write(structureString); if (children[currentIndex].type == 'link') { if (children[currentIndex].icon == "") { var imageString = defaultImageURL + defaultLinkIcon; } else {var imageString = defaultImageURL + children[currentIndex].icon} if (children[currentIndex].target == "") { var targetFrame = defaultTargetFrame; } else {var targetFrame = children[currentIndex].target} if (currentIndex != children.length) { outputFrame.write("") } else { outputFrame.write("") } outputFrame.write("" + children[currentIndex].url + " " + children[currentIndex].name + "
\n") } else { var newStructure = structureString; if (children[currentIndex].iconClosed == "") {var iconClosed = "img-folder-closed-" + structureStyle + ".gif"} else {var iconClosed = children[currentIndex].iconClosed} if (children[currentIndex].iconOpen == "") {var iconOpen = "img-folder-open-" + structureStyle + ".gif"} else {var iconOpen = children[currentIndex].iconOpen} if (currentIndex != children.length) { if (children[currentIndex].open == 0) { outputFrame.write("Click to open this folder") outputFrame.write("Click to open this folder " + children[currentIndex].name + "
\n") } else { outputFrame.write("Click to close this folder"); outputFrame.write("Click to close this folder " + children[currentIndex].name + "
\n"); newStructure = newStructure + ""; drawBranch(children[currentIndex].id,newStructure); } } else { if (children[currentIndex].open == 0) { outputFrame.write("Click to open this folder") outputFrame.write("Click to open this folder " + children[currentIndex].name + "
\n") } else { outputFrame.write("Click to close this folder"); outputFrame.write("Click to close this folder " + children[currentIndex].name + "
\n"); newStructure = newStructure + ""; drawBranch(children[currentIndex].id,newStructure); } } } currentIndex++; } } function toggleFolder(id,status) { var nodeIndex = indexOfNode(id); treeData[nodeIndex].open = status; timeOutId = setTimeout("drawTree()",100)} function indexOfNode(id) { var currentIndex = 1; while (currentIndex <= treeData.length) { if ((treeData[currentIndex].type == 'root') || (treeData[currentIndex].type == 'folder')) { if (treeData[currentIndex].id == id) {return currentIndex}} currentIndex++} return -1} function extractChildrenOf(node) { var children = new Collection(); var currentIndex = 1; while (currentIndex <= treeData.length) { if ((treeData[currentIndex].type == 'folder') || (treeData[currentIndex].type == 'link')) { if (treeData[currentIndex].parent == node) { children.add(treeData[currentIndex])}} currentIndex++} return children} function Collection() { this.length = 0; this.add = add; return this} function add(object) { this.length++; this[this.length] = object} function RootNode(id,name,url,target,icon) { this.id = id; this.name = name; this.url = url; this.target = target; this.icon = icon; this.type = 'root'; return this} function FolderNode(id,parent,name,iconClosed,iconOpen) { this.id = id; this.parent = parent; this.name = name; this.iconClosed = iconClosed; this.iconOpen = iconOpen; this.type = 'folder'; this.open = 0; return this} function LinkNode(parent,name,url,target,icon) { this.parent = parent; this.name = name; this.url = url; this.target = target; this.icon = icon; this.type = 'link'; return this} function loadData() { // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Tree structure definitions: // Syntax: // ROOT NODE: // treeData.add(new RootNode("","","","","")); // NOTE: There must be only ONE root node, and it MUST be the FIRST node. // and can be left null - defaults will be used. // FOLDER NODE: // treeData.add(new FolderNode("","","","","")); // NOTE: Folder nodes MUST have a valid parent node, and they SHOULD have children nodes. // and can be left null - OmenTree will use the // default images. // LINK NODE: // treeData.add(new LinkNode("","","","","")); // NOTE: and may be left null - defaults specified in the user // defined variables section will be used. // Consult the OmenTree documentation for further assistance. treeData = new Collection(); treeData.add(new RootNode('root','Welcome to Jeena Homepage','blank.html','','')); // Root Node MUST be first! treeData.add(new LinkNode('root','RESUME of Jittinun','resume.html','','')); treeData.add(new LinkNode('root','Rocketmail','http://www.rocketmail.com','','')); treeData.add(new LinkNode('root','Hotmail','http://www.hotmail.com','','')); treeData.add(new LinkNode('root','Weather','http://www.weather.com/weather/int/cities/TH_Bangkok.html','','')); treeData.add(new FolderNode('pic','root','Around world Pictures','','')); treeData.add(new LinkNode('pic','Myself','myself.html','','img-page.gif')); treeData.add(new LinkNode('pic','Australia','australia.html','','img-page.gif')); treeData.add(new LinkNode('pic','University of Melbourne','melbuniv.html','','img-page.gif')); treeData.add(new LinkNode('pic','USA','usa.html','','img-page.gif')); treeData.add(new LinkNode('pic','Carnegie Mellon University','cmu.html','','img-page.gif')); treeData.add(new LinkNode('pic','University of Pittsburgh','upitt.html','','img-page.gif')); treeData.add(new LinkNode('pic','Amazing Thailand','amazing.html','','img-page.gif')); treeData.add(new FolderNode('engines','root','Search Engines','','')); treeData.add(new LinkNode('engines','Excite','http://www.excite.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','AltaVista','http://www.altavista.digital.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','InfoSeek','http://www.infoseek.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','HotBot','http://www.hotbot.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','Lycos','http://www.lycos.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','WebCrawler','http://www.webcrawler.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','OpenText','http://index.opentext.net','','img-page-link.gif')); treeData.add(new LinkNode('engines','Yahoo!','http://www.yahoo.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','AT1','http://www.at1.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','Deja News','http://www.dejanews.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','EuroSeek','http://euroseek.net','','img-page-link.gif')); treeData.add(new LinkNode('engines','Filez','http://www.filez.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','MetaCrawler','http://www.metacrawler.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','SavvySearch','http://wagnet.cs.colostate.edu:1969','','img-page-link.gif')); treeData.add(new LinkNode('engines','Search','http://www.search.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','WWWWorm','http://wwww.cs.colorado.edu/wwww','','img-page-link.gif')); treeData.add(new LinkNode('engines','Einet','http://www.einet.net/galaxy.html','','img-page-link.gif')); treeData.add(new LinkNode('engines','Magellan','http://www.mckinley.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','Inktomi','http://www.inktomi.com','','img-page-link.gif')); treeData.add(new LinkNode('engines','OmenSearch','http://omensoft.home.ml.org/omensearch','','img-page-link.gif')); treeData.add(new LinkNode('engines','Thai Search','http://www.sanook.com/asp/sanook-t.asp','','img-page-link.gif')); treeData.add(new FolderNode('favs','root','Favorites','img-folder-closed-fav.gif','img-folder-open-fav.gif')); treeData.add(new FolderNode('aca','favs','Academic','','')); treeData.add(new LinkNode('aca','King Mongkut s University of Technology Thonburi (KMUTT)','http://www.kmutt.ac.th','','img-page-globe-link.gif')); treeData.add(new FolderNode('entertain','favs','Entertainment','','')); treeData.add(new LinkNode('entertain','Thai Songs','http://realvdo.cpc.ku.ac.th/std/html/','','img-page-globe-link.gif')); treeData.add(new LinkNode('entertain','Cards','http://www.bluemountain.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('entertain','SiamWeb','http://www.siamweb.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('tv','entertain','TV','','')); treeData.add(new LinkNode('tv','Channel 3','http://www.tv3.co.th','','img-page-globe-link.gif')); treeData.add(new LinkNode('tv','Channel 5','http://www.tv3.co.th','','img-page-globe-link.gif')); treeData.add(new LinkNode('tv','Channel 7','http://www.ch7.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('tv','Channel 9','http://www.mcot.co.th','','img-page-globe-link.gif')); treeData.add(new LinkNode('tv','Channel 11','http://www.prd.go.th','','img-page-globe-link.gif')); treeData.add(new LinkNode('tv','U TV','http://www.utv.co.th','','img-page-globe-link.gif')); treeData.add(new FolderNode('pager','favs','Pager','','')); treeData.add(new LinkNode('pager','World Page 142','http://www.worldpage.co.th/webpaging.htm','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','PhoneLink 152','http://www.phonelink.net/mpqweb.html','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','HutChison 162','http://www.hutchison.co.th/html/cyberpage/cybermsg.asp','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','PackLink 1144','http://www.paclink.co.th/phtml/send.phtml','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','PostTel 1188','http://www.samart.co.th/pager/sendpage.html','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','EasyCall 1500','http://www.easycall.lenso.co.th/thai/webpager.html','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','GSM Web Messaging','http://www.ais900.com/','','img-page-globe-link.gif')); treeData.add(new LinkNode('pager','WorldPhone 1800 Web Message','http://www.wp1800.tac.co.th/','','img-page-globe-link.gif')); treeData.add(new FolderNode('software','favs','Software','','')); treeData.add(new LinkNode('software','Download','http://www.download.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('software','Shareware','http://www.shareware.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('software','Freeware','http://www.kos.org','','img-page-globe-link.gif')); treeData.add(new LinkNode('software','Windows','http://www.winfiles.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('software','DaveCentral','http://www.davecentral.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('word','favs','Word','','')); treeData.add(new FolderNode('dict','word','Dictionary','','')); treeData.add(new LinkNode('dict','Webster Dictionary','http://www.m-w.com/netdict.htm','','img-page-globe-link.gif')); treeData.add(new LinkNode('dict','OneLook Dictionaries','http://www.onelook.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('lang','word','Language','','')); treeData.add(new LinkNode('lang','Foreign Languages for Travelers','http://www.travlang.com/languages','','img-page-globe-link.gif')); treeData.add(new FolderNode('immortal','word','Immortal','','')); treeData.add(new LinkNode('immortal','Bartlett,John.1901','http://www.columbia.edu/acis/bartleby/bartlett','','img-page-globe-link.gif')); treeData.add(new LinkNode('immortal','The Quotation Pages','http://www.starlingtech.com/quotes','','img-page-globe-link.gif')); treeData.add(new FolderNode('thesaurus','word','Thesaurus','','')); treeData.add(new LinkNode('thesaurus','Roget Thesaurus','http://www.thesaurus.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('truefalse','favs','True False','','')); treeData.add(new LinkNode('truefalse','Expert','http://www.askanexpert.com/askanexpert/index.html','','img-page-globe-link.gif')); treeData.add(new LinkNode('truefalse','FindOut','http://www.findout.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('truefalse','Britanica Online','http://www.eb.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('calendar','truefalse','Calendar','','')); treeData.add(new LinkNode('calendar','The Old Farmer Almanac','http://www.almanac.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('calendar','CalendarLand','http://www.juneau.com/home/janice/calendarland','','img-page-globe-link.gif')); treeData.add(new FolderNode('general','favs','General','','')); treeData.add(new LinkNode('general','Reference Desk','http://www.refdesk.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('self','favs','Self Learning','','')); treeData.add(new LinkNode('self','Learn2','http://learn2.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('personal','favs','Personal','','')); treeData.add(new LinkNode('personal','Four11 Directory Services','http://www.four11.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('personal','Biography','http://www.biography.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('business','favs','Business','','')); treeData.add(new LinkNode('business','BigBook','http://www.bigbook.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('route','favs','Route','','')); treeData.add(new LinkNode('route','City','http://www.city.net','','img-page-globe-link.gif')); treeData.add(new LinkNode('route','MapQuest','http://www.mapquest.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('post','favs','Post','','')); treeData.add(new LinkNode('post','National Address Server','http://www.ceder.buffalo.edu/adserv.html','','img-page-globe-link.gif')); treeData.add(new FolderNode('finance','favs','Finance','','')); treeData.add(new LinkNode('finance','The Universal Currency Converter','http://www.xe.net/currency','','img-page-globe-link.gif')); treeData.add(new FolderNode('market','finance','Marketing','','')); treeData.add(new LinkNode('market','Barron','http://www.barrons.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('market','Wall Street','http://www.wsj.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('computer','favs','Computer','','')); treeData.add(new LinkNode('computer','Filez','http://www.filez.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('computer','Inquiry','http://www.inquiry.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('computer','The Web Developer Virtual Library','http://www.stars.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('news','favs','News','','')); treeData.add(new LinkNode('news','CNN','http://www.cnn.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('news','New York Times','http://www.nytimes.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('laffs','favs','Laughs','','')); treeData.add(new LinkNode('laffs','Hardy Har Har','http://www.hardyharhar.com','','img-page-globe-link.gif')); treeData.add(new FolderNode('mail','root','Mail','','')); treeData.add(new LinkNode('mail','HotMail','http://www.hotmail.com','','img-email.gif')); treeData.add(new LinkNode('mail','Usa.Net','http://www.netaddress.usa.net','','img-email.gif')); treeData.add(new LinkNode('mail','MailCity','http://www.mailcity.com','','img-email.gif')); treeData.add(new LinkNode('mail','Emails','http://www.emails.com','','img-email.gif')); treeData.add(new LinkNode('mail','Wwdg','http://www.wwdg.com','','img-email.gif')); treeData.add(new LinkNode('mail','FreeMail','http://www.freemail.nl','','img-email.gif')); treeData.add(new LinkNode('mail','SoftHome','http://www.softhome.net','','img-email.gif')); treeData.add(new LinkNode('mail','SuperNews','http://www.supernews.com','','img-email.gif')); treeData.add(new LinkNode('mail','TheKeyBoard','http://www.thekeyboard.com','','img-email.gif')); treeData.add(new LinkNode('mail','FreeWeb','http://freeweb.essenet.it','','img-email.gif')); treeData.add(new LinkNode('mail','GoPlay','http://www.goplay.com','','img-email.gif')); treeData.add(new LinkNode('mail','Juno','http://www.juno.com','','img-email.gif')); treeData.add(new LinkNode('mail','PlaneTall','http://www.planetall.com/WhatisPlanetAll.dbm#Permanentmail','','img-email.gif')); treeData.add(new LinkNode('mail','StarMail','http://www.starmail.com','','img-email.gif')); treeData.add(new LinkNode('mail','NetForward','http://www.netforward.com','','img-email.gif')); treeData.add(new LinkNode('mail','BigFoot','http://www.bigfoot.com','','img-email.gif')); treeData.add(new LinkNode('mail','iName','http://four11.iname.com','','img-email.gif')); treeData.add(new FolderNode('home','root','HomePage','','')); treeData.add(new LinkNode('home','Chez','http://www.chez.com','','img-email.gif')); treeData.add(new LinkNode('home','ParisNet','http://www.parisnet.com','','img-email.gif')); treeData.add(new LinkNode('home','FortuneCity','http://www.fortunecity.com','','img-email.gif')); treeData.add(new LinkNode('home','CyberCity','http://www.cybercity.hko.net','','img-email.gif')); treeData.add(new LinkNode('home','TowneSquare','http://townesquare.usr.com','','img-email.gif')); treeData.add(new LinkNode('home','PingWeb','http://www.pingweb.de/frame_b.htm','','img-email.gif')); treeData.add(new LinkNode('home','Fatty','http://www.fatty.or.jp/form/form5.html','','img-email.gif')); treeData.add(new LinkNode('home','ExMaChina','http://www.exmachina.be/','','img-email.gif')); treeData.add(new LinkNode('home','TrailerPark','http://www.trailerpark.com','','img-email.gif')); treeData.add(new LinkNode('home','Geocities','http://www.geocities.com','','img-email.gif')); treeData.add(new LinkNode('home','Tripod','http://www.tripod.com','','img-email.gif')); treeData.add(new LinkNode('home','Page4Life','http://www.page4life.nl/','','img-email.gif')); treeData.add(new LinkNode('home','YI','http://www.yi.com/','','img-email.gif')); treeData.add(new LinkNode('home','Shop','http://www.shop.de/','','img-email.gif')); treeData.add(new FolderNode('cards','root','ANIMATED GREETING CARDS','img-folder-closed-fav.gif','img-folder-open-fav.gif')); treeData.add(new LinkNode('cards','Greeting card','http://www.greetingcard.com/','','img-page-globe-link.gif')); treeData.add(new LinkNode('cards','Bluemountain','http://www.bluemountain.com','','img-page-globe-link.gif')); treeData.add(new LinkNode('cards','Greeting software','http://www.amgreetingsoftware.com/index.html','','img-page-globe-link.gif')); treeData.add(new FolderNode('email','root','E-mail to Jittinun','','')); treeData.add(new LinkNode('email','Jittinun Luenghirun','mailto:[email protected] < Miss Jittinun Luenghirun >','','img-email.gif')); // treeData.add(new FolderNode('newsg','root','Newsgroups','','')); // treeData.add(new LinkNode('newsg','comp.lang.javascript','news:comp.lang.javascript','','img-newsgroup.gif')); // ?subject=To the author of OmenTree... // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // User defined variables: structureStyle = 0; // 0 for light background, 1 for dark background backgroundColor = '#FFFFFF'; // sets the bgColor of the menu textColor = '#000000'; // sets the color of the text used in the menu linkColor = '#0000AA'; // sets the color of any text links (usually defined in additional HTML sources) aLinkColor = '#FF0000'; // sets the active link color (when you click on the link) vLinkColor = '#880088'; // sets the visited link color backgroundImage = ""; // give the complete path to a gif or jpeg to use as a background image defaultTargetFrame = 'pageFrame'; // the name of the frame that links will load into by default defaultImageURL = ''; // the URL or path where the OmenTree images are located defaultLinkIcon = 'img-page-globe.gif'; // the default icon image used for links omenTreeFont = 'MS Sans Serif,Arial,Helvetica'; // the font used for the menu omenTreeFontSize = 1; // its size - don't make it too big! // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Additional HTML sources: prefixHTML = ""; suffixHTML = "
You can contact to me via
ICQ # 35459514
E-mail : [email protected]
Home:330 Soi Somdejchaopraya 5, Somdejchaopraya Rd, Klongsan, Bangkok, 10600 THAILAND
Tel/Fax : (662) 437-7716
"; // suffixHTML = "
My Statement of Purpose, Signature, *** Life ***, Future, Philosophy. You can join with me at ICQ #7073972(CAT), #7357203(Home), #14403039(CMU), #24431876(Apartment), or IPhone. My Office : A020 Hamburgh Hall, 5000 Forbes Avenue, Pittsburgh, PA 15213, USA. Tel:(412)268-8128,268-3029 My Home : 4600 Bayard St. #209 Pittsburgh, PA 15213-2708, USA. Tel:(412)681-2871 My Hometown : 552/340 Soiyoodee, Bangkho, Bangkholaem, Bangkok 10120, Thailand Tel : (662)212-9144, 1500-827307"; } // End Hiding -->