function newToggleSection(a,f,d,c){for(de=0;de<a.length;de++){var b=document.getElementById(a[de]);if(b&&b.style){b.style.display="none"}}for(dl=0;dl<f.length;dl++){var k=document.getElementById(f[dl]);var e=document.getElementById(f[dl]+"Left");var h=document.getElementById(f[dl]+"Right");if(k&&k.style){k.className="RRTab Off";h.className="ImgTab OffRight";e.className="ImgTab OffLeft"}}var d=document.getElementById(d);if(d&&d.style){d.style.display="block"}var g=document.getElementById(c+"Left");var j=document.getElementById(c+"Right");var c=document.getElementById(c);if(c&&c.style){c.className="RRTab On";j.className="ImgTab OnRight";g.className="ImgTab OnLeft"}return false}function toggleSection(c,b,d,f){for(de=0;de<c.length;de++){var a=document.getElementById(c[de]);if(a&&a.style){a.style.display="none"}}for(dl=0;dl<b.length;dl++){var e=document.getElementById(b[dl]);if(e&&e.style){e.style.textDecoration="underline";e.style.color=""}}var d=document.getElementById(d);if(d&&d.style){d.style.display="block"}var f=document.getElementById(f);if(f&&f.style){f.style.textDecoration="none";f.style.color="#000000"}return false}function addToPortfolio(a,b){AddPortfolio=window.open(a,"new","toolbars=no,scrollbars=yes,resizable=yes,height=375,width=700")}function openDelicious(){window.open("http://del.icio.us/post?v=4&partner=mkw&noui&jump=close&url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title),"delicious","toolbar=0,width=700,height=400");return false}function openDigg(b,a){window.open("http://www.digg.com/submit?phase=2&url="+encodeURIComponent(location.href)+"&title="+b+"&bodytext="+a+"&topic=business_finance","digg","toolbar=no, scrollbars=yes,resizable=yes");return false}function storySetImage(b,a){var c=document.getElementById(b);if(c){c.src=a}}function closeLargeImage(){if(currentStoryImagePanel!=null){currentStoryImagePanel.hide();currentStoryImagePanel=null}return false}function StoryPortalLiveQuotePickup(c){try{var a=document.getElementsByClassName("changearrow");var d=c.Change();if(d>0){if(storyPortalLastArrow!="up"){for(i=0;i<a.length;i++){a[i].src="http://i.w.net/mw3/quotes/arrow-up-lg.gif"}storyPortalLastArrow="up"}}else{if(d<0){if(storyPortalLastArrow!="dn"){for(i=0;i<a.length;i++){a[i].src="http://i.w.net/mw3/quotes/arrow-dn-lg.gif"}storyPortalLastArrow="dn"}}else{if(storyPortalLastArrow!="none"){for(i=0;i<a.length;i++){a[i].src="http://i.w.net/mw3/1.gif"}storyPortalLastArrow="none"}}}}catch(b){}}var stock=window.location.search.substring(1).replace(/s=/,"").replace(/&ph=.*/,"").replace(/=/g,"").toUpperCase();var profhiave=window.location.search.substring(1).replace(/.*&ph=/,"").replace(/&pc=.*/,"");var profcloseave=window.location.search.substring(1).replace(/.*&pc=/,"").replace(/&pl=.*/,"");var profloave=window.location.search.substring(1).replace(/.*&pl=/,"").replace(/&t=.*/,"");var numtrades=window.location.search.substring(1).replace(/.*&t=/,"").replace(/&d=.*/,"");var daysave=window.location.search.substring(1).replace(/.*&d=/,"").replace(/&n=.*/,"");var sname=window.location.search.substring(1).replace(/.*&n=/,"").replace(/%20/g," ").replace(/\+/g," ").replace(/&.*=.*/,"").toUpperCase();numtrades=numtrades/13;daysave=daysave/13-1;profhiave=profhiave/73;profcloseave=profcloseave/73;profloave=profloave/73;document.title="Breakout Stocks Information for "+stock+" - "+sname;if(window.location.search.substring(1).match(/&ph=/)){document.write('<tr align="center" valign="middle"><td style="font-size: 15px;" class="thintab"><b>'+stock+"<br />("+sname+')</b></td><td style="font-size: 15px; font-weight: bold;" class="thintab"><br />'+profhiave+'%<br /><br /></td><td style="font-size: 15px; font-weight: bold;" class="thintab"><br />'+profloave+'%<br /><br /></td><td style="font-size: 15px; font-weight: bold;" class="thintab"><br />'+profcloseave+'%<br /><br /></td><td style="font-size: 15px; font-weight: bold;" class="thintab"><br />'+numtrades+"<br /><br /></td></tr>")}document.write("</table>");document.write("The average high, low, and close are for the one month period following previous breakouts.");var page=window.location;document.write("<br/><br/>");var subject="";var page=1;var qstring=window.location.search.substring(1).replace(/s=/,"").replace(/ /g,"+").replace(/%20/g,"+").replace(/&page=.*/,"");subject=window.location.search.substring(1).replace(/s=/,"").replace(/&.*/,"").replace(/ /g,"+").replace(/%20/g,"+");if(subject==""){subject="stocks"}if(subject=="stocks"){subject="stocks+-Giving+-penny"}if(window.location.search.substring(1).match(/page/)){page=window.location.search.substring(1).replace(/.*&page=/,"").replace(/&.*/,"")}else{page=1}document.write(' <script type="text/javascript" src="http://search.twitter.com/search.json?callback=parsejson3&q=$'+subject+"&rpp=5&page="+page+'"><\/script> ');function parsejson3(g){var m=g;var b="";var f="";var k="";var j=1;var a=1;var d=2;var h=5;var l="";k=window.location.search.substring(1).replace(/s=/,"").replace(/&.*/,"");if(k==""){k="stocks"}var c="<b>"+k+"</b>";l=window.location.search.substring(1).replace(/.*from:/,"").replace(/&.*/,"").replace(/s=/,"").replace(/%24/,"$");l='<a href="http://twitter.com/'+l+'" style="color: #000000; font-size: 15px"><b>'+l+"</b></a>";if(window.location.search.substring(1).match(/page/)){j=window.location.search.substring(1).replace(/.*&page=/,"").replace(/&.*/,"")}else{j=1}b+=("<br/>\n");b+=('<table width="85%" style="table-layout: fixed; background: #f2f5f9" border="0" id="symbs">\n');b+=('<tr><td width="12%">&nbsp</td><td width="88%" align="center">&nbsp</td></tr>\n');if(j==1&&m.results.length>=h){d=parseInt(j)+1;b+=('<tr><td colspan="2" align="center"><a href="?s='+qstring+"&page="+d+'" style="color: #000000" class="dimlink">Older comments &raquo</a></td></tr>\n')}if(j==1&&m.results.length<1){b+=('<tr><td colspan="2" align="center">Sorry, no comments found.</td></tr>\n')}if(j>1&&m.results.length>=h){d=parseInt(j)+1;a=parseInt(j)-1;b+=('<tr><td colspan="2" align="center"><a href="?s='+qstring+"&page="+a+'" style="color: #000000"  class="dimlink">&laquo Newer comments</a>&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <a href="?s='+qstring+"&page="+d+'" style="color: #000000"  class="dimlink">Older comments &raquo </a></td></tr>\n')}if(j>1&&m.results.length<h){a=parseInt(j)-1;b+=('<tr><td colspan="2" align="center"><a href="?s='+qstring+"&page="+a+'" style="color: #000000"  class="dimlink">&laquo Newer comments</a></td></tr>\n')}if(j>1&&m.results.length<1){b+=('<tr><td colspan="2" align="center">Sorry, no more comments found.</td></tr>\n')}b+=('<tr><td width="12%">&nbsp</td><td width="88%">&nbsp</td></tr>\n');if(m.results.length<h){h=m.results.length}for(var e=0;e<h;e++){f=m.results[e].from_user;f='<a href="http://www.topbreakoutstocks.com/news/?s=from:'+f+'" style="color: #0000aa">'+f+"</a>";usernameimg='<a href="?s=from:'+m.results[e].from_user+'" style="color: #ffffff; text-decoration: none">';b+=('<tr><td rowspan="3" width="12%" valign="top" align="right">'+usernameimg+'<img src="'+m.results[e].profile_image_url+'" width="48px" height="48px"  alt="'+k+'"></a></td><td align="left">'+relative_time_searchjson3(m.results[e].created_at.replace(/\'/,"'"))+" &nbsp "+f+"</td></tr>\n");b+=('<tr><td rowspan="2" align="left" valign="top">'+m.results[e].text.replace(/\\/g,"").replace(/(http:\/\/)([^\/\s]+)(\/?[^\s]*)/g,'<a href="$1$2$3" style="color: #000000">$1$2$3</a>').replace(/\'/,"'").replace(new RegExp(k,"gi"),c)+"</td></tr>\n");b+=('<tr><td align="left"></td></tr>\n');b+=('<tr><td align="left">&nbsp</td></tr><td align="left"></td></tr>\n')}b+=('<tr><td colspan="2" align="center">Powered by Twitter<br /><br /></td></tr>\n');b+=("</table>\n");b+=("<br />\n");document.write(""+b+"");if(window.location.search.substring(1).match(/from:/)){usernamet=m.results[e-1].from_user;usernamet='<a href="http://twitter.com/'+usernamet+'" style="color: #0000aa"><img style="vertical-align: top" src="http://www.topbreakoutstocks.com/ticon.jpg" alt="" >'+usernamet+"</a>";document.write(""+usernamet+"")}}function relative_time_searchjson3(c){var b=c.split(" ");c=b[2]+" "+b[1]+", "+b[3]+" "+b[4];var a=Date.parse(c);var d=(arguments.length>1)?arguments[1]:new Date();var e=parseInt((d.getTime()-a)/1000);e=e+(d.getTimezoneOffset()*60);if(e<60){return e.toString()+" seconds ago"}else{if(e<120){return"about a minute ago"}else{if(e<(60*60)){return(parseInt(e/60)).toString()+" minutes ago"}else{if(e<(120*60)){return"about an hour ago"}else{if(e<(24*60*60)){return"about "+(parseInt(e/3600)).toString()+" hours ago"}else{if(e<(48*60*60)){return"1 day ago"}else{return(parseInt(e/86400)).toString()+" days ago"}}}}}}}function lnb_onload(){if(document.layers&&document.layers.LNB_LAYER){document.layers.LNB_LAYER.src=lnb_URL;if(lnb_onloadH){lnb_onloadH()}}}function lnb_write(){if(this.lnb_OURL){lnb_URL=this.lnb_OURL;var f=this.lnb_OURL.indexOf("header");lnb_TURL=this.lnb_OURL.substring(0,f)+"titan"}var a=Math.floor(Math.random()*1000000);var b="";lnb_URL+="?Z="+a;if(this.lnb_I){lnb_URL+="&"+this.lnb_I;b=this.lnb_I}if(this.lnb_G){lnb_URL+="&LHG="+escape(this.lnb_G)}var d=50;var l=1;if(this.lnb_S){if(this.lnb_S==9||this.lnb_S==3||this.lnb_S==6||this.lnb_S==7){d=24}if(this.lnb_S==2){d=34}l=this.lnb_S}if(isTerraBarP){lnb_URL+="&SITE=terra.com";if(b.indexOf("THS=1")>=0){d=51}if(b.indexOf("THS=4")>=0){d=67}if(b.indexOf("THS=5")>=0){d=94}}lnb_URL+="&LHS="+l;if(this.lnb_IV&&this.lnb_IV==1){d=0;lnb_URL+="&LHIV=1"}lnb_URL+="&REF="+escape(document.referrer);var k;if(document.all){if(document.body){k=document.body.clientWidth+"x"+document.body.clientHeight}}else{k=(this.innerWidth-30)+"x"+(this.innerHeight-30)}var e=screen.width+"x"+screen.height;var c=new Date().toString();var j=escape(c);lnb_URL+="&SCRNSZ="+e;lnb_URL+="&BRSRSZ="+k;if(document.all||document.getElementById){var g='<script defer id=titan src="'+lnb_TURL+"?"+b;g+="&SCRNSIZE="+e+"&BRSRSIZE="+k+"&TIMEZONE="+j;g+='"><\/script>';lnb_URL+="&SCRNSIZE="+e+"&BRSRSIZE="+k+"&TIME="+j}else{if(document.layers){lnb_onloadH=window.onload;window.onload=lnb_onload}}lnb_write()};
