    var swapPics = new Array();
    var swapText = new Array();
    var swapSize = new Array();
    swapPics[ 0] = '/aware/2003/images/ak-tn.jpg';
    swapSize[ 0] = 'width="255" height="194"';
    swapText[ 0] = 'Alaska';
    swapPics[ 1] = '/aware/2003/images/ar-tn.jpg';
    swapSize[ 1] = 'width="255" height="189"';
    swapText[ 1] = 'Arkansas';
    swapPics[ 2] = '/aware/2003/images/ca-lomalinda-1-tn.jpg';
    swapSize[ 2] = 'width="255" height="122"';
    swapText[ 2] = 'California (Loma Linda)';
    swapPics[ 3] = '/aware/2003/images/ca-sacramento-1-tn.jpg';
    swapSize[ 3] = 'width="255" height="164"';
    swapText[ 3] = 'California (Sacramento)';
    swapPics[ 4] = '/aware/2003/images/ca-ucla-tn.jpg';
    swapSize[ 4] = 'width="255" height="177"';
    swapText[ 4] = 'California (UCLA)';
    swapPics[ 5] = '/aware/2003/images/ct-yale-tn.jpg';
    swapSize[ 5] = 'width="255" height="189"';
    swapText[ 5] = 'Connecticut (Yale)';
    swapPics[ 6] = '/aware/2003/images/ga-choa-tn.jpg';
    swapSize[ 6] = 'width="255" height="145"';
    swapText[ 6] = 'Georgia';
    swapPics[ 7] = '/aware/2003/images/in-stvincents-tn.jpg';
    swapSize[ 7] = 'width="255" height="132"';
    swapText[ 7] = 'Indiana';
    swapPics[ 8] = '/aware/2003/images/ks-wichita-tn.jpg';
    swapSize[ 8] = 'width="255" height="137"';
    swapText[ 8] = 'Kansas';
    swapPics[ 9] = '/aware/2003/images/mi-grandrapids-1-tn.jpg';
    swapSize[ 9] = 'width="255" height="170"';
    swapText[ 9] = 'Michigan (Grand Rapids)';
    swapPics[10] = '/aware/2003/images/mi-grandrapids-2-tn.jpg';
    swapSize[10] = 'width="255" height="170"';
    swapText[10] = 'Michigan (Grand Rapids)';
    swapPics[11] = '/aware/2003/images/mi-mott-tn.jpg';
    swapSize[11] = 'width="255" height="112"';
    swapText[11] = 'Michigan (Ann Arbor)';
    swapPics[12] = '/aware/2003/images/nj-oldbridge-tn.jpg';
    swapSize[12] = 'width="255" height="223"';
    swapText[12] = 'New Jersey (Old Bridge)';
    swapPics[13] = '/aware/2003/images/ny-newrochelle-tn.jpg';
    swapSize[13] = 'width="255" height="193"';
    swapText[13] = 'New Jersey (New Rochelle)';
    swapPics[14] = '/aware/2003/images/ny-westchester-tn.jpg';
    swapSize[14] = 'width="255" height="130"';
    swapText[14] = 'New York (Westchester)';
    swapPics[15] = '/aware/2003/images/tx-austin-capitol-chin-tn.jpg';
    swapSize[15] = 'width="255" height="200"';
    swapText[15] = 'Texas (Austin/State Capitol)';
    swapPics[16] = '/aware/2003/images/tx-austin-capitol-tn.jpg';
    swapSize[16] = 'width="255" height="200"';
    swapText[16] = 'Texas (Austin/State Capitol)';
    swapPics[17] = '/aware/2003/images/tx-austin-museum-tn.jpg';
    swapSize[17] = 'width="255" height="170"';
    swapText[17] = 'Texas (Austin)';
    swapPics[18] = '/aware/2003/images/tx-colleyville-tn.jpg';
    swapSize[18] = 'width="255" height="179"';
    swapText[18] = 'Texas (Colleyville)';
    swapPics[19] = '/aware/2003/images/tx-dallas-aquarium-tn.jpg';
    swapSize[19] = 'width="255" height="127"';
    swapText[19] = 'Texas (Dallas)';
    swapPics[20] = '/aware/2003/images/va-tn.jpg';
    swapSize[20] = 'width="255" height="170"';
    swapText[20] = 'Virginia';
    swapPics[21] = '/aware/2004/images/2004-mi-devos-1.jpg';
	swapSize[21] = 'width="255" height="169"';
	swapText[21] = 'Grand Rapids, Michigan';
	swapPics[22] = '/aware/2004/images/2004-mi-devos-2.jpg';
	swapSize[22] = 'width="255" height="181"';
	swapText[22] = 'Grand Rapids, Michigan';
	swapPics[23] = '/aware/2004/images/2004-mi-lansing-1.jpg';
	swapSize[23] = 'width="255" height="205"';
	swapText[23] = 'Lansing, Michigan';
	swapPics[24] = '/aware/2004/images/2004-mi-lansing-2.jpg';
	swapSize[24] = 'width="255" height="171"';
	swapText[24] = 'Lansing, Michigan';
	swapPics[25] = '/aware/2004/images/2004-nc-charleston-1.jpg';
	swapSize[25] = 'width="255" height="341"';
	swapText[25] = 'Charleston, North Carolina';
	swapPics[26] = '/aware/2004/images/2004-nj-rutgers-1.jpg';
	swapSize[26] = 'width="255" height="188"';
	swapText[26] = 'Rutgers, New Jersey';
	swapPics[27] = '/aware/2004/images/2004-nj-rutgers-2.jpg';
	swapSize[27] = 'width="255" height="188"';
	swapText[27] = 'Rutgers, New Jersey';
	swapPics[28] = '/aware/2004/images/2004-nj-rutgers-3.jpg';
	swapSize[28] = 'width="255" height="188"';
	swapText[28] = 'Rutgers, New Jersey';
	swapPics[29] = '/aware/2004/images/2004-tx-austin-1.jpg';
	swapSize[29] = 'width="255" height="189"';
	swapText[29] = 'Austin, Texas';
	swapPics[30] = '/aware/2004/images/2004-tx-austin-2.jpg';
	swapSize[30] = 'width="255" height="189"';
	swapText[30] = 'Austin, Texas';
	swapPics[31] = '/aware/2004/images/2004-tx-dallas-1.jpg';
	swapSize[31] = 'width="255" height="309"';
	swapText[31] = 'Dallas, Texas';
	swapPics[32] = '/aware/2004/images/2004-dubai.jpg';
	swapSize[32] = 'width="255" height="162"';
	swapText[32] = 'Dubai';
	swapPics[33] = '/aware/2004/images/2004-ia-ames-1.jpg';
	swapSize[33] = 'width="255" height="178"';
	swapText[33] = 'Ames, Iowa';
	swapPics[34] = '/aware/2004/images/2004-mi-aa-1.jpg';
	swapSize[34] = 'width="255" height="170"';
	swapText[34] = 'Ann Arbor, Michigan';
	swapPics[35] = '/aware/2004/images/2005-Texas-Proc.jpg';
	swapSize[35] = 'width="170" height="246"';
	swapText[35] = '2004 Texas Proclamation';
	swapPics[36] = '/aware/2004/images/2005-Texas-Proc.jpg';
	swapSize[36] = 'width="170" height="246"';
	swapText[36] = '2004 Texas Proclamation';
	swapPics[37] = '/aware/2004/images/2005-Texas-Proc.jpg';
	swapSize[37] = 'width="170" height="246"';
	swapText[37] = '2004 Texas Proclamation';
	swapPics[38] = '/aware/2004/images/2005-Texas-Proc.jpg';
	swapSize[38] = 'width="170" height="246"';
	swapText[38] = '2004 Texas Proclamation';
	
    var numPics = 39;   // swapPics.Length+1  // elements
    var whichPic = Math.floor(Math.random()*(numPics));
    var whichPic2 = -1;

    function swapPicture()
    {
        document.write('<a href=/aware><img border=0 src="'+swapPics[whichPic]+'" '+swapSize[whichPic]+' /><\/a>');
        document.write('<br /><font size="2" color="#666600"><i>'+swapText[whichPic]+'<\/i><\/font>');
 	}

    function swapPicture2()
    {
        while (whichPic2 == -1 || whichPic2 == whichPic)
            whichPic2 = Math.floor(Math.random()*(numPics));
    
        document.write('<a href=/aware><img border=0 src="'+swapPics[whichPic2]+'" '+swapSize[whichPic2]+' /><\/a>');
        document.write('<br /><font size="2" color="#666600"><i>'+swapText[whichPic2]+'<\/i><\/font>');
 	}
 	
    // Rotate the banner based on the day of the month...
 	
   	function selectBanner()
    {
	    var numberOfBanners = 2;
	   	var curDate = new Date();
	    var curDayOfMonth = curDate.getDate();		// 0-28|30|31
	    // curDayOfMonth = curDate.getSeconds();	// swap more often for testing
	    var whichBanner = (curDayOfMonth % numberOfBanners) + 4;
	    document.join_banner.src = "art_home/hp_join_images_" + whichBanner + ".jpg";
    }
	function popUp(URL) 	// for card tns
	{
		new_window = window.open("http://tchin.org/cards/" + URL, "fullsize", 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=580,height=535,left=45,top=45', true);
		new_window.focus();             // bring to top
	}
	function popUpBigger(URL) 	// for card tns
	{
		new_window = window.open("http://tchin.org/cards/" + URL, "thumbnails", 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=700,left=15,top=15', true);
		new_window.focus();             // bring to top
	}

