var theFeatureImages = new Array()
//feaatures with asterisk need to be added back to active features once management decides not to only feature the strategic framework page

//theFeatureImages[0] = 'images/pw_teachercertification.jpg';*add this back after notice
//theFeatureImages[1] = 'images/2008toty.jpg'; //added 4/2/2007
//theFeatureImages[1] = 'images/pw_testing2.jpg'; //added 6/29/2007
//theFeatureImages[2] = 'images/pw_student.jpg'; //added 07/06/07
//theFeatureImages[1] = 'images/pw_georgiamath.jpg'; //added 12/3/07*add this back after notice
//theFeatureImages[2] = 'images/pw_secondary.jpg'; //added 1/8/08*add this back after notice
//theFeatureImages[3] = 'images/pw_oas.jpg'; //added 1/8/08*add this back after notice
//theFeatureImages[5] = 'images/pw_lexile2008.jpg'; //added 1/28/08
//theFeatureImages[4] = 'images/pw_gradtoolkit.jpg'; //added 2/21/08*add this back after notice
//theFeatureImages[0] = 'images/pw_strategicframework.jpg'; //added 4/21/08
//theFeatureImages[0] = 'images/pw_crctretest.jpg'; //added 5/20/08
//theFeatureImages[0] = 'images/pw_ayp2008.jpg'; //Make active on AYP Release Date 
//theFeatureImages[2] = 'images/pw_advisory2.jpg'; //added 5/20/08
//theFeatureImages[1] = 'images/pw_eboard.jpg'; //added 5/20/08
//theFeatureImages[0] = 'images/pw_stimulus.jpg'; //Make active on AYP Release Date 
//theFeatureImages[0] = 'images/pw_ayp2009f.jpg'; //Make active on AYP Release Date 
//theFeatureImages[1] = 'images/pw_cybersafety.jpg'; 
//theFeatureImages[1] = 'images/pw_teachertools.jpg';
//theFeatureImages[2] = 'images/pw_parent.jpg';
theFeatureImages[0] = 'images/pw_leading.jpg'; //added 1/29/2010
theFeatureImages[1] = 'images/pw_express.jpg'; //added 1/29/2010
theFeatureImages[2] = 'images/pw_teacherline.jpg'; //added 1/29/2010
 
var theFeatureURL = new Array();
//theFeatureURL[0] = 'http://www.gapsc.com/';*add this back after notice
//theFeatureURL[1] = 'http://public/pea_communications.aspx?ViewMode=1&obj=1369';
//theFeatureURL[1] = 'http://public/ci_testing.aspx';
//theFeatureURL[3] = 'http://public.doe.k12.ga.us/pea_communications.aspx?ViewMode=1&obj=1404';
//theFeatureURL[1] = 'math.aspx';*add this back after notice
//theFeatureURL[2] = 'http://public.doe.k12.ga.us/DMGetDocument.aspx/Secondary%20redesign%20expanded%20EOCT%20model%20External%20newsletter.pdf?p=6CC6799F8C1371F64114C64519C095329FF7D89AEEF74916BFDE42C8D58C8D59&amp;Type=D';*add this back after notice
//theFeatureURL[3] = 'https://www.georgiaoas.org/';*add this back after notice 
//theFeatureURL[5] = 'http://public.doe.k12.ga.us/DMGetDocument.aspx/2008 Lexile National Conference_ Quantile Symposium.pdf?p=6CC6799F8C1371F6FCF5C36FF6C1CD2E1C8555C381CC9A602AFF1E3D9F448BD9&amp;Type=D'; 
//theFeatureURL[4] = 'ci_services.aspx#GradToolkit';*add this back after notice 
//theFeatureURL[0] = 'strategicframework.aspx';
//theFeatureURL[0] = 'math.aspx?PageReq=MathCRCT';
// theFeatureURL[0] = 'ayp2008.aspx'; //Make active on AYP Release Date 
 //theFeatureURL[2] = 'http://www.gadoe.org/pea_communications.aspx?ViewMode=1&obj=1655';
 //theFeatureURL[1] = 'https://eboard.eboardsolutions.com/index.aspx?S=1262';
  //theFeatureURL[0] = 'stimulus.aspx'; //Make active on AYP Release Date
 //theFeatureURL[0] = 'ayp2009.aspx'; //added 7/9/2009 for AYP
 //theFeatureURL[1] = 'http://www.staysafeonline.org/';  
 //theFeatureURL[1] = 'http://public.doe.k12.ga.us/pea_communications.aspx?ViewMode=1&obj=1861';
 //theFeatureURL[2] = 'http://www.gadoe.org/pea_communications.aspx?ViewMode=1&obj=1893'; 
 theFeatureURL[0] = 'http://public.doe.k12.ga.us/DMGetDocument.aspx/NAEP 2009 one-pager.pdf?p=6CC6799F8C1371F63D90042B2B788221CCA0F7B8622BA5E638DD7DFE474A76A5&amp;Type=D'; //added 1/29/2010 for AYP
  theFeatureURL[1] = 'http://gadoe.org/pea_communications.aspx?ViewMode=1&obj=1912';
 theFeatureURL[2] = 'http://public.doe.k12.ga.us/DMGetDocument.aspx/Teacherline30_320.wmv?p=6CC6799F8C1371F6FB2985B60C45EE288DF01996FB969A2EE44AB84F07AB42FC&amp;Type=D';
 
var featurelen = theFeatureImages.length; 
var featurePreBuffer = new Array()
for (var i = 0; i < featurelen; i++)
{
	featurePreBuffer[i] = new Image()
	featurePreBuffer[i].src = theFeatureImages[i];
}
var whichFeatureImage = Math.round(Math.random()*(featurelen-1)); 

function showHomeImages()
{	
	try
	{
	    if(featureimage)
	    {
	        featureimage.src=theFeatureImages[whichFeatureImage];
	        document.getElementById("feature").href=theFeatureURL[whichFeatureImage];
	    }
	}
	catch(err)
	{
	    
	}
}
function featureNext()
{	
	if (whichFeatureImage == featurelen-1)
	{
		whichFeatureImage = 0;	
	}
	else 
	{
		whichFeatureImage = whichFeatureImage + 1;	

	}
	featureimage.src=theFeatureImages[whichFeatureImage];
	document.getElementById("feature").href=theFeatureURL[whichFeatureImage];	
}
function featureBack()
{
	if (whichFeatureImage == 0)
	{
		whichFeatureImage = featurelen-1;		
	}
	else 
	{
		whichFeatureImage = whichFeatureImage - 1;	
	}
	featureimage.src=theFeatureImages[whichFeatureImage];
	document.getElementById("feature").href=theFeatureURL[whichFeatureImage];	
}

