function startanim(){
	if(window.timer!=null) clearInterval(window.timer);
	document.images['anim_2'].setAttribute('tmpstop',"");
	window.timer = setInterval(anim, 250);
}

function stopanim(stoppic){
	document.images['anim_2'].setAttribute('tmpstop',stoppic);
}

function anim(){
	numpic=document.images['anim_2'].getAttribute('tmpstart');
	if(numpic==2) document.images['anim_'+numpixmax].src="images/point_gray.gif";
	else document.images['anim_'+(numpic-1)].src="images/point_gray.gif";
	document.images['anim_'+numpic].src="images/point2.gif";
	stoppic=document.images['anim_2'].getAttribute('tmpstop');
	if(numpic==stoppic)	clearInterval(window.timer);
	else{
		numpic++;
		if(numpic>numpixmax) numpic=2;
		document.images['anim_2'].setAttribute('tmpstart',numpic);
	}
}

function PrintCopyR(estyear){
	var now = new Date();
	var year = now.getYear();
	if(year < 1900)
		year += 1900; // if date from Netscape, then add 1900
		
	if(estyear==year) document.write(year);
	else document.write(estyear+"-"+year);

}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

