ua = navigator.userAgent.toLowerCase(); ie6 = (ua.indexOf("msie") && document.all && ua.indexOf("netscape") == -1); nnf = (ua.indexOf("netscape") != -1 && ua.indexOf("gecko") != -1); nni = (ua.indexOf("netscape") != -1 && ua.indexOf("msie") != -1); nn6 = (ua.indexOf("netscape") != -1); gek = (ua.indexOf("gecko") != -1); ff1 = (ua.indexOf("firefox") != -1); opr = (ua.indexOf("opera") != -1); mac = (ua.indexOf("mac") != -1); web = (ua.indexOf("webtv") != -1); saf = (ua.indexOf("safari") != -1); kon = (ua.indexOf("konqueror") != -1); nn4 = (document.layers); if (!ie6) { var contentDiv = "c_userBlock_tag1"; var original_write = document.write; document.getElementById(contentDiv).innerHTML = ""; document.write = function(str){ var moz = !window.opera && !/Apple/.test(navigator.vendor); // Watch for writing out closing tags, we just // ignore these (as we auto-generate our own) if ( str.match(/^<\//) ) return; // Make sure & are formatted properly, but Opera // messes this up and just ignores it if ( !window.opera ) str = str.replace(/&(?![#a-z0-9]+;)/g, "&"); // Watch for when no closing tag is provided // (Only does one element, quite weak) str = str.replace(/<([a-z]+)(.*[^\/])>$/, "<$1$2>"); // Mozilla assumes that everything in XHTML innerHTML // is actually XHTML - Opera and Safari assume that it's XML if ( !moz ) str = str.replace(/(<[a-z]+)/g, "$1 xmlns='http://www.w3.org/1999/xhtml'"); // The HTML needs to be within a XHTML element var div = document.createElementNS("http://www.w3.org/1999/xhtml","div"); div.innerHTML = str; // Find the last element in the document var pos; // Opera and Safari treat getElementsByTagName("*") accurately // always including the last element on the page if ( !moz ) { pos = document.getElementsByTagName("*"); pos = pos[pos.length - 1]; // Mozilla does not, we have to traverse manually } else { pos = document; while ( pos.lastChild && pos.lastChild.nodeType == 1 ) pos = pos.lastChild; } pos = document.getElementById(contentDiv); // Add all the nodes in that position var nodes = div.childNodes; while ( nodes.length ) pos.appendChild( nodes[0] ); }; } document.write("
Today, 24 November 2009
"); document.write("
  • › Wiseman or conman?
  • "); document.write("
  • › Emigration ins and outs
  • "); document.write("
  • › Investing in Satrix
  • "); document.write("
  • › Amway doesn't deliver
  • "); document.write("
    "); document.write("
    Yesterday, 23 November 2009
    "); document.write("
  • › How to save efficiently
  • "); document.write("
  • › Maturing RA: what now?
  • "); document.write("
  • › Maturing RA: what now?
  • "); document.write("
  • › Retrenchment and tax
  • "); document.write("
  • › Emigration: cash it in?
  • "); if (!ie6) { document.write = original_write; }