








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=q3yj44hRVnYYJqyMLBkuGQU4BRrEAEx73TPzPlLteh44tjxIUD&url='+URLEncode(url);
		} else {
			window.open('http://www.rsscockpit.com/tracker.jsp?code=q3yj44hRVnYYJqyMLBkuGQU4BRrEAEx73TPzPlLteh44tjxIUD&url='+URLEncode(url));
		}
	}
}
sheet.addRule(".rss_cockpit_item11afa90c0338ba4322d8332f8dc118bf", "font-family: Arial;font-size: 13px;font-style: normal; font-weight: bold;padding-bottom:7px; padding-right:5px; padding-left:5px;");
sheet.addRule("ul.rss_cockpit_items11afa90c0338ba4322d8332f8dc118bf", "list-style-type: disc; padding-left:22px;");
sheet.addRule(".rss_cockpit_date11afa90c0338ba4322d8332f8dc118bf", "color: #eb2626;font-size: 11px;font-style: normal; font-weight: bold;");
sheet.addRule(".rss_cockpit_source11afa90c0338ba4322d8332f8dc118bf", "font-size: 11px;font-style: normal; font-weight: bold;");
sheet.addRule(".rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf", "font-family: Arial;font-size: 13px;font-style: normal; font-weight: bold;");
sheet.addRule(".rss_cockpit_item_title_br11afa90c0338ba4322d8332f8dc118bf", "margin:4px");
sheet.addRule(".rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf a:link", "text-decoration : none; margin-left:0px;border-bottom: 1px solid #104D7C; color: #104D7C;");
sheet.addRule(".rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf a:visited", "text-decoration : none; margin-left:0px;border-bottom: 1px solid #104D7C; color: #104D7C;");
sheet.addRule(".rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf a:active", "text-decoration : none; margin-left:0px;border-bottom: 1px solid #104D7C; color: #104D7C;");
sheet.addRule(".rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf a:hover", "text-decoration : none;	margin-left:0px;color: #104D7C;	border-bottom: 1px dotted #e9f4f8;");
sheet.addRule(".rss_cockpit_box11afa90c0338ba4322d8332f8dc118bf", "text-align: left; border-width: 0px; border-color: #000000; border-style: solid;background-color: #e9f4f8; padding:0px;margin:0 0;width: 600px;padding-top:7px;");
sheet.addRule(".rss_cockpit_title11afa90c0338ba4322d8332f8dc118bf", "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_descr11afa90c0338ba4322d8332f8dc118bf", "font-size: 11px;font-style: normal; font-weight: normal;");

document.write('<div class="rss_cockpit_box11afa90c0338ba4322d8332f8dc118bf">');
document.write('<div class="rss_cockpit_item11afa90c0338ba4322d8332f8dc118bf">');
document.write('');document.write('<span class="rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf"><a class="rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf" href="javascript:void(0);" onclick="openArticle(\'http://www.rtl.nl/(/financien/rtlz/nieuws/)/components/financien/rtlz/2010/weken_2010/36/0908_1540_nyse.xml\',\'false\');return false;">Wall Street levert deel van de winst weer in</a></span><br class="rss_cockpit_item_title_br11afa90c0338ba4322d8332f8dc118bf"/>');
document.write('<span class="rss_cockpit_date11afa90c0338ba4322d8332f8dc118bf">09-09-2010 00:05 (RTLZ)</span><br/>');
document.write('');document.write('<span class="rss_cockpit_descr11afa90c0338ba4322d8332f8dc118bf">De effectenmarkten in New York herstelden woensdag, na de de stevige koersdalingen van de voorgaande dag.......</span>');
document.write('</div>');
document.write('<div class="rss_cockpit_item11afa90c0338ba4322d8332f8dc118bf">');
document.write('');document.write('<span class="rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf"><a class="rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf" href="javascript:void(0);" onclick="openArticle(\'http://www.beurs.nl/nieuws/buitenland/3071564/aex-fondsen-op-wall-street-slot?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss\',\'false\');return false;">AEX-fondsen op Wall Street, slot</a></span><br class="rss_cockpit_item_title_br11afa90c0338ba4322d8332f8dc118bf"/>');
document.write('<span class="rss_cockpit_date11afa90c0338ba4322d8332f8dc118bf">08-09-2010 22:35 (Beurs.nl)</span><br/>');
document.write('');document.write('<span class="rss_cockpit_descr11afa90c0338ba4322d8332f8dc118bf">AMSTERDAM (Dow Jones)--Van de AEX-fondsen met een notering in de VS, staan er na het slot van Wall Street 1 op winst in vergelijking met hun slotkoers op de ...</span>');
document.write('</div>');
document.write('<div class="rss_cockpit_item11afa90c0338ba4322d8332f8dc118bf">');
document.write('');document.write('<span class="rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf"><a class="rss_cockpit_item_title11afa90c0338ba4322d8332f8dc118bf" href="javascript:void(0);" onclick="openArticle(\'http://www.bnr.nl/artikel/20212606/wall-street-levert-deel-winst-weer\',\'false\');return false;">Wall Street levert deel van de winst weer in</a></span><br class="rss_cockpit_item_title_br11afa90c0338ba4322d8332f8dc118bf"/>');
document.write('<span class="rss_cockpit_date11afa90c0338ba4322d8332f8dc118bf">08-09-2010 21:42 (BNR Nieuwsradio  - Beurs &amp; Economie)</span><br/>');
document.write('');document.write('<span class="rss_cockpit_descr11afa90c0338ba4322d8332f8dc118bf">NEW YORK (AFN) - De effectenmarkten in New York herstelden woensdag, na de de stevige koersdalingen van de voorgaande dag. Het enthousiasme onder de beleggers ...</span>');
document.write('</div>');
document.write('</div>');
