window.document.write(''); window.document.write('InvestCharts - Plataforma de Análise Técnica'); window.document.write(''); window.document.write(''); window.document.write(''); window.document.write(''); window.document.write(''); function start () { if (navigator.userAgent.indexOf("Chrome") != -1) { window.location = "http://investcharts.blogspot.com.br/2015/04/google-chrome.html"; } else { window.setInterval(updateConfig,1500); } } function setHtml () { window.document.write(''); window.document.write(''); } function updateConfig () { var cfg = investcharts.getAppConfig(); if (cfg.indexOf("CFGV") != -1) { createCookie("investcharts-cfg",cfg,30); } } function createCookie (name,value,days) { var expires = ""; if (days) { var date = new Date(); date.setTime(date.getTime() + (days*24*60*60*1000)); expires = "; expires=" + date.toGMTString(); } document.cookie = name + "=" + value + expires + "; path=/"; } function readCookie (name) { var n = name + "="; var a = document.cookie.split(';'); for (var i = 0; i < a.length; i ++) { var c = a[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(n) == 0) return c.substring(n.length,c.length); } return ""; }