if (! window.imooch) var imooch = {}; imooch.getId = function (el) { if (! el) el = {}; if (! el.id) { el.id = "imooch_"+ parseInt(Math.random() *100000000); } return el.id; } imooch.api_placer = function (host, module, html, css, js, id, isTiny) { var head = document.getElementsByTagName('head')[0]; if (id && document.getElementById(id)) { var tmpId = id; document.getElementById(id).className += ' imooch_api'+ (isTiny ? ' imooch_api_tiny':''); } else { var tmpId = imooch.getId(); document.write('
'); } setTimeout(function (html, id) { return function () { var El = document.getElementById(id); if (El) El.innerHTML = html; } }(html, tmpId), 10); if (css && css != '') { var elStyle = document.createElement('style'); elStyle.setAttribute('type', 'text/css'); head.appendChild(elStyle); var prependId = ''; var elTrg = document.getElementById(tmpId); if (elTrg) { var elUp = elTrg; while (elUp = elUp.parentNode) { if (elUp.id) { prependId = elUp.id; break; } } if (prependId != '') prependId = '#'+ prependId +' '; } // add some specificity with two ancestral IDs, and convert relative/root URLs to absolute cssWithIDs = css.replace(/^(\* html |\*\:first\-child\+html )?div\.imooch_/mgi, '$1'+ prependId +'#'+ tmpId +' div.imooch_'); cssWithIDsAndHost = cssWithIDs.replace(/\burl\(img/gi, 'url('+ host +'/api/'+ module +'/img'); cssWithIDsAndHost = cssWithIDs.replace(/\burl\(\//gi, 'url('+ host +'/'); try { // DOM elStyle.appendChild(document.createTextNode(cssWithIDsAndHost)); } catch (e) { try { // IE elStyle.styleSheet.cssText = cssWithIDsAndHost; } catch (e) { // last-ditch attempt document.write(''); } } } if (js && js != '') { var jsId = 'imooch_' + js.substring(js.indexOf('/api/') +5, js.length -4).replace(/[^\w]/, '_'); if (! document.getElementById(jsId)) { var scrp = document.createElement('scr\ipt'); scrp.setAttribute('type', 'text/javascript'); scrp.setAttribute('src', js); head.appendChild(scrp); scrp.id = jsId; } } } imooch.api_placer( 'http://www.imooch.com', 'banner', '
\n

imooch<\/a><\/h1>\n
    \n
  • No mooches found. I was looking for the 1 most earned mooch by mmonbg.<\/li>\n<\/ul>\n<\/div>', '/*\n common api-module styles -- DO NOT MODIFY\n these styles are in each css file, and so modifications\n to one may override the standard values in another if\n they are included on the same page by a user.\n*/\ndiv.imooch_api {\n position:relative;\n width:220px;\n color:#2e0d10;\n background:#f9faf3;\n text-align:center;\n}\ndiv.imooch_api_tiny {\n width:85px;\n font-size:9px;\n}\n\ndiv.imooch_api * {\n font:11px Tahoma, Arial, sans-serif;\n background:none;\n margin:0; padding:0;\n line-height:inherit;\n height:auto; width:auto;\n min-height:0; min-width:0;\n max-height:none; max-width:none;\n list-style:none;\n}\n\ndiv.imooch_api h1 {\n background:#c65858 url(/img/widget/head_bg.jpg) 0 0 repeat-x;\n text-align:left;\n}\ndiv.imooch_api h1 a {\n display:block;\n width:78px;\n height:21px;\n overflow:hidden;\n text-indent:-1000em;\n background:transparent url(/img/widget/imooch_logo_sm.gif) 3px 2px no-repeat;\n}\ndiv.imooch_api_tiny h1 a {\n width:85px;\n background-position:9px 2px;\n}\n\ndiv.imooch_api li { padding:11px; }\ndiv.imooch_api_tiny li { padding:5px; }\n\ndiv.imooch_api p {\n color:#814241;\n line-height:1.5;\n}\ndiv.imooch_api p a { color:#814241; }\ndiv.imooch_api p span { white-space:nowrap; }\n/* END: common styles */\n\n\ndiv.imooch_banner { \n background:#f9faf3 url(/img/widget/bg_grad.jpg) 0 0 repeat-x;\n}\ndiv.imooch_banner h2 {\n position:absolute;\n top:0; right:5px; bottom:auto; left:auto;\n height:21px;\n line-height:21px;\n font-size:11px;\n letter-spacing:normal;\n text-align:right;\n}\n*:first-child+html div.imooch_banner h2 { padding-top:3px; }\n* html div.imooch_banner h2 { padding-top:3px; }\ndiv.imooch_api_tiny div.imooch_banner h2 {\n position:static;\n text-align:center;\n height:auto;\n font-size:9px;\n line-height:1.25;\n padding:0.25em;\n}\n\ndiv.imooch_banner h2 span,\ndiv.imooch_banner h2 a { white-space:nowrap; }\ndiv.imooch_banner h2 a {\n text-decoration:none;\n color:#ffc5be;\n}\ndiv.imooch_api_tiny div.imooch_banner h2 a,\ndiv.imooch_api_tiny div.imooch_banner h2 span { color:#2e0d10; font-size:inherit; }\ndiv.imooch_api_tiny div.imooch_banner h2 a { text-decoration:underline; }\n\ndiv.imooch_banner li {\n border-top:1px solid #dcd8ce;\n border-bottom:1px solid #fff;\n}\n\ndiv.imooch_banner h3,\ndiv.imooch_banner h3 a {\n font-size:11px;\n font-weight:bold;\n color:#2e0d10;\n text-decoration:none;\n}\ndiv.imooch_banner h3 a:hover { text-decoration:underline; }\n\ndiv.imooch_banner a.imooch_feature {\n position:relative;\n top:1px; left:1px;\n display:block;\n margin:11px auto;\n width:146px; height:146px;\n background:transparent url(/img/widget/shadow.png) bottom right no-repeat;\n}\ndiv.imooch_banner a.imooch_feature img {\n position:relative;\n top:-2px; left:-2px;\n border:14px solid #fff;\n width:118px; height:118px;\n}\n\n\ndiv.imooch_api_tiny div.imooch_banner a.imooch_feature {\n margin:1px 1px 3px 2px;\n width:72px; height:72px;\n}\ndiv.imooch_api_tiny div.imooch_banner a.imooch_feature img {\n border-width:6px;\n width:60px; height:60px;\n}\n', '', '', 'make it tiny');