var ceQRCode={getInfo:function(a,b,c,d,e,f){d=d+"index.php?option=com_contactenhanced&task=getQRCode&tmpl=raw";var g=(new Request.JSON({url:d,onSuccess:function(d){if(d.action=="success"&&d.code!=""){ceQRCode.draw(a,b,c,decodeURIComponent((d.code+"").replace(/\+/g,"%20")))}}})).get({id:e,opt:f})},draw:function(a,b,c,d){var e="https://chart.googleapis.com/chart?cht=qr&chs="+b+"x"+b+"&chld="+c+"&chl="+d;var f='<img src="'+e+'" />';a=document.id(a);a.set("html",f)}}