








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=fZbNCY2PI4nr5qNaOts1MpUiJLYQ4EHvDoso9Xctm3RRsljasX&url='+URLEncode(url);
		} else {
			window.open('http://www.rsscockpit.com/tracker.jsp?code=fZbNCY2PI4nr5qNaOts1MpUiJLYQ4EHvDoso9Xctm3RRsljasX&url='+URLEncode(url));
		}
	}
}
sheet.addRule(".rss_cockpit_item736d251903b3967c374b81b876578706", "font-family: Arial;font-size: 13px;font-style: normal; font-weight: normal;padding-bottom:7px; padding-right:5px; padding-left:5px;");
sheet.addRule("ul.rss_cockpit_items736d251903b3967c374b81b876578706", "list-style-type: disc; padding-left:22px;");
sheet.addRule(".rss_cockpit_date736d251903b3967c374b81b876578706", "color: #025fac;font-size: 11px;font-style: normal; font-weight: normal;");
sheet.addRule(".rss_cockpit_source736d251903b3967c374b81b876578706", "font-size: 11px;font-style: normal; font-weight: normal;");
sheet.addRule(".rss_cockpit_item_title736d251903b3967c374b81b876578706", "font-family: Arial;font-size: 13px;font-style: normal; font-weight: normal;");
sheet.addRule(".rss_cockpit_item_title_br736d251903b3967c374b81b876578706", "margin:4px");
sheet.addRule(".rss_cockpit_item_title736d251903b3967c374b81b876578706 a:link", "text-decoration : none; margin-left:0px;border-bottom: 1px solid #104d7c; color: #104d7c;");
sheet.addRule(".rss_cockpit_item_title736d251903b3967c374b81b876578706 a:visited", "text-decoration : none; margin-left:0px;border-bottom: 1px solid #104d7c; color: #104d7c;");
sheet.addRule(".rss_cockpit_item_title736d251903b3967c374b81b876578706 a:active", "text-decoration : none; margin-left:0px;border-bottom: 1px solid #104d7c; color: #104d7c;");
sheet.addRule(".rss_cockpit_item_title736d251903b3967c374b81b876578706 a:hover", "text-decoration : none;	margin-left:0px;color: #104d7c;	border-bottom: 1px dotted #e9f4f8;");
sheet.addRule(".rss_cockpit_box736d251903b3967c374b81b876578706", "text-align: left; border-width: 0px; border-color: #000000; border-style: solid;background-color: #e9f4f8; padding:0px;margin:0 0;padding-top:7px;");
sheet.addRule(".rss_cockpit_title736d251903b3967c374b81b876578706", "font-family: Arial;color: #000000;font-size: 18px;font-style: normal; font-weight: normal; padding:5px;margin-bottom:7px ;  letter-spacing: 1px;");
sheet.addRule(".rss_cockpit_descr736d251903b3967c374b81b876578706", "font-size: 11px;font-style: normal; font-weight: normal;");

document.write('<div class="rss_cockpit_box736d251903b3967c374b81b876578706">');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=196" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">NOS.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://nos.nl/artikel/183663-ambassades-vs-voorbereid-op-geweld.html\',\'false\');return false;">Ambassades VS voorbereid op geweld</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">09-09-2010 02:06</span><br/>');
document.write('');document.write('</div>');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=1" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">Nu.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://www.nu.nl/buitenland/2329459/macht-president-sri-lanka-fors-uitgebreid.html\',\'false\');return false;">Macht president Sri Lanka fors uitgebreid</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">09-09-2010 00:47</span><br/>');
document.write('');document.write('</div>');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=1" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">Nu.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://www.nu.nl/politiek/2329462/wilders-deed-geen-aangifte-blogger.html\',\'false\');return false;">Wilders deed geen aangifte tegen blogger</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">09-09-2010 00:15</span><br/>');
document.write('');document.write('</div>');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=1" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">Nu.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://www.nu.nl/binnenland/2329227/extra-politie-en-buurtvaders-bij-suikerfeest.html\',\'false\');return false;">Extra politie en buurtvaders bij Suikerfeest</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">08-09-2010 23:42</span><br/>');
document.write('');document.write('</div>');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=1" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">Nu.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://www.nu.nl/binnenland/2329237/meisje-16-neergestoken-in-rotterdam.html\',\'false\');return false;">Meisje (16) neergestoken in Rotterdam</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">08-09-2010 23:38</span><br/>');
document.write('');document.write('</div>');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=2" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">Nieuws.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://www.nieuws.nl/610148\',\'false\');return false;">China ontvangt Birmese leider hartelijk</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">08-09-2010 23:10</span><br/>');
document.write('');document.write('</div>');
document.write('<div class="rss_cockpit_item736d251903b3967c374b81b876578706">');
document.write('<img src="http://www.rsscockpit.com/widget.do?action=logo&id=2" border="0" width="16"/>&#160;<span class="rss_cockpit_source736d251903b3967c374b81b876578706">Nieuws.nl</span><br/>');document.write('<span class="rss_cockpit_item_title736d251903b3967c374b81b876578706"><a class="rss_cockpit_item_title736d251903b3967c374b81b876578706" href="javascript:void(0);" onclick="openArticle(\'http://www.nieuws.nl/610145\',\'false\');return false;">Lagere straffen voor diefstal beelden Singer Museum</a></span><br class="rss_cockpit_item_title_br736d251903b3967c374b81b876578706"/>');
document.write('<span class="rss_cockpit_date736d251903b3967c374b81b876578706">08-09-2010 23:00</span><br/>');
document.write('');document.write('</div>');
document.write('</div>');
