








function CSSStyleSheet(){this.rules=[];this.ruleIndex=[];if(document.createStyleSheet){this.sheet=document.createStyleSheet();}else{this.styleElement=document.createElement("style");document.getElementsByTagName("head")[0].appendChild(this.styleElement);this.sheet=this.styleElement.styleSheet?this.styleElement.styleSheet:this.styleElement.sheet;}}

CSSStyleSheet.prototype.addRule=function(selectorText,ruleText){var result;if(!this.sheet){ruleText=ruleText.replace(/^\{?([^\}])/,"$1");if(!this.ruleIndex[selectorText])this.ruleIndex[selectorText]=this.rules.length;this.rules[this.ruleIndex[selectorText]]=ruleText;var cssText="";for(var sel in this.ruleIndex)cssText=sel+" {"+this.rules[this.ruleIndex[sel]]+"}";this.styleElement.innerHTML=cssText;}else if(this.sheet.addRule){ruleText=ruleText.replace(/^\{?([^\}])/,"$1");var r=this.sheet.rules.length;this.sheet.addRule(selectorText,ruleText);result=this.sheet.rules[r];this.ruleIndex[selectorText]=r;if(this.rules.length==0){this.rules=this.sheet.rules;}}else if(this.sheet.insertRule){if(!/^\{[^\}]*\}$/.test(ruleText))ruleText="{"+ruleText+"}";var r=this.sheet.cssRules.length;this.sheet.insertRule(selectorText+" "+ruleText,r);result=this.sheet.cssRules[r];this.ruleIndex[selectorText]=r;if(this.rules.length==0){this.rules=this.sheet.cssRules;}}else{alert("Cannot create rule");}return result;}

CSSStyleSheet.prototype.changeRule=function(selectorText,property,value){var index=this.ruleIndex[selectorText];if(typeof index=="undefined"){this.addRule(selectorText,property+":"+value);}if(!this.sheet){var cssText=this.rules[index];if(cssText){var propSearch=new RegExp("^(.*"+property+"\\s*\:\\s*)([^;]*)(.*)$");var ruleText=propSearch.exec(cssText);if(ruleText){if(ruleText[4]!=value){this.rules[index]=ruleText[1]+value+ruleText[3];}}else{this.rules[index]=cssText+"; "+property+": "+value+";";}cssText="";for(var sel in this.ruleIndex)cssText=sel+" {"+this.rules[this.ruleIndex[sel]]+"}";this.styleElement.innerHTML=cssText;}var cssText="";for(var sel in this.ruleIndex)cssText=sel+" {"+this.rules[this.ruleIndex[sel]]+"}";}else if(this.rules[index].style){var m=/^([^-]*)-([a-z])(.*)$/.exec(property);while(m){property=m[1]+m[2].toUpperCase()+m[3];m=/^([^-]*)-([a-z])(.*)$/.exec(property);}this.rules[index].style[property]=value;}else if(this.sheet.insertRule){var oldRule=this.rules[index];if(oldRule){var cssText=oldRule.cssText;var propSearch=new RegExp("^[^\\{]*(\\{.*"+property+"\\s*\\:\\s*)([^};]*)([^}]*})");var ruleText=propSearch.exec(cssText);if(ruleText){if(ruleText[4]!=value){cssText=ruleText[1]+value+ruleText[3];this.sheet.deleteRule(index);this.sheet.insertRule(selectorText+" "+cssText,index);}}else{var propSearch=new RegExp("\\{([^}]*)}");ruleText=propSearch.exec(cssText);cssText="{ "+ruleText[1]+"; "+property+": "+value+" }";this.sheet.deleteRule(index);this.sheet.insertRule(selectorText+" "+cssText,index);}}}}

CSSStyleSheet.prototype.getRuleProperty=function(selectorText,property){var index=this.ruleIndex[selectorText];if(typeof index=="undefined"){return;}if(!this.sheet){var cssText=this.rules[index];if(cssText){var propSearch=new RegExp("^.*"+property+"\s*\:\s*([^;]*)");var ruleText=propSearch.exec(cssText);if(ruleText){return ruleText[1];}}}else if(this.rules[index].style){var m=/^([^-]*)-([a-z])(.*)$/.exec(property);while(m){property=m[1]+m[2].toUpperCase()+m[3];m=/^([^-]*)-([a-z])(.*)$/.exec(property);}var style=this.rules[index].style;return style[property];}else if(this.sheet.insertRule){var oldRule=this.rules[index];if(oldRule){cssText=oldRule.cssText;var propSearch=new RegExp("^.*"+property+"\\s*\\:\\s*([^};]*)");var ruleText=propSearch.exec(cssText);if(ruleText){return ruleText[1];}}}}

var sheet = new CSSStyleSheet();

function URLEncode(clearString){var output='';var x=0;clearString=clearString.toString();var regex=/(^[a-zA-Z0-9_.]*)/;while(x<clearString.length){var match=regex.exec(clearString.substr(x));if(match!=null&&match.length>1&&match[1]!=''){output+=match[1];x+=match[1].length;}else{if(clearString[x]==' ')output+='+';else{var charCode=clearString.charCodeAt(x);var hexVal=charCode.toString(16);output+='%'+(hexVal.length<2?'0':'')+hexVal.toUpperCase();}x++;}}return output;}

function openArticle(url,localArticle) {
	if (url.match("^http://"+location.hostname)=="http://"+location.hostname) {
		location.href=url;
	} else {
		if (localArticle=="true") {	
			location.href='http://www.rsscockpit.com/tracker.jsp?code=OFEuc1b5VIPm28LqY6smXIBJLiPiavx9W3FUh7GUT21rHFSm0J&url='+URLEncode(url);
		} else {
			window.open('http://www.rsscockpit.com/tracker.jsp?code=OFEuc1b5VIPm28LqY6smXIBJLiPiavx9W3FUh7GUT21rHFSm0J&url='+URLEncode(url));
		}
	}
}

document.write('<div class="rss_cockpit_box9f7cd4edfa81836863e815b733a95eaf">');
document.write('<div class="rss_cockpit_item9f7cd4edfa81836863e815b733a95eaf">');
document.write('<span class="rss_cockpit_source9f7cd4edfa81836863e815b733a95eaf">Frankwatching</span><br/>');document.write('<span class="rss_cockpit_item_title9f7cd4edfa81836863e815b733a95eaf"><a class="rss_cockpit_item_title9f7cd4edfa81836863e815b733a95eaf" href="javascript:void(0);" onclick="openArticle(\'http://www.frankwatching.com/archive/2010/08/27/social-media-monitor-2010-cases-en-ontwikkelingen/\',\'false\');return false;">Social Media Monitor 2010: cases en ontwikkelingen</a></span><br class="rss_cockpit_item_title_br9f7cd4edfa81836863e815b733a95eaf"/>');
document.write('<span class="rss_cockpit_date9f7cd4edfa81836863e815b733a95eaf">27-08-2010</span><br/>');
document.write('');document.write('<span class="rss_cockpit_descr9f7cd4edfa81836863e815b733a95eaf">Op een locatie waar voorheen een traditionele mediapartij gevestigd was (het oude Trouw gebouw), werd op een donkere dag met veel wateroverlast een zonnige ...</span>');
document.write('</div>');
document.write('<div class="rss_cockpit_item9f7cd4edfa81836863e815b733a95eaf">');
document.write('<span class="rss_cockpit_source9f7cd4edfa81836863e815b733a95eaf">InCT - Nieuws</span><br/>');document.write('<span class="rss_cockpit_item_title9f7cd4edfa81836863e815b733a95eaf"><a class="rss_cockpit_item_title9f7cd4edfa81836863e815b733a95eaf" href="javascript:void(0);" onclick="openArticle(\'http://www.inct.nl/index.php?page=nieuwsartikel&amp;id=2583\',\'false\');return false;">Boekenbranche heeft voldoende toegevoegde waarde om te overleven</a></span><br class="rss_cockpit_item_title_br9f7cd4edfa81836863e815b733a95eaf"/>');
document.write('<span class="rss_cockpit_date9f7cd4edfa81836863e815b733a95eaf">27-08-2010</span><br/>');
document.write('');document.write('<span class="rss_cockpit_descr9f7cd4edfa81836863e815b733a95eaf">Mathijs Suidman, manager digitale diensten bij het Centraal Boekhuis, is optimistisch over de overlevingskansen van de boekenbranche in een digitale wereld. ...</span>');
document.write('</div>');
document.write('<div class="rss_cockpit_item9f7cd4edfa81836863e815b733a95eaf">');
document.write('<span class="rss_cockpit_source9f7cd4edfa81836863e815b733a95eaf">Checklist Erwin Blom</span><br/>');document.write('<span class="rss_cockpit_item_title9f7cd4edfa81836863e815b733a95eaf"><a class="rss_cockpit_item_title9f7cd4edfa81836863e815b733a95eaf" href="javascript:void(0);" onclick="openArticle(\'http://www.erwinblom.nl/blog/2010/8/26/realtime-search-van-google-is-goede-realtime-monitoring.html\',\'false\');return false;">Realtime search van Google is goede realtime monitoring</a></span><br class="rss_cockpit_item_title_br9f7cd4edfa81836863e815b733a95eaf"/>');
document.write('<span class="rss_cockpit_date9f7cd4edfa81836863e815b733a95eaf">26-08-2010</span><br/>');
document.write('');document.write('<span class="rss_cockpit_descr9f7cd4edfa81836863e815b733a95eaf">Zoeken op internet was tot voor kort met een specifieke vraag bij Google op zoek gaan naar het antwoord. Maar internet is danig veranderd sinds Google in ons ...</span>');
document.write('</div>');
document.write('</div>');
