(function(){
  var list = document.getElementsByTagName("script");
  var param="";
  for (var i=0;i<list.length;i++) {
    if (list[i].src.match(/flowr\.js\?(.+)$/)) {
      param = "&" + RegExp.$1;
      break;
    }
  }

  function getparam(param, re, _default) {
    var v = _default;
    if (param.match(re)) v=parseInt(RegExp.$1);
    if (v<_default) v=_default;
    return v;
  }
  var w=getparam(param, /width=(\d+)/, 176);
  var h=getparam(param, /height=(\d+)/, 80);
  document.write(
    '<iframe id="worki_state" src="http://flowr.31tools.com/state.html?url='+ 
    escape(location.href) + param+ 
    '" scrolling="no" frameborder="0" style="width:'+w+'px;height:'+h+'px;border:0;"></iframe>');
})();