// Make menu array
 	

var big = new Array(); 
var caption = new Array();

var startload = false;      

	big[1]  = 'images/home1.jpg';
	big[2]  = 'images/home2.jpg';
	big[3]  = 'images/orca02aa.jpg';
	big[4]  = 'images/comgol01aa.jpg';
	big[5]  = 'images/home5.jpg';
	big[6]  = 'images/home6.jpg';
	big[7]  = 'images/home7.jpg';
	
	caption[1]  = "SeaKayaking";
	caption[2]  = "KayakSurfing";
	caption[3]  = "     Mammals";
	caption[4]  = "  Birds";
	caption[5]  = "     Wildflowers";
	caption[6]  = "    Scenics";
	caption[7]  = "Whitewater"
var iss;
var jss = 0;
var pss = big.length-1;

var preload = new Array();
for (iss = 1; iss < pss+1; iss++){
preload[iss] = new Image();
preload[iss].src = big[iss];}


function swap(num){
if (startload){ 

if (num==1) jss=1;
if (num==2) jss=2;
if (num==3) jss=3;
if (num==4) jss=4;
if (num==5) jss=5;
if (num==6) jss=6; 
if (num==7) jss=7;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;

document.images.moveit.src = preload[jss].src;
if (document.getElementById)  document.getElementById("movecaption").innerHTML= caption[jss];
  	}
	}

 var menus = new Array();
var startload = false;
	menus[1]  = "Recent adventures and upcoming events";
	menus[2]  = "Photo safaris, photo shoots, and adventures in outdoor photography and sea kayaking";
	menus[3]  = "Galleries and slideshows of outdoor images";
	menus[4]  = "Kayak, Camera, Sea. Digital age outdoor photo tips<br /><br /><!-- A new tip each month on picture taking, photo and outdoor gear, and making digital work in hostile outdoor environments-->";
	menus[5]  = "FAQ: Frequently Asked Questions, mostly about On-the-Water photography<br /><br />Tools: What's in Gary's fanny pack<br /><br />Essays: Essays on the environment, photo shoots, etc.";
	menus[6]  = "A half dozen or so images, displayed by random selection, grace the enter page"
	menus[7]  = '<!-- "Gary is the best photographer in the whole world!"  - Kathy Kyle, Alaska on the Home Shore-->'
	menus[8]  = "gluhm@garyluhm.net"
	menus[9]  = ""
	
function menusswap(num){
if (startload){ 

if (num==1) jss=1;
if (num==2) jss=2;
if (num==3) jss=3;
if (num==4) jss=4;
if (num==5) jss=5;
if (num==6) jss=6;
if (num==7) jss=7;
if (num==8) jss=8;
if (num==9) jss=9;	
if (document.getElementById)  document.getElementById("definitions").innerHTML= menus[jss];
  	}
	} 

var adventure = new Array();
var startload = false;
	adventure[1]  = "<font size='bigger'>Prince William Sound</font><br /><br />On a trip aboard the charter boat <a href='http://www.overtheseas.com'>Faithfully</a>, May 6-13, 2004, sea otters frolic, glaciers calve and migrating birds dot the shore.";
	adventure[2]  = "<font size='bigger'>Sitka Adventure Cruise</font><br /><br />Again aboard the kayak mothership <a  href='http://www.homeshore.com'>Home Shore</a>, this time for two Southeast Alaska sea kayak tours in June, 2004. Leaving from Sitka, the first tour takes us to the clean glacial ice of Endicott Arm, the second around fjord-like Baranof. . . . .";
	adventure[3]  = '<font size="bigger">2004 Santa Cruz Kayak Surf Festival</font><br /><br />"Last year it was 20-30 ft waves, this year it was rock bashing" - Dennis Judson, on the March 19-21, 2004 event with waves so small the bark of sea lions . . . .</a>';
	adventure[4]  = "<font size='bigger'>Wild Capes, Great Crepes</font><br /><br />Aboard the kayak mothership <a  href='http://www.homeshore.com'>Home Shore</a>, 5/22-6/10, 2003, we  traveled to the remote wild west side of Chichagof and Yakobi, and Lituya Bay, paddling protected bays. Then for  an encore, we scored great light on tidewater glaciers in Tracy Arm, and floated among humpback whales in the thick of a herring run.";
	adventure[5]  = '<font size="bigger">2003 Santa Cruz Kayak Surf Festival</font><br /><br />A series of storms blew in with the March 14-16, 2003 event. It was "epic".';
	adventure[6]  = "<font size='bigger'>Sun River, Oregon</font><br /><br />August, 2002. On vacation in Sun River, OR, we visit a number of local Oregon mountain lakes. Our criteria: (1) does it have a stunning mountain backdrop, and (2) is it a day trip for kayak or canoe. ";
	adventure[7]  = "<font size='bigger'>Wild Side Easy</font><br /><br />5/13-6/6, 2002. We paddled daily, but pitched no tents, cooked no meals, and left the planning to our hosts. On assignment in Southeast Alaska aboard the charter yacht <a href='http://www.myursamajor.com'>Ursa Major</a>, it was Wild Side Easy . . . ";
	adventure[8]  = "<font size='bigger'>2002 Santa Cruz Kayak Surf Festival</font><br /><br />The March, 2002, Festival started out a photo bust with Friday's pelting rain, but two hours of glistening sun on Sunday morning saved the shoot."
	adventure[9]  = "<font size='bigger'>Indian Henry's Hunting Ground</font><br /><br />On my fourth visit in five years, I finally scored in August, 2001, at Indian Henry's - images from a huge bench of mirror ponds and wildflower meadows, just a six mile backpack in."
	adventure[10]  = "<font size='bigger'>Florida</font><br /><br />The February, 2000 trip to Florida was, mostly, for the birds. I visited well-known, bird photography hot-spots, but kayaked to places that were arguably even better. South Florida stops included Ding-Darling NWR, the Venice Rookery, Myakka State Park, Corkscrew Swamp Sanctuary . . . . .";
	adventure[11]  = "<font size='bigger'>Paradise Park, Mt. Rainier</font><br /><br />Of the many sub-alpine flower gardens at Mt. Rainier, Paradise Park stands out. A dance in summer glory.";
	adventure[12]  = "<font size='bigger'>Baja by Mothership</font><br /><br />Feb., 2006. Aboard the kayak mothership  <a  href='http://www.myursamajor.com'>Ursa Major</a>, her first trip to the Sea of Cortez. . . . . .";
	adventure[13]  = "<font size='bigger'>Fords Terror</font><br /><br />Aboard the kayak mothership <a  href='http://www.homeshore.com'>Home Shore</a>, we travel from Petersburg to Sitka, paddling in Endicott Arm, Fords Terror, West Chichagof, Taylor Bay and other Southeast Alaska locations.";
	adventure[14]  = "<font size='bigger'>Utah Canyonlands</font><br /><br />A 4-wheel trip to the Needles District of Canyonlands National Park, a hike to Spanish Bottom on the Colorado, and a raft adventure through Cataract Canyon. All with <a  href='http://www.tagalong.com'>Tag-A-Long Expeditions</a>.";
	adventure[15]  = "<font size='bigger'>Johnstone Strait Orca</font></span><br /><br />On a guided kayak trip with <a href='http://www.seakayakadventures.com'>Sea Kayak Adventures</a>, we paddle east out of Telegraph Cove on Vancouver Island, British Columbia, into the realm of <i>Orcinus Orca</i>, the Killer Whale.";
	adventure[16]  = "<font size='bigger'>Glacier Bay</font></span><br /><br />Aboard kayak mothership <a  href='http://www.homeshore.com'>Home Shore</a>, we sea kayak must-do Glacier Bay National Park, with its tidewater glaciers, bears, puffins and whales.";
	adventure[17]  = "<font size='bigger'>Baja! Sea of Cortez</font></span><br /><br />An early November, 2008, guided trip with <a href='http://www.seakayakadventures.com'>Sea Kayak Adventures</a> to Baja, Mexicos Sea of Cortez, an ideal time for warm water, pleasing temperatures, moderate wind, and&#8212lucky for us&#8212blooming wildflowers in the aftermath of hurricane Norbert.";
	adventure[18]  = "<font size='bigger'>Around Isla Carmen, Sea of Cortez</font></span><br /><br />Whale Shark! A huge maw, a white-spotted gray body, a length maybe 25 feet—a Whale Shark slides silently by beneath us. Ten minutes into a Baja sea kayak trip with <a href='http://www.seakayakadventures.com'>Sea Kayak Adventures</a>, and we’re looking down at the world’s largest fish.";
	adventure[19]  = "<font size='bigger'>Gods Pocket</font></span><br /><br />A July, lodge-based sea kayak trip off the north end of Vancouver Island  with <a href='http://www.seakayakadventures.com'>Sea Kayak Adventures</a>, at a wild, and fabled, scuba destination: Gods Pocket Resort.";


function adventureswap(num){
if (startload){ 

if (num==1) jss=1;
if (num==2) jss=2;
if (num==3) jss=3;
if (num==4) jss=4;
if (num==5) jss=5;
if (num==6) jss=6;
if (num==7) jss=7;
if (num==8) jss=8;
if (num==9) jss=9;
if (num==10) jss=10;
if (num==11) jss=11;
if (num==12) jss=12;
if (num==13) jss=13;	
if (num==14) jss=14;
if (num==15) jss=15;
if (num==16) jss=16;
if (num==17) jss=17;
if (num==18) jss=18;
if (num==19) jss=19;
if (document.getElementById)  document.getElementById("adventuresnippet").innerHTML= adventure[jss];
  	}
	} 
function toggleMenu(currMenu) {
			if (document.getElementById) { 
				thisMenu = document.getElementById('submenu3').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu5').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu4').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu9').style
					thisMenu.display = "none"
				//thisMenu = document.getElementById('submenu8').style
				//	thisMenu.display = "none"
				thisMenu = document.getElementById('submenu11').style
					thisMenu.display = "none"
				
				thisMenu = document.getElementById(currMenu).style
				if (thisMenu.display == "block") {
					thisMenu.display = "none"
				}
				else {
					thisMenu.display = "block"
					
				}
				return false
			}
			else {
				return true
			}
		}
function toggleMenu2(currMenu) {
			if (document.getElementById) { 
				thisMenu = document.getElementById('submenu9').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu3').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu4').style
					thisMenu.display = "none"
				//thisMenu = document.getElementById('submenu8').style
					//thisMenu.display = "none"
				//thisMenu = document.getElementById('submenu5').style
					//thisMenu.display = "none"
				thisMenu = document.getElementById('submenu11').style
					thisMenu.display = "none"
				
				thisMenu = document.getElementById(currMenu).style
				if (thisMenu.display == "block") {
					thisMenu.display = "none"
				}
				else {
					thisMenu.display = "block"
					
				}
				return false
			}
			else {
				return true
			}
		}
function toggleMenu3(currMenu) {
			if (document.getElementById) { 
				//thisMenu = document.getElementById('submenu8').style
					//thisMenu.display = "none"
				thisMenu = document.getElementById('submenu3').style
					thisMenu.display = "none"
				//thisMenu = document.getElementById('submenu4').style
					//thisMenu.display = "none"
				thisMenu = document.getElementById('submenu9').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu5').style
					thisMenu.display = "none"
				thisMenu = document.getElementById('submenu11').style
					thisMenu.display = "none"
				
				thisMenu = document.getElementById(currMenu).style
				
				if (thisMenu.display == "block") {
					thisMenu.display = "none"
				}
				else {
					thisMenu.display = "block"
					
				}
				return false
			}
			else {
				return true
			}
		}

var newWindow = null;

function openWindow(contentURL,windowName,windowWidth,windowHeight) {
	widthHeight = 'height=' + windowHeight + ',width=' + windowWidth;
	newWindow = window.open(contentURL,windowName,widthHeight);
	newWindow.focus()
}

// Make tip arrays
 	tip = new MakeArray(2)
        tip1 = new MakeArray(2)
		
        tip[0].src = "canon_5d_sensor.jpg"
       	tip[1].src = "20080414_backyard_001_luhm.jpg" 
	    
        tip1[0].src = "canon_40d_sensor.jpg"
        tip1[1].src = "20080414_backyard_002_luhm.jpg"


	
function MakeArray(n)   {
        this.length = n
        for (var i = 0; i<=n-1; i++)     {
                this[i] = new Image()
                }
        return this
        }

		
function mouseover(num)	{
	document.images[num+1].src = tip[num].src	
        }
                

function mouseover1(num)	{
	document.images[num+1].src = tip1[num].src	
        }

function mouseover3(num)	{
	document.images[num+1].src = tip[num].src	
        }
                

function mouseover4(num)	{
	document.images[num+1].src = tip1[num].src	
        } 

//tip arrays for 10/08
	tip2 = new MakeArray1(4)
        tip3 = new MakeArray1(4)
	tip4 = new MakeArray2(4)

        tip2[0].src = "benson.jpg"
       	tip2[1].src = "benson3.jpg" 
	tip2[2].src = "20080727_capeflattery_086_luhm-6.jpg" 
 	tip2[3].src = "20080727_capeflattery_086_luhm-4.jpg"
        
	tip3[0].src = "benson2.jpg"
        tip3[1].src = "benson4.jpg"
	tip3[2].src = "capeflattery_86blacks.jpg" 
	tip3[3].src = "20080727_capeflattery_086_luhm-5.jpg"

	tip4[3].src = "20080727_capeflattery_086_luhm-7.jpg"

function MakeArray1(n)   {
        this.length = n
        for (var i = 0; i<=n-1; i++)     {
                this[i] = new Image()
                }
        return this
        }

function MakeArray2(n)   {
        this.length = n
        for (var i = 0; i<=n-1; i++)     {
                this[i] = new Image()
                }
        return this
        }
	
function mouseover5(num)	{
	document.images[num+1].src = tip2[num].src	
        }
                

function mouseover6(num)	{
	document.images[num+1].src = tip3[num].src	
        }

function mouseover7(num)	{
	document.images[num+1].src = tip2[num].src	
        }
                

function mouseover8(num)	{
	document.images[num+1].src = tip3[num].src	
        } 

function mouseover9(num)	{
	document.images[num+1].src = tip2[num].src	
        }
                

function mouseover10(num)	{
	document.images[num+1].src = tip3[num].src	
        }  

function mouseover11(num)	{
	document.images[num+1].src = tip2[num].src	
        }
                

function mouseover12(num)	{
	document.images[num+1].src = tip3[num].src	
        } 

function mouseover13(num)	{
	document.images[num+1].src = tip4[num].src	
        }       

// Make tip arrays 12/09
 	tip5 = new MakeArray(2)
        tip6 = new MakeArray(2)
	tip7 = new MakeArray(2)	

        tip5[0].src = "20091123_20dollartest_001_luhm.jpg"
       	tip5[1].src = "20091123_20dollartest_001_luhm-2.jpg" 
	
	    
        tip6[0].src = "20091123_20dollartest_002_luhm.jpg"
        tip6[1].src = "20091123_20dollartest_002_luhm-2.jpg"
	
	tip7[0].src = "20091123_20dollartest_003_luhm.jpg"
        tip7[1].src = "20091123_20dollartest_003_luhm-2.jpg"

function MakeArray(n)   {
        this.length = n
        for (var i = 0; i<=n-1; i++)     {
                this[i] = new Image()
                }
        return this
        }
		
function mouseover14(num)	{
	document.images[num+1].src = tip5[num-2].src	
        }
                

function mouseover15(num)	{
	document.images[num+1].src = tip6[num-2].src	
        }

function mouseover16(num)	{
	document.images[num+1].src = tip7[num-2].src	
        }
                

function mouseover17(num)	{
	document.images[num+1].src = tip5[num-2].src	
        } 

function mouseover18(num)	{
	document.images[num+1].src = tip6[num-2].src	
        }
                

function mouseover19(num)	{
	document.images[num+1].src = tip7[num-2].src	
        } 

//tip arrays for 12/10
	tip8 = new MakeArray10(2)
        tip9 = new MakeArray10(2)
	

       
       	tip8[1].src = "20101027_gorge_005_luhm-3.jpg" 
	
        
	
        tip9[1].src = "20101027_gorge_005_luhm.jpg"
	
	

function MakeArray10(n)   {
        this.length = n
        for (var i = 0; i<=n-1; i++)     {
                this[i] = new Image()
                }
        return this
        }


	
function mouseover20(num)	{
	document.images[num+1].src = tip8[num].src	
        }
                

function mouseover21(num)	{
	document.images[num+1].src = tip9[num].src	
        }

// Make tip arrays for 2012_02 tip
 	tip10 = new MakeArray11(2)
        tip11 = new MakeArray11(2)	
        tip10[0].src = "20110406_carmen_626_luhm_teapot.jpg"
       	tip11[0].src = "20110406_carmen_626_luhm.jpg" 

function MakeArray11(n)   {
        this.length = n
        for (var i = 0; i<=n-1; i++)     {
                this[i] = new Image()
                }
        return this
        }
	
function mouseover22(num)	{
	document.images[num+1].src = tip10[num].src	
        }
                

function mouseover23(num)	{
	document.images[num+1].src = tip11[num].src	
        }	
