document.writeln('<script type="text/javascript">');document.writeln( 'var intervalIDcp300=0; ' );
document.writeln( 'var icp3 = 2; ' );
document.writeln( 'if (!(apmm_rotationinterval))  ' );
document.writeln( '{  ' );
document.writeln( '    var apmm_rotationinterval=3000; ' );
document.writeln( '} ' );
document.writeln( 'var btncp300 = new Array() ' );
document.writeln( 'btncp300[0] = \"\"; ' );
document.writeln( 'btncp300[1] = \"btncp3001\"; ' );
document.writeln( 'btncp300[2] = \"btncp3002\"; ' );
document.writeln( 'btncp300[3] = \"btncp3003\"; ' );
document.writeln( 'btncp300[4] = \"btncp3004\"; ' );
document.writeln( 'btncp300[5] = \"btncp3005\"; ' );
document.writeln( 'var DateOfStoriescp300 = new Array(); ' );
document.writeln( 'DateOfStoriescp300[0] = \"\";  ' );
document.writeln( 'DateOfStoriescp300[1] = \"Feb. 10, 2010\"; ' );
document.writeln( 'DateOfStoriescp300[2] = \"Feb. 09, 2010\"; ' );
document.writeln( 'DateOfStoriescp300[3] = \"Feb. 07, 2010\"; ' );
document.writeln( 'DateOfStoriescp300[4] = \"Feb. 06, 2010\"; ' );
document.writeln( 'DateOfStoriescp300[5] = \"Feb. 05, 2010\"; ' );
document.writeln( 'var StoryLinkscp300 = new Array(); ' );
document.writeln( 'StoryLinkscp300[0] = \"\";  ' );
document.writeln( 'StoryLinkscp300[1] = \"http://hosted.ap.org/dynamic/stories/C/CP02102010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\"; ' );
document.writeln( 'StoryLinkscp300[2] = \"http://hosted.ap.org/dynamic/stories/C/CP02092010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\"; ' );
document.writeln( 'StoryLinkscp300[3] = \"http://hosted.ap.org/dynamic/stories/C/CP02072010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\"; ' );
document.writeln( 'StoryLinkscp300[4] = \"http://hosted.ap.org/dynamic/stories/C/CP02062010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\"; ' );
document.writeln( 'StoryLinkscp300[5] = \"http://hosted.ap.org/dynamic/stories/C/CP02052010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\"; ' );
document.writeln( 'var Descriptioncp300 = new Array(); ' );
document.writeln( 'Descriptioncp300[0]  = \"\"; ' );
document.writeln( 'Descriptioncp300[1]  = \"Higher military spending makes these defense contractor stocks worth taking a look at.\"; ' );
document.writeln( 'Descriptioncp300[2]  = \"We are more than halfway through the quarterly earnings reporting season. Results have been strong - but stocks are down 7 percent. What gives?\"; ' );
document.writeln( 'Descriptioncp300[3]  = \"Japanese stocks are back on the rise. That leaves investors to wonder whether this time is different, whether Japanese stocks can snap their years-long run of disappointment. Analysts offer reasons for why this rise may be for real.\"; ' );
document.writeln( 'Descriptioncp300[4]  = \"Concerns that Portugal, Ireland, Greece and Spain will have trouble paying their debt rattled the markets. Here&#39;s why the so-called PIGS matter to average investor.\"; ' );
document.writeln( 'Descriptioncp300[5]  = \"What investors can learn by looking at the best-performing model investment portfolios of 2009.\"; ' );
document.writeln( 'var Imagescp300 = new Array(); ' );
document.writeln( 'Imagescp300[0] = \"\" ' );
document.writeln( 'Imagescp300[1] = \"http://hosted.ap.org/photos/C/CP02102010-300.jpg\"; ' );
document.writeln( 'Imagescp300[2] = \"http://hosted.ap.org/photos/C/CP02092010-300.jpg\"; ' );
document.writeln( 'Imagescp300[3] = \"http://hosted.ap.org/photos/C/CP02072010-300.jpg\"; ' );
document.writeln( 'Imagescp300[4] = \"http://hosted.ap.org/photos/C/CP02062010-300.jpg\"; ' );
document.writeln( 'Imagescp300[5] = \"http://hosted.ap.org/photos/C/CP02052010-300.jpg\"; ' );
document.writeln( 'function clearAllLinkcp300() { ' );
document.writeln( '    for (var link=1;link<btncp300.length;link++) { ' );
document.writeln( '        document.getElementById(\"btncp300\"+[link]).className = \"lnk_out\"; ' );
document.writeln( '    } ' );
document.writeln( '} ' );
document.writeln( 'function btn_checkcp300(index) { ' );
document.writeln( '        clearInterval(intervalIDcp300); ' );
document.writeln( '        assignInfoCp300(index); ' );
document.writeln( '        goToPauseStatecp300(); ' );
document.writeln( '} ' );
document.writeln( 'function nextcp300() { ' );
document.writeln( '    if (icp3 != 6) ' );
document.writeln( '	{    ' );
document.writeln( '	    assignInfoCp300(icp3); ' );
document.writeln( '        icp3++; ' );
document.writeln( '	}  ' );
document.writeln( '	else if (icp3 = 6)  ' );
document.writeln( '	{ ' );
document.writeln( '	    icp3 = 1; ' );
document.writeln( '		nextcp300(); ' );
document.writeln( '	} ' );
document.writeln( '} ' );
document.writeln( 'function assignInfoCp300(index) ' );
document.writeln( '{ ' );
document.writeln( '    clearAllLinkcp300(); ' );
document.writeln( '	document.getElementById(\"imagecp300\").src = Imagescp300[index]+\"\"+ appendQueryStringcp300(); ' );
document.writeln( '	document.getElementById(\"storydatecp300\").innerHTML= DateOfStoriescp300[index]; ' );
document.writeln( '    document.getElementById(\"imagelinkcp300\").href = StoryLinkscp300[index]; ' );
document.writeln( '	document.getElementById(\"p_desccp300\").innerHTML= Descriptioncp300[index]; ' );
document.writeln( '	document.getElementById(\"readstorycp300\").href = StoryLinkscp300[index]; ' );
document.writeln( '	document.getElementById(\"btncp300\"+[index]).className = \"lnk_over\"; ' );
document.writeln( '} ' );
document.writeln( 'function nextimgcp300(){ ' );
document.writeln( '    clearInterval(intervalIDcp300); ' );
document.writeln( '    document.getElementById(\"pause_btncp300\").className = \"ps_nav\"; ' );
document.writeln( '    document.getElementById(\"play_btncp300\").className = \"pl_nav_over\"; ' );
document.writeln( '    intervalIDcp300= setInterval(nextcp300, apmm_rotationinterval); ' );
document.writeln( '} ' );
document.writeln( 'function pauseimgcp300(){ ' );
document.writeln( '    clearInterval(intervalIDcp300); ' );
document.writeln( '    goToPauseStatecp300(); ' );
document.writeln( '} ' );
document.writeln( 'function appendQueryStringcp300() ' );
document.writeln( '{ ' );
document.writeln( '    return \'?SITE=CAFRE&Rand=\' + getRandomNumber(); ' );
document.writeln( '} ' );
document.writeln( 'function goToPauseStatecp300() { ' );
document.writeln( '    document.getElementById(\"pause_btncp300\").className = \"ps_nav_over\"; ' );
document.writeln( '	document.getElementById(\"play_btncp300\").className = \"pl_nav\"; ' );
document.writeln( '} ' );
document.writeln( 'function getRandomNumber() ' );
document.writeln( '{ ' );
document.writeln( '	return Math.floor(Math.random()*100000) ' );
document.writeln( '} ' );
document.writeln('</script>');
document.writeln( '	    <div id=\"cntr5\" class=\"mdl_body_ap\"> ' );
document.writeln( '		    <a id=\'imagelinkcp300\' href=\"http://hosted.ap.org/dynamic/stories/C/CP02052010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\" class=\"a_img\"><img id=\'imagecp300\' src=\"http://hosted.ap.org/photos/C/CP02102010-300.jpg?SITE=CAFRE&Rand=-1132552131\" alt=\"Click for Full Story\" /></a> ' );
document.writeln( '		    <div class=\"mdl_frm_ap\"> ' );
document.writeln( '            <p id=\'p_desccp300\' class=\"mdl_txt_ap\" >Higher military spending makes these defense contractor stocks worth taking a look at.</p> ' );
document.writeln( '             <a id=\"readstorycp300\" href=\"http://hosted.ap.org/dynamic/stories/C/CP02102010?SITE=CAFRE&SECTION=DJSP_COMPLETE&TEMPLATE=DEFAULT\" class=\"mdl_mrLnk_ap\">Read Story</a> ' );
document.writeln( '			 <span id=\'storydatecp300\' class=\"dt_stmp_ap\" >Feb. 10, 2010</span> ' );
document.writeln( '			 </div> ' );
document.writeln( '            <div class=\"md_navBar_ap\"><a href=\"#\" style=\"padding:0; margin:0\"></a><a href=\"javascript:btn_checkcp300(1)\" id=\"btncp3001\" class=\"lnk_over\">1</a><a href=\"javascript:btn_checkcp300(2)\" id=\"btncp3002\" class=\"lnk_out\">2</a><a href=\"javascript:btn_checkcp300(3)\" id=\"btncp3003\" class=\"lnk_out\">3</a><a href=\"javascript:btn_checkcp300(4)\" id=\"btncp3004\" class=\"lnk_out\">4</a><a href=\"javascript:btn_checkcp300(5)\" id=\"btncp3005\" class=\"lnk_out\">5</a><a id=\'pause_btncp300\' href=\"javascript:void(0)\" class=\"ps_nav\" onclick=\"pauseimgcp300();\" >&nbsp;</a><a id=\'play_btncp300\' href=\"javascript:void(0)\" class=\"pl_nav_over\" onclick=\"nextimgcp300();\">&nbsp;</a></div> ' );
document.writeln( '        </div> ' );
document.writeln( ' <script type=\"text/javascript\"> nextimgcp300();</script> ' );
