
	
//script for pop-up windows with all features
	
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=no,status=no,menubar=yes,toolbar=yes,resizable=yes';
win=window.open(mypage,myname,settings);}

	
	
//script for pop-up windows with no nav and other features
	
var win=null;
function LimWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}	

function mmLoadMenus() {
  if (window.mm_menu_0105052942_0) return;
  window.mm_menu_0105052942_0 = new Menu("root",165,18,"",12,"#FFFFFF","#FFFFFF","#666666","#FF9933","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0105052942_0.addMenuItem("History","location='http://allgo.org/allgo/about/history'");
  mm_menu_0105052942_0.addMenuItem("Board","location='http://allgo.org/allgo/about/board'");
  mm_menu_0105052942_0.addMenuItem("Staff","location='http://allgo.org/allgo/about/staff'");
  mm_menu_0105052942_0.addMenuItem("Volunteer&nbsp;of&nbsp;the&nbsp;Month","location='http://allgo.org/allgo/about/volunteer-of-the-month'");
   mm_menu_0105052942_0.hideOnMouseOut=true;
   mm_menu_0105052942_0.bgColor='#CCCCCC';
   mm_menu_0105052942_0.menuBorder=1;
   mm_menu_0105052942_0.menuLiteBgColor='#FFCC66';
   mm_menu_0105052942_0.menuBorderBgColor='#FFFFFF';

mm_menu_0105052942_0.writeMenus();
} // mmLoadMenus()



// animated jpeg

var c = 1;

var image1 = new Image();
image1.src = "images/a1.jpg";
var image2 = new Image();
image2.src = "images/a2.jpg";
var image3 = new Image();
image3.src = "images/a3.jpg";
var image4 = new Image();
image4.src = "images/a4.jpg";
var image5 = new Image();
image5.src = "images/a5.jpg";

function disp_img(w)
	{
	if (c == 6)
		{
		c = 1;
		}
	var img_src = "a" + c + ".jpg";
	document.ani.src = img_src;
	c++;
	}

t = setInterval("disp_img(c)", 1000);


