/*----------------------------------------------------------------------------\
|                       Cross Browser Tree Widget 1.17                        |
|-----------------------------------------------------------------------------|
|                          Created by Emil A Eklund                           |
|                  (http://webfx.eae.net/contact.html#emil)                   |
|                      For WebFX (http://webfx.eae.net/)                      |
|-----------------------------------------------------------------------------|
| An object based tree widget,  emulating the one found in microsoft windows, |
| with persistence using cookies. Works in IE 5+, Mozilla and konqueror 3.    |
|-----------------------------------------------------------------------------|
|                   Copyright (c) 1999 - 2002 Emil A Eklund                   |
|-----------------------------------------------------------------------------|
| This software is provided "as is", without warranty of any kind, express or |
| implied, including  but not limited  to the warranties of  merchantability, |
| fitness for a particular purpose and noninfringement. In no event shall the |
| authors or  copyright  holders be  liable for any claim,  damages or  other |
| liability, whether  in an  action of  contract, tort  or otherwise, arising |
| from,  out of  or in  connection with  the software or  the  use  or  other |
| dealings in the software.                                                   |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| This  software is  available under the  three different licenses  mentioned |
| below.  To use this software you must chose, and qualify, for one of those. |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| The WebFX Non-Commercial License          http://webfx.eae.net/license.html |
| Permits  anyone the right to use the  software in a  non-commercial context |
| free of charge.                                                             |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| The WebFX Commercial license           http://webfx.eae.net/commercial.html |
| Permits the  license holder the right to use  the software in a  commercial |
| context. Such license must be specifically obtained, however it's valid for |
| any number of  implementations of the licensed software.                    |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| GPL - The GNU General Public License    http://www.gnu.org/licenses/gpl.txt |
| Permits anyone the right to use and modify the software without limitations |
| as long as proper  credits are given  and the original  and modified source |
| code are included. Requires  that the final product, software derivate from |
| the original  source or any  software  utilizing a GPL  component, such  as |
| this, is also licensed under the GPL license.                               |
|-----------------------------------------------------------------------------|
| Dependencies: xtree.css (To set up the CSS of the tree classes)             |
|-----------------------------------------------------------------------------|
| 2001-01-10 | Original Version Posted.                                       |
| 2001-03-18 | Added getSelected and get/setBehavior  that can make it behave |
|            | more like windows explorer, check usage for more information.  |
| 2001-09-23 | Version 1.1 - New features included  keyboard  navigation (ie) |
|            | and the ability  to add and  remove nodes dynamically and some |
|            | other small tweaks and fixes.                                  |
| 2002-01-27 | Version 1.11 - Bug fixes and improved mozilla support.         |
| 2002-06-11 | Version 1.12 - Fixed a bug that prevented the indentation line |
|            | from  updating correctly  under some  circumstances.  This bug |
|            | happened when removing the last item in a subtree and items in |
|            | siblings to the remove subtree where not correctly updated.    |
| 2002-06-13 | Fixed a few minor bugs cased by the 1.12 bug-fix.              |
| 2002-08-20 | Added usePersistence flag to allow disable of cookies.         |
| 2002-10-23 | (1.14) Fixed a plus icon issue                                 |
| 2002-10-29 | (1.15) Last changes broke more than they fixed. This version   |
|            | is based on 1.13 and fixes the bugs 1.14 fixed withou breaking |
|            | lots of other things.                                          |
| 2003-02-15 | The  selected node can now be made visible even when  the tree |
|            | control  loses focus.  It uses a new class  declaration in the |
|            | css file '.webfx-tree-item a.selected-inactive', by default it |
|            | puts a light-gray rectangle around the selected node.          |
| 2003-03-16 | Adding target support after lots of lobbying...                |
|-----------------------------------------------------------------------------|
| Created 2000-12-11 | All changes are in the log above. | Updated 2003-03-16 |
\----------------------------------------------------------------------------*/

var webFXTreeConfig = {
	rootIcon        					: 'http://www.lem-computers.net/res/foldericon.png',
	openRootIcon    					: 'http://www.lem-computers.net/res/openfoldericon.png',
	fileIconSodisce 					: 'http://www.lem-computers.net/res/Sodnik1.jpg',
	folderIcon      					: 'http://www.lem-computers.net/res/Sodstvo.png',
	openFolderIcon  					: 'http://www.lem-computers.net/res/openfoldericon.png',
	fileIcon        					: 'http://www.lem-computers.net/res/Paragraf7.jpg',
	fileIconGor     					: 'http://www.lem-computers.net/res/PuscicaGor.gif',
	fileIconVrh     					: 'http://www.lem-computers.net/res/Register1.gif',
	fileIconOdskod  					: 'http://www.lem-computers.net/res/Klicaj.png',
	fileIconUred    					: 'http://www.lem-computers.net/res/Uredba.gif',
	fileIconEvi     					: 'http://www.lem-computers.net/res/Zapisi.png',
	fileIconTaksa     				: 'http://www.lem-computers.net/res/ZnamkaSlo.JPG',
	fileIconSlovenija 				: 'http://www.lem-computers.net/res/SlovenskaZastava.jpg',
	fileIconZPIZ    					: 'http://www.lem-computers.net/res//ZPIZ1.jpg',
	fileIconKAD     					: 'http://www.lem-computers.net/res/KAD.jpg',
	fileIconAnglija 					: 'http://www.lem-computers.net/res/UK.png',
	fileIconVeter 		  			: 'http://www.lem-computers.net/res/Veter.png',
	fileIconNaslov  					: 'http://www.lem-computers.net/favicon/faviconSteber.ico',
	fileIconJudikat 					: 'http://www.lem-computers.net/res/Judikat2.gif',
	fileIconNov     					: 'http://www.lem-computers.net/res/Novost.jpg',
	fileIconSmucisca 					: 'http://www.lem-computers.net/res/Telemark.jpg',
	fileIconSah     					: 'http://www.lem-computers.net/res/Sah.jpg',
	fileIconOlimpijske				: 'http://www.lem-computers.net/res/Olimpijske.jpg',
	fileIconSloOlimp  				: 'http://www.lem-computers.net/res/SloOlimp.png',
	fileIconJadranje 					: 'http://www.lem-computers.net/res/Jadrnica.jpg',
	fileIconPolicija 					: 'http://www.lem-computers.net/res/Policija.png',
	fileIconSlovenija1 				: 'http://www.lem-computers.net/favicon/faviconSlovenija.ico',
	fileIconLjGrb      				: 'http://www.lem-computers.net/favicon/faviconLJ.ico',
	fileIconNepremicnine   		: 'http://www.lem-computers.net/favicon/faviconHome.ico',
	fileIconNepremicnineNet		: 'http://www.lem-computers.net/favicon/faviconNajdiSi.ico',
	fileIconeRKG       				: 'http://www.lem-computers.net/favicon/faviconeRKG.ico',
	fileIconZares       			: 'http://www.lem-computers.net/favicon/faviconZares.ico',
	fileIconProstor       		: 'http://www.lem-computers.net/favicon/faviconProstor.ico',
	fileIconZBS       				: 'http://www.lem-computers.net/favicon/faviconZdruzenjeBank.ico',
	fileIconRom       				: 'http://www.lem-computers.net/favicon/faviconKolo.ico',
	fileIconLemKoment  				: 'http://www.lem-computers.net/favicon/faviconKlicaj.ico',
	fileIconIzleti      			: 'http://www.lem-computers.net/favicon/faviconKompas.ico',
	fileIconPrireditve  			: 'http://www.lem-computers.net/favicon/faviconInfoPrireditve.ico',
	fileIconBorza  		      	: 'http://www.lem-computers.net/favicon/faviconBorza.ico',
	fileIconeDavki     				: 'http://www.lem-computers.net/favicon/favicone-Davki.ico',
	fileIconAjpes     				: 'http://www.lem-computers.net/favicon/faviconAjpes.ico',
	fileIconVlada     				: 'http://www.lem-computers.net/favicon/faviconAjpes.ico',
	fileIconARSO     			  	: 'http://www.lem-computers.net/favicon/faviconARSO.ico',
	fileIconZapos      				: 'http://www.lem-computers.net/favicon/faviconZaposlovanje.ico',
	fileIconZaposEn    				: 'http://www.lem-computers.net/res/ess.png',
	fileIconKolesar      			: 'http://www.lem-computers.net/favicon/faviconKolesar.ico',
	fileIconPreciscen      		: 'http://www.lem-computers.net/favicon/faviconPrecisceno.ico',
	fileIconRazprava      		: 'http://www.lem-computers.net/favicon/faviconTape.ico',
	fileIconEUprava      			: 'http://www.lem-computers.net/favicon/faviconEUprava.ico',
	fileIconGZS      		    	: 'http://www.lem-computers.net/favicon/faviconGZS.ico',
	fileIconPoslovnik      		: 'http://www.lem-computers.net/favicon/faviconPoslovnik.ico',
	fileIconSemafor       		: 'http://www.lem-computers.net/favicon/faviconSemafor.ico',
	fileIconeVem      		    : 'http://www.lem-computers.net/favicon/faviconeVem.ico',
	fileIconeJapti     		    : 'http://www.lem-computers.net/favicon/faviconJapti.ico',
	fileIconeDURS     		    : 'http://www.lem-computers.net/favicon/faviconDurs.ico',
	fileIconeObrtna     		  : 'http://www.lem-computers.net/favicon/faviconObrtnaZbornica.ico',
	fileIconSlovarji   		    : 'http://www.lem-computers.net/favicon/faviconKnjige.ico',
	fileIconZamenjaj    			: 'http://www.lem-computers.net/favicon/faviconZamenjaj.ico',
	fileIconGrb     					: 'http://www.lem-computers.net/res/Grb.ico',
	fileIconEU      					: 'http://www.lem-computers.net/res/eeu.gif',
	fileIconEvid    					: 'http://www.lem-computers.net/res/Tehtnica.png',
	fileIconBrisi    					: 'http://www.lem-computers.net/res/Brisi.jpg',
	fileIconDodaj    					: 'http://www.lem-computers.net/res/Dodaj.jpg',
	fileIconPom     					: 'http://www.lem-computers.net/res/Internet1.jpg',
	fileIconEuro    					: 'http://www.lem-computers.net/res/Euro.jpg',
	fileIconEPA     					: 'http://www.lem-computers.net/res/Vsi.png',
	fileIconAmer     					: 'http://www.lem-computers.net/flags/us-flag.gif',
	fileIconHelp    					: 'http://www.lem-computers.net/res/Pomoc.png',
	fileIconKazZak  					: 'http://www.lem-computers.net/favicon/faviconKnjiga.ico',
	fileIconTV  							: 'http://www.lem-computers.net/favicon/faviconTV.ico',
	fileIconTVAmis  					: 'http://www.lem-computers.net/favicon/faviconAmis.ico',
	fileIconRTVSlo  					: 'http://www.lem-computers.net/favicon/faviconRTVSlo.ico',
	fileIconCenik  	  				: 'http://www.lem-computers.net/favicon/faviconBankovec.ico',
	fileIconNarava				  	: 'http://www.lem-computers.net/favicon/faviconPetelin1.ico',
	fileIconValvasor			  	: 'http://www.lem-computers.net/favicon/faviconValvasor.ico',
	fileIconGoogleEarth		  	: 'http://www.lem-computers.net/favicon/faviconGoogleEarth.ico',
	fileIconGoogle		      	: 'http://www.lem-computers.net/favicon/faviconGoogle.ico',
	fileIconGeopedia  		  	: 'http://www.lem-computers.net/favicon/faviconGeopedia.ico',
	fileIconPrirocne				  : 'http://www.lem-computers.net/favicon/faviconVetrnica1.ico',
	fileIconBanke				    	: 'http://www.lem-computers.net/favicon/faviconKovanec.ico',
	fileIconCasopisi					: 'http://www.lem-computers.net/favicon/faviconPrecisceno.ico',
	fileIconZalostna					: 'http://www.lem-computers.net/favicon/faviconZalostna.ico',
	fileIconGlasba  					: 'http://www.lem-computers.net/favicon/faviconVioline.ico',
	fileIconGledalisca				: 'http://www.lem-computers.net/favicon/faviconTeater1.ico',
	fileIconFilmi  		  			: 'http://www.lem-computers.net/favicon/faviconFilm1.ico',
	fileIconLikovne  					: 'http://www.lem-computers.net/favicon/faviconSlikar.ico',
	fileIconSeznamSlovencev		: 'http://www.lem-computers.net/favicon/faviconMaister.ico',
	fileIconMuzeji  					: 'http://www.lem-computers.net/favicon/faviconMuzeji.ico',
	fileIconSiol  					  : 'http://www.lem-computers.net/favicon/faviconSiol.ico',
	fileIconIEC   					  : 'http://www.lem-computers.net/favicon/faviconIEC.ico',
	fileIconITU   					  : 'http://www.lem-computers.net/favicon/faviconITU.ico',
	fileIconRZak   						: 'http://www.lem-computers.net/favicon/faviconRazgrnjeno.ico',
	fileIconLipa    					: 'http://www.lem-computers.net/favicon/faviconLipa.ico',
	fileIconEnciklopedija			: 'http://www.lem-computers.net/favicon/faviconKnjige.ico',
	fileIconLPP    						: 'http://www.lem-computers.net/favicon/faviconAvtobus.ico',
	fileIconMPP    						: 'http://www.lem-computers.net/favicon/faviconAvtobus1.ico',
	fileIconMedijacija				: 'http://www.lem-computers.net/favicon/faviconMedijacija.ico',
	fileIconAvtobusna    			: 'http://www.lem-computers.net/favicon/faviconAvtobus2.ico',
	fileIconZelezniska    		: 'http://www.lem-computers.net/favicon/faviconVlak1.ico',
	fileIconLetalisce1    		: 'http://www.lem-computers.net/favicon/faviconLetalce.ico',
	fileIconLetalisce2    		: 'http://www.lem-computers.net/favicon/faviconGlobus1.ico',
	fileIconNogomet       		: 'http://www.lem-computers.net/favicon/faviconNogomet1.ico',
	fileIconKosarka       		: 'http://www.lem-computers.net/favicon/faviconKos.ico',
	fileIconKosarka1       		: 'http://www.lem-computers.net/favicon/faviconKosarkaZoga.ico',
	fileIconKajak         		: 'http://www.lem-computers.net/favicon/faviconKajak.ico',
	fileIconRevizija       		: 'http://www.lem-computers.net/favicon/faviconRevizija1.ico',
	fileIconKolosej    				: 'http://www.lem-computers.net/favicon/faviconKolosej.ico',
	fileIconLetalisce3    		: 'http://www.lem-computers.net/favicon/faviconLetalo.ico',
	fileIconTaxi    					: 'http://www.lem-computers.net/favicon/faviconTaxi.ico',
	fileIconRPS     					: 'http://www.lem-computers.net/res/RegisterPre.gif',
	fileIconRazlaga 					: 'http://www.lem-computers.net/res/Razlaga.jpg',
	fileIconPIS     					: 'http://www.lem-computers.net/favicon/faviconPisrs.ico',
	fileIconPorocil     			: 'http://www.lem-computers.net/favicon/faviconOrganigram1.ico',
	fileIconPrazen1  					: 'http://www.lem-computers.net/favicon/faviconOrodje.ico',
	fileIconOrodje  					: 'http://www.lem-computers.net/res/Sekirica.jpg',
	fileIconOzadje  					: 'http://www.lem-computers.net/favicon/faviconBarve.ico',
	fileIconObvestilo					: 'http://www.lem-computers.net/favicon/faviconSodniki.ico',
	fileIconOkolje  					: 'http://www.lem-computers.net/favicon/faviconPanda.ico',
	fileIconMedicinska				: 'http://www.lem-computers.net/favicon/faviconPrvaPomoc.ico',
	fileIconMedicinska1			  : 'http://www.lem-computers.net/favicon/faviconRK1.ico',
	fileIconSvetEvrope  			: 'http://www.lem-computers.net/favicon/faviconSvetEvrope.ico',

	fileIconMaribor  			    : 'http://www.lem-computers.net/Grbi/Maribor.gif',
	fileIconPortoroz 			    : 'http://www.lem-computers.net/Grbi/Portoroz.gif',
	fileIconPiran   			    : 'http://www.lem-computers.net/Grbi/Piran.gif',
	fileIconMedvode 			    : 'http://www.lem-computers.net/Grbi/Medvode.gif',
	fileIconIzola  			      : 'http://www.lem-computers.net/Grbi/Izola.gif',
	fileIconIlirskaBistrica   : 'http://www.lem-computers.net/Grbi/IlirskaBistrica.gif',
	fileIconVelenje  			    : 'http://www.lem-computers.net/Grbi/Velenje.gif',
	fileIconPostojna 			    : 'http://www.lem-computers.net/Grbi/Postojna.gif',
	fileIconBrezice  			    : 'http://www.lem-computers.net/Grbi/Brezice.gif',
	fileIconKrsko   			    : 'http://www.lem-computers.net/Grbi/Krsko.gif',
	fileIconLitija  			    : 'http://www.lem-computers.net/Grbi/Litija.gif',
	fileIconZagorje  			    : 'http://www.lem-computers.net/Grbi/Zagorje.gif',
	fileIconAjdovscina			    : 'http://www.lem-computers.net/Grbi/Ajdovscina.gif',
	fileIconOrmoz			    : 'http://www.lem-computers.net/Grbi/Ormoz.gif',
	fileIconIdrija			    : 'http://www.lem-computers.net/Grbi/Idrija.gif',
	fileIconRadovljica			    : 'http://www.lem-computers.net/Grbi/Radovljica.gif',
	fileIconGornjaRadgona	    : 'http://www.lem-computers.net/Grbi/GornjaRadgona.gif',
	fileIconMurskaSobota	    : 'http://www.lem-computers.net/Grbi/MurskaSobota.gif',
	fileIconNovoMesto  		    : 'http://www.lem-computers.net/Grbi/NovoMesto.gif',
	fileIconTolmin  			    : 'http://www.lem-computers.net/Grbi/Tolmin.gif',
	fileIconDomzale  			    : 'http://www.lem-computers.net/Grbi/Domzale.gif',
	fileIconSlovenjGradec     : 'http://www.lem-computers.net/Grbi/SlovenjGradec.gif',
	fileIconSlovenskeKonjice  : 'http://www.lem-computers.net/Grbi/SlovenskeKonjice.gif',
	fileIconKamnik  			    : 'http://www.lem-computers.net/Grbi/Kamnik.gif',
	fileIconKocevje  			    : 'http://www.lem-computers.net/Grbi/Kocevje.gif',
	fileIconJesenice 			    : 'http://www.lem-computers.net/Grbi/Jesenice.gif',
	fileIconNovaGorica		    : 'http://www.lem-computers.net/Grbi/NovaGorica.gif',
	fileIconKoper   			    : 'http://www.lem-computers.net/Grbi/Koper.gif',
	fileIconSkofjaLoka		    : 'http://www.lem-computers.net/Grbi/SkofjaLoka.gif',
	fileIconGrosuplje			    : 'http://www.lem-computers.net/Grbi/Grosuplje.gif',
	fileIconVrhnika  			    : 'http://www.lem-computers.net/Grbi/Vrhnika.gif',
	fileIconKranj   			    : 'http://www.lem-computers.net/Grbi/Kranj.gif',
	fileIconPtuj  			      : 'http://www.lem-computers.net/Grbi/Ptuj.gif',
	fileIconCelje  			      : 'http://www.lem-computers.net/Grbi/Celje.gif',
	
	fileIconPrazen  					: 'http://www.lem-computers.net/res/Prazen.png',
	fileIconAMZ    					: 'http://www.lem-computers.net/res/amzs.gif',
	fileIconVDelu   					: 'http://www.lem-computers.net/res/Delo.GIF',
	fileIconSprem   					: 'http://www.lem-computers.net/res/Plus.png',
	fileIconPescena  					: 'http://www.lem-computers.net/res/PescenaUra.jpg',
	fileIconPopravek   				: 'http://www.lem-computers.net/res/Popravek1.jpg',
/*fileIconHelp    					: 'http://www.lem-computers.net/res/Zemlja.jpg',*/
	fileIconDrzave    			  : 'http://www.lem-computers.net/favicon/faviconUN.ico',
	fileIconAvstrija    			: 'http://www.lem-computers.net/flags/au-flag.gif',
	fileIconDanska    				: 'http://www.lem-computers.net/flags/da-flag.gif',
	fileIconNizo    					: 'http://www.lem-computers.net/flags/nl-flag.gif',
	fileIconCiper   					: 'http://www.lem-computers.net/flags/cy-flag.gif',
	fileIconIrska   					: 'http://www.lem-computers.net/flags/ei-flag.gif',
	fileIconCeska   					: 'http://www.lem-computers.net/flags/ez-flag.gif',
	fileIconLitva  						: 'http://www.lem-computers.net/flags/lh-flag.gif',
	fileIconMalta  						: 'http://www.lem-computers.net/flags/mt-flag.gif',
	fileIconPortugalska    		: 'http://www.lem-computers.net/flags/po-flag.gif',
	fileIconSpanija   				: 'http://www.lem-computers.net/flags/sp-flag.gif',
	fileIconGrcija    				: 'http://www.lem-computers.net/flags/gr-flag.gif',
	fileIconLatvija   				: 'http://www.lem-computers.net/flags/lg-flag.gif',
	fileIconSlovaska  				: 'http://www.lem-computers.net/flags/lo-flag.gif',
	fileIconMadzarska 				: 'http://www.lem-computers.net/flags/hu-flag.gif',
	fileIconSvica    					: 'http://www.lem-computers.net/flags/sz-flag.gif',
	fileIconEstonija 					: 'http://www.lem-computers.net/flags/en-flag.gif',
	fileIconLux       				: 'http://www.lem-computers.net/flags/lu-flag.gif',
	fileIconRomunija   				: 'http://www.lem-computers.net/flags/ro-flag.gif',
	fileIconNorveška    			: 'http://www.lem-computers.net/flags/no-flag.gif',
	fileIconBelgija    				: 'http://www.lem-computers.net/flags/be-flag.gif',
	fileIconZDA      					: 'http://www.lem-computers.net/flags/us-flag.gif',
	fileIconHrvaska  					: 'http://www.lem-computers.net/flags/hr-flag.gif',
	fileIconNemčija    				: 'http://www.lem-computers.net/flags/gm-flag.gif',
	fileIconBolgarija    			: 'http://www.lem-computers.net/flags/bu-flag.gif',
	fileIconFrancija    			: 'http://www.lem-computers.net/flags/fr-flag.gif',
	fileIconŠvedska    				: 'http://www.lem-computers.net/flags/sw-flag.gif',
	fileIconGB    						: 'http://www.lem-computers.net/flags/uk-flag.gif',
	fileIconFinska    				: 'http://www.lem-computers.net/flags/fi-flag.gif',
	fileIconPoljska    				: 'http://www.lem-computers.net/flags/pl-flag.gif',
	fileIconSrbija    				: 'http://www.lem-computers.net/flags/sr-flag.gif',
	fileIconItalija    				: 'http://www.lem-computers.net/flags/it-flag.gif',
	fileIconZakon    					: 'http://www.lem-computers.net/favicon/faviconZakon.ico',
	fileIconNATO    					: 'http://www.lem-computers.net/res/NATO.jpg',
	fileIconPlan    					: 'http://www.lem-computers.net/favicon/faviconOrganigram.ico',
	fileIconVaruh    					: 'http://www.lem-computers.net/favicon/faviconVaruh.ico',
	fileIconPoob    					: 'http://www.lem-computers.net/favicon/faviconInfoPoob.ico',
	fileIconWiki    					: 'http://www.lem-computers.net/favicon/faviconWiki.ico',
	fileIconAmnesty   				: 'http://www.lem-computers.net/favicon/faviconAmnesty.ico',
	fileIconUNCHR   				  : 'http://www.lem-computers.net/favicon/faviconUNCHR.ico',
	fileIconOECD   			  	  : 'http://www.lem-computers.net/favicon/faviconOECD.ico',
	fileIconSlovar    				: 'http://www.lem-computers.net/favicon/faviconDictionary.ico',
	fileIconNajdiSi    				: 'http://www.lem-computers.net/favicon/faviconNajdiSi.ico',
	fileIconAgro    					: 'http://www.lem-computers.net/favicon/faviconBik.ico',
	fileIconCvet    					: 'http://www.lem-computers.net/favicon/faviconCvet.ico',
	fileIconSAZU    					: 'http://www.lem-computers.net/favicon/faviconSAZU.ico',
	fileIconSIQ    			  		: 'http://www.lem-computers.net/favicon/faviconSIQ1.ico',
	fileIconETSI    					: 'http://www.lem-computers.net/favicon/faviconETSI.ico',
	fileIconCEN     					: 'http://www.lem-computers.net/favicon/faviconCEN.ico',
	fileIconISO    					  : 'http://www.lem-computers.net/favicon/faviconISO.ico',
	fileIconPovez    					: 'http://www.lem-computers.net/favicon/faviconPovezave1.ico',
	fileIconSSKJ    					: 'http://www.lem-computers.net/favicon/faviconSSKJ.ico',
	fileIconDelo    					: 'http://www.lem-computers.net/favicon/faviconDelovni.ico',
	fileIconAmebis    				: 'http://www.lem-computers.net/favicon/faviconAmebis.ico',
	fileIconIATE    					: 'http://www.lem-computers.net/favicon/faviconIATE.ico',
	fileIconNavodila 					: 'http://www.lem-computers.net/favicon/faviconHelp.ico',
	fileIconPozor   					: 'http://www.lem-computers.net/res/Pozor.png',
	fileIconPriloga 					: 'http://www.lem-computers.net/res/Dokument2.jpg',
	fileIconPRILOGA 					: 'http://www.lem-computers.net/res/Dokument2.jpg',
	fileIconPredlog 					: 'http://www.lem-computers.net/res/Predlog.gif',
	fileIconPredlogUS 				: 'http://www.lem-computers.net/res/PredlogUstave.gif',
	fileIconPobuda  					: 'http://www.lem-computers.net/favicon/faviconVarDelo.ico',
	fileIconZadrzan 					: 'http://www.lem-computers.net/res/Ura.jpg',	
	fileIconUrad 					    : 'http://www.lem-computers.net/res/Pisrs.jpg',	
	fileIconNiZadrzan 				: 'http://www.lem-computers.net/favicon/faviconNiZadrzan.ico',
	fileIconAktualno 					: 'http://www.lem-computers.net/res/Klicaj.png',
	fileIconPreambula 				: 'http://www.lem-computers.net/res/Nagovor.png',
	fileIconSRS     					: 'http://www.lem-computers.net/res/SRS.jpg',
	fileIconVreme0     				: 'http://www.lem-computers.net/favicon/faviconDeznik1.ico',
	fileIconVreme     				: 'http://www.lem-computers.net/favicon/faviconSonce.ico',
	fileIconSonce     				: 'http://www.lem-computers.net/favicon/faviconSonce1.ico',
	fileIconVreme1     				: 'http://www.lem-computers.net/favicon/faviconSlaboVreme.ico',
	fileIconKoledar     			: 'http://www.lem-computers.net/favicon/faviconKoledar.ico',
	fileIconKoledarji     		: 'http://www.lem-computers.net/favicon/faviconKoledar2.ico',
	fileIconKoledar1    			: 'http://www.lem-computers.net/favicon/faviconKoledar1.ico',
	fileIconStatistika        : 'http://www.lem-computers.net/favicon/faviconOrganigram1.ico',
	fileIconSlovar            : 'http://www.lem-computers.net/favicon/faviconKnjigi.ico',
	fileIconRealPlayer    		: 'http://www.lem-computers.net/favicon/faviconRealPlayer.ico',
	fileIconMail     					: 'http://www.lem-computers.net/favicon/faviconMail.ico',
	fileIconDSRS     					: 'http://www.lem-computers.net/favicon/faviconDS.ico',
	fileIconOsnovni      			: 'http://www.lem-computers.net/res/Kladivo.jpg',
	fileIconOK      					: 'http://www.lem-computers.net/res/ParagrafOK.jpg',
	fileIconLestev  					: 'http://www.lem-computers.net/res/Lestev.jpg',
	fileIconTelefon 					: 'http://www.lem-computers.net/res/Telefon.jpg',
	fileIconPodpisnik 				: 'http://www.lem-computers.net/res/Penkalo.gif',
/*	fileIconPodc       			: 'http://www.lem-computers.net/favicon/faviconRokaD.ico',*/
/*	fileIconPopravek 				: 'http://www.lem-computers.net/favicon/faviconKladivo.ico',*/
	fileIconPresern 					: 'http://www.lem-computers.net/res/Preseren.png',
	fileIconPdf     					: 'http://www.lem-computers.net/res/Adobe1_pdf.png',
	fileIconTabela  					: 'http://www.lem-computers.net/res/Obrazec2.gif',
	fileIconObrazec 					: 'http://www.lem-computers.net/res/Obrazec2.gif',
	fileIconKalk    					: 'http://www.lem-computers.net/res/Evrokalkulator.jpg',
	fileIconSetveni    				: 'http://www.lem-computers.net/res/Agraria.jpg',
	fileIconIVZ       				: 'http://www.lem-computers.net/res/IVZ.png',
	iIcon           					: 'http://www.lem-computers.net/res/I.png',
	lIcon           					: 'http://www.lem-computers.net/res/L.png',
	fileIconDom     					: 'http://www.lem-computers.net/res/Domov.png',
	lMinusIcon      					: 'http://www.lem-computers.net/res/Lminus.png',
	lPlusIcon       					: 'http://www.lem-computers.net/res/Lplus.png',
	tIcon           					: 'http://www.lem-computers.net/res/T.png',
	tMinusIcon      					: 'http://www.lem-computers.net/res/Tminus.png',
	tPlusIcon       					: 'http://www.lem-computers.net/res/Tplus.png',
	blankIcon       					: 'http://www.lem-computers.net/res/blank.png',
	defaultText     					: 'Tree Item',
	defaultAction   					: 'javascript:void(0);',
	defaultBehavior 					: 'classic',
	usePersistence						: true
};

var webFXTreeHandler = {
	idCounter : 0,
	idPrefix  : "webfx-tree-object-",
	all       : {},
	behavior  : null,
	selected  : null,
	onSelect  : null, /* should be part of tree, not handler */
	getId     : function() { return this.idPrefix + this.idCounter++; },
	toggle    : function (oItem) { this.all[oItem.id.replace('-plus','')].toggle(); },
	select    : function (oItem) { this.all[oItem.id.replace('-icon','')].select(); },
	focus     : function (oItem) { this.all[oItem.id.replace('-anchor','')].focus(); },
	blur      : function (oItem) { this.all[oItem.id.replace('-anchor','')].blur(); },
	keydown   : function (oItem, e) { return this.all[oItem.id].keydown(e.keyCode); },
	cookies   : new WebFXCookie(),
	insertHTMLBeforeEnd	:	function (oElement, sHTML) {
		if (oElement.insertAdjacentHTML != null) {
			oElement.insertAdjacentHTML("BeforeEnd", sHTML)
			return;
		}
		var df;	// DocumentFragment
		var r = oElement.ownerDocument.createRange();
		r.selectNodeContents(oElement);
		r.collapse(false);
		df = r.createContextualFragment(sHTML);
		oElement.appendChild(df);
	}
};

/*
 * WebFXCookie class
 */

function WebFXCookie() {
	if (document.cookie.length) { this.cookies = ' ' + document.cookie; }
}

WebFXCookie.prototype.setCookie = function (key, value) {
	document.cookie = key + "=" + escape(value);
}

WebFXCookie.prototype.getCookie = function (key) {
	if (this.cookies) {
		var start = this.cookies.indexOf(' ' + key + '=');
		if (start == -1) { return null; }
		var end = this.cookies.indexOf(";", start);
		if (end == -1) { end = this.cookies.length; }
		end -= start;
		var cookie = this.cookies.substr(start,end);
		return unescape(cookie.substr(cookie.indexOf('=') + 1, cookie.length - cookie.indexOf('=') + 1));
	}
	else { return null; }
}

/*
 * WebFXTreeAbstractNode class
 */



function WebFXTreeAbstractNode(sText, sAction) {
	this.childNodes  = [];
	this.id     = webFXTreeHandler.getId();
	this.text   = sText || webFXTreeConfig.defaultText;
	this.action = sAction || webFXTreeConfig.defaultAction;
	this._last  = false;
	webFXTreeHandler.all[this.id] = this;
}

/*
 * To speed thing up if you're adding multiple nodes at once (after load)
 * use the bNoIdent parameter to prevent automatic re-indentation and call
 * the obj.ident() method manually once all nodes has been added.
 */

WebFXTreeAbstractNode.prototype.add = function (node, bNoIdent) {
	node.parentNode = this;
	this.childNodes[this.childNodes.length] = node;
	var root = this;
	if (this.childNodes.length >= 2) {
		this.childNodes[this.childNodes.length - 2]._last = false;
	}
	while (root.parentNode) { root = root.parentNode; }
	if (root.rendered) {

			document.getElementById(this.childNodes[this.childNodes.length - 2].id + '-plus').src = ((this.childNodes[this.childNodes.length -2].folder)?((this.childNodes[this.childNodes.length -2].open)?webFXTreeConfig.tMinusIcon:webFXTreeConfig.tPlusIcon):webFXTreeConfig.tIcon);
			this.childNodes[this.childNodes.length - 2].plusIcon = webFXTreeConfig.tPlusIcon;
			this.childNodes[this.childNodes.length - 2].minusIcon = webFXTreeConfig.tMinusIcon;
			this.childNodes[this.childNodes.length - 2]._last = false;

		this._last = true;
		var foo = this;
		while (foo.parentNode) {
			for (var i = 0; i < foo.parentNode.childNodes.length; i++) {
				if (foo.id == foo.parentNode.childNodes[i].id) { break; }
			}
			if (i == foo.parentNode.childNodes.length - 1) { foo.parentNode._last = true; }
			else { foo.parentNode._last = false; }
			foo = foo.parentNode;
		}
		webFXTreeHandler.insertHTMLBeforeEnd(document.getElementById(this.id + '-cont'), node.toString());
		if ((!this.folder) && (!this.openIcon)) {
			this.icon = webFXTreeConfig.fileIcon;
			this.openIcon = webFXTreeConfig.openFolderIcon;
		}
		if (!this.folder) { this.folder = true; this.collapse(true); }
		if (!bNoIdent) { this.indent(); }
	}
	return node;
}

WebFXTreeAbstractNode.prototype.toggle = function() {
	if (this.folder) {
		if (this.open) { this.collapse(); }
		else { this.expand(); }
}	}

WebFXTreeAbstractNode.prototype.select = function() {
	document.getElementById(this.id + '-anchor').focus();
}

WebFXTreeAbstractNode.prototype.deSelect = function() {
	document.getElementById(this.id + '-anchor').className = '';
	webFXTreeHandler.selected = null;
}

WebFXTreeAbstractNode.prototype.focus = function() {
	if ((webFXTreeHandler.selected) && (webFXTreeHandler.selected != this)) { webFXTreeHandler.selected.deSelect(); }
	webFXTreeHandler.selected = this;
	if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) { document.getElementById(this.id + '-icon').src = this.openIcon; }
	document.getElementById(this.id + '-anchor').className = 'selected';
	document.getElementById(this.id + '-anchor').focus();
	if (webFXTreeHandler.onSelect) { webFXTreeHandler.onSelect(this); }
}

WebFXTreeAbstractNode.prototype.blur = function() {
	if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) { document.getElementById(this.id + '-icon').src = this.icon; }
	document.getElementById(this.id + '-anchor').className = 'selected-inactive';
}

WebFXTreeAbstractNode.prototype.doExpand = function() {
	if (webFXTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.openIcon; }
	if (this.childNodes.length) {  document.getElementById(this.id + '-cont').style.display = 'block'; }
	this.open = true;
	if (webFXTreeConfig.usePersistence) {
		webFXTreeHandler.cookies.setCookie(this.id.substr(18,this.id.length - 18), '1');
}	}

WebFXTreeAbstractNode.prototype.doCollapse = function() {
	if (webFXTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.icon; }
	if (this.childNodes.length) { document.getElementById(this.id + '-cont').style.display = 'none'; }
	this.open = false;
	if (webFXTreeConfig.usePersistence) {
		webFXTreeHandler.cookies.setCookie(this.id.substr(18,this.id.length - 18), '0');
}	}

WebFXTreeAbstractNode.prototype.expandAll = function() {
	this.expandChildren();
	if ((this.folder) && (!this.open)) { this.expand(); }
}

WebFXTreeAbstractNode.prototype.expandChildren = function() {
	for (var i = 0; i < this.childNodes.length; i++) {
		this.childNodes[i].expandAll();
} }

WebFXTreeAbstractNode.prototype.collapseAll = function() {
	this.collapseChildren();
	if ((this.folder) && (this.open)) { this.collapse(true); }
}

WebFXTreeAbstractNode.prototype.collapseChildren = function() {
	for (var i = 0; i < this.childNodes.length; i++) {
		this.childNodes[i].collapseAll();
} }

WebFXTreeAbstractNode.prototype.indent = function(lvl, del, last, level, nodesLeft) {
	/*
	 * Since we only want to modify items one level below ourself,
	 * and since the rightmost indentation position is occupied by
	 * the plus icon we set this to -2
	 */
	if (lvl == null) { lvl = -2; }
	var state = 0;
	for (var i = this.childNodes.length - 1; i >= 0 ; i--) {
		state = this.childNodes[i].indent(lvl + 1, del, last, level);
		if (state) { return; }
	}
	if (del) {
		if ((level >= this._level) && (document.getElementById(this.id + '-plus'))) {
			if (this.folder) {
				document.getElementById(this.id + '-plus').src = (this.open)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.lPlusIcon;
				this.plusIcon = webFXTreeConfig.lPlusIcon;
				this.minusIcon = webFXTreeConfig.lMinusIcon;
			}
			else if (nodesLeft) { document.getElementById(this.id + '-plus').src = webFXTreeConfig.lIcon; }
			return 1;
	}	}
	var foo = document.getElementById(this.id + '-indent-' + lvl);
	if (foo) {
		if ((foo._last) || ((del) && (last))) { foo.src =  webFXTreeConfig.blankIcon; }
		else { foo.src =  webFXTreeConfig.iIcon; }
	}
	return 0;
}

/*
 * WebFXTree class
 */

function WebFXTree(sText, sAction, sBehavior, sIcon, sOpenIcon) {
	this.base = WebFXTreeAbstractNode;
	this.base(sText, sAction);
	this.openIcon  = sOpenIcon || webFXTreeConfig.fileIconVrh;
	var Prip=(sText.match("___________________ Pripom"));

	this.icon      = sIcon || webFXTreeConfig.rootIcon;
			if (Prip=="___________________ Pripom"){this.icon = webFXTreeConfig.fileIconPrazen1;}
/*	this.openIcon  = sOpenIcon || webFXTreeConfig.openRootIcon;*/
	/* Defaults to open */
	if (webFXTreeConfig.usePersistence) {
		this.open  = (webFXTreeHandler.cookies.getCookie(this.id.substr(18,this.id.length - 18)) == '0')?false:true;
	} else { this.open  = true; }
	this.folder    = true;
	this.rendered  = false;
	this.onSelect  = null;
	if (!webFXTreeHandler.behavior) {  webFXTreeHandler.behavior = sBehavior || webFXTreeConfig.defaultBehavior; }
}

WebFXTree.prototype = new WebFXTreeAbstractNode;

WebFXTree.prototype.setBehavior = function (sBehavior) {
	webFXTreeHandler.behavior =  sBehavior;
};

WebFXTree.prototype.getBehavior = function (sBehavior) {
	return webFXTreeHandler.behavior;
};

WebFXTree.prototype.getSelected = function() {
	if (webFXTreeHandler.selected) { return webFXTreeHandler.selected; }
	else { return null; }
}

WebFXTree.prototype.remove = function() { }

WebFXTree.prototype.expand = function() {
	this.doExpand();
}

WebFXTree.prototype.collapse = function(b) {
	if (!b) { this.focus(); }
	this.doCollapse();
}

WebFXTree.prototype.getFirst = function() {
	return null;
}

WebFXTree.prototype.getLast = function() {
	return null;
}

WebFXTree.prototype.getNextSibling = function() {
	return null;
}

WebFXTree.prototype.getPreviousSibling = function() {
	return null;
}

WebFXTree.prototype.keydown = function(key) {
	if (key == 39) {
		if (!this.open) { this.expand(); }
		else if (this.childNodes.length) { this.childNodes[0].select(); }
		return false;
	}
	if (key == 37) { this.collapse(); return false; }
	if ((key == 40) && (this.open) && (this.childNodes.length)) { this.childNodes[0].select(); return false; }
	return true;
}

WebFXTree.prototype.toString = function() {
	var str = "<div id=\"" + this.id + "\" ondblclick=\"webFXTreeHandler.toggle(this);\" class=\"webfx-tree-item\" onkeydown=\"return webFXTreeHandler.keydown(this, event)\">";
	str += "<img id=\"" + this.id + "-icon\" class=\"webfx-tree-icon\" src=\"" + ((webFXTreeHandler.behavior == 'classic' && this.open)?this.openIcon:this.icon) + "\" onclick=\"webFXTreeHandler.select(this);\"><a href=\"" + this.action + "\" target=\"contentFrame\" id=\"" + this.id + "-anchor\" onfocus=\"webFXTreeHandler.focus(this);\" onblur=\"webFXTreeHandler.blur(this);\">" + this.text + "</a></div>";
	str += "<div id=\"" + this.id + "-cont\" class=\"webfx-tree-container\" style=\"display: " + ((this.open)?'block':'none') + ";\">";
	for (var i = 0; i < this.childNodes.length; i++) {
		str += this.childNodes[i].toString(i, this.childNodes.length);
	}
	str += "</div>";
	this.rendered = true;
	return str;
};

/*
 * WebFXTreeItem class
 */

function WebFXTreeItem(sText, sAction, eParent, sIcon, sOpenIcon) {
	this.base = WebFXTreeAbstractNode;
	this.base(sText, sAction);
			var veza15=(sText.match(" - !"));
			var Google=(sAction.match("http://www.google."));
			var Film=(sText.match(" film"));
			var veza14=(sText.match("Evidenca zakon"));
			var Pis=(sText.match("PIS RS."));
			var Porocil=(sText.match(" ¤"));
			var NATO=(sText.match(" NATO "));
			var veza141=(sText.match("Sodna praksa"));
			var veza13=(sText.match(" EU!"));
			var veza113=(sText.match("Europ"));
			var veza213=(sText.match("Evrop"));
			var veza013=(sText.match("chengen"));
			var veza10=(sText.match("dopolnilo!"));
			var veza12=(sText.match("novela!"));
			var veza22=(sText.match("slovensk"));
			var veza22a=(sText.match("Slovenij"));
			var veza23=(sText.match("angleško"));
			var veza11=(sText.match("judikat!"));
			var praz=(sText.match("______"));
			var praz1=(sText.match(" ._"));
			var Preambula=(sText.match("PREAMBULA"));
			var Osnovni=(sText.match("Osnovni zakon"));
			var Osnovni1=(sText.match("Osnovni predpis"));
			var veza111=(sText.match("judikat-"));
			var Lestev=(sText.match("Plačna lestvica"));
			var popr=(sText.match("popravek!"));
			var pdf=(sText.match("pdf"));
			var tabela=(sText.match("tabela - !"));
			var veza16=(sText.match("- informacija!"));
			var Telefon=(sText.match("Sporoči napako"));
			var AMZ=(sText.match("AMZS"));
			var Avstrija=(sText.match("AVSTRIJA"));
			var ZDA=(sText.match(" ZDA "));
			var Danska=(sText.match("DANSK"));
			var Nizo=(sText.match("NIZOZEMSK"));
			var Irska=(sText.match("IRSKA "));
			var Vlada=(sText.match(" Vlada RS"));
			var Ministrstvo=(sAction.match(".gov.si"));
			var Lux=(sText.match("LUXEMBURG"));
			var Ceska=(sText.match("ČEŠKA"));
			var Portugalska=(sText.match("PORTUGAL"));
			var Francija=(sText.match("FRANCIJA"));
			var GB=(sText.match("VELIKA BRITANIJA"));
			var Svedska=(sText.match("ŠVEDSKA"));
			var Belgija=(sText.match("BELGIJA"));
			var Bolgarija=(sText.match("BOLGARIJ"));
			var Norveska=(sText.match("NORVEŠKA"));
			var Finska=(sText.match("FINSKA"));
			var Poljska=(sText.match("POLJSKA"));
			var Ciper=(sText.match("CIPER"));
			var Srbija=(sText.match("SRBIJ"));
			var Italija=(sText.match("ITALIJA"));
			var Zakon=(sText.match("ZAKON O "));
			var Odlok=(sText.match("ODLOK O "));
			var Spanija=(sText.match("ŠPANIJ"));
			var Grcija=(sText.match("GRČIJ"));
			var Latvija=(sText.match("LATVIJ"));
			var Madzarska=(sText.match("MADŽARSK"));
			var Nemčija=(sText.match("NEMČIJA"));
			var Slovaska=(sText.match("SLOVAŠK"));
			var Svica=(sText.match("ŠVIC"));
			var Romunija=(sText.match("ROMUNIJA"));
			var Hrvaska=(sText.match("HRVAŠK"));
			var Estonija=(sText.match("ESTON"));
			var Litva=(sText.match(" LITVA "));
			var Malta=(sText.match("MALTA"));
			var Preser=(sText.match("Prešernovi"));
			var Naslov=(sText.match("Naslov__"));
			var Delo=(sText.match("Prometn"));
			var Zapos=(sText.match(" RS za zaposlovanje"));
			var ZaposEn=(sText.match("Employment Service"));
			var eRKG=(sText.match("eRKG"));
			var Zares=(sText.match("Zares!"));
			var Veter=(sText.match("Veter "));
			var Ozadje=(sText.match("Spremeni ozadje"));
			var Okolje=(sText.match(" Okolje "));
			var Evr=(sText.match("vrop"));
			var Aktualno=(sText.match("Aktualno!"));
			var Zadrzan1=(sText.match("zadržan!"));
			var Brisi=(sText.match(" X "));
			var Dodaj=(sText.match("člen \\+ "));
			var ZamenjajGa=(sText.match(" \\+-> "));
			var NiZadrzan=(sText.match("ni zadržan!"));
			var RealPlayer=(sText.match("RealPlayer"));
			var Podpisnik=(sText.match("Podpisnik"));
/*			var Popravek=(sText.match("popravek!"));*/
			var zakoni=(sText.match("Kazalo zakonodajnih strani"));
			var zakoniR=(sText.match("Razgrnjeno kazalo zakonov"));
			var Plan=(sText.match(" Ł"));
			var Gor=(sText.match(" odpiraš podrejene"));
			var Lipa=(sText.match("e-zdravstvo"));
			var Enciklopedija=(sText.match("ncikloped"));
			var Help=(sText.match("Navodilo za branje"));
			var Medicinska=(sText.match("NUJNA MEDICINSKA"));
			var Medicinska1=(sText.match("-NUJNA MEDICINSKA"));
			var Navodila=(sText.match("Navodil"));
			var SvetEvrope=(sText.match(" urad SE"));
			var Uredba=(sText.match("UREDBA"));
			var Priloga=(sText.match("Priloga"));
			var Obraz=(sText.match("Obraz"));
			var Odlocba=(sText.match("dločb"));
			var EUprava=(sText.match("@Uprava"));
			var ARSO=(sText.match("ARSO"));
			var GZS=(sText.match("Gospodarska zbornica S"));
			var PRILOGA=(sText.match("PRILOGA"));
			var Semafor=(sText.match(" semafor"));
			var Sprem=(sText.match("Spremembe in dopolnila"));
			var Pravilnik=(sText.match("PRAVILNIK O"));
			var Pravilnik1=(sText.match("UREDBA O"));
			var SRS=(sText.match("SRS-"));
			var Slovarji=(sText.match("Različni slovarji, glosarji, tezavri "));
			var Slovarji1=(sText.match(" -."));
			var RPS=(sText.match("RPS "));
			var Podzakonski=(sText.match("Podzakonski akti, uredbe, odloki"));
			var Taksa=(sText.match("ne takse"));
			var Tarifa=(sText.match("Tarifna številka"));
			var Uradni=(sText.match("Uradni list"));
			var Povez=(sText.match("Pomembne povezave"));
			var Obvestilo=(sText.match("Pravno obvestilo"));
			var NPB=(sText.match("NPB !"));
			var UPB=(sText.match("UPB !"));
			var Sodisce=(sText.match("Sklepi o izvolitvi v sodniško funkcijo"));
			var MojNPB=(sText.match("NPB."));
			var Koledar=(sText.match("Koledar."));
			var Koledarji=(sText.match(" koledarji "));
			var Nogomet=(sText.match("nogomet"));
			var Kosarka=(sText.match("Košarka"));
			var Kosarka1=(sText.match("košark"));
			var Kajak=(sText.match("ajak"));
			var Izleti=(sText.match(" Izleti"));
			var Prireditve=(sText.match(" Prireditve,"));
			var Borza=(sText.match(" Borza"));
			var Koledar1=(sText.match("Svetovni koledar "));
			var Mail=(sText.match("Pošlji to"));
			var ZBS=(sText.match("Združenje bank"));
			var eDavki=(sText.match("eDavki"));
			var LastniNaslov=(sText.match("Komentarje označene z zvezdico"));
			var Vreme0=(sText.match("Vreme "));
			var Vreme2=(sText.match("Weather "));
			var LjGrb=(sText.match("Ljubljan"));
			var Vreme=(sText.match("Vremenska napoved Yahoo"));
			var Vreme1=(sText.match("Vremenska napoved ARSO"));
			var MojNPB1=(sText.match("NPB-"));
			var KAD=(sText.match("Kapitalska družba d. d.")); 
			var ZPIZ=(sText.match("Zavod za pokojninsko in invalidsko zavarovanje"));
			var ZPIZ1=(sAction.match("www.zpiz.si"));
			var MojUPB=(sText.match("UPB."));
			var Evro=(sText.match("evrih!"));
			var Poslovnik=(sText.match("Poslovnik "));
			var Varuh=(sText.match("Varuh človekovih pravic"));
			var Poob=(sText.match("Informacijski pooblaščenec"));
			var Wiki=(sAction.match("wiki"));
			var Obligacije=(sText.match(" OBLIGACIJSKI "));
			var Sah=(sText.match("Šah"));
			var Smucisca=(sText.match("Smučišča"));
			var Olimpijske=(sText.match("limpijske igre"));
			var SloOlimp=(sText.match("Slovenski olimpijski"));
			var Policija=(sText.match("Policija "));
			var Jadranje=(sText.match("Jadranje"));
			var Slovar=(sText.match("Slovar - Dictionary"));
			var NajdiSi=(sText.match("Najdi.si"));
			var Medijacija=(sText.match("Društvo mediatorjev Slovenije "));
			var Agro=(sText.match("Agrotezaver"));
			var Setveni=(sText.match("Setveni koledar"));
			var SAZU=(sText.match("SAZU"));
			var Zgodovina=(sText.match("Zgodovina zakona"));
			var SIQ=(sText.match("SIQ"));
			var ETSI=(sText.match(" ETSI "));
			var CEN=(sText.match(" CEN "));
			var IEC=(sText.match("IEC Inter"));
			var Ura=(sText.match(" minut"));
			var ITU=(sText.match("ITU Inter"));
			var ISO=(sText.match(" ISO "));
			var SSKJ=(sText.match("Slovar slovenskega knjižnega jezika"));
			var Amebis=(sAction.match("amebis.si"));
			
			var Maribor=(sText.match("Maribor"));
			var Portoroz=(sText.match("Portorož"));
			var Piran=(sText.match("Piran"));
			var Medvode=(sText.match("Medvode"));
			var Izola=(sText.match("Izola"));
			var IlirskaBistrica=(sText.match("Ilirska Bistrica"));
			var Velenje=(sText.match("Velenje"));
			var Postojna=(sText.match("Postojna"));
			var Brezice=(sText.match("Brežice"));
			var Krsko=(sText.match("Krsško"));
			var Litija=(sText.match("Litija"));
			var Zagorje=(sText.match("Zagorje"));
			var Ajdovscina=(sText.match("Ajdovščina"));
			var Ormoz=(sText.match("Ormož"));
			var Idrija=(sText.match("Idrija"));
			var Radovljica=(sText.match("Radovljica"));
			var GornjaRadgona=(sText.match("Gornja Radgona"));
			var MurskaSobota=(sText.match("Murska Sobota"));
			var NovoMesto=(sText.match("Novo mesto"));
			var Tolmin=(sText.match("Tolmin"));
			var Domzale=(sText.match("Domžale"));
			var SlovenjGradec=(sText.match("Slovenj Gradec"));
			var SlovenskeKonjice=(sText.match("Slovenske Konjice"));
			var Kamnik=(sText.match("Kamnik"));
			var Kocevje=(sText.match("Kočevje"));
			var Jesenice=(sText.match("Jesenice"));
			var NovaGorica=(sText.match("Nova Gorica"));
			var Koper=(sText.match("Koper"));
			var SkofjaLoka=(sText.match("Škofja Loka"));
			var Grosuplje=(sText.match("Grosuplje"));
			var Vrhnika=(sText.match("Vrhnika"));
			var Kranj=(sText.match("Kranj"));
			var Ptuj=(sText.match("Ptuj"));
			var Celje=(sText.match("Celje"));
			
			var Kolesar=(sText.match("kolesar"));
			var IVZ=(sAction.match(".ivz.si"));
			var Cvet=(sText.match("Rože "));
			var Rom=(sText.match("Zveza Romov"));
			var IATE=(sText.match("IATE"));
			var Kalk=(sText.match("Evrokalkulator"));
			var Drzave=(sText.match("Države sveta -"));
			var OZN=(sText.match("United nations"));
			var Drzave1=(sText.match("Popoln pregled držav sveta"));
			var eVem=(sText.match("e-Vem"));
			var Japti=(sText.match("JAPTI"));
			var DURS=(sAction.match("durs"));
			var Obrtna=(sText.match("Obrtna zbornica"));
			var Statistika=(sText.match("Statist"));
			var Slovar=(sText.match("ictionary"));
			var Statistika1=(sAction.match("http://www.stat.si"));
			var KjeJe=(sText.indexOf("{"));
			var Prostor=(sText.match("Evidenca trga nepremičnin "));
			var Prostor1=(sText.match("e-prostor"));
			var TVAmis=(sText.match("AmisTV-2"));
			var RTVSlo=(sText.match("RTV S"));
			var Zalostna=(sText.match("Jezikovni izumi"));
			var Narava=(sText.match(" Narava "));
			var GoogleEarth=(sText.match("Google Earth"));
			var Geopedia=(sText.match("Geopedia"));
			var Valvasor=(sText.match("Valvasor"));
			var Prirocne=(sText.match("Priročne strani"));
			var Banke=(sText.match("Banke in zavarovalnice"));
			var Casopisi=(sText.match("Revije in časopisi"));
			var Cenik=(sText.match("Cenik "));
			var Glasba=(sText.match("Glasba "));
			var Gledalisca=(sText.match("Gledališča "));
			var Filmi=(sText.match("Filmi "));
			var Likovne=(sText.match("Likovne "));
			var Muzeji=(sText.match("Muzeji "));
			var SeznamSlovencev=(sText.match("Seznam Slovencev "));
			var TVSiol=(sText.match("Siol "));
			var TVSlo1=(sText.match("TV Slo1"));
			var TVSlo2=(sText.match("TV Slo2"));
			var TV=(sText.match("TV spored"));
			var Razprava=(sText.match("Razprava - magnetogram "));
			var Avtobus=(sText.match(" LPP"));
			var Amnesty=(sText.match(" Amnesty "));
			var UNCHR=(sText.match("UNHCR"));
			var OECD=(sText.match("OECD"));
			var Urad=(sText.match("Urad R"));
			var Avtobus1=(sText.match(" MPP"));
			var Avtobus2=(sText.match("Avtobusn"));
			var Zelezniska=(sText.match("redi - Železniška"));
			var Letalisce1=(sText.match("Letališče Ljubljana - trenutni"));
			var Letalisce2=(sText.match("Letališče Ljubljana - destinacije"));
			var Letalisce3=(sText.match("Letališče Ljubljana - vozni red odhodi"));
			var Taxi=(sText.match("Taxi službe"));
			var DSRS=(sText.match("Državni svet R"));
			var Amer=(sText.match("merišk"));
			var Ajpes=(sText.match("AJPES"));
			var Kolosej=(sText.match("Kolosej"));
			var Revizija=(sText.match("Revizij"));
			var Placna=(sText.match("Plačna skupina"));
			var Nepremicnine=(sText.match("Trg nepremičnin -"));
			var NepremicnineNet=(sText.match("Nepremicnine.net"));
			var NovaVrsta=("\n");
			var Zamenjaj=(" +-> ");
			var Plu=("člen + ");
	var delo=(sText.match("v delu!"));
	var tx=sText;
			var uredba=(tx.match("redba"));
	if (webFXTreeConfig.usePersistence) {
		this.open = (webFXTreeHandler.cookies.getCookie(this.id.substr(18,this.id.length - 18)) == '1')?true:false;
	} else { this.open = false; }
/*			if (uredba=="redba"){this.icon = webFXTreeConfig.fileIconUred;};*/
		if (delo=="v delu!"){this.icon = webFXTreeConfig.fileIconVDelu;};
	if (sIcon) { this.icon = sIcon;}
	if (sOpenIcon) { this.openIcon = sOpenIcon; }
	if (eParent) { eParent.add(this); }
			if (zakoni=="Kazalo zakonodajnih strani"){this.icon = webFXTreeConfig.fileIconKazZak;};
			if (zakoniR=="Razgrnjeno kazalo zakonov"){this.icon = webFXTreeConfig.fileIconRZak;};
			if (veza10=="dopolnilo!"){this.icon = webFXTreeConfig.fileIconNov;};
			if (veza22=="slovensk"){this.icon = webFXTreeConfig.fileIconSlovenija1;};
			if (veza22a=="Slovenij"){this.icon = webFXTreeConfig.fileIconSlovenija;};
			if (veza23=="angleško"){this.icon = webFXTreeConfig.fileIconAnglija;};
			if (veza111=="judikat-"){this.icon = webFXTreeConfig.fileIconOK;};
			if (veza13==" EU!"){this.icon = webFXTreeConfig.fileIconEU;};
			if (veza113=="Europ"){this.icon = webFXTreeConfig.fileIconEU;};
			if (veza213=="Evrop"){this.icon = webFXTreeConfig.fileIconEU;};
			if (veza14=="Evidenca zakon"){this.icon = webFXTreeConfig.fileIconGrb;};
			if (veza141=="Sodna praksa"){this.icon = webFXTreeConfig.fileIconEvid;};
			if (veza15==" - !"){this.icon = webFXTreeConfig.fileIconPom;};
			if (veza16=="- informacija!"){this.icon = webFXTreeConfig.fileIconPozor;};
			if (Preser=="Prešernovi"){this.icon = webFXTreeConfig.fileIconPresern;};
			if (tabela=="tabela - !"){this.icon = webFXTreeConfig.fileIconTabela;};
			if (Amer=="merišk"){this.icon = webFXTreeConfig.fileIconAmer;};
			if (Ozadje=="Spremeni ozadje"){this.icon = webFXTreeConfig.fileIconOzadje;};
			if (Priloga=="Priloga"){this.icon = webFXTreeConfig.fileIconPriloga;};
			if (Osnovni=="Osnovni zakon"){this.icon = webFXTreeConfig.fileIconOsnovni;};
			if (Osnovni1=="Osnovni predpis"){this.icon = webFXTreeConfig.fileIconOsnovni;};
			if (PRILOGA=="PRILOGA"){this.icon = webFXTreeConfig.fileIconPRILOGA;};
			if (Podpisnik=="Podpisnik"){this.icon = webFXTreeConfig.fileIconPodpisnik;};
			if (Help=="Navodilo za branje"){this.icon = webFXTreeConfig.fileIconHelp;};
			if (Navodila=="Navodil"){this.icon = webFXTreeConfig.fileIconNavodila;};
/*			if (Popravek=="popravek!"){this.icon = webFXTreeConfig.fileIconPopravek!;};*/
			if (Uredba=="UREDBA"){this.icon = webFXTreeConfig.fileIconUred;};
			if (Evro=="evrih!"){this.icon = webFXTreeConfig.fileIconEuro;};
			if (Pis=="PIS RS."){this.icon = webFXTreeConfig.fileIconPIS;};
			if (Kalk=="Evrokalkulator"){this.icon = webFXTreeConfig.fileIconKalk;};
			if (Porocil==" ¤"){this.icon = webFXTreeConfig.fileIconPorocil;};
			if (Sprem=="Spremembe in dopolnila"){this.icon = webFXTreeConfig.fileIconSprem;};
			if (KAD=="Kapitalska družba d. d."){this.icon = webFXTreeConfig.fileIconKAD;};
			if (ZPIZ=="Zavod za pokojninsko in invalidsko zavarovanje"){this.icon = webFXTreeConfig.fileIconZPIZ;};
			if (ZPIZ1=="www.zpiz.si"){this.icon = webFXTreeConfig.fileIconZPIZ;};
			if (Zadrzan1=="zadržan!"){this.icon = webFXTreeConfig.fileIconZadrzan;};
			if (Sodisce=="Sklepi o izvolitvi v sodniško funkcijo"){this.icon = webFXTreeConfig.fileIconSodisce;};
			if (Setveni=="Setveni koledar"){this.icon = webFXTreeConfig.fileIconSetveni;};
			if (NiZadrzan=="ni zadržan!"){this.icon = webFXTreeConfig.fileIconNiZadrzan;};
			if (Uradni=="Uradni list"){this.icon = webFXTreeConfig.fileIconPIS;};
			if (NPB=="NPB !"){this.icon = webFXTreeConfig.fileIconGrb;};
			if (UPB=="UPB !"){this.icon = webFXTreeConfig.fileIconGrb;};
			if (MojNPB=="NPB."){this.icon = webFXTreeConfig.fileIconPreciscen;};
			if (MojNPB1=="NPB-"){this.icon = webFXTreeConfig.fileIconPreciscen;};
			if (MojUPB=="UPB."){this.icon = webFXTreeConfig.fileIconPreciscen;};
/*			if (Podc=="!!"){this.icon = webFXTreeConfig.fileIconPodc;};*/
			if (Telefon=="Sporoči napako"){this.icon = webFXTreeConfig.fileIconTelefon;};
			if (Taksa=="ne takse"){this.icon = webFXTreeConfig.fileIconTaksa;};
			if (Tarifa=="Tarifna številka"){this.icon = webFXTreeConfig.fileIconTaksa;};
			if (Drzave=="Države sveta -"){this.icon = webFXTreeConfig.fileIconDrzave;};
			if (OZN=="United nations"){this.icon = webFXTreeConfig.fileIconDrzave;};
			if (Drzave1=="Popoln pregled držav sveta"){this.icon = webFXTreeConfig.fileIconDrzave;};
			if (Lestev=="Plačna lestvica"){this.icon = webFXTreeConfig.fileIconLestev;};
			if (Slovar=="ictionary"){this.icon = webFXTreeConfig.fileIconSlovar;};
			if (Statistika=="Statist"){this.icon = webFXTreeConfig.fileIconStatistika;};
			if (Statistika1=="http://www.stat.si"){this.icon = webFXTreeConfig.fileIconStatistika;};
			if (Obraz=="Obraz"){this.icon = webFXTreeConfig.fileIconObrazec;};
			if (Odlocba=="dločb"){this.icon = webFXTreeConfig.fileIconObrazec;};
			if (Naslov=="Naslov__"){this.icon = webFXTreeConfig.fileIconNaslov;};
			if (ZDA==" ZDA "){this.icon = webFXTreeConfig.fileIconZDA;};
			if (Danska=="DANSK"){this.icon = webFXTreeConfig.fileIconDanska;};
			if (Nizo=="NIZOZEMSK"){this.icon = webFXTreeConfig.fileIconNizo;};
			if (Irska=="IRSKA "){this.icon = webFXTreeConfig.fileIconIrska;};
			if (Ciper=="CIPER"){this.icon = webFXTreeConfig.fileIconCiper;};
			if (Lux=="LUXEMBURG"){this.icon = webFXTreeConfig.fileIconLux;};
			if (Ceska=="ČEŠKA"){this.icon = webFXTreeConfig.fileIconCeska;};
			if (Portugalska=="PORTUGAL"){this.icon = webFXTreeConfig.fileIconPortugalska;};
			if (Spanija=="ŠPANIJ"){this.icon = webFXTreeConfig.fileIconSpanija;};
			if (Grcija=="GRČIJ"){this.icon = webFXTreeConfig.fileIconGrcija;};
			if (Latvija=="LATVIJ"){this.icon = webFXTreeConfig.fileIconLatvija;};
			if (Litva==" LITVA "){this.icon = webFXTreeConfig.fileIconLitva;};
			if (Romunija=="ROMUNIJA"){this.icon = webFXTreeConfig.fileIconRomunija;};
			if (Malta=="MALTA"){this.icon = webFXTreeConfig.fileIconMalta;};
			if (Madzarska=="MADŽARSK"){this.icon = webFXTreeConfig.fileIconMadzarska;};
			if (Slovaska=="SLOVAŠK"){this.icon = webFXTreeConfig.fileIconSlovaska;};
			if (Hrvaska=="HRVAŠK"){this.icon = webFXTreeConfig.fileIconHrvaska;};
			if (Estonija=="ESTON"){this.icon = webFXTreeConfig.fileIconEstonija;};
			if (Norveska=="NORVEŠKA"){this.icon = webFXTreeConfig.fileIconNorveška;};
			if (Belgija=="BELGIJA"){this.icon = webFXTreeConfig.fileIconBelgija;};
			if (Bolgarija=="BOLGARIJ"){this.icon = webFXTreeConfig.fileIconBolgarija;};
			if (GB=="VELIKA BRITANIJA"){this.icon = webFXTreeConfig.fileIconGB;};
			if (Svedska=="ŠVEDSKA"){this.icon = webFXTreeConfig.fileIconŠvedska;};
			if (Finska=="FINSKA"){this.icon = webFXTreeConfig.fileIconFinska;};
			if (Poljska=="POLJSKA"){this.icon = webFXTreeConfig.fileIconPoljska;};
			if (Srbija=="SRBIJ"){this.icon = webFXTreeConfig.fileIconSrbija;};
			if (Evr=="vrop"){this.icon = webFXTreeConfig.fileIconEU;};
			if (Zakon=="ZAKON O "){this.icon = webFXTreeConfig.fileIconZakon;};
			if (Odlok=="ODLOK O "){this.icon = webFXTreeConfig.fileIconZakon;};
			if (SRS=="SRS-"){this.icon = webFXTreeConfig.fileIconSRS;};
			if (popr=="popravek!"){this.icon = webFXTreeConfig.fileIconPopravek;};
			if (veza12=="novela!"){this.icon = webFXTreeConfig.fileIconNov;};
			if (Koledar=="Koledar."){this.icon = webFXTreeConfig.fileIconKoledar;};
			if (Koledarji==" koledarji "){this.icon = webFXTreeConfig.fileIconKoledarji;};
			if (Koledar1=="Svetovni koledar "){this.icon = webFXTreeConfig.fileIconKoledar1;};
			if (Mail=="Pošlji to"){this.icon = webFXTreeConfig.fileIconMail;};
			if (Varuh=="Varuh človekovih pravic"){this.icon = webFXTreeConfig.fileIconVaruh;};
			if (Poob=="Informacijski pooblaščenec"){this.icon = webFXTreeConfig.fileIconPoob;};
			if (Slovar=="Slovar - Dictionary"){this.icon = webFXTreeConfig.fileIconSlovar;};
			if (NajdiSi=="Najdi.si"){this.icon = webFXTreeConfig.fileIconNajdiSi;};
			if (Agro=="Agrotezaver"){this.icon = webFXTreeConfig.fileIconAgro;};
			if (SSKJ=="Slovar slovenskega knjižnega jezika"){this.icon = webFXTreeConfig.fileIconSSKJ;};
			if (Vlada==" Vlada RS"){this.icon = webFXTreeConfig.fileIconGrb;};
			if (Ministrstvo==".gov.si"){this.icon = webFXTreeConfig.fileIconGrb;};
			if (Amebis=="amebis.si"){this.icon = webFXTreeConfig.fileIconAmebis;};
			if (IATE=="IATE"){this.icon = webFXTreeConfig.fileIconIATE;};
			if (NATO==" NATO "){this.icon = webFXTreeConfig.fileIconNATO;};

			if (Maribor=="Maribor"){this.icon = webFXTreeConfig.fileIconMaribor;};
			if (Portoroz=="Portorož"){this.icon = webFXTreeConfig.fileIconPortoroz;};
			if (Piran=="Piran"){this.icon = webFXTreeConfig.fileIconPiran;};
			if (Medvode=="Medvode"){this.icon = webFXTreeConfig.fileIconMedvode;};
			if (Izola=="Izola"){this.icon = webFXTreeConfig.fileIconIzola;};
			if (IlirskaBistrica=="Ilirska Bistrica"){this.icon = webFXTreeConfig.fileIconIlirskaBistrica;};
			if (Velenje=="Velenje"){this.icon = webFXTreeConfig.fileIconVelenje;};
			if (Postojna=="Postojna"){this.icon = webFXTreeConfig.fileIconPostojna;};
			if (Brezice=="Brežice"){this.icon = webFXTreeConfig.fileIconBrezice;};
			if (Krsko=="Krško"){this.icon = webFXTreeConfig.fileIconKrsko;};
			if (Litija=="Litija"){this.icon = webFXTreeConfig.fileIconLitija;};
			if (Zagorje=="Zagorje"){this.icon = webFXTreeConfig.fileIconZagorje;};
			if (Ajdovscina=="Ajdovščina"){this.icon = webFXTreeConfig.fileIconAjdovscina;};
			if (Ormoz=="Ormož"){this.icon = webFXTreeConfig.fileIconOrmoz;};
			if (Idrija=="Idrija"){this.icon = webFXTreeConfig.fileIconIdrija;};
			if (Radovljica=="Radovljica"){this.icon = webFXTreeConfig.fileIconRadovljica;};
			if (GornjaRadgona=="Gornja Radgona"){this.icon = webFXTreeConfig.fileIconGornjaRadgona;};
			if (MurskaSobota=="Murska Sobota"){this.icon = webFXTreeConfig.fileIconMurskaSobota;};
			if (NovoMesto=="Novo mesto"){this.icon = webFXTreeConfig.fileIconNovoMesto;};
			if (Tolmin=="Tolmin"){this.icon = webFXTreeConfig.fileIconTolmin;};
			if (Domzale=="Domžale"){this.icon = webFXTreeConfig.fileIconDomzale;};
			if (SlovenjGradec=="Slovenj Gradec"){this.icon = webFXTreeConfig.fileIconSlovenjGradec;};
			if (SlovenskeKonjice=="Slovenske Konjice"){this.icon = webFXTreeConfig.fileIconSlovenskeKonjice;};
			if (Kamnik=="Kamnik"){this.icon = webFXTreeConfig.fileIconKamnik;};
			if (Kocevje=="Kočevje"){this.icon = webFXTreeConfig.fileIconKocevje;};
			if (Jesenice=="Jesenice"){this.icon = webFXTreeConfig.fileIconJesenice;};
			if (NovaGorica=="Nova Gorica"){this.icon = webFXTreeConfig.fileIconNovaGorica;};
			if (Koper=="Koper"){this.icon = webFXTreeConfig.fileIconKoper;};
			if (SkofjaLoka=="Škofja Loka"){this.icon = webFXTreeConfig.fileIconSkofjaLoka;};
			if (Grosuplje=="Grosuplje"){this.icon = webFXTreeConfig.fileIconGrosuplje;};
			if (Vrhnika=="Vrhnika"){this.icon = webFXTreeConfig.fileIconVrhnika;};
			if (Kranj=="Kranj"){this.icon = webFXTreeConfig.fileIconKranj;};
			if (Ptuj=="Ptuj"){this.icon = webFXTreeConfig.fileIconPtuj;};
			if (Celje=="Celje"){this.icon = webFXTreeConfig.fileIconCelje;};

			if (SAZU=="SAZU"){this.icon = webFXTreeConfig.fileIconSAZU;};
			if (Plan==" Ł"){this.icon = webFXTreeConfig.fileIconPlan;};
			if (Vreme0=="Vreme "){this.icon = webFXTreeConfig.fileIconVreme0;};
			if (Vreme2=="Weather "){this.icon = webFXTreeConfig.fileIconSonce;};
			if (Vreme=="Vremenska napoved Yahoo"){this.icon = webFXTreeConfig.fileIconVreme;};
			if (Vreme1=="Vremenska napoved ARSO"){this.icon = webFXTreeConfig.fileIconVreme1;};
			if (pdf=="pdf"){this.icon = webFXTreeConfig.fileIconPdf;};
			if (praz=="______"){this.icon = webFXTreeConfig.fileIconPrazen;};
			if (praz1==" ._"){this.icon = webFXTreeConfig.fileIconPrazen;};
			if (EUprava=="@Uprava"){this.icon = webFXTreeConfig.fileIconEUprava;};
			if (GZS=="Gospodarska zbornica S"){this.icon = webFXTreeConfig.fileIconGZS;};
			if (Poslovnik=="Poslovnik "){this.icon = webFXTreeConfig.fileIconPoslovnik;};
			if (RealPlayer=="RealPlayer"){this.icon = webFXTreeConfig.fileIconRealPlayer;};
			if (DSRS=="Državni svet R"){this.icon = webFXTreeConfig.fileIconDSRS;};
			if (Preambula=="PREAMBULA"){this.icon = webFXTreeConfig.fileIconPreambula;};
			if (Delo=="Prometn"){this.icon = webFXTreeConfig.fileIconDelo;};
			if (LjGrb=="Ljubljan"){this.icon = webFXTreeConfig.fileIconLjGrb;};
			if (Cvet=="Rože "){this.icon = webFXTreeConfig.fileIconCvet;};
			if (Gor==" odpiraš podrejene"){this.icon = webFXTreeConfig.fileIconGor;};
			if (Avtobus==" LPP"){this.icon = webFXTreeConfig.fileIconLPP;};
			if (Avtobus1==" MPP"){this.icon = webFXTreeConfig.fileIconMPP;};
			if (Avtobus2=="Avtobusn"){this.icon = webFXTreeConfig.fileIconAvtobusna;};
			if (Zelezniska=="redi - Železniška"){this.icon = webFXTreeConfig.fileIconZelezniska;};
			if (Letalisce1=="Letališče Ljubljana - trenutni"){this.icon = webFXTreeConfig.fileIconLetalisce1;};
			if (Letalisce2=="Letališče Ljubljana - destinacije"){this.icon = webFXTreeConfig.fileIconLetalisce2;};
			if (Letalisce3=="Letališče Ljubljana - vozni red odhodi"){this.icon = webFXTreeConfig.fileIconLetalisce3;};
			if (Prostor=="Evidenca trga nepremičnin "){this.icon = webFXTreeConfig.fileIconProstor;};
			if (Prostor1=="e-prostor"){this.icon = webFXTreeConfig.fileIconProstor;};
			if (Taxi=="Taxi službe"){this.icon = webFXTreeConfig.fileIconTaxi;};
			if (Medicinska=="NUJNA MEDICINSKA"){this.icon = webFXTreeConfig.fileIconMedicinska;};
			if (Medicinska1=="-NUJNA MEDICINSKA"){this.icon = webFXTreeConfig.fileIconMedicinska1;};
			if (Kolosej=="Kolosej"){this.icon = webFXTreeConfig.fileIconKolosej;};
			if (Revizija=="Revizij"){this.icon = webFXTreeConfig.fileIconRevizija;};
			if (IVZ==".ivz.si"){this.icon = webFXTreeConfig.fileIconIVZ;};
			if (Lipa=="e-zdravstvo"){this.icon = webFXTreeConfig.fileIconLipa;};
			if (Enciklopedija=="ncikloped"){this.icon = webFXTreeConfig.fileIconEnciklopedija;};
			if (Povez=="Pomembne povezave"){this.icon = webFXTreeConfig.fileIconPovez;};
			if (Amnesty==" Amnesty "){this.icon = webFXTreeConfig.fileIconAmnesty;};
			if (SvetEvrope==" urad SE"){this.icon = webFXTreeConfig.fileIconSvetEvrope;};
			if (Zapos==" RS za zaposlovanje"){this.icon = webFXTreeConfig.fileIconZapos;};
			if (ZaposEn=="Employment Service"){this.icon = webFXTreeConfig.fileIconZaposEn;};
			if (Rom=="Zveza Romov"){this.icon = webFXTreeConfig.fileIconRom;};
			if (eRKG=="eRKG"){this.icon = webFXTreeConfig.fileIconeRKG;};
			if (ZBS=="Združenje bank"){this.icon = webFXTreeConfig.fileIconZBS;};
			if (Zares=="Zares!"){this.icon = webFXTreeConfig.fileIconZares;};
			if (Veter=="Veter "){this.icon = webFXTreeConfig.fileIconVeter;};
			if (Obvestilo=="Pravno obvestilo"){this.icon = webFXTreeConfig.fileIconObvestilo;};
			if (NepremicnineNet=="Nepremicnine.net"){this.icon = webFXTreeConfig.fileIconNepremicnineNet;};
			if (Slovarji=="Različni slovarji, glosarji, tezavri "){this.icon = webFXTreeConfig.fileIconSlovarji;};
			if (Slovarji1==" -."){this.icon = webFXTreeConfig.fileIconSlovarji;};
			if (Medijacija=="Društvo mediatorjev Slovenije "){this.icon = webFXTreeConfig.fileIconMedijacija;};
			if (eVem=="e-Vem"){this.icon = webFXTreeConfig.fileIconeVem;};
			if (Japti=="JAPTI"){this.icon = webFXTreeConfig.fileIconeJapti;};
			if (DURS=="durs"){this.icon = webFXTreeConfig.fileIconeDURS;};
			if (Obrtna=="Obrtna zbornica"){this.icon = webFXTreeConfig.fileIconeObrtna;};
			if (UNCHR=="UNHCR"){this.icon = webFXTreeConfig.fileIconUNCHR;};
			if (OECD=="OECD"){this.icon = webFXTreeConfig.fileIconOECD;};
			if (eDavki=="eDavki"){this.icon = webFXTreeConfig.fileIconeDavki;};
			if (Nepremicnine=="Trg nepremičnin -"){this.icon = webFXTreeConfig.fileIconNepremicnine;};
			if (Razprava=="Razprava - magnetogram "){this.icon = webFXTreeConfig.fileIconRazprava;};
			if (Placna=="Plačna skupina"){this.icon = webFXTreeConfig.fileIconEuro;};
			if (Brisi==" X "){this.icon = webFXTreeConfig.fileIconBrisi;};
			if (Dodaj==Plu){this.icon = webFXTreeConfig.fileIconDodaj;};
			if (ZamenjajGa==Zamenjaj){this.icon = webFXTreeConfig.fileIconZamenjaj;};
			if (veza013=="chengen"){this.icon = webFXTreeConfig.fileIconEU;};
			if (TV=="TV spored"){this.icon = webFXTreeConfig.fileIconTV;};
			if (Ura==" minut"){this.icon = webFXTreeConfig.fileIconZadrzan;};
			if (TVAmis=="AmisTV-2"){this.icon = webFXTreeConfig.fileIconTVAmis;};
			if (Ajpes=="AJPES"){this.icon = webFXTreeConfig.fileIconAjpes;};
			if (Aktualno=="Aktualno!"){this.icon = webFXTreeConfig.fileIconAktualno;};
			if (TVAmis=="AmisTV-2"){this.icon = webFXTreeConfig.fileIconTVAmis;};
			if (TVSiol=="Siol "){this.icon = webFXTreeConfig.fileIconSiol;};
			if (LastniNaslov=="Komentarje označene z zvezdico"){this.icon = webFXTreeConfig.fileIconLemKoment;};
			if (Obligacije==" OBLIGACIJSKI "){this.icon = webFXTreeConfig.fileIconZakon;};
			if (ARSO=="ARSO"){this.icon = webFXTreeConfig.fileIconARSO;};
			if (SIQ=="SIQ"){this.icon = webFXTreeConfig.fileIconSIQ;};
			if (ISO==" ISO "){this.icon = webFXTreeConfig.fileIconISO;};
			if (ETSI==" ETSI "){this.icon = webFXTreeConfig.fileIconETSI;};
			if (CEN==" CEN "){this.icon = webFXTreeConfig.fileIconCEN;};
			if (IEC=="IEC Inter"){this.icon = webFXTreeConfig.fileIconIEC;};
			if (ITU=="ITU Inter"){this.icon = webFXTreeConfig.fileIconITU;};
			if (Wiki=="wiki"){this.icon = webFXTreeConfig.fileIconWiki;};
			if (Kolesar=="kolesar"){this.icon = webFXTreeConfig.fileIconKolesar;};
			if (Nogomet=="nogomet"){this.icon = webFXTreeConfig.fileIconNogomet;};
			if (Kosarka=="Košarka"){this.icon = webFXTreeConfig.fileIconKosarka;};
			if (Izleti==" Izleti"){this.icon = webFXTreeConfig.fileIconIzleti;};
			if (Prireditve==" Prireditve,"){this.icon = webFXTreeConfig.fileIconPrireditve;};
			if (Borza==" Borza"){this.icon = webFXTreeConfig.fileIconBorza;};
			if (RTVSlo=="RTV S"){this.icon = webFXTreeConfig.fileIconRTVSlo;};
			if (Cenik=="Cenik "){this.icon = webFXTreeConfig.fileIconCenik;};
			if (Zalostna=="Jezikovni izumi"){this.icon = webFXTreeConfig.fileIconZalostna;};
			if (Narava==" Narava "){this.icon = webFXTreeConfig.fileIconNarava;};
			if (Valvasor=="Valvasor"){this.icon = webFXTreeConfig.fileIconValvasor;};
			if (Prirocne=="Priročne strani"){this.icon = webFXTreeConfig.fileIconPrirocne;};
			if (Banke=="Banke in zavarovalnice"){this.icon = webFXTreeConfig.fileIconBanke;};
			if (Casopisi=="Revije in časopisi"){this.icon = webFXTreeConfig.fileIconCasopisi;};
			if (Glasba=="Glasba "){this.icon = webFXTreeConfig.fileIconGlasba;};
			if (Gledalisca=="Gledališča "){this.icon = webFXTreeConfig.fileIconGledalisca;};
			if (Filmi=="Filmi "){this.icon = webFXTreeConfig.fileIconFilmi;};
			if (Likovne=="Likovne "){this.icon = webFXTreeConfig.fileIconLikovne;};
			if (Muzeji=="Muzeji "){this.icon = webFXTreeConfig.fileIconMuzeji;};
			if (SeznamSlovencev=="Seznam Slovencev "){this.icon = webFXTreeConfig.fileIconSeznamSlovencev;};
			if (Urad=="Urad R"){this.icon = webFXTreeConfig.fileIconUrad;};
			if (Zgodovina=="Zgodovina zakona"){this.icon = webFXTreeConfig.fileIconPescena;};
			if (Sah=="Šah"){this.icon = webFXTreeConfig.fileIconSah;};
			if (Smucisca=="Smučišča"){this.icon = webFXTreeConfig.fileIconSmucisca;};
			if (Olimpijske=="limpijske igre"){this.icon = webFXTreeConfig.fileIconOlimpijske;};
			if (SloOlimp=="Slovenski olimpijski"){this.icon = webFXTreeConfig.fileIconSloOlimp;};
			if (Policija=="Policija "){this.icon = webFXTreeConfig.fileIconPolicija;};
			if (Jadranje=="Jadranje"){this.icon = webFXTreeConfig.fileIconJadranje;};
			if (Avstrija=="AVSTRIJA"){this.icon = webFXTreeConfig.fileIconAvstrija;};
			if (Svica=="ŠVIC"){this.icon = webFXTreeConfig.fileIconSvica;};
			if (Francija=="FRANCIJA"){this.icon = webFXTreeConfig.fileIconFrancija;};
			if (Italija=="ITALIJA"){this.icon = webFXTreeConfig.fileIconItalija;};
			if (Nemčija=="NEMČIJA"){this.icon = webFXTreeConfig.fileIconNemčija;};
			if (AMZ=="AMZS"){this.icon = webFXTreeConfig.fileIconAMZ;};
			if (Semafor==" semafor"){this.icon = webFXTreeConfig.fileIconSemafor;};
			if (veza11=="judikat!"){this.icon = webFXTreeConfig.fileIconJudikat;};
			if (Pravilnik=="PRAVILNIK O"){this.icon = webFXTreeConfig.fileIconGrb;}
			if (Pravilnik1=="UREDBA O"){this.icon = webFXTreeConfig.fileIconGrb;}
			if (GoogleEarth=="Google Earth"){this.icon = webFXTreeConfig.fileIconGoogleEarth;};
			if (Film==" film"){this.icon = webFXTreeConfig.fileIconFilmi;};
			if (Google=="http://www.google."){this.icon = webFXTreeConfig.fileIconGoogle;};
			if (Geopedia=="Geopedia"){this.icon = webFXTreeConfig.fileIconGeopedia;};
			if (RPS=="RPS "){this.icon = webFXTreeConfig.fileIconRPS;};
			if (Podzakonski=="Podzakonski akti, uredbe, odloki"){this.icon = webFXTreeConfig.fileIconRPS;};
			if (Kosarka1=="košark"){this.icon = webFXTreeConfig.fileIconKosarka1;};
			if (Kajak=="ajak"){this.icon = webFXTreeConfig.fileIconKajak;};
			if (Okolje==" Okolje "){this.icon = webFXTreeConfig.fileIconOkolje;};
}

WebFXTreeItem.prototype = new WebFXTreeAbstractNode;

WebFXTreeItem.prototype.remove = function() {
	var iconSrc = document.getElementById(this.id + '-plus').src;
	var parentNode = this.parentNode;
	var prevSibling = this.getPreviousSibling(true);
	var nextSibling = this.getNextSibling(true);
	var folder = this.parentNode.folder;
	var last = ((nextSibling) && (nextSibling.parentNode) && (nextSibling.parentNode.id == parentNode.id))?false:true;
	this.getPreviousSibling().focus();
	this._remove();
	if (parentNode.childNodes.length == 0) {
		document.getElementById(parentNode.id + '-cont').style.display = 'none';
		parentNode.doCollapse();
		parentNode.folder = false;
		parentNode.open = false;
	}
	if (!nextSibling || last) { parentNode.indent(null, true, last, this._level, parentNode.childNodes.length); }
	if ((prevSibling == parentNode) && !(parentNode.childNodes.length)) {
		prevSibling.folder = false;
		prevSibling.open = false;
		iconSrc = document.getElementById(prevSibling.id + '-plus').src;
		iconSrc = iconSrc.replace('minus', '').replace('plus', '');
		document.getElementById(prevSibling.id + '-plus').src = iconSrc;
		document.getElementById(prevSibling.id + '-icon').src = webFXTreeConfig.fileIcon;
	}
	if (document.getElementById(prevSibling.id + '-plus')) {
		if (parentNode == prevSibling.parentNode) {
			iconSrc = iconSrc.replace('minus', '').replace('plus', '');
			document.getElementById(prevSibling.id + '-plus').src = iconSrc;
}	}	}

WebFXTreeItem.prototype._remove = function() {
	for (var i = this.childNodes.length - 1; i >= 0; i--) {
		this.childNodes[i]._remove();
 	}
	for (var i = 0; i < this.parentNode.childNodes.length; i++) {
		if (this == this.parentNode.childNodes[i]) {
			for (var j = i; j < this.parentNode.childNodes.length; j++) {
				this.parentNode.childNodes[j] = this.parentNode.childNodes[j+1];
			}
			this.parentNode.childNodes.length -= 1;
			if (i + 1 == this.parentNode.childNodes.length) { this.parentNode._last = true; }
			break;
	}	}
	webFXTreeHandler.all[this.id] = null;
	var tmp = document.getElementById(this.id);
	if (tmp) { tmp.parentNode.removeChild(tmp); }
	tmp = document.getElementById(this.id + '-cont');
	if (tmp) { tmp.parentNode.removeChild(tmp); }
}

WebFXTreeItem.prototype.expand = function() {
	this.doExpand();
	document.getElementById(this.id + '-plus').src = this.minusIcon;
}

WebFXTreeItem.prototype.collapse = function(b) {
	if (!b) { this.focus(); }
	this.doCollapse();
	document.getElementById(this.id + '-plus').src = this.plusIcon;
}

WebFXTreeItem.prototype.getFirst = function() {
	return this.childNodes[0];
}

WebFXTreeItem.prototype.getLast = function() {
	if (this.childNodes[this.childNodes.length - 1].open) { return this.childNodes[this.childNodes.length - 1].getLast(); }
	else { return this.childNodes[this.childNodes.length - 1]; }
}

WebFXTreeItem.prototype.getNextSibling = function() {
	for (var i = 0; i < this.parentNode.childNodes.length; i++) {
		if (this == this.parentNode.childNodes[i]) { break; }
	}
	if (++i == this.parentNode.childNodes.length) { return this.parentNode.getNextSibling(); }
	else { return this.parentNode.childNodes[i]; }
}

WebFXTreeItem.prototype.getPreviousSibling = function(b) {
	for (var i = 0; i < this.parentNode.childNodes.length; i++) {
		if (this == this.parentNode.childNodes[i]) { break; }
	}
	if (i == 0) { return this.parentNode; }
	else {
		if ((this.parentNode.childNodes[--i].open) || (b && this.parentNode.childNodes[i].folder)) { return this.parentNode.childNodes[i].getLast(); }
		else { return this.parentNode.childNodes[i]; }
} }

WebFXTreeItem.prototype.keydown = function(key) {
	if ((key == 39) && (this.folder)) {
		if (!this.open) { this.expand(); }
		else { this.getFirst().select(); }
		return false;
	}
	else if (key == 37) {
		if (this.open) { this.collapse(); }
		else { this.parentNode.select(); }
		return false;
	}
	else if (key == 40) {
		if (this.open) { this.getFirst().select(); }
		else {
			var sib = this.getNextSibling();
			if (sib) { sib.select(); }
		}
		return false;
	}
	else if (key == 38) { this.getPreviousSibling().select(); return false; }
	return true;
}

WebFXTreeItem.prototype.toString = function (nItem, nItemCount) {
	var foo = this.parentNode;
	var indent = '';
	var vrh=(this.action.match("Kazalo zakonodajnih strani"));
	var kdo=(this.action.match(".pdf"));
	var kam=(this.action.match("Evidenca "));
	var vdelu=(this.text.match("v delu!"));
	var predlog1=(this.text.match("predlog!"));
	var judikat=(this.text.match("Judikat"));
	var Razlaga=(this.text.match("obvezna razlaga!"));
	var Razlaga1=(this.text.match("vtentična razlaga"));
	var Predlog1=(this.text.match("Predlog - razlaga"));
	var pomoc=(this.text.match("- informacija!"));
	var Predlog=(this.action.match("PredlogZakon"));
	var PredlogUS=(this.action.match("PredlogSpremembaUstav"));
	var Predlog0=(this.action.match("PredlogDruzinski"));
	var Predlog1=(this.action.match("PredlogRatifikacija"));
	var Predlog2=(this.action.match("PredlogDopolnilo"));
	var Predlog3=(this.action.match("Pobuda"));
	var dom=(this.action.match("index.htm"));
	var odskod=(this.action.match("Odskodnine"));
	var EPA=(this.action.match("#epa"));
	var Zadrzan=(this.action.match("Zadrzan"));


	var help=(this.action.match("www"));
	if (webFXTreeHandler.behavior == 'explorer') {webFXTreeHandler.behavior = 'classic'};
	if (nItem + 1 == nItemCount) { this.parentNode._last = true; }
	var i = 0;
	while (foo.parentNode) {
		foo = foo.parentNode;
		indent = "<img id=\"" + this.id + "-indent-" + i + "\" src=\"" + ((foo._last)?webFXTreeConfig.blankIcon:webFXTreeConfig.iIcon) + "\">" + indent;
		i++;
	}
	this._level = i;

	webFXTreeHandler.behavior = 'classic';
	if (this.childNodes.length) { this.folder = 1; }
	else { this.open = false; }
	if ((this.folder) || (webFXTreeHandler.behavior != 'classic')) {
		if (!this.icon) { this.icon = webFXTreeConfig.folderIcon; }
		if (!this.openIcon) { this.openIcon = webFXTreeConfig.openFolderIcon; }
	}
	else if (!this.icon) {
		if (kdo=='.pdf'){ this.icon = webFXTreeConfig.fileIconPdf; }
		else{ this.icon = webFXTreeConfig.fileIcon;}
		if (Zadrzan=="Zadrzan"){this.icon = webFXTreeConfig.fileIconZadrzan;};
		if (judikat=="Judikat"){ this.icon = webFXTreeConfig.fileIconJudikat;}
		if (kam=="Evidenca "){ this.icon = webFXTreeConfig.fileIconEvi;}
		if (dom=="index.htm"){ this.icon = webFXTreeConfig.fileIconDom;}
		if (odskod=="Odskodnine"){ this.icon = webFXTreeConfig.fileIconOdskod;}
		/*if (help=="www"){ this.icon = webFXTreeConfig.fileIconHelp;}*/
		if (Predlog2=="PredlogDopolnilo"){ this.icon = webFXTreeConfig.fileIconPredlog;}
		if (Predlog3=="Pobuda"){ this.icon = webFXTreeConfig.fileIconPobuda;}
		if (predlog1=="predlog!"){ this.icon = webFXTreeConfig.fileIconPredlog;}
		if (vdelu=="v delu!"){this.icon = webFXTreeConfig.fileIconVDelu;};
		if (pomoc=="- informacija!"){this.icon = webFXTreeConfig.fileIconPozor;};
		if (EPA=="#epa"){this.icon = webFXTreeConfig.fileIconEPA;};
		if (Razlaga=="obvezna razlaga!"){ this.icon = webFXTreeConfig.fileIconRazlaga;}
		if (Razlaga1=="vtentična razlaga"){ this.icon = webFXTreeConfig.fileIconRazlaga;}
		if (Predlog1=="Predlog - razlaga"){ this.icon = webFXTreeConfig.fileIconRazlaga;}
		if (Predlog=="PredlogZakon"){ this.icon = webFXTreeConfig.fileIconPredlog;}
		if (PredlogUS=="PredlogSpremembaUstav"){ this.icon = webFXTreeConfig.fileIconPredlogUS;}
		if (Predlog0=="PredlogDruzinski"){ this.icon = webFXTreeConfig.fileIconPredlog;}
		if (Predlog1=="PredlogRatifikacija"){ this.icon = webFXTreeConfig.fileIconPredlog;}

		}
	var label = this.text.replace(/</g, '&lt;').replace(/>/g, '&gt;');
	var str = "<div id=\"" + this.id + "\" ondblclick=\"webFXTreeHandler.toggle(this);\" class=\"webfx-tree-item\" onkeydown=\"return webFXTreeHandler.keydown(this, event)\">";
	str += indent;

	str += "<img id=\"" + this.id + "-plus\" src=\"" + ((this.folder)?((this.open)?((this.parentNode._last)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.tMinusIcon):((this.parentNode._last)?webFXTreeConfig.lPlusIcon:webFXTreeConfig.tPlusIcon)):((this.parentNode._last)?webFXTreeConfig.lIcon:webFXTreeConfig.tIcon)) + "\" onclick=\"webFXTreeHandler.toggle(this);\">"
	str += "<img id=\"" + this.id + "-icon\" class=\"webfx-tree-icon\" src=\"" + ((webFXTreeHandler.behavior == 'classic' && this.open)?this.openIcon:this.icon) + "\" onclick=\"webFXTreeHandler.select(this);\"><a title=\"" + this.text + "\" href=\"" + this.action + "\" target=\"contentFrame\" id=\"" + this.id + "-anchor\" onfocus=\"webFXTreeHandler.focus(this);\" onblur=\"webFXTreeHandler.blur(this);\">" + label + "</a></div>";
	str += "<div id=\"" + this.id + "-cont\" class=\"webfx-tree-container\" style=\"display: " + ((this.open)?'block':'none') + ";\">";

	for (var i = 0; i < this.childNodes.length; i++) {
		str += this.childNodes[i].toString(i,this.childNodes.length);
	}
	str += "</div>";
	this.plusIcon = ((this.parentNode._last)?webFXTreeConfig.lPlusIcon:webFXTreeConfig.tPlusIcon);
	this.minusIcon = ((this.parentNode._last)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.tMinusIcon);
	return str;
}


/* 
*
* used to show the current location in the tree when clicking in the right frame
*
* (added by M. Gnatz)
*
*/

WebFXTreeItem.prototype.followUp = function() {
	var no = this;
	tree.collapseAll();

	while (no.parentNode) {
		no = no.parentNode;
		no.expand();
	}

	this.select();
	this.focus();
}