var defaultLanguage="sl_SI";var locationHost="w2m.kitio.com";var safeLog=function(a){if(window.console&&typeof console.log=="function"){console.log(a)}};function loadHeadFile(a,b){if(b=="js"){var c=document.createElement("script");
c.setAttribute("type","text/javascript");c.setAttribute("src",a)}else{if(b=="css"){var c=document.createElement("link");c.setAttribute("rel","stylesheet");c.setAttribute("type","text/css");c.setAttribute("href",a)
}else{if(b=="gettext"){var c=document.createElement("link");c.setAttribute("rel","gettext");c.setAttribute("type","application/json");c.setAttribute("href",a)}}}if(typeof c!="undefined"){document.getElementsByTagName("head")[0].appendChild(c)
}}function removeHeadFile(a,c){var e=(c=="js")?"script":(c=="css"||c=="gettext")?"link":"none";var d=(c=="js")?"src":(c=="css"||c=="gettext")?"href":"none";var f=document.getElementsByTagName(e);for(var b=f.length;
b>=0;b--){if(f[b]&&f[b].getAttribute(d)!=null&&f[b].getAttribute(d).indexOf(a)!=-1){f[b].parentNode.removeChild(f[b])}}}function safeLog(a){if(window.console&&typeof console.log=="function"){console.log(a)
}}var JSON;if(!JSON){JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null
};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;
function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)
})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)
}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;
partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";
gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){if(typeof rep[i]==="string"){k=rep[i];v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=str(k,value);
if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;
gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")
}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k);
if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)
})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");
return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());Gettext=function(c){this.domain="messages";this.locale_data=undefined;var b=["domain","locale_data"];if(this.isValidObject(c)){for(var d in c){for(var a=0;
a<b.length;a++){if(d==b[a]){if(this.isValidObject(c[d])){this[d]=c[d]}}}}}this.try_load_lang();return this};Gettext.context_glue="\004";Gettext._locale_data={};Gettext.prototype.try_load_lang=function(){if(typeof(this.locale_data)!="undefined"){var d=this.locale_data;
this.locale_data=undefined;this.parse_locale_data(d);if(typeof(Gettext._locale_data[this.domain])=="undefined"){throw new Error("Error: Gettext 'locale_data' does not contain the domain '"+this.domain+"'")
}}var b=this.get_lang_refs();if(typeof(b)=="object"&&b.length>0){for(var a=0;a<b.length;a++){var c=b[a];if(c.type=="application/json"){if(!this.try_load_lang_json(c.href)){throw new Error("Error: Gettext 'try_load_lang_json' failed. Unable to exec xmlhttprequest for link ["+c.href+"]")
}}else{if(c.type=="application/x-po"){if(!this.try_load_lang_po(c.href)){throw new Error("Error: Gettext 'try_load_lang_po' failed. Unable to exec xmlhttprequest for link ["+c.href+"]")}}else{throw new Error("TODO: link type ["+c.type+"] found, and support is planned, but not implemented at this time.")
}}}}};Gettext.prototype.parse_locale_data=function(f){if(typeof(Gettext._locale_data)=="undefined"){Gettext._locale_data={}}for(var e in f){if((!f.hasOwnProperty(e))||(!this.isValidObject(f[e]))){continue
}var b=false;for(var a in f[e]){b=true;break}if(!b){continue}var g=f[e];if(e==""){e="messages"}if(!this.isValidObject(Gettext._locale_data[e])){Gettext._locale_data[e]={}}if(!this.isValidObject(Gettext._locale_data[e].head)){Gettext._locale_data[e].head={}
}if(!this.isValidObject(Gettext._locale_data[e].msgs)){Gettext._locale_data[e].msgs={}}for(var n in g){if(n==""){var j=g[n];for(var m in j){var i=m.toLowerCase();Gettext._locale_data[e].head[i]=j[m]}}else{Gettext._locale_data[e].msgs[n]=g[n]
}}}for(var e in Gettext._locale_data){if(this.isValidObject(Gettext._locale_data[e].head["plural-forms"])&&typeof(Gettext._locale_data[e].head.plural_func)=="undefined"){var l=Gettext._locale_data[e].head["plural-forms"];
var d=new RegExp("^(\\s*nplurals\\s*=\\s*[0-9]+\\s*;\\s*plural\\s*=\\s*(?:\\s|[-\\?\\|&=!<>+*/%:;a-zA-Z0-9_()])+)","m");if(d.test(l)){var k=Gettext._locale_data[e].head["plural-forms"];if(!/;\s*$/.test(k)){k=k.concat(";")
}var c="var plural; var nplurals; "+k+' return { "nplural" : nplurals, "plural" : (plural === true ? 1 : plural ? plural : 0) };';Gettext._locale_data[e].head.plural_func=new Function("n",c)}else{throw new Error("Syntax error in language file. Plural-Forms header is invalid ["+l+"]")
}}else{if(typeof(Gettext._locale_data[e].head.plural_func)=="undefined"){Gettext._locale_data[e].head.plural_func=function(o){var h=(o!=1)?1:0;return{nplural:2,plural:h}}}}}return};Gettext.prototype.try_load_lang_po=function(b){var d=this.sjax(b);
if(!d){return}var c=this.uri_basename(b);var a=this.parse_po(d);var e={};if(a){if(!a[""]){a[""]={}}if(!a[""]["domain"]){a[""]["domain"]=c}c=a[""]["domain"];e[c]=a;this.parse_locale_data(e)}return 1};Gettext.prototype.uri_basename=function(b){var c;
if(c=b.match(/^(.*\/)?(.*)/)){var a;if(a=c[2].match(/^(.*)\..+$/)){return a[1]}else{return c[2]}}else{return""}};Gettext.prototype.parse_po=function(q){var e={};var l={};var j="";var g=[];var a=q.split("\n");
for(var n=0;n<a.length;n++){a[n]=a[n].replace(/(\n|\r)+$/,"");var f;if(/^$/.test(a[n])){if(typeof(l.msgid)!="undefined"){var p=(typeof(l.msgctxt)!="undefined"&&l.msgctxt.length)?l.msgctxt+Gettext.context_glue+l.msgid:l.msgid;
var m=(typeof(l.msgid_plural)!="undefined"&&l.msgid_plural.length)?l.msgid_plural:null;var c=[];for(var k in l){var f;if(f=k.match(/^msgstr_(\d+)/)){c[parseInt(f[1])]=l[k]}}c.unshift(m);if(c.length>1){e[p]=c
}l={};j=""}}else{if(/^#/.test(a[n])){continue}else{if(f=a[n].match(/^msgctxt\s+(.*)/)){j="msgctxt";l[j]=this.parse_po_dequote(f[1])}else{if(f=a[n].match(/^msgid\s+(.*)/)){j="msgid";l[j]=this.parse_po_dequote(f[1])
}else{if(f=a[n].match(/^msgid_plural\s+(.*)/)){j="msgid_plural";l[j]=this.parse_po_dequote(f[1])}else{if(f=a[n].match(/^msgstr\s+(.*)/)){j="msgstr_0";l[j]=this.parse_po_dequote(f[1])}else{if(f=a[n].match(/^msgstr\[0\]\s+(.*)/)){j="msgstr_0";
l[j]=this.parse_po_dequote(f[1])}else{if(f=a[n].match(/^msgstr\[(\d+)\]\s+(.*)/)){j="msgstr_"+f[1];l[j]=this.parse_po_dequote(f[2])}else{if(/^"/.test(a[n])){l[j]+=this.parse_po_dequote(a[n])}else{g.push("Strange line ["+n+"] : "+a[n])
}}}}}}}}}}if(typeof(l.msgid)!="undefined"){var p=(typeof(l.msgctxt)!="undefined"&&l.msgctxt.length)?l.msgctxt+Gettext.context_glue+l.msgid:l.msgid;var m=(typeof(l.msgid_plural)!="undefined"&&l.msgid_plural.length)?l.msgid_plural:null;
var c=[];for(var k in l){var f;if(f=k.match(/^msgstr_(\d+)/)){c[parseInt(f[1])]=l[k]}}c.unshift(m);if(c.length>1){e[p]=c}l={};j=""}if(e[""]&&e[""][1]){var b={};var o=e[""][1].split(/\\n/);for(var n=0;n<o.length;
n++){if(!o.length){continue}var d=o[n].indexOf(":",0);if(d!=-1){var r=o[n].substring(0,d);var s=o[n].substring(d+1);var h=r.toLowerCase();if(b[h]&&b[h].length){g.push("SKIPPING DUPLICATE HEADER LINE: "+o[n])
}else{if(/#-#-#-#-#/.test(h)){g.push("SKIPPING ERROR MARKER IN HEADER: "+o[n])}else{s=s.replace(/^\s+/,"");b[h]=s}}}else{g.push("PROBLEM LINE IN HEADER: "+o[n]);b[o[n]]=""}}e[""]=b}else{e[""]={}}return e
};Gettext.prototype.parse_po_dequote=function(b){var a;if(a=b.match(/^"(.*)"/)){b=a[1]}b=b.replace(/\\"/,"");return b};Gettext.prototype.try_load_lang_json=function(a){var b=this.sjax(a);if(!b){return}var c=this.JSON(b);
this.parse_locale_data(c);return 1};Gettext.prototype.get_lang_refs=function(){var c=new Array();var a=document.getElementsByTagName("link");for(var b=0;b<a.length;b++){if(a[b].rel=="gettext"&&a[b].href){if(typeof(a[b].type)=="undefined"||a[b].type==""){if(/\.json$/i.test(a[b].href)){a[b].type="application/json"
}else{if(/\.js$/i.test(a[b].href)){a[b].type="application/json"}else{if(/\.po$/i.test(a[b].href)){a[b].type="application/x-po"}else{if(/\.mo$/i.test(a[b].href)){a[b].type="application/x-mo"}else{throw new Error("LINK tag with rel=gettext found, but the type and extension are unrecognized.")
}}}}}a[b].type=a[b].type.toLowerCase();if(a[b].type=="application/json"){a[b].type="application/json"}else{if(a[b].type=="text/javascript"){a[b].type="application/json"}else{if(a[b].type=="application/x-po"){a[b].type="application/x-po"
}else{if(a[b].type=="application/x-mo"){a[b].type="application/x-mo"}else{throw new Error("LINK tag with rel=gettext found, but the type attribute ["+a[b].type+"] is unrecognized.")}}}}c.push(a[b])}}return c
};Gettext.prototype.textdomain=function(a){if(a&&a.length){this.domain=a}return this.domain};Gettext.prototype.gettext=function(c){var e;var a;var d;var b;return this.dcnpgettext(null,e,c,a,d,b)};Gettext.prototype.dgettext=function(d,c){var f;
var a;var e;var b;return this.dcnpgettext(d,f,c,a,e,b)};Gettext.prototype.dcgettext=function(d,c,b){var f;var a;var e;return this.dcnpgettext(d,f,c,a,e,b)};Gettext.prototype.ngettext=function(c,a,e){var d;
var b;return this.dcnpgettext(null,d,c,a,e,b)};Gettext.prototype.dngettext=function(d,c,a,f){var e;var b;return this.dcnpgettext(d,e,c,a,f,b)};Gettext.prototype.dcngettext=function(d,c,a,f,b){var e;return this.dcnpgettext(d,e,c,a,f,b,b)
};Gettext.prototype.pgettext=function(e,c){var a;var d;var b;return this.dcnpgettext(null,e,c,a,d,b)};Gettext.prototype.dpgettext=function(d,f,c){var a;var e;var b;return this.dcnpgettext(d,f,c,a,e,b)};
Gettext.prototype.dcpgettext=function(d,f,c,b){var a;var e;return this.dcnpgettext(d,f,c,a,e,b)};Gettext.prototype.npgettext=function(e,c,a,d){var b;return this.dcnpgettext(null,e,c,a,d,b)};Gettext.prototype.dnpgettext=function(d,f,c,a,e){var b;
return this.dcnpgettext(d,f,c,a,e,b)};Gettext.prototype.dcnpgettext=function(y,e,x,s,l,o){if(!this.isValidObject(x)){return""}var g=this.isValidObject(s);var u=this.isValidObject(e)?e+Gettext.context_glue+x:x;
var a=this.isValidObject(y)?y:this.isValidObject(this.domain)?this.domain:"messages";var w="LC_MESSAGES";var o=5;var m=new Array();if(typeof(Gettext._locale_data)!="undefined"&&this.isValidObject(Gettext._locale_data[a])){m.push(Gettext._locale_data[a])
}else{if(typeof(Gettext._locale_data)!="undefined"){for(var v in Gettext._locale_data){m.push(Gettext._locale_data[v])}}}var b=[];var f=false;var k;if(m.length){for(var t=0;t<m.length;t++){var r=m[t];if(this.isValidObject(r.msgs[u])){for(var q=0;
q<r.msgs[u].length;q++){b[q]=r.msgs[u][q]}b.shift();k=r;f=true;if(b.length>0&&b[0].length!=0){break}}}}if(b.length==0||b[0].length==0){b=[x,s]}var d=b[0];if(g){var h;if(f&&this.isValidObject(k.head.plural_func)){var c=k.head.plural_func(l);
if(!c.plural){c.plural=0}if(!c.nplural){c.nplural=0}if(c.nplural<=c.plural){c.plural=0}h=c.plural}else{h=(l!=1)?1:0}if(this.isValidObject(b[h])){d=b[h]}}return d};Gettext.strargs=function(g,c){if(null==c||"undefined"==typeof(c)){c=[]
}else{if(c.constructor!=Array){c=[c]}}var f="";while(true){var d=g.indexOf("%");var a;if(d==-1){f+=g;break}f+=g.substr(0,d);if(g.substr(d,2)=="%%"){f+="%";g=g.substr((d+2))}else{if(a=g.substr(d).match(/^%(\d+)/)){var e=parseInt(a[1]);
var b=a[1].length;if(e>0&&c[e-1]!=null&&typeof(c[e-1])!="undefined"){f+=c[e-1]}g=g.substr((d+1+b))}else{f+="%";g=g.substr((d+1))}}}return f};Gettext.prototype.strargs=function(b,a){return Gettext.strargs(b,a)
};Gettext.prototype.isArray=function(a){return this.isValidObject(a)&&a.constructor==Array};Gettext.prototype.isValidObject=function(a){if(null==a){return false}else{if("undefined"==typeof(a)){return false
}else{return true}}};Gettext.prototype.sjax=function(d){var c;if(window.XMLHttpRequest){c=new XMLHttpRequest()}else{if(navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1){c=new ActiveXObject("Microsoft.XMLHTTP")
}else{c=new ActiveXObject("Msxml2.XMLHTTP")}}if(!c){throw new Error("Your browser doesn't do Ajax. Unable to support external language files.")}c.open("GET",d,false);try{c.send(null)}catch(f){return}var a=c.status;
if(a==200||a==0){return c.responseText}else{var b=c.statusText+" (Error "+c.status+")";if(c.responseText.length){b+="\n"+c.responseText}alert(b);return}};Gettext.prototype.JSON=function(data){return eval("("+data+")")
};var json_locale_data={en_EN:{"Sporočilo":[null,"Message"],"":{"MIME-Version":" 1.0","POT-Creation-Date":" 2011-04-06 17:22+0200","X-Poedit-SourceCharset":" utf-8","X-Poedit-SearchPath-0":" Users/goran/Development/ZendWorkspace/ispace-current/public/scripts/w2m/v1","X-Poedit-Country":" UNITED STATES","Content-Type":" text/plain; charset=UTF-8","Language-Team":" Kitio Mobile <dev@3line.si>","PO-Revision-Date":" 2011-04-06 17:24+0100","Report-Msgid-Bugs-To":" ","Project-Id-Version":" Web2Mobile","X-Poedit-Basepath":" /","Plural-Forms":" nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);",Language:" ","X-Poedit-Language":" English","Last-Translator":" Goran Dodig <goran@dodig.org>","X-Poedit-KeywordsList":" trans;gettext;gettext_noop;ntrans;transf","Content-Transfer-Encoding":" 8bit"},"Vaša telefonska številka":[null,"Your telephone number"],"Strinjam se s":[null,"I agree with"],"Error fetching price, please try later!":[null,"Error fetching price, please try later!"],"na 6262":[null,"to 6262"],"Pošljite vsebino":[null,"Send content"],link_do_pogojev:[null,"http://www.kitio.com"],"Vaše ime":[null,"Your name"],"Cena vsakokrat poslane vsebine je":[null,"Price of each delivery of new content is"],"Cena poslane vsebine je":[null,"Price of sending the video is"],"(fetching price...)":[null,"(fetching price...)"],"Za odjavo pošljite":[null,"To unsubscribe, send"],"Uspešno ste se prijavili na vsebino.":[null,"You have successfully subscribed to the content."],"Mobilni operater":[null,"Mobile operator"],"Vsebina je bila uspešno poslana.":[null,"The content has been successfully sent. "],Potrdi:[null,"Submit"],"Vpišite PIN":[null,"Insert PIN"],"Vnesite GSM številko!":[null,"Enter the GSM number!"],PIN:[null,"PIN"],"Telefonska številka":[null,"Telephone number"],"Prosimo izberite vašega mobilnega operaterja ter vpišite vašo telefonsko številko ter telefonsko številko prijatelja.":[null,"Please select your mobile operator and enter yours and recipients telephone number."],"fetching price...":[null,"fetching price..."],"Ponovno pošlji PIN":[null,"Send PIN again"],"Splošnimi pogoji":[null,"Terms & Conditions"],"Pošlji sebi":[null,"Send to myself"],"Strinjati se moraš s splošnimi pogoji!":[null,"You have to agree with terms & conditions."],"Vnesite vaše Ime!":[null,"Enter your name!"],"Sporočilo prijatelju":[null,"Message to the recipient"],"Pošljite video":[null,"Send video"],"Vnesi PIN, ki si ga prejel po SMSu.":[null,"Enter the PIN you received to your mobile."],"Prijateljeva telefonska številka":[null,"Recipients telephone number"],na:[null,"to"]},hr_HR:{"Telefonska številka":[null,"Vaš telefonski broj"],PIN:[null,"PIN"],"Sporočilo":[null,"Poruka"],"":{"MIME-Version":" 1.0","POT-Creation-Date":" 2011-04-06 17:22+0200","X-Poedit-SourceCharset":" utf-8","X-Poedit-SearchPath-0":" Users/goran/Development/ZendWorkspace/ispace-current/public/scripts/w2m/v1","X-Poedit-Country":" CROATIA","Content-Type":" text/plain; charset=UTF-8","Language-Team":" Kitio Mobile <dev@3line.si>","PO-Revision-Date":" 2011-04-06 17:24+0100","Report-Msgid-Bugs-To":" ","Project-Id-Version":" Web2Mobile","X-Poedit-Basepath":" /","Plural-Forms":" nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);",Language:" ","X-Poedit-Language":" Croatian","Last-Translator":" Goran Dodig <goran@dodig.org>","X-Poedit-KeywordsList":" trans;gettext;gettext_noop;ntrans;transf","Content-Transfer-Encoding":" 8bit"},"Vaša telefonska številka":[null,"Vaš telefonski broj"],"Strinjam se s":[null,"Slažem se sa"],"Prosimo izberite vašega mobilnega operaterja ter vpišite vašo telefonsko številko ter telefonsko številko prijatelja.":[null,"Molimo, iz izbornika odaberite mobilnog operatera, upišite vaš telefonski broj te broj primatelja."],"Error fetching price, please try later!":[null,"Pogreška kod učitavanja cijene, molimo pokušajte kasnije!"],"na 6262":[null,"na 88302"],"Pošljite vsebino":[null,"Pošaljite odabrani sadržaj na mobilni telefon"],"Ponovno pošlji PIN":[null,"Ponovno pošalji PIN"],"fetching price...":[null,"učitavam cijenu..."],"Splošnimi pogoji":[null,"Općim uvjetima"],link_do_pogojev:[null,"http://www.kitio.com"],"Pošlji sebi":[null,"Pošalji sebi"],"Vaše ime":[null,"Vaše ime"],"Strinjati se moraš s splošnimi pogoji!":[null,"Morate prihvatiti opće uslove upotrebe!"],"Vnesite vaše Ime!":[null,"Unesite vaše ime!"],"Cena vsakokrat poslane vsebine je":[null,"Cijena svakokratnog slanja sadržaja je"],"Cena poslane vsebine je":[null,"Cijena poslanog sadržaja je"],"(fetching price...)":[null,"(učitavam cijenu...)"],"Sporočilo prijatelju":[null,"Poruka prijatelju"],"Za odjavo pošljite":[null,"Za odjavu pošaljite"],"Vnesi PIN, ki si ga prejel po SMSu.":[null,"Unesi PIN, kojeg si dobio putem SMS-a."],"Uspešno ste se prijavili na vsebino.":[null,"Uspješno ste se prijavili na sadržaj."],"Mobilni operater":[null,"Mobilni operater"],"Vsebina je bila uspešno poslana.":[null,"Sadržaj je bio uspješno poslan."],Potrdi:[null,"Potvrdi"],"Vpišite PIN":[null,"Upišite PIN"],"Prijateljeva telefonska številka":[null,"Telefonski broj prijatelja"],na:[null,"na"],"Vnesite GSM številko!":[null,"Unesite GSM broj!"]},sl_SI:{"Sporočilo":[null,"Sporočilo"],"":{"MIME-Version":" 1.0","POT-Creation-Date":" 2011-04-06 17:22+0200","X-Poedit-SourceCharset":" utf-8","X-Poedit-SearchPath-0":" Users/goran/Development/ZendWorkspace/ispace-current/public/scripts/w2m/v1","X-Poedit-Country":" SLOVENIA","Content-Type":" text/plain; charset=UTF-8","Language-Team":" Kitio Mobile <dev@3line.si>","PO-Revision-Date":" 2011-04-06 17:24+0100","Report-Msgid-Bugs-To":" ","Project-Id-Version":" Web2Mobile","X-Poedit-Basepath":" /","Plural-Forms":" nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);",Language:" ","X-Poedit-Language":" Slovenian","Last-Translator":" Goran Dodig <goran@dodig.org>","X-Poedit-KeywordsList":" trans;gettext;gettext_noop;ntrans;transf","Content-Transfer-Encoding":" 8bit"},"Vaša telefonska številka":[null,"Vaša telefonska številka"],"Strinjam se s":[null,"Strinjam se s"],"Error fetching price, please try later!":[null,"Napaka pri prebiranju cene, prosimo poskusite kasneje!"],"na 6262":[null,"na 6262"],"Pošljite vsebino":[null,"Pošljite vsebino sebi ali prijatelju"],link_do_pogojev:[null,"http://www.kitio.si/slo/menux1.php#w2m"],"Vaše ime":[null,"Vaše ime"],"Cena vsakokrat poslane vsebine je":[null,"Cena vsakokrat poslane vsebine je"],"Cena poslane vsebine je":[null,"Cena poslane vsebine je"],"(fetching price...)":[null,"(prebiram ceno...)"],"Za odjavo pošljite":[null,"Za odjavo pošljite"],"Uspešno ste se prijavili na vsebino.":[null,"Uspešno ste se prijavili na vsebino."],"Mobilni operater":[null,"Vaš mobilni operater"],"Vsebina je bila uspešno poslana.":[null,"Vsebina je bila uspešno poslana."],Potrdi:[null,"Potrdi"],"Vpišite PIN":[null,"Vpišite aktivacijsko kodo"],"Vnesite GSM številko!":[null,"Vnesite GSM številko!"],PIN:[null,"Aktivacijska koda"],"Telefonska številka":[null,"Vaša telefonska številka"],"Prosimo izberite vašega mobilnega operaterja ter vpišite vašo telefonsko številko ter telefonsko številko prijatelja.":[null,"Prosimo izberite vašega mobilnega operaterja ter vpišite vašo telefonsko številko ter telefonsko številko prejemnika."],"fetching price...":[null,"prebiram ceno..."],"Ponovno pošlji PIN":[null,"Ponovno pošlji aktivacijsko kodo"],"Splošnimi pogoji":[null,"Splošnimi pogoji"],"Pošlji sebi":[null,"Pošlji sebi"],"Strinjati se moraš s splošnimi pogoji!":[null,"Strinjati se moraš s splošnimi pogoji!"],"Vnesite vaše Ime!":[null,"Vnesite vaše Ime!"],"Sporočilo prijatelju":[null,"Sporočilo prejemniku"],"Pošljite video":[null,"Pošljite video"],"Vnesi PIN, ki si ga prejel po SMSu.":[null,"Vnesite aktivacijsko kodo, ki ste jo prejeli po SMS sporočilu."],"Prijateljeva telefonska številka":[null,"Prejemnikova telefonska številka"],na:[null,"na"]},sr_RS:{"Telefonska številka":[null,""],PIN:[null,""],"Sporočilo":[null,""],"":{"MIME-Version":" 1.0","POT-Creation-Date":" 2011-04-06 17:22+0200","X-Poedit-SourceCharset":" utf-8","X-Poedit-SearchPath-0":" Users/goran/Development/ZendWorkspace/ispace-current/public/scripts/w2m/v1","X-Poedit-Country":" YUGOSLAVIA","Content-Type":" text/plain; charset=UTF-8","Language-Team":" Kitio Mobile <dev@3line.si>","PO-Revision-Date":" 2011-03-25 17:29+0100","Report-Msgid-Bugs-To":" ","Project-Id-Version":" Web2Mobile","X-Poedit-Basepath":" /","Plural-Forms":" nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);",Language:" ","X-Poedit-Language":" Serbian","Last-Translator":" Goran Dodig <goran@dodig.org>","X-Poedit-KeywordsList":" trans;gettext;gettext_noop;ntrans;transf","Content-Transfer-Encoding":" 8bit"},"Vaša telefonska številka":[null,""],"Strinjam se s":[null,""],"Prosimo izberite vašega mobilnega operaterja ter vpišite vašo telefonsko številko ter telefonsko številko prijatelja.":[null,""],"Error fetching price, please try later!":[null,""],"Ponovno pošlji PIN":[null,""],"fetching price...":[null,""],"Splošnimi pogoji":[null,""],link_do_pogojev:[null,""],"Pošlji sebi":[null,""],"Vaše ime":[null,""],"Strinjati se moraš s splošnimi pogoji!":[null,""],"Vnesite vaše Ime!":[null,""],"Cena vsakokrat poslane vsebine je":[null,""],"Cena poslane vsebine je":[null,""],"(fetching price...)":[null,""],"Sporočilo prijatelju":[null,""],"Za odjavo pošljite":[null,""],"Vnesi PIN, ki si ga prejel po SMSu.":[null,""],"Uspešno ste se prijavili na vsebino.":[null,""],"Mobilni operater":[null,""],"Vsebina je bila uspešno poslana.":[null,""],Potrdi:[null,""],"Vpišite PIN":[null,""],"Prijateljeva telefonska številka":[null,""],na:[null,""],"Vnesite GSM številko!":[null,""]}};
var gt=new Gettext({domain:defaultLanguage,locale_data:json_locale_data});function trans(a){return gt.gettext(a)}function transf(b,a){return gt.strargs(b,a)}function ntrans(b,a,c){return gt.ngettext(b,a,c)
}var dom={};dom.query=jQuery;var web2Mobile={apiServer:"http://"+locationHost+"/w2m/js",apiVersion:"1.0",apiKey:null,language:defaultLanguage,url:null,encryptedRel:null,isEncrypted:false,operatorId:null,myMsisdn:null,senderName:null,friendMsisdn:null,customMessage:null,siteParams:null,tariffs:null,title:null,mobileOperators:{sl_SI:{"1":"Mobitel","2":"Simobil"},hr_HR:{"11":"VIPnet","12":"T-Mobile","14":"Tele2"}},setLanguage:function(a){oldLanguage=this.language;
this.language=a;gt.textdomain(a);dom.query("#w2m-operator").html(this.getMobileOperators());dom.query("#w2m-subscription-operator_id").html(this.getMobileOperators())},startRestCall:function(a){a+="/?"+Math.random(0,1000)+"="+Math.random(0,1000);
var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src",a);document.getElementsByTagName("head")[0].appendChild(b)},setApiKey:function(c){dom.query=jQuery;this.apiKey=c;
var b={apiVersion:this.apiVersion,apiKey:c,language:this.language,method:"init"};var a=this.apiServer+"/p/"+Base64.encode(JSON.stringify(b));this.startRestCall(a)},setNoConflictMode:function(){dom.query=jQuery.noConflict(true)
},rebind:function(){if(dom.query("#send-to-self").is(":checked")){dom.query("#my-name-is").hide("fast");dom.query("#friend-msisdn").hide("fast");dom.query("#message-to-friend-label").html(trans("Sporočilo"))
}else{dom.query("#my-name-is").show("fast");dom.query("#friend-msisdn").show("fast");dom.query("#message-to-friend-label").html(trans("Sporočilo prijatelju"))}dom.query("#send-to-self").click(function(){if(dom.query("#send-to-self").is(":checked")){dom.query("#my-name-is").hide("fast");
dom.query("#friend-msisdn").hide("fast");dom.query("#message-to-friend-label").html(trans("Sporočilo"))}else{dom.query("#my-name-is").show("fast");dom.query("#friend-msisdn").show("fast");dom.query("#message-to-friend-label").html(trans("Sporočilo prijatelju"))
}});dom.query("a[rel^=w2m-subscription]").click(function(){var b=dom.query(this).attr("rel");var g,f;var e=b.indexOf("##!");if(e>0){g=/##!/g;f="##!";web2Mobile.isEncrypted=true}else{web2Mobile.isEncrypted=false;
g=/##/g;f="##"}var a=b.match(g);var d=b.split(f,a.length+1);web2Mobile.prefix=d[0];if(web2Mobile.isEncrypted){web2Mobile.encryptedRel=d[1];web2Mobile.url=null}else{web2Mobile.encryptedRel=null;web2Mobile.url=d[1];
if(a.length==2){web2Mobile.title=d[2]}web2Mobile.popupMesssage=d[5]}var c;if(web2Mobile.isEncrypted){c="http://"+locationHost+"/w2m/get-subscription-price/format/js/encrypted/true/apiKey/"+web2Mobile.apiKey+"/v/"+web2Mobile.apiVersion+"/tariff/"+web2Mobile.encryptedRel+"/language/"+web2Mobile.language
}else{c="http://"+locationHost+"/w2m/get-subscription-price/format/js/apiKey/"+web2Mobile.apiKey+"/v/"+web2Mobile.apiVersion+"/tariff/"+web2Mobile.siteParams.tariffId+"/language/"+web2Mobile.language+"/url/"+Base64.encode(web2Mobile.url)+"/title/"+web2Mobile.title+"/popupMessage/"+web2Mobile.popupMesssage
}w2mTmpSubscriptionPrice=null;web2Mobile.startRestCall(c)}).colorbox({href:"#w2m-subscription-phone-info-container",inline:true,overlayClose:false,escKey:false,onComplete:function(){var c=0;var a=10;var b=setInterval(function(){c++;
if(c>a){dom.query("#w2m-subscription-phone-info-submit").val(trans("Error fetching price, please try later!"));clearInterval(b)}else{if(w2mTmpSubscriptionPrice!=null){dom.query("#contentPriceSubscription").html(w2mTmpSubscriptionPrice.price);
dom.query("#w2m-SubscriptionPopupMessage").html(w2mTmpSubscriptionPrice.popupMessage+"<br /><br />");dom.query("#w2m-SubscriptionKeyword").html(w2mTmpSubscriptionPrice.keyword);dom.query("#w2m-SubscriptionShortNumber").html(w2mTmpSubscriptionPrice.shortNumber);
dom.query("#w2m-subscription-phone-info-submit").removeAttr("disabled");dom.query("#w2m-subscription-phone-info-submit").val(trans("Potrdi"));dom.query("#w2m-subscription-phone-info-loader").hide();clearInterval(b)
}}dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize()},1000);dom.query("#cboxTitle").hide();dom.query("#cboxNext").hide();dom.query("#cboxPrevious").hide();dom.query("#cboxCurrent").hide();dom.query("#w2m-subscription-phone-info-container").show();
dom.query("#w2m-subscription-phone-info-container p.error").hide()}});dom.query("#w2m-subscription-phone-info-submit").die();dom.query("#w2m-subscription-phone-info-submit").live("click",function(){var c=dom.query("#w2m-subscription-msisdn").val();
var b=dom.query("#w2m-subscription-terms").is(":checked");dom.query("#w2m-subscription-phone-info-container p.error").hide();if(!c){dom.query("#w2m-subscription-phone-info-container p.error").html(trans("Vnesite GSM številko!"));
dom.query("#w2m-subscription-phone-info-container p.error").show();dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();return false}if(!b){dom.query("#w2m-subscription-phone-info-container p.error").html(trans("Strinjati se moraš s splošnimi pogoji!"));
dom.query("#w2m-subscription-phone-info-container p.error").show();dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();return false}web2Mobile.operatorId=dom.query("#w2m-subscription-operator_id").val();
web2Mobile.myMsisdn=c;var d={apiVersion:web2Mobile.apiVersion,apiKey:web2Mobile.apiKey,language:web2Mobile.language,method:"subscribe-sendpin",operatorId:web2Mobile.operatorId,msisdn:c};var a=web2Mobile.apiServer+"/p/"+Base64.encode(JSON.stringify(d));
dom.query("#w2m-subscription-phone-info-container").hide();dom.query("#cboxLoadingGraphic").show();web2Mobile.startRestCall(a)});dom.query("#w2m-subscription-pin").die();dom.query("#w2m-subscription-pin").live("keypress",function(a){if(a.keyCode==13){return false
}});dom.query("#w2m-subscription-insert-pin-submit").die();dom.query("#w2m-subscription-insert-pin-submit").live("click",function(){var b=dom.query("#w2m-subscription-pin").val();dom.query("#w2m-subscription-insert-pin-container p.error").hide();
if(!b){dom.query("#w2m-subscription-insert-pin-container p.error").html(trans("Vpišite PIN"));dom.query("#w2m-subscription-insert-pin-container p.error").show();dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();
return false}var c={apiVersion:web2Mobile.apiVersion,apiKey:web2Mobile.apiKey,language:web2Mobile.language,method:"subscribe",pin:b,isEncrypted:web2Mobile.isEncrypted,url:web2Mobile.url,uniqueHash:web2Mobile.url,encryptedRel:web2Mobile.encryptedRel,contentType:web2Mobile.siteParams.contentType,channelTitle:web2Mobile.title,operatorId:web2Mobile.operatorId,msisdn:web2Mobile.myMsisdn};
var a=web2Mobile.apiServer+"/p/"+Base64.encode(JSON.stringify(c));dom.query("#w2m-subscription-insert-pin-container").hide();dom.query("#cboxLoadingGraphic").show();web2Mobile.startRestCall(a)});dom.query("a[rel^=w2m-remote]").click(function(){var b=dom.query(this).attr("rel");
var g,f;var e=b.indexOf("##!");if(e>0){g=/##!/g;f="##!";web2Mobile.isEncrypted=true}else{web2Mobile.isEncrypted=false;g=/##/g;f="##"}var a=b.match(g);var d=b.split(f,a.length+1);web2Mobile.prefix=d[0];
if(web2Mobile.isEncrypted){web2Mobile.encryptedRel=d[1];web2Mobile.url=null}else{web2Mobile.encryptedRel=null;web2Mobile.url=d[1]}var h=d[2];if(h==""||h==undefined){h=dom.query(this).attr("title")}if(h==""||h==undefined){h=document.title
}dom.query("#w2m_ContentTitle").html(' "'+h+'"');web2Mobile.title=h;var c;if(web2Mobile.isEncrypted){c="http://"+locationHost+"/w2m/get-price/format/js/encrypted/true/apiKey/"+web2Mobile.apiKey+"/tariff/"+web2Mobile.encryptedRel+"/language/"+web2Mobile.language
}else{c="http://"+locationHost+"/w2m/get-price/format/js/apiKey/"+web2Mobile.apiKey+"/tariff/"+web2Mobile.siteParams.tariffId+"/language/"+web2Mobile.language}w2mTmpPrice=null;web2Mobile.startRestCall(c)
}).colorbox({href:"#w2m-phone-info-container",inline:true,overlayClose:false,escKey:false,onComplete:function(){var c=0;var a=10;var b=setInterval(function(){c++;if(c>a){dom.query("#w2m-phone-info-submit").val(trans("Error fetching price, please try later!"));
clearInterval(b)}else{if(w2mTmpPrice!=null){dom.query("#contentPrice").html(w2mTmpPrice.price);dom.query("#w2m-phone-info-submit").removeAttr("disabled");dom.query("#w2m-phone-info-submit").val(trans("Potrdi"));
dom.query("#w2m-phone-info-loader").hide();clearInterval(b)}}dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize()},1000);dom.query("#cboxTitle").hide();dom.query("#cboxNext").hide();dom.query("#cboxPrevious").hide();
dom.query("#cboxCurrent").hide();dom.query("#w2m-phone-info-container").show();dom.query("#w2m-phone-info-container p.error").hide()}});dom.query("#w2m-phone-info-submit").die();dom.query("#w2m-phone-info-submit").live("click",function(){var g=dom.query("#my-w2m-msisdn").val();
var c=(dom.query("#send-to-self").is(":checked"))?dom.query("#my-w2m-msisdn").val():dom.query("#my-name").val();var b=dom.query("#message-to-friend").val();var d=dom.query("#friend-w2m-msisdn").val();var e=dom.query("#w2m-terms").is(":checked");
var f=dom.query("#send-to-self").is(":checked");dom.query("#w2m-phone-info-container p.error").hide();if(f){if(!g){dom.query("#w2m-phone-info-container p.error").html(trans("Vnesite GSM številko!"));dom.query("#w2m-phone-info-container p.error").show();
dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();return false}}else{if(!g||!d){dom.query("#w2m-phone-info-container p.error").html(trans("Vnesite GSM številko!"));dom.query("#w2m-phone-info-container p.error").show();
dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();return false}}if(!b){b=dom.query("#w2m_ContentTitle").html()}if(!c){dom.query("#w2m-phone-info-container p.error").html(trans("Vnesite vaše Ime!"));
dom.query("#w2m-phone-info-container p.error").show();dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();return false}if(!e){dom.query("#w2m-phone-info-container p.error").html(trans("Strinjati se moraš s splošnimi pogoji!"));
dom.query("#w2m-phone-info-container p.error").show();dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize();return false}web2Mobile.operatorId=dom.query("#w2m-operator").val();web2Mobile.myMsisdn=g;
web2Mobile.friendMsisdn=(f)?g:d;web2Mobile.senderName=c;web2Mobile.customMessage=b;var h={apiVersion:web2Mobile.apiVersion,apiKey:web2Mobile.apiKey,language:web2Mobile.language,method:"sendpin",operatorId:web2Mobile.operatorId,senderMsisdn:g,receiverMsisdn:web2Mobile.friendMsisdn,senderName:c,customMessage:escape(b)};
var a=web2Mobile.apiServer+"/p/"+Base64.encode(JSON.stringify(h));dom.query("#w2m-phone-info-container").hide();dom.query("#cboxLoadingGraphic").show();web2Mobile.startRestCall(a)});dom.query("#w2m-pin").die();
dom.query("#w2m-pin").live("keypress",function(a){if(a.keyCode==13){return false}});dom.query("#w2m-insert-pin-submit").die();dom.query("#w2m-insert-pin-submit").live("click",function(){var b=dom.query("#w2m-pin").val();
dom.query("#w2m-insert-pin-container p.error").hide();if(!b){dom.query("#w2m-insert-pin-container p.error").html(trans("Vpišite PIN"));dom.query("#w2m-insert-pin-container p.error").show();dom.query.fn.colorbox.resize();
dom.query.fn.colorbox.resize();return false}var c={apiVersion:web2Mobile.apiVersion,apiKey:web2Mobile.apiKey,language:web2Mobile.language,method:"send",pin:b,isEncrypted:web2Mobile.isEncrypted,url:web2Mobile.url,encryptedRel:web2Mobile.encryptedRel,contentType:web2Mobile.siteParams.contentType,name:web2Mobile.title,operatorId:web2Mobile.operatorId,senderMsisdn:web2Mobile.myMsisdn,receiverMsisdn:web2Mobile.friendMsisdn,senderName:web2Mobile.senderName,customMessage:escape(web2Mobile.customMessage)};
var a=web2Mobile.apiServer+"/p/"+Base64.encode(JSON.stringify(c));dom.query("#w2m-insert-pin-container").hide();dom.query("#cboxLoadingGraphic").show();web2Mobile.startRestCall(a)});dom.query("a.w2m-send-pin-again").click(function(){dom.query("#w2m-phone-info-container").show();
dom.query("#w2m-phone-info-container p.error").hide()}).colorbox({inline:true,href:"#w2m-phone-info-container",overlayClose:false,escKey:false,onComplete:function(){dom.query("#cboxTitle").hide();dom.query("#cboxNext").hide();
dom.query("#cboxPrevious").hide();dom.query("#cboxCurrent").hide();dom.query.fn.colorbox.resize();dom.query.fn.colorbox.resize()}})},getMobileOperators:function(){var a="";for(var b in this.mobileOperators[this.language]){a+='<option value="'+b+'">'+this.mobileOperators[this.language][b]+"</option>"
}return a},init:function(){var d='<div style="display: none;"><div style="width: 200px;" class="w2m-container" id="w2m-phone-info-container"><form method="post" id="w2m-phone-info"><p class="instructions"><span id=\'w2m_ContentTitle\'></span></br><br/> '+trans("Cena poslane vsebine je")+' <span id="contentPrice">'+trans("(fetching price...)")+"</span>.<br /><br />"+trans("Prosimo izberite vašega mobilnega operaterja ter vpišite vašo telefonsko številko ter telefonsko številko prijatelja.")+'</p><table border="0"><tbody><tr><td><label for="w2m-operator">'+trans("Mobilni operater")+'</label><br><select id="w2m-operator" name="operator_id">'+this.getMobileOperators()+'</select></td></tr><tr><td class="terms"> <div class="checkbox-container"> <input type="checkbox" value="1" class="checkbox" id="send-to-self" name="send-to-self" /> </div> <label for="send-to-self">'+trans("Pošlji sebi")+'</label><br> </td> </tr><tr> <td> <label for="my-w2m-msisdn">'+trans("Vaša telefonska številka")+'</label><br> <input type="text" id="my-w2m-msisdn" name="my-w2m-msisdn" /> </td> </tr><tr id="friend-msisdn"> <td colspan="2"> <label for="friend-w2m-msisdn">'+trans("Prijateljeva telefonska številka")+'</label><br> <input type="text" id="friend-w2m-msisdn" name="friend-msisdn" /> </td> </tr><tr id="my-name-is"> <td> <label for="my-name">'+trans("Vaše ime")+'</label><br> <input type="text" id="my-name" name="my-name" /> </td> </tr><tr> <td> <label id="message-to-friend-label" for="message-to-friend">'+trans("Sporočilo prijatelju")+'</label><br> <textarea maxlength="140" id="message-to-friend" name="message-to-friend"></textarea> </td> </tr><tr> <td class="terms"> <div class="checkbox-container"> <input type="checkbox" value="1" class="checkbox" id="w2m-terms" name="terms" /> </div> <label for="w2m-terms">'+trans("Strinjam se s")+' <a target="_blank" href="'+trans("link_do_pogojev")+'">'+trans("Splošnimi pogoji")+'</a></label> </td> </tr><tr> <td> <input type="button" value="'+trans("fetching price...")+'" class="submit" disabled="disabled" id="w2m-phone-info-submit" /><br/><img id="w2m-phone-info-loader" src="http://'+locationHost+'/images/w2m/colorbox/loading.gif" /></td> </tr> </tbody> </table><input type="hidden" name="category_name" id="w2m-category_name" /></form> <p class="error" style="display: none;"> &nbsp; </p> </div> </div><div style="display:none;"><div class="w2m-container" id="w2m-insert-pin-container"><p class="instructions">'+trans("Vnesi PIN, ki si ga prejel po SMSu.")+'</p><form id="w2m-insert-pin" method="post"><table border="0"><tr><td><label for="w2m-pin">'+trans("PIN")+'</label><br /><input type="text" id="w2m-pin" name="pin" /></td></tr><tr><td><input type="button" id="w2m-insert-pin-submit" class="submit" value="'+trans("Potrdi")+'" />&nbsp; &nbsp;<a href="#" class="w2m-send-pin-again">'+trans("Ponovno pošlji PIN")+'</a></td></tr></table></form><p class="error">&nbsp;</p></div></div><div style="display:none;"><div id="w2m-msg" class="w2m-container"><p class="success">'+trans("Vsebina je bila uspešno poslana.")+"</p></div></div>";
dom.query("body").append(d);var a='<div style="display:none;"><div id="w2m-subscription-phone-info-container"><p class="subscription-instructions"></p>'+trans("Cena vsakokrat poslane vsebine je")+' <span id="contentPriceSubscription">'+trans("(fetching price...)")+'</span>.<br /><br /> <div id="w2m-SubscriptionPopupMessage"></div> <form id="w2m-subscription-phone-info" method="post"><table cellpadding="0" cellspacing="0" border="0"><tr><td><label for="operator">'+trans("Mobilni operater")+'</label><br /><select name="w2m-subscription-operator_id" id="w2m-subscription-operator_id">'+this.getMobileOperators()+'</select></td></tr><tr><td><label for="w2m-subscription-msisdn">'+trans("Telefonska številka")+'</label><br /><input type="text" name="w2m-subscription-msisdn" id="w2m-subscription-msisdn" /></td></tr><tr><td class="terms"><div class="checkbox-container"><input type="checkbox" name="terms" id="w2m-subscription-terms" class="checkbox" /></div><label for="w2m-subscription-terms">'+trans("Strinjam se s")+' <a target="_blank" href="'+trans("link_do_pogojev")+'">'+trans("Splošnimi pogoji")+'</a></label></td></tr><tr><td><input type="button" id="w2m-subscription-phone-info-submit" class="submit" disabled="disabled" value="'+trans("fetching price...")+'" /><br/> <img id="w2m-subscription-phone-info-loader" src="http://'+locationHost+'/images/w2m/colorbox/loading.gif" /><br/><br/>'+trans("Za odjavo pošljite")+" <span id='w2m-SubscriptionKeyword'>...</span> STOP "+trans("na")+' <span id=\'w2m-SubscriptionShortNumber\'>...</span> </td></tr></table></form><p class="error">&nbsp;</p></div></div><div style="display:none;"><div id="w2m-subscription-insert-pin-container"><p class="instructions">'+trans("Vnesi PIN, ki si ga prejel po SMSu.")+'</p><form id="insert-pin" method="post"><table cellpadding="0" cellspacing="0" border="0"><tr><td><label for="w2m-subscription-pin">'+trans("PIN")+'</label><input type="text" id="w2m-subscription-pin" name="w2m-subscription-pin" /></td></tr><tr><td><input type="button" id="w2m-subscription-insert-pin-submit" class="w2m-subscription-submit" value="'+trans("Potrdi")+'" /><a href="#" class="w2m-subscription-send-pin-again">'+trans("Ponovno pošlji PIN")+'</a></td></tr></table></form><p class="error">&nbsp;</p></div></div><div style="display:none;"><div id="w2m-subscription-msg"><p class="success">'+trans("Uspešno ste se prijavili na vsebino.")+"</p></div></div>";
dom.query("body").append(a);if(web2Mobile.siteParams.banner!=null){var b="http://"+locationHost+web2Mobile.siteParams.banner;var c='<img src="'+b+'" border="0" alt="" width="200" style="margin-bottom:10px;" /><br />';
dom.query(".instructions").before(c);dom.query(".subscription-instructions").before(c)}var e=web2Mobile.siteParams.customHeaderText;if(e.length){e+="<br /><br />"}dom.query(".instructions").before(e);web2Mobile.rebind()
}};function addOnloadEvent(b){if(typeof window.addEventListener!="undefined"){window.addEventListener("load",b,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",b)}else{if(window.onload!=null){var a=window.onload;
window.onload=function(c){a(c);window[b]()}}else{window.onload=b}}}}var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(c){var a="";var k,h,f,j,g,e,d;
var b=0;c=Base64._utf8_encode(c);while(b<c.length){k=c.charCodeAt(b++);h=c.charCodeAt(b++);f=c.charCodeAt(b++);j=k>>2;g=((k&3)<<4)|(h>>4);e=((h&15)<<2)|(f>>6);d=f&63;if(isNaN(h)){e=d=64}else{if(isNaN(f)){d=64
}}a=a+this._keyStr.charAt(j)+this._keyStr.charAt(g)+this._keyStr.charAt(e)+this._keyStr.charAt(d)}a.replace("+","-");a.replace("/","_");return a},decode:function(c){var a="";var k,h,f;var j,g,e,d;var b=0;
c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(b<c.length){j=this._keyStr.indexOf(c.charAt(b++));g=this._keyStr.indexOf(c.charAt(b++));e=this._keyStr.indexOf(c.charAt(b++));d=this._keyStr.indexOf(c.charAt(b++));
k=(j<<2)|(g>>4);h=((g&15)<<4)|(e>>2);f=((e&3)<<6)|d;a=a+String.fromCharCode(k);if(e!=64){a=a+String.fromCharCode(h)}if(d!=64){a=a+String.fromCharCode(f)}}a=Base64._utf8_decode(a);a.replace("-","+");a.replace("_","/");
return a},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e<b.length;e++){var d=b.charCodeAt(e);if(d<128){a+=String.fromCharCode(d)}else{if((d>127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);
a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a},_utf8_decode:function(a){var b="";var d=0;
var e=c1=c2=0;while(d<a.length){e=a.charCodeAt(d);if(e<128){b+=String.fromCharCode(e);d++}else{if((e>191)&&(e<224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((e&31)<<6)|(c2&63));d+=2}else{c2=a.charCodeAt(d+1);
c3=a.charCodeAt(d+2);b+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));d+=3}}}return b}};
