/* created this file by deleting a bunch of features that are not used by the goldbar
version of the FDU website, implemented 5/30/2008 

Then a new round of update, based on fdu0605-4.js, to use this for the Admissions main page fours */

//Rotating Image Script

var four_num;
fourtail = 'four.jpg" alt="Admissions Pages" width="749" height="298" border="0" usemap="#fournav">';
fourfront = '<img src="http://cms.fdu.edu/files/admission';


//randomly select & display header photos:
function rand_order(numavail) {
var numavail;
var order_value = -1;
while ( (order_value < 1) || (order_value > numavail) || (isNaN(order_value)) ) 
{
order_value = parseInt(Math.random() * (numavail + 1));
}
return order_value;
}
four_num = rand_order(4);
if (four_num < 10) {four_num = '0' + four_num};

//quickfind menu:
function goto_URL(newPage)
 {
   nextPage = newPage.options[newPage.selectedIndex].value
   if (nextPage != "")
   { document.location.href = nextPage }
 }
 
 


