/* author: Garry Conway */
/* creation date: 4/10/05 */

/***********************************************
* Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
***********************************************/

window.statusbar=('0');

var menimage = new Image();
menimage.src = "menubk.gif"; //preload the image for the background

var slidemenu_width='135px' //specify width of menu (in pixels)
var slidemenu_reveal='40px' //specify amount that menu should protrude initially
var slidemenu_top='60px'   //specify vertical offset of menu on page

var ns4=document.layers?1:0
var ie4=document.all
var ns6=document.getElementById&&!document.all?1:0

if (ie4||ns6)
document.write('<div id="slidemenubar2" style="left:'+((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)+'px; top:'+slidemenu_top+'; width:'+slidemenu_width+'" onMouseover="pull()" onMouseout="draw()">')
else if (ns4){
document.write('<style>&n#slidemenubar{&nwidth:'+slidemenu_width+';}&n<&/style>&n')
document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width+' onMouseover="pull()" onMouseout="draw()" visibility=hide>')
}

var sitems=new Array()

///////////Edit below/////////////////////////////////

//siteitems[x]=["Item Text", "Optional URL associated with text"]

sitems[0]=["&nbsp;", "&nbsp;"]
sitems[1]=["&nbsp;&nbsp;Home", "index.html"]
sitems[2]=["&nbsp;&nbsp;Biography", "biog.html"]
sitems[3]=["&nbsp;&nbsp;Purchase", "purchase.html"]
sitems[4]=["&nbsp;&nbsp;Workshops", "workshops.html"]
sitems[5]=["&nbsp;&nbsp;Services", "services.html"]
sitems[6]=["&nbsp;&nbsp;", "workshops.html"]
sitems[7]=["<b>Photographs</b>"]
sitems[8]=["&nbsp;&nbsp;Waterfalls", "waterfall.html"]
sitems[9]=["&nbsp;&nbsp;Wetlands", "bog.html"]
sitems[10]=["&nbsp;&nbsp;Wild Life", "animals.html"]
sitems[11]=["&nbsp;&nbsp;Beaver", "beaver.html"]
sitems[12]=["&nbsp;&nbsp;Arctic", "arctic.html"]
sitems[13]=["&nbsp;&nbsp;Plants", "plants.html"]
sitems[14]=["&nbsp;&nbsp;Mushrooms", "mushrooms.html"]
sitems[15]=["&nbsp;&nbsp;Birds", "birds.html"]
sitems[16]=["&nbsp;&nbsp;Insects", "insects.html"]
sitems[17]=["&nbsp;&nbsp;Scenes", "scenes.html"]
sitems[18]=["&nbsp;&nbsp;Pan - 360", "ns360.html"]
sitems[19]=["&nbsp;&nbsp;B &amp; W", "b-w.html"]
sitems[20]=["&nbsp;&nbsp;Panoramic1", "pans1.html"]
sitems[21]=["&nbsp;&nbsp;Panoramic2<br>", "pans-v.html"]
//If you want the links to load in another frame/window, specify name of target (ie: var target="_new")
if (screen.height >700)
var target="_self"
else
var target="photogs"


/////////////////////////////////////////////////////////

if (ie4||ns4||ns6){
for (i=0;i<sitems.length;i++){
if (sitems[i][1])
document.write('<a href="'+sitems[i][1]+'" target="'+target+'">')
document.write(sitems[i][0])
if (sitems[i][1])
document.write('</a>')
document.write('<br>')
}
}

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4){
document.slidemenubar.left=((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)
document.slidemenubar.visibility="show"
setTimeout("window.onresize=regenerate",400)
}
}
window.onload=regenerate2

rightboundary=0
leftboundary=(parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1

if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
}
else if (ns4){
document.write('</layer>')
themenu=document.layers.slidemenubar
}

function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",10)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",10)
}
function pullengine(){
if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary)
themenu.left=parseInt(themenu.left)+10+"px"
else if(ns4&&themenu.left<rightboundary)
themenu.left+=10
else if (window.pullit){
themenu.left=0
clearInterval(pullit)
}
}

function drawengine(){
if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary)
themenu.left=parseInt(themenu.left)-10+"px"
else if(ns4&&themenu.left>leftboundary)
themenu.left-=10
else if (window.drawit){
themenu.left=leftboundary
clearInterval(drawit)
}
}

// Following is the information on each photograph

var iwater=new Array()
//Watrerfalls
iwater[0]='<br><b>Hilton Falls</b><BR><i>Sixteen Mile Creek</i><br>Campbellville, Ontario<br>Hilton Conservation Area'
iwater[1]='<br><b>Lower Balls Falls</b><br><i>Twenty Mile Creek</i><br>Vineland, Ontario<BR>Balls Falls Conservation Area'
iwater[2]='<br><b>Jones Falls</b><br><i>Pottawatomi River</i><br>Springmount<br>near Owen Sound, Ontario'
iwater[3]='<br><b>Webster\'\s Falls</b><br><i>Spencer Creek</i><br>Greensville, Ontario<br>Spencer Gorge Wilderness Area'
iwater[4]='<br><b>Wilson Falls</b><br><i>Muskoka River, North Branch</i><br>Bracebridge, Ontario'
iwater[5]='<br><b>Indian Falls</b><br><i>Indian Creek</i> <br>Balmy Beach,<br>near Owen Sound, Ontario<br>Indian Falls Conservation Area'
iwater[6]='<br><b>Tews Falls</b><br><i>Logie\'\s Creek</i><br>Greensville, Ontario<br>Spencer Gorge Wilderness Area'
iwater[7]='<br><b>The Devil\'\s Punch Bowl</b><br><i>Stoney Creek</i><br>Stoney Creek, Ontario'
iwater[8]='<br><b>Burnside Falls</b><br><i>Meadow Brook</i><br>Upper Burnside, Nova Scotia'
iwater[9]='<br><b>Indian Falls</b><br><i>LaHave River</i><br>Newburne, Nova Scotia'
iwater[10]='<br><b>Lower Concord Falls</b><br>Grenada'
iwater[11]='<br><b>Upper Concord Falls</b><br>Grenada'
iwater[12]='<br><b>Trinity Falls</b><br>St. Vincent'
iwater[13]='<br><b>Ragged Falls</b><br><i>Oxtongue River</i><br>Oxtongue Lake, Ontario'

//animals
iwater[14]='<br><b>Spring Moose</b><br><i>Spring Moulting</i><br>Algonguin Provincial Park<br>Ontario'
iwater[15]='<br><b>Moose & Calf</b><br><i>Fall</i><br>Entrance to Tom Thomson Lake<br>Algonguin Provincial Park<br>Ontario'
iwater[16]='<br><b>White-Tailed Deer</b><br><i>Early Spring Sunset</i><br>near Bancroft, Ontario'
iwater[17]='<br><b>White-Tailed Deer</b><br><i>Winter Feeding</i><br>near Haliburton, Ontario'
iwater[18]='<br><b>Flying Squirrel</b><br>Molega Lake, Nova Scotia'
iwater[19]='<br><b>Wolf</b><br>near Haliburton, Ontario'
iwater[20]='<br><b>Skunk</b><br><i>3-4 weeks old</i><br>King Township, Ontario<br>Oak Ridges Moraine'
iwater[21]='<br><b>Eastern Cotton Tail</b><br><i>1-2 weeks old</i><br>King Township, Ontario'
iwater[22]='<br><b>Raccoon</b><br><i></i><br>Ancaster, Ontario<br>near Mill Falls'
iwater[23]='<br>Porcupine<br>Nova Scotia'

//arctic
iwater[24]='<br><b>Icebergs</b><br><i>Ice berg Alley</i><br>Disco Bay, Illussat, Greenland'
iwater[25]='<br><b>Icebergs</b><br><i>crossing Davis Strait</i><br>between Greenland and Baffin Island'
iwater[26]='<br><b>Icebergs</b><br><i>crossing Davis Strait</i><br>between Greenland and Baffin Island'
iwater[27]='<br><b>Icebergs</b><br><i>Ice berg Alley</i><br>off Disco Bay, Illussat, Greenland'
iwater[28]='<br><b>Icebergs</b><br><i>crossing Davis Strait</i><br>between Greenland and Baffin Island'
iwater[29]='<br><b>Icebergs</b><br><i>crossing Davis Strait</i><br>between Greenland and Baffin Island'
iwater[30]='<br><b>Sunset</b><br><i>Lancaster Sound</i><br>between Devon Island and Baffin Island'
iwater[31]='<br><b>Sunset</b><br><i>Lancaster Sound</i><br>between Devon Island and Baffin Island'
iwater[32]='<br><b></b><br><i></i><br>'

//plants
iwater[233]='<br><b>Cabbage White</b><br>on fern<br>King Township, Ontario'
iwater[234]='<br><b>Jack-in-the-Pulpit</b><br><i>early bloom</i><br>King Township, Ontario<br>Oak Ridges Moraine'
iwater[235]='<br><b>Jack-in-the-Pulpit</b><br><i>Fall seeds</i><br>King Township, Ontario<br>Oak Ridges Moraine'
iwater[236]='<br><b>Variegated Trillium</b><br>King Township, Ontario<br>Oak Ridges Moraine'
iwater[237]='<br><b>Green Petal Trillium</b><br>King Township, Ontario<br>Oak Ridges Moraine'
iwater[238]='<br><b>Yellow Violet</b><br>King Township, Ontario<br> Oak Ridges Moraine'
iwater[239]='<br><b>Wild Geranium</b><br>Wallacetown, Ontario<br>John E. Pearce Provincial Park'
iwater[240]='<br><b>Bee Balm</b><br>Native Plant Garden<br>Laskay, Ontario'
iwater[241]='<br><b>Purple Cone Flower</b><br>June 28<br>Native Plant Garden<br>Laskay, Ontario'
iwater[242]='<br><b>Virginia Blue Bells</b><br>Native Plant Garden<br>Laskay, Ontario'
iwater[243]='<br><b>Sundrops</b><br>Native Plant Garden<br>Laskay, Ontario'
iwater[244]='<br><b>Groundnut</b><br>Apois americana<br>August 27, 2010<br>Southwestern Nova Scotia'
iwater[245]='<br><b>Groundnot (close-up)</b><br>Southwestern Nova Scotia'
iwater[246]='<br><b>Twinflower, Honeysuckle family</b><br>Linnaea borealis<br>August 28<br>Southwestern Nova Scotia'
iwater[247]='<br><b>Twinflower (close-up)</b><br>Southwestern Nova Scotia'
iwater[248]='<br><b>Virginia Meadow-beauty</b><br>Rhexia virginica<br>August 6<br>Southwestern Nova Scotia'
iwater[249]='<br><b>Spatulated Sundew</b><br>Drosera intermedia<br>August 6<br>Southwestern Nova Scotia'
iwater[250]='<br><b>Rose Pogonia, Snake-Mouth</b><br>Pogonia ophioglossoides<br>August 4, 2008<br>Southwestern Nova Scotia<br>'
iwater[251]='<br><b>Carolina Redroot</b><br>Lachanthes carolina<br>August 15th<br>Southwestern Nova Scotia<br>'
iwater[252]='<br><b>Carolina Redroot</b><br>Lachanthes carolina<br>close-up base of plant<br>Southwestern Nova Scotia<br>'
iwater[253]='<br><b>Carolina Redroot</b><br>Lachanthes carolina<br>close-up flower<br>Southwestern Nova Scotia<br>'
iwater[254]='<br><b>Pale Laurel</b><br>Kalmia polifoliafolia<br>September 12<br>Southwestern Nova Scotia<br>'
iwater[255]='<br><b>Golden-crest</b><br>Lophiola aurea<br>August 14<br>Southwestern Nova Scotia<br>'
iwater[256]='<br><b>Golden-crest</b><br>Lophiola aurea<br>flower top turns golden<br>August 14th<br>Southwestern Nova Scotia<br>'
iwater[257]='<br><b>Witherod</b> (Wild Raisin)<br>Viburnum nudum<br>September 2<br>Southwestern Nova Scotia<br>'

//bog										
iwater[50]='<br><b>Fall Bog</b><br>King Township, Ontario<br>Oak Ridges Moraine'
iwater[51]='<br><b>Spencer Creek</b><br><i></i><br>Greensborough, Ontario'
iwater[52]='<br><b>Sunset Bog</b><br><i></i><br>Point Pelee, Ontario'
iwater[53]='<br><b>American Toad</b><br>Eagle, Ontario<br>E.M. Warick Conservation Area'
iwater[54]='<br><b>Luther Marsh</b><br>near Grand Valley,<br> Dufferin / Wellington, Ontario<br>Grand River Conservation Authority'
iwater[55]='<br><b>Jefferson Salamander</b><br>King, Ontario'
iwater[56]='<br><b>Spotted Salamander</b><br>King, Ontario'
iwater[57]='<br><b>Spotted Salamander</b><br>King, Ontario'
iwater[58]='<br><b>Muskrat</b><br>East Humber River<br>King, Ontario'


//birds
iwater[60]='<br><b>Great Blue Heron</b><br><i>Speed River</i><br>Guelph, Ontario'
iwater[61]='<br><b>Northern Cardinal</b><br><i>female</i><br>King Township, Ontario'
iwater[62]='<br><b>Blue Jay</b><br><i></i><br>King Township, Ontario'
iwater[63]='<br><b>Rose-breasted Grosbeak</b><br><br>King Township, Ontario'
iwater[64]='<br><b>American Robin</b><br><i>Three days after leaving nest</i><br>King Township, Ontario'
iwater[65]='<br><b>Barred Owl</b><br><br>Whiteby, Ontario<br>Lynde Shores Conservation Area'
iwater[66]='<br><b>American Tree Sparrow</b><br>King Township, Ontario'
iwater[67]='<br><b>Gosling</b><br>Long Point, Ontario'
iwater[68]='<br><b>Baltimore Oriole</b><br>Icterus galbula<br>Backus Woods, Ontario'
iwater[69]='<br><b>Black-throated<br>Gray Warbler</b><br>Dendrocia nigrescens<br>Backus Woods, Ontario'
iwater[70]='<br><b>Common Yellowthroat</b><br>Geothlypis poliocephala<br>Backus Woods, Ontario'
iwater[71]='<br><b>Yellow Warbler</b><br>Dendrocia petechia<br>Backus Woods, Ontario'

//news
iwater[100]='<br><b>New<br><br>Workshop Participant Photographs</b><br><br><a href="workshops.html"> <u>to view...</u></a><br><br>Last update May 04, 2010<br><br><a href="#"onclick="reset()" class="bd12cnt"><b>- close -</b></a>'
iwater[101]='<br><b>Email Address</b><br><br>To contact me by email<br>click the "mail to" link below.<br><br>If you would like to be added to my email list to be kept informed of related events and workshops click on the "subscribe" link.<br><br><a href="mailto:photo@culture-connection.net"><b>Mail to</b></a><br><a href="mailto:photo@culture-connection.net?subject=Please place me on your mailing list"><b>Subscribe</b></a><br><br><a href="#"onclick="reset()" class="bd12cnt"><b>- close -</b></a><br>'
iwater[102]='<br><b>Photography<br> Workshops - Exhibitions	- Events<br><br><b>DSLR Weekend Intensive</b><br>Jan. 28 & 29<br>King Township Museum<br><br><a href="workshops.html"> <u>for more on the above...</u></a><br><br>Last update Nov. 15, 2011<br><br><a href="#"onclick="reset()" class="bd12cnt"><b>- close -</a><br>'

//cards
iwater[109]='Framed panoramic 60" long<br><img src="cards/framed.jpg">'
iwater[110]='Wildlife Collection<br><img src="cards/wildlife.jpg">'
iwater[111]='Bird Collection<br><img src="cards/birds.jpg">'
iwater[112]='Waterfall Collection<br><img src="cards/waterfalls.jpg">'
iwater[113]='Iceberg Collection<br><img src="cards/icebergs.jpg">'
iwater[114]='Snow Collection<br><img src="cards/snow.jpg">'
iwater[115]='Sample Cards<br><img src="cards/card.jpg">'

//insects
iwater[116]='<br><b>Twelve spotted skimmer</b><br>(Libellula pulchella)<br>King Township, Ontario'
iwater[117]='<br><b>Four spotted skimmer</b><br>(Libellula quadrimaculata)<br>King Township, Ontario'
iwater[118]='<br><b>Ebony Jewelwing</b><br>Calopteryx maculata<br>Humber River<br>King Township, Ontario'
iwater[119]='<br><b>Cabbage White on Fern</b><br>Pieris rapae<br>Laskay, King Township, Ontario<br>'
iwater[120]='<br><b>Clearwing Sphinx Moth</b><br>Hemaris gracilis<br>Laskay, King Township, Ontario'
iwater[121]='<br><b>Stump Stabber</b><br>ichneumons<br>Laskay, King Township, Ontario'   
iwater[122]='<br><b>Monarch Butterfly</b><br>Danaus plexippus<br>Campbellville, Ontario<br>Hilton Conservation Area'
iwater[123]='<br><b>Black Swallowtail</b><br>Papilio polyxenes<br>Campbellville, Ontario<br>Hilton Conservation Area<br>'
iwater[124]='<br><b>Eastern Tiger Swallowtail</b><br>Papilio glaucus<br>Laskay, King Township, Ontario'
iwater[125]='<br><b>White Admiral</b> (top view)<br>Liminitis arthemis<br>Laskay, King Township, Ontario'
iwater[126]='<br><b>White Admiral</b> (side view)<br>Liminitis arthemis<br>Laskay, King Township, Ontario'
iwater[127]='<br><b>Praying mantis</b><br>Mantis relgiosa<br>Laskay, King Township, Ontario'
iwater[128]='<br><b>Moarch Caterpillar</b><br>Feeding on Swamp milk weed<br>Molega, Nova Scotia'

//panoramics
iwater[150]='<br><b>Sunrise</b><br>Molega Lake<br>Nova Scotia<br>'
iwater[151]='<br><b>On a Clear Day</b><br>Christopher lakes<br>Nova Scotia<br>'
iwater[152]='<br><b>Barn with Pond</b><br>Seneca College<br>King Township, Ontario'
iwater[153]='<br><b>Happy Valley</b><br>King Township, Ontario<br>'
iwater[154]='<br><b>Happy Valley - Winter</b><br>King Township, Ontario<br>'
iwater[155]='<br><b>Spring Beaver</b><br>Kleinburg, Ontario<br>'   
iwater[156]='<br><b>Atlantic Ocean</b><br>Cherry Hill, Nova Scotia<br>'   
iwater[157]='<br><b>Rapids Edge</b><br>Algonquin Park, Ontario<br>'
iwater[158]='<br><b>Ash with Fungi</b><br>King Township, Ontario<br>'
iwater[159]='<br><b>Maple with Lichen</b><br>King Township, Ontario<br>'
iwater[160]='<br><b>Shagbark Hickory</b><br>Jordon, Ontario<br>' 

function regenerate3(){
window.location.reload()
}
function regenerate4(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}

function changeinfo(whichcontent){

if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
cross_el.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
cross_el.style.visibility ="visible"
}
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'</small></font>')
document.d1.document.d2.document.close()
}
}

function appear(){
document.d1.visibility='show'
}

function reset(){
if (document.all||document.getElementById){
cross_el2=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
cross_el2.style.visibility ="hidden"
}
else{
descriptions.style.visibility ="hidden"
}
}

function resettext(){
if (document.all||document.getElementById){
cross_el3=document.getElementById? document.getElementById("text"):document.all.text
cross_el3.style.visibility ="hidden"

}
else{
text.style.visibility ="hidden"
}
}

window.onload=regenerate4


//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

// End - information on each photograph

