function topbanner(){

adnum = Math.random()*2;

adnum2 = Math.round(adnum);

//	if (adpop<10){

//	adName="home_ad0"+adnum;

//	}

//adName="home_ad0"+adnum2;

//document.write("<IMG SRC='highbanner/"+adName+".gif' WIDTH=120 HEIGHT=60 ALT='click here for fun!'>");

adPop=adnum2.toString();

	switch(adPop){

	
case '1': document.write("<A HREF=http://www.myspace.com/midnight_insanity TARGET=_blank><IMG SRC='topbanner/MIBanner486.jpg' WIDTH=468 HEIGHT=60 ALT='Rocky Horror Picture Show brought to you by Midnight Insanity'>"); break
case '2': document.write("<A HREF=http://www.aspcm.org TARGET=_blank><IMG SRC='http://www.inspiredillusions.net/aspcm/aspcmbanner.gif' WIDTH=468 HEIGHT=60 ALT='Fright Night is not cruel to Monsters and we are placing this on our site to prove it'>"); break
default: document.write ("<A HREF=http://www.batsday.net TARGET=_blank><IMG SRC='http://www.batsday.net/topbanner/batsdaynextbanner.gif' WIDTH=468 HEIGHT=60 ALT='Bats Day in the Fun Park'>");

	}

}





// :::::::::::::::::::::::WRITTEN BY ANDREW HOLGUIN, angelus@kontrol.net

// :::::::::::::::::::::::INSTRUCTIONS::::::::::::::::::::::::::::::::

// :::::::::

// ::::::::: Decide how many ads you want to rotate.

// ::::::::: Edit the line that says "adnum = Math.random()*3",

// ::::::::: but instead of 3, use the number of ads minus 1.

// ::::::::: This will generate a number between 0 and your number,

// ::::::::: accounting for the fact that "0" is the starting position

// :::::::::

// ::::::::: Next, look for the action called "switch" and modify

// ::::::::: each case to suit your needs. Be aware of Javascript conventions

// ::::::::: regarding punctuation.

