// Popup opener //////////////////////////////////////////////////////////////// function popup(url, target, breedte, hoogte, toolbar, menubar, buttons, location, dirs, status, resizeable, scrollbars) { props = ""; if (breedte != 0) props = ",width="+breedte; if (hoogte != 0) props += ",height="+hoogte; if (toolbar != "no") props += ",toolbar=yes"; if (menubar != "no") props += ",menubar=yes"; if (buttons != "no") props += ",buttons=yes"; if (location != "no") props += ",location=yes"; if (dirs != "no") props += ",directories=yes"; if (status != "no") props += ",status=yes"; if (resizeable != "no") props += ",resizable=yes"; if (scrollbars != "no") props += ",scrollbars=yes"; if (props!="") props = props.substr(1); window.open( url, target, props); } // Image resizer /////////////////////////////////////////////////////////////// window.onload = resizeimg; function resizeimg() { if (document.getElementsByTagName) { for (i=0; i 468) { im.style.width = '468px'; eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','resizable=1'); pop.focus();\")"); } } } } // Google feedloader /////////////////////////////////////////////////////////// google.load("feeds", "1"); /* * c syntax: { * id {Number} * name {String} * description {String} * weblogs {Array} * } * w syntax: { * id {Number} * title {String} * description {String} * rss {String} * url {String} * image {Number} ID * categories {Array} * } */ var snlfeeds = { profile : { Feeder : { /** @param options Hash of options @option url @option callback @option numResults {Integer} @option returnXML {Boolean} Instead of JSON format use XML as returned format */ fetch : function(options){ /** use Google */ if(typeof options.url == "undefined"){ return; } var feed = new google.feeds.Feed(options.url); if(typeof options.returnXML != "undefined" && (options.returnXML)){ feed.setResultFormat(google.feeds.Feed.XML_FORMAT); } feed.setNumEntries( (options.numResults)? options.numResults : 6 ); feed.load(function(result){ if(typeof result.error == "undefined"){ options.callback(result); } }); } } } };