<!-- Javascript functions for ATI -->

//********

// img swap for keep posted
	
		/* Functions that finds images. */
		function MM_findObj(n, d) { //v3.0
		  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
		  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
		}
		/* Functions that swaps images. */
		function MM_swapImage() { //v3.0
		  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
		   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
		}
		/* Functions that handle named groups. */
		function MM_swapImgRestore() { //v3.0
		  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
		}


//********

<!--This launches the ATI Discussion window --> 
function LaunchDiscuss () {
	var DiscussWin = window.open("atimailinglist.html", "DiscussWin", "resizable=yes,width=300,height=260");
	DiscussWin.focus();
}

<!--This launches the ATI Download window --> 
function LaunchDownload (LOAD) {
	var DownloadWin = window.open(LOAD, "DownloadWin", "resizable=yes,width=470,height=300");
	DownloadWin.focus();
}

<!--This launches the ATI Tower Locations window --> 
function LaunchTower (TOWER) {
	var TowerWin = window.open(TOWER, "TowerWin", "scrollbars=1,resizable=yes,width=520,height=400");
	TowerWin.focus();
}

<!--This launches New Browser window --> 
function LaunchNew (URL) {
	var NewWin = window.open(URL, "NewWin", "scrollbars=1,resizable=yes,width=500,height=500");
	NewWin.focus();
}

<!--This launches PDF brochures window --> 
function LaunchBrochure (PDF) {
	var BrochureWin = window.open(PDF, "BrochureWin", "scrollbars=1,resizable=yes,width=650,height=400");
	BrochureWin.focus();
}

<!--This launches a window for viewing photos -->
function LaunchPhoto (PIC) {
	var PhotoWin = window.open(PIC, "PhotoWin", "width=450,height=350");
	PhotoWin.focus();
}

<!--This launches the links and equipment window -->
function LaunchLinks (LINKS) {
	var LinksWin = window.open(LINKS, "LinksWin", "width=500,height=200");
	LinksWin.focus();
}

<!--This launches news article window -->
function LaunchNews (NEWS) {
	var NewsWin = window.open(NEWS, "NewsWin", "scrollbars=1,resizable=1,width=600,height=450");
	NewsWin.focus();
}

<!--This launches the Tag Training Guide window --> 
function LaunchTagtraining (TAG) {
	var TagtrainingWin = window.open(TAG, "TagtrainingWin", "resizable=yes,width=600,height=500");
	TagtrainingWin.focus();
}

<!--This launches the Tag Training Guide window --> // this training guide window is located on the TAG site
function LaunchTrainingguide () {
	var TrainingguideWin = window.open("http://www.theadventuregroup.com/trainingcalendar.html", "TrainingguideWin", "scrollbars=1,resizable=yes,width=670,height=500");
	TrainingguideWin.focus();
}

<!--This launches the join the email list window -->
function LaunchElist (LIST) {
	var ElistWin = window.open(LIST, "ElistWin", "scrollbars=1,resizable=1,width=600,height=650");
	ElistWin.focus();
}

