// Installation:
// 

function rotate() {
	current=document["swap"].src
	type=current.substring(current.length-4, current.length);
	randmax=current.substring(current.lastIndexOf("/")+1,current.lastIndexOf("."))-1;
	path=current.substring(0,current.lastIndexOf("/")+1);
	rotate=path+rand(randmax)+type;
	document["swap"].src = rotate;
}
// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)
// See:  http://www.msc.cornell.edu/~houle/javascript/randomizer.html

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
        return Math.ceil(rnd()*number);
};