// <SCRIPT LANGUAGE="JavaScript" SRC="GA.js">
allGA = new Array( 
1,'GA.htm','RSA Government Affairs...','RSA Government Affairs'
,2,'RSAe-News-NIHAppropriations2011-12-19.pdf','12.20.2011','RSA e-News - NIH Appropriations',2,'GA-NIHReorgLetterToMembers.pdf','11.01.2011','Letter to Members - NIH Reorganization - by Dr. Mark Goldman'
,2,'GA-GAACCoverLetter.pdf','10.31.2011','GAAC Cover Letter - NIH Reorganization - let your voice be heard...'
,2,'GA-RSAMemberTemplateLetter-AddictionInstitute.pdf','&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;a)','RSA Member Template - Addiction Institute'
,2,'GA-GACCTalkingPointsAndHistory.pdf','&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;b)','Talking points and History'
,2,'GA-LetterToJointCommitteeOnDeficitReduction.pdf','10.14.2011','Letter to Joint Committee on Deficit Reduction - by Dr. Mark Goldman'
,2,'http://smrb.od.nih.gov/','09.15.2011','Scientific Management Review Board website'
,2,'http://videocast.nih.gov/','09.15.2011','NIH videocasts – you can search for any of the SMRB meetings' 
,2,'http://nihvideoidol1.cit.nih.gov:8080/NIH/widgets/hyperlinking/autosuggest.jsp?seconds=0&filetype=FLASH&realplayer=http://videocast.nih.gov/flashvod.xml?id=10367&offset=0&url=http%3A%2F%2Fvideocast.nih.gov%2FSummary.asp%3FFile%3D16868&id=10367&links=NIAAA&v=c&fileid=16868&q=%28NIAAA%29','09.15.2011','link for the September joint council of NIDA and NIAAA'
,2,'2011-04-11RSAWhitePaper.pdf','04.11.2011','RSA White Paper - Impact of Alcoholism   and Alcohol Induced Disease on America'
);

homeNews = new Array( 
1,'news.htm','RSA Recognizes...','RSA News'
,2,'Cederbaum-MeetTheResearcher.pdf','01.15.2012','Meet the Researchers - Arthur Cederbaum, Ph.D.'
,2,'Harris-MeetTheResearcher.pdf','10.03.2011','Meet the Researchers - R. Adron Harris, Ph.D.'
,2,'Dick-MeetTheResearcher.pdf','10.02.2011','Meet the Researchers - Danielle M. Dick, Ph.D. '
,2,'2012meet-indexAbs.htm','09.27.2011','2012 Meeting Announcement'
,2,'PECASE-RSAannounce.pdf','05.24.2011','PECASE award presented to Kimberly Nixon, Ph.D.'
,2,'2011Election.pdf','05.03 2011','2011 Election Report'
,2,'2011-ISAJE-AwardApplication.pdf','02.17.2011','2011 ISAJE Award Application'
);
function doGA(nameGA)
{
   var numGA = nameGA.length / 4;
  
   for (i = 1; i < numGA; i++) 
   {
      i4 = i * 4;
	  //alert('link='+nameGA[i4+1]+' i='+i);
      fixedName = fixLink(nameGA[i4+1]);
	  if (fixedName.indexOf('.pdf') > 1
	  ||  fixedName.indexOf('http://') == 0
	  ||  fixedName.indexOf('https://') == 0)
		      target='target=_blank ';
	  else
		      target='';

	 document.writeln('<br> &nbsp; <span style=color:gray>'
		   +nameGA[i4+2]+'</span> &nbsp;<a '+target+'href="' 
		   +fixedName+'"><span style=color:#365f91>&gt;'+nameGA[i4+3]
		   +'</span></a> '); 
	 if (fixedName.indexOf('.pdf') > 1 )
		       document.writeln('<img src=images/pdf.gif>');
    }
}


