4 var f9a_widget_$widget_id = {
7 entrypoint : "$entrypoint",
9 widgetid: "$widget_id",
13 var args = new Array();
15 args['s']=window.location.href;
16 args['a']=this.argstr;
17 var urlencodedargs = new Array();
19 if (typeof args[k] != 'function')
20 urlencodedargs.push( encodeURIComponent(k)+"="+encodeURIComponent(args[k]) );
22 var url = this.entrypoint + "?"+ urlencodedargs.join("&");
24 console.log(this.widgetid);
25 console.log(document.getElementById(this.widgetid));
26 document.getElementById(this.widgetid).innerHTML = '<iframe style="border:0px; width: '+this.width+'; height:'+this.height+'" src="'+url+'"></iframe>';
31 document.writeln("<div id='$widget_id' class='f9k_widget $type'>");
32 document.writeln("<img id='$widget_id_ld' src='$loader'>");
33 document.writeln("</div>");
35 f9a_widget_$widget_id.load();