// függőségek if ("undefined" == typeof AITIA) { alert("AITIA include missing!"); } else if ("undefined" == typeof AITIA_COOKIE) { alert("AITIA_COOKIE include missing!"); } // többszörös include if ("undefined" != typeof AITIA_URL) { alert("AITIA_URL multiple insert!"); } AITIA_URL = 1; Aitia.Url = {}; /** ez visszaadja a get parametereket egy tombben * @param empty ha true, akkor ures parametereket is visszaadja, default: true * @return egy tomb, melyben nevvel lehet elerni a kulcsokat */ Aitia.Url.parseLocationSearch = function(empty) { var empty=(empty != null) ? empty : true; var ret=new Array(); var search=location.search; if (search != '') { search=search.substr(1); //? levagasa search=unescape(search); var t=search.split('&'); for (var i=0; i0 ) { this.href = q.substring(0,q.indexOf('?')); q = q.substring(q.indexOf('?')); } this.q = ( q.indexOf('?')==0 ? q.substring(1, q.length) : q ); this.hash = ''; if ( this.q.lastIndexOf('#')>0 ) { this.hash = this.q.substring(this.q.lastIndexOf('#')+1); this.q = this.q.substring(0,this.q.lastIndexOf('#')); } this.keyValuePairs = new Array(); if( q.length>0 ) { for(var i=0; i