// JavaScript Document
// Load Appropriate flash movie variable based on visit number
loader=new Array("BEN_Flash_earth","BEN_Flash_abacus","BEN_Flash_dna")
// check the cookie counter for a number, if there is one, increment, if none, set to zero
var counter = readCookie('counter');
if (parseInt(counter) < 2){
	counter = parseInt(counter) + 1;
}
else if (parseInt(counter) == 2){
	counter = 0;
} 
else counter = 0;

// load the movie
mv = loader[counter];

// set the cookie
var cdays = 5;	
eraseCookie("counter");		
createCookie("counter", counter, cdays);