Warning: fopen(stock_symbol.js) [function.fopen]: failed to open stream: Permission denied in C:\Websites\Hosted\rdxintl.com\stock_symbol\stock_symbol.php on line 71
Warning: fwrite(): supplied argument is not a valid stream resource in C:\Websites\Hosted\rdxintl.com\stock_symbol\stock_symbol.php on line 75
Warning: fclose(): supplied argument is not a valid stream resource in C:\Websites\Hosted\rdxintl.com\stock_symbol\stock_symbol.php on line 76
Warning: Cannot modify header information - headers already sent by (output started at C:\Websites\Hosted\rdxintl.com\stock_symbol\stock_symbol.php:71) in C:\Websites\Hosted\rdxintl.com\stock_symbol\stock_symbol.php on line 85
//update time: Thu Aug 12 9:19:12
stock_info = { SYM : 'RDX.V', PRICE : '0.00', DAY_CHANGE : 'N/A', DAY_CHANGE_PERCENT : 'N/A', EXCHANGE : 'N/A', _nothing : 0 };
var dom = {};
dom.eventHandler = function(){}
dom.eventHandler.patch_ev=function(){}
if(window.addEventListener){
dom.eventHandler=function(o,ev,f){
o.addEventListener(ev,f,0);
}
}else{
if(window.attachEvent){
if(typeof(dom.eventHandler.call)!='undefined'){
dom.eventHandler=function(o,ev,f,use_old){
o.attachEvent('on'+ev, function(e){
e=dom.eventHandler.patch_ev(e);
f.call(e.target,e);
});
}
}else{
dom.eventHandler=function(o,ev,f,use_old){
o.attachEvent('on'+ev, function(e){
e=dom.eventHandler.patch_ev(e);
f(e);
});
}
}
}else{
dom.eventHandler=function(o,ev,f){
ev='on'+ev;
o[ev]= new Function('return dom.eventHandler._call(this,'+(dom.eventHandler.f.push((o[ev]?o[ev]:function(){}),f)-2)+',arguments[0]);');
}
dom.eventHandler.f=[];
dom.eventHandler(window,'unload',function(){dom.eventHandler.f=[]});
dom.eventHandler._call=function(t,i,e){
e=dom.eventHandler.patch_ev(e);
var x=(false==dom.eventHandler.f[i].call(t,e)),
y=(false==dom.eventHandler.f[i+1].call(t,e));
if(typeof(e.returnValue)!='undefined')if(!e.returnValue)return false;
return !(x||y);
}
}
dom.eventHandler.patch_ev=function(e){
if(!e)e=event;
if(!e.stopPropagation) e.stopPropagation = function(){this.cancelBubble = true;};
//e.keyPressed = (e.which+1||e.keyCode+1)-1||0;
if(!e.preventDefault) e.preventDefault = function(){this.returnValue = false;};
if(!e.target)e.target = e.srcElement || null;
//if(e.target && e.target.nodeType == 3) e.target=e.target.parentNode;;
return e;
}
}
dom.eventHandler(window, "load", function(){
try{
if(!stock_info || stock_info.ERR) return;
var x = document.getElementById('stock_div');
if(!x) return;
var went_down = stock_info.DAY_CHANGE<0;
var is_0 = stock_info.DAY_CHANGE == 0;
stock_info.DAY_CHANGE_PERCENT = stock_info.DAY_CHANGE_PERCENT.replace(/\+|-/,'');
var T = 'RDX
$' + stock_info.PRICE + '';
T += '
'
if(!is_0) {
T += '
';
}
T += '— — '; // stock_info.DAY_CHANGE + ' (' + stock_info.DAY_CHANGE_PERCENT + ')' + ' ';
x.innerHTML = T;
}catch(er){}
});