
if (this == top) {

   document.writeln("<br><center><a href=http://www.stockaplus.com/ TARGET=_top><font color=blue size=+2>Click here go to www.stockaplus.com home</font></a></center>");

} else {


hopfeed_template="";
hopfeed_align='LEFT';
hopfeed_type='IFRAME';
hopfeed_affiliate_tid='';
hopfeed_affiliate='stockaplus';
hopfeed_fill_slots='true';
hopfeed_height=80;
hopfeed_width=680;
hopfeed_cellpadding=5;
hopfeed_rows=1;
hopfeed_cols=3;
hopfeed_font='Verdana, Arial, Helvetica, Sans Serif';
hopfeed_font_size='9pt';
hopfeed_font_color='#000000';
hopfeed_border_color='#FFFFFF';
hopfeed_link_font_color='#3300FF';
hopfeed_link_font_hover_color='#3300FF';
hopfeed_background_color='#FFFFFF';
hopfeed_keywords='stock, trading, investing';
hopfeed_path='http://stockaplus.hopfeed.com';
hopfeed_link_target='_blank';

var hopfeed_affiliate = (hopfeed_affiliate == null ? null : hopfeed_affiliate);
var hopfeed_env = (hopfeed_env == null || hopfeed_env == '') ? 'prod' : hopfeed_env;

//we only want to rewrite the url if we're not in a dev environment & they passed an affi.
if(hopfeed_env != "dev") {
    
    // if they passed an affi, replace www w/ affi. else keep old hopfeed_path
    if(hopfeed_affiliate != null && hopfeed_affiliate != '' && hopfeed_affiliate != 'null') {
        hopfeed_path = hopfeed_path.replace("://www","://" + hopfeed_affiliate);
    }
    
}

var hopfeed_type = (hopfeed_type==null)? 'JS':hopfeed_type;
var hopfeed_cellpadding = (hopfeed_cellpadding==null)? 5:hopfeed_cellpadding;
var hopfeed_rows = (hopfeed_rows==null)? '': hopfeed_rows;
var hopfeed_cols = (hopfeed_cols==null)? '': hopfeed_cols;
var hopfeed_affiliate_tid = (hopfeed_affiliate_tid == null)? '': hopfeed_affiliate_tid;
var hopfeed_height = (hopfeed_height==null)? '': hopfeed_height;
var hopfeed_width = (hopfeed_width==null)? '': hopfeed_width;
var hopfeed_font = (hopfeed_font==null)? '': hopfeed_font;
var hopfeed_font_size = (hopfeed_font_size==null)? '': hopfeed_font_size;
var hopfeed_font_color = (hopfeed_font_color==null)? '': hopfeed_font_color;
var hopfeed_border_color = (hopfeed_border_color==null)? '#FFFFFF': hopfeed_border_color;
var hopfeed_link_font_color = (hopfeed_link_font_color==null)? '': hopfeed_link_font_color;
var hopfeed_link_font_hover_color = (hopfeed_link_font_hover_color==null)? '': hopfeed_link_font_hover_color;
var hopfeed_background_color = (hopfeed_background_color==null)? '': hopfeed_background_color;
var hopfeed_align = (hopfeed_align==null)? '': hopfeed_align;
var hopfeed_fill_slots = (hopfeed_fill_slots==null)? '': hopfeed_fill_slots;
var hopfeed_link_target = (hopfeed_link_target==null)? '_blank': hopfeed_link_target;

var src = hopfeed_path + '/serv/hopFeedServ.htm?type=' + hopfeed_type+ '&borderColor=' + escape(hopfeed_border_color.replace(/\+/g,'%2b')) + '&fillAllSlots=' + hopfeed_fill_slots + '&align=' + hopfeed_align + '&height='+hopfeed_height+'&width='+ hopfeed_width + '&linkFontHoverColor=' + escape(hopfeed_link_font_hover_color.replace(/\+/g,'%2b')) + '&linkFontColor=' + escape(hopfeed_link_font_color.replace(/\+/g,'%2b')) + '&backgroundColor=' + escape(hopfeed_background_color.replace(/\+/g,'%2b')) + '&font=' + escape(hopfeed_font.replace(/\+/g,'%2b'))+ '&fontSize=' + hopfeed_font_size + '&fontColor=' + escape(hopfeed_font_color.replace(/\+/g,'%2b'))+ '&rows='+hopfeed_rows+'&cols='+hopfeed_cols+'&keywords=' + escape(hopfeed_keywords.replace(/\+/g,'%2b')) +'&tid='+hopfeed_affiliate_tid+ (hopfeed_affiliate == null ? '': '&affiliate='+hopfeed_affiliate)+'&cellpadding='+hopfeed_cellpadding + '&hopfeedLinkTarget=' +hopfeed_link_target;

function show_js() {
    output = '<script language="JavaScript" src="' + src + '&type=JS"></script>';
    document.write("<center>");
    document.write(output);
    document.write("</center>");
}

function show_iframe(type) {
    var output = '<iframe src="' + src + '&type='+ type+'" height="'+(hopfeed_height)+'" width="'+ (hopfeed_width) +'" style="background:' + hopfeed_background_color + ';border:1px solid ' + hopfeed_border_color + '; padding:0px;margin-top:10px" frameborder="0" scrolling="no"></iframe>';
    document.write("<center><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=" + hopfeed_width + "><TR><TD>");
    document.write(output);
    document.write("</TD></TR></TABLE></center>");
}

if (hopfeed_type == 'IFRAME' ) { 
    show_iframe(hopfeed_type);
} else {
    show_js(); 
}

   document.writeln("<br><center><a href=http://www.adtrader.com/ads/adlink.asp?SN=3235 TARGET=_blank><img src=http://www.adtrader.com/ads/adserve.asp?SN=3235&PN=2164&Desc=signal width=468 height=60 border=1 alt=The Financial Ad Trader></a></center>");
   document.writeln("<br><center><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=468><TR><TD><IFRAME WIDTH=468 HEIGHT=60 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 SRC=http://www.candlestickshop.com/bx/show.php?m=272&g=1&t=iframe><A HREF=http://www.candlestickshop.com/bx/go.php?m=272><IMG BORDER=0 SRC=http://www.candlestickshop.com/bx/show.php?m=272&g=1&t=image WIDTH=468 HEIGHT=60></A></IFRAME></TD></TR></TABLE></center>");

}

document.writeln("<br>");

