
var specArray = [];
specArray[0] = 'Sequoiadendron giganteum';
specArray[1] = 'Sequoia sempervirens';
specArray[2] = 'Cedrus atlantica';
specArray[3] = 'Pinus muricata';
specArray[4] = 'Pinus aristata';
specArray[5] = 'Quercus kelloggii';
specArray[6] = 'Cedrus libani';
specArray[7] = 'Picea pungens';
specArray[8] = 'Quercus suber';
specArray[9] = 'Metasequoia glyptostroboides';
specArray[10] = 'Pseudotsuga menziesii';
specArray[11] = 'Picea glauca';
specArray[12] = 'Picea engelmannii';
specArray[13] = 'Abies fraseri';
specArray[14] = 'Ginkgo biloba';
specArray[15] = 'Abies grandis';
specArray[16] = 'Pinus thunbergii';
specArray[17] = 'Acer palmatum';
specArray[18] = 'Abies procera';
specArray[19] = 'Picea orientalis';
specArray[20] = 'Acer rubrum';
specArray[21] = 'Picea omorika';
specArray[22] = 'Pinus contorta';
specArray[23] = 'Thuja plicata';


function showLayer(id) {
	if(nn4){
	document.layers(id).visibility="visible";
	}else if(ie){
	document.all(id).style.visibility="visible";
	}else if(dom){
	document.getElementById(id).style.visibility = "visible";
	}
}

function hideLayer(id) {
	if(nn4){
	document.layers(id).visibility="hidden";
	}else if(ie){
	document.all(id).style.visibility="hidden";
	}else if(dom){
	document.getElementById(id).style.visibility = "hidden";
	}
}

nn4 = (document.layers) ? true : false
ie = (document.all) ? true : false
dom = (document.getElementById && !document.all) ? true : false 

browserName = navigator.appName;bVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && bVer >= 3) browserVer = "1";
else if (browserName == "Netscape" && bVer <= 2) browserVer = "n2";
else if (browserName == "Microsoft Internet Explorer" && bVer <= 3) browserVer = "e3";
else if (browserName == "Microsoft Internet Explorer" && bVer >= 4) browserVer = "1";

if (browserVer == 1) {
        button1=new Image();
        button1.src="/images/InitialSet/rt-replace-off.gif";
		button2=new Image();
		button2.src="/images/InitialSet/rt-planting-off.gif";
		button3=new Image();
		button3.src="/images/InitialSet/rt-cart-off.gif";
		button4=new Image();
		button4.src="/images/InitialSet/rt-redwoods-off.jpg";
		button5=new Image();
		button5.src="/images/InitialSet/rt-trees-off.jpg";
		button6=new Image();
		button6.src="/images/InitialSet/rt-growkits-off.jpg";
		button7=new Image();
		button7.src="/images/InitialSet/rt-specials-off.jpg";
		button8=new Image();
		button8.src="/images/InitialSet/rt-weddings-off.jpg";
		button9=new Image();
		button9.src="/images/InitialSet/rt-teachers-off.jpg";
		button10=new Image();
		button10.src="/images/InitialSet/rt-gifts-off.jpg";
		button11=new Image();
		button11.src="/images/InitialSet/rt-bonsai-off.jpg";
		button12=new Image();
		button12.src="/images/InitialSet/rt-links-off.jpg";
		button13=new Image();
		button13.src="/images/InitialSet/rt-home-off.jpg";
		button14=new Image();
		button14.src="/images/InitialSet/bonsai-info-off.jpg";
		button15=new Image();
		button15.src="/images/InitialSet/anatomy-off.jpg";

		button99=new Image();
		button99.src="/images/InitialSet/rt-replace-off-alt.gif";

        litbutton1=new Image();
        litbutton1.src="/images/InitialSet/rt-replace-on.gif";
		litbutton2=new Image();
		litbutton2.src="/images/InitialSet/rt-planting-on.gif";
		litbutton3=new Image();
		litbutton3.src="/images/InitialSet/rt-cart-on.gif";
		litbutton4=new Image();
		litbutton4.src="/images/InitialSet/rt-redwoods-on.jpg";
		litbutton5=new Image();
		litbutton5.src="/images/InitialSet/rt-trees-on.jpg";
		litbutton6=new Image();
		litbutton6.src="/images/InitialSet/rt-growkits-on.jpg";
		litbutton7=new Image();
		litbutton7.src="/images/InitialSet/rt-specials-on.jpg";
		litbutton8=new Image();
		litbutton8.src="/images/InitialSet/rt-weddings-on.jpg";
		litbutton9=new Image();
		litbutton9.src="/images/InitialSet/rt-teachers-on.jpg";
		litbutton10=new Image();
		litbutton10.src="/images/InitialSet/rt-gifts-on.jpg";
		litbutton11=new Image();
		litbutton11.src="/images/InitialSet/rt-bonsai-on.jpg";
		litbutton12=new Image();
		litbutton12.src="/images/InitialSet/rt-links-on.jpg";
		litbutton13=new Image();
		litbutton13.src="/images/InitialSet/rt-home-on.jpg";
		litbutton14=new Image();
		litbutton14.src="/images/InitialSet/bonsai-info-on.jpg";
		litbutton15=new Image();
		litbutton15.src="/images/InitialSet/anatomy-on.jpg";
		}


function glow(num){
        if (browserVer == 1){
        if (num == 4){
	   eval('document.link' + num + '.src = litbutton' + num + '.src');
           document.link1.src = button99.src;
        }else{
           eval('document.link' + num + '.src = litbutton' + num + '.src');
        }
        }
}

function unglow(num){
        if (browserVer == 1){
        if (num == 4){
	   eval('document.link' + num + '.src = button' + num + '.src');
           document.link1.src = button1.src;
        }else{
           eval('document.link' + num + '.src = button' + num + '.src');
        }
        }
}

function listLinkDetail(){
	var a;
	a = "http://store.sequoiatrees.com/prostores/servlet/Service";
	if (a != window.top.location.href){
		document.write("<TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width='450' bgColor=#f4e9d2 border=1>");
		document.write("<TBODY><TR><TD>");
		document.write("<TABLE cellSpacing=0 cellPadding=2 width='100%' border=0>");
		document.write("<TBODY><TR>");
		document.write("<TD align=middle bgColor=#f4e9d2 colSpan=3>");
		document.write("<a class='Plain' href='http://store.sequoiatrees.com/prostores/servlet/Service'>");
		document.write("<FONT size=2><B>THE BEST TREES AND THE BEST DEALS!</b></font>");
		document.write("<br><FONT size=1>Click here to sign up and be among the first to hear about our nursery-direct tree sales and seasonal promotions.  Your email information will be kept in strict confidence.");
		document.write("</FONT></B></TD></TR>");
		document.write("</TBODY></TABLE></TD></TR></TBODY></TABLE></FORM>");
		document.write("<p>&nbsp;");
		document.write("<p>&nbsp;");
		document.write("<img border=0 src='/images/InitialSet/rt-footer.jpg'>");
                }
}

function listLinkSearch(){
	var a;
	a = "http://store.sequoiatrees.com/prostores/servlet/Service";
	if (a != window.top.location.href){
		document.write("<TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width='620' bgColor=#f4e9d2 border=1>");
		document.write("<TBODY><TR><TD>");
		document.write("<TABLE cellSpacing=0 cellPadding=2 width='100%' border=0>");
		document.write("<TBODY><TR>");
		document.write("<TD align=middle bgColor=#f4e9d2 colSpan=3>");
		document.write("<a class='Plain' href='http://store.sequoiatrees.com/prostores/servlet/Service'>");
		document.write("<FONT size=2><B>THE BEST TREES AND THE BEST DEALS!</b></font>");
		document.write("<br><FONT size=1>Click here to sign up and be among the first to hear about our nursery-direct tree sales and seasonal promotions.  Your email information will be kept in strict confidence.");
		document.write("</FONT></B></TD></TR>");
		document.write("</TBODY></TABLE></TD></TR></TBODY></TABLE></FORM>");
		document.write("<p>&nbsp;");
		document.write("<p>&nbsp;");
		document.write("<img border=0 src='/images/InitialSet/rt-footer.jpg'>");
                }
}
function getLinks(specName){
	var i;
	var j;
	var k;
	var conTest = new Boolean();

	conTest = false;
	if (specName == "Sequoiadendron giganteum"){
		conTest = true;
		linkName = ['Wikipedia entry for Giant Sequoia','Save the Redwoods League','National Park Service - The 30 biggest trees','NCCSP - Giant Sequoia Information','ARKive - Images of Life on Earth','American Museum of Natural History'];
		linkSrc = ['http://en.wikipedia.org/wiki/Giant_sequoia','http://www.savetheredwoods.org/education/giantsequoia.shtml','http://www.nps.gov/archive/seki/bigtrees.htm','http://www.nccsp.org/scientific_knowledge/specific-education-projects/oregon-big-tree-registry-1/giant-sequoia-1/','http://www.arkive.org/giant-sequoia/sequoiadendron-giganteum/images.html','http://www.amnh.org/exhibitions/expeditions/treasure_fossil/Treasures/Giant_Sequoia/sequoia.html'];

	} else if (specName == "Sequoia sempervirens"){
		conTest = true;
		linkName = ['Wikipedia entry for Coast Redwood','California State Parks - About Coast Redwoods','Save The Redwoods League','San Francisco State University','Suite101.com'];
		linkSrc = ['http://en.wikipedia.org/wiki/Coast_redwood','http://www.parks.ca.gov/?page_id=22257','http://www.savetheredwoods.org/education/coastredwood.shtml','http://bss.sfsu.edu/holzman/courses/Fall99Projects/redwood.htm','http://plant-species.suite101.com/article.cfm/identifying_the_three_species_of_redwood_trees'];

	} else if (specName == "Cedrus atlantica"){
		conTest = true;
		linkName = ['Wikipedia entry for Atlas Cedar','East Tennessee State University','US Forest Service Atlas Cedar Fact Sheet (PDF)','The Gymnosperm Database','Dave\'s Garden - PlantFiles: Atlas Cedar'];
		linkSrc = ['http://en.wikipedia.org/wiki/Atlas_cedar','http://www.etsu.edu/arboretum/totwblueatlas.html','http://hort.ufl.edu/trees/CEDATLC.pdf','http://www.conifers.org/pi/ce/atlantica.htm','http://davesgarden.com/guides/pf/go/67870/'];

	} else if (specName == "Pinus muricata"){
		conTest = true;
		linkName = ['Wikipedia entry for Bishop Pine','San Francisco State University','The Natural History of North America','USDA Natural Resource Conservation Service','The Gymnosperm Database','Point Reyes National Seashore'];
		linkSrc = ['http://en.wikipedia.org/wiki/Bishop_pine','http://www.sfsu.edu/~geog/bholzman/ptreyes/tripbipf.htm','http://www.nearctica.com/trees/conifer/pinus/Pmuric.htm','http://plants.usda.gov/java/profile?symbol=PIMU','http://www.conifers.org/pi/pin/muricata.htm','http://www.nps.gov/pore/naturescience/plantcommunity_pineforest.htm'];

	} else if (specName == "Pinus aristata"){
		conTest = true;
		linkName = ['Wikipedia entry for Bristlecone Pine','Blue Planet Biomes','Great Basin National Park','Nova Online - Explore the Methuselah Grove','Forestry Images: Bristlecone Pine','BigPine.Com - Ancient Bristlecone Pine Forest'];
		linkSrc = ['http://en.wikipedia.org/wiki/Bristlecone_pine','http://www.blueplanetbiomes.org/bristlecone_pine.htm','http://www.nps.gov/grba/planyourvisit/identifying-bristlecone-pines.htm','http://www.pbs.org/wgbh/nova/methuselah/','http://www.forestryimages.org/browse/subimages.cfm?SUB=3748','http://bigpine.com/index.php?page=ancient-bristlecone-pine-forest'];

	}else if (specName == "Quercus kelloggii"){
		conTest = true;
		linkName = ['Wikipedia entry for California Black Oak','USDA Forest Service','USDA NRCS Plant Guide (PDF)','GardenGuides.Com','UC Berkeley CalPhotos Database','Calflora.org','Virginia Tech Department of Forest Resources'];
		linkSrc = ['http://en.wikipedia.org/wiki/California_Black_Oak','http://www.na.fs.fed.us/pubs/silvics_manual/volume_2/quercus/kelloggii.htm','http://plants.usda.gov/plantguide/pdf/cs_quke.pdf','http://www.gardenguides.com/plants/plantguides/trees/plantguide.asp?symbol=QUKE','http://calphotos.berkeley.edu/cgi/img_query?where-genre=Plant&where-taxon=Quercus+kelloggii','http://www.calflora.org/cgi-bin/species_query.cgi?where-calrecnum=7000','http://www.cnr.vt.edu/DENDRO/DENDROLOGY/SYLLABUS/factsheet.cfm?ID=242'];

	}else if (specName == "Cedrus libani"){
		conTest = true;
		linkName = ['Wikipedia entry for Cedar of Lebanon','Cedar of Lebanon - History','Tennessee Cedars of Lebanon State Park','TreeHelp.Com','Blue Planet Biomes','USDA Forest Service Fact Sheet (PDF)'];
		linkSrc = ['http://en.wikipedia.org/wiki/Cedar_of_Lebanon','http://www.habeeb.com/cedar.of.lebanon/cedar.of.lebanon.info.html','http://www.tennessee.gov/environment/parks/Cedars/','http://www.treehelp.com/trees/cedar/cedrus-libani.asp','http://www.blueplanetbiomes.org/lebanon_cedar.htm','http://hort.ufl.edu/trees/CEDLIBA.pdf'];

	}else if (specName == "Picea pungens"){
		conTest = true;
		linkName = ['Wikipedia entry for Colorado Blue Spruce','North Dakota State University (PDF)','National Christmas Tree Association','Virginia Tech Department of Forest Resources','About.Com: Forestry'];
		linkSrc = ['http://en.wikipedia.org/wiki/Colorado_Blue_Spruce','http://www.ag.ndsu.edu/trees/handbook/th-3-177.pdf','http://www.christmastree.org/trees/bl_spruc.cfm','http://www.cnr.vt.edu/DENDRO/DENDROLOGY/syllabus/factsheet.cfm?ID=109','http://forestry.about.com/od/silviculture/p/blue_spruce.htm'];

	}else if (specName == "Quercus suber"){
		conTest = true;
		linkName = ['Wikipedia entry for Cork Oak','World Wildlife Fund - Cork Oak Landscapes','Dave\'s Garden - For Gardeners, By Gardeners','Cork and the cork oak system','LA Times - Tree of the Week','Forestry Images'];
		linkSrc = ['http://en.wikipedia.org/wiki/Cork_oak','http://www.panda.org/what_we_do/where_we_work/mediterranean/about/forests/cork/','http://davesgarden.com/guides/pf/go/54410/','http://www.fao.org/docrep/x1880E/x1880e08.htm','http://latimesblogs.latimes.com/laland/2009/03/tree-of-the-w-2.html','http://www.forestryimages.org/browse/subimages.cfm?SUB=7071'];

	}else if (specName == "Metasequoia glyptostroboides"){
		conTest = true;
		linkName = ['Wikipedia entry for Dawn Redwood','Crescent Ridge Dawn Redwoods Preserve','GardenGuides.Com','Save The Redwoods League','Dave\'s Garden - By Gardeners, For Gardeners'];
		linkSrc = ['http://en.wikipedia.org/wiki/Dawn_redwood','http://www.dawnredwood.org/','http://www.gardenguides.com/plants/plant.asp?symbol=MEGL8','http://www.savetheredwoods.org/education/dawn.shtml','http://davesgarden.com/guides/pf/go/31760/'];

	}else if (specName == "Pseudotsuga menziesii"){
		conTest = true;
		linkName = ['Wikipedia entry for Douglas Fir','100 Most Common North American Trees','National Christmas Tree Association','Virginia Tech Department of Forest Resources','Western Wood Products Association','USDA Natural Resources Conservation Service'];
		linkSrc = ['http://en.wikipedia.org/wiki/Douglas_fir','http://forestry.about.com/od/conifers/ss/dougfir.htm','http://www.christmastree.org/trees/douglas.cfm','http://www.cnr.vt.edu/DENDRO/DENDROLOGY/syllabus/factsheet.cfm?ID=105','http://www2.wwpa.org/WESTERNSPECIES/DouglasFir/tabid/405/Default.aspx','http://plants.usda.gov/java/profile?symbol=PSME'];

	}else if (specName == "Picea glauca"){
		conTest = true;
		linkName = ['Wikipedia entry for Dwarf Alberta Spruce','About.Com: Landscaping','University of Arkansas Division of Agriculture','Ohio State University Plant Facts (PDF)'];
		linkSrc = ['http://en.wikipedia.org/wiki/Picea_glauca','http://landscaping.about.com/od/evergreentrees/p/alberta_spruce.htm','http://www.arhomeandgarden.org/plantoftheweek/articles/Dwarf_Alberta_Spruce.htm','http://plantfacts.osu.edu/pdf/0247-849.pdf'];

	}else if (specName == "Picea engelmannii"){
		conTest = true;
		linkName = ['Wikipedia entry for Engelmann Spruce','Utah State University - Range Plants of Utah','The Native Trees of the Southern Rockies','USDA NRCS Plant Guide (PDF)','Forestry Images','USDA Forest Service'];
		linkSrc = ['http://en.wikipedia.org/wiki/Engelmann_spruce','http://extension.usu.edu/range/woody/englemannspruce.htm','http://home.earthlink.net/~swier/EngelmannSpruce.html','http://plants.usda.gov/plantguide/pdf/pg_pien.pdf','http://www.forestryimages.org/browse/subimages.cfm?SUB=2744','http://www.na.fs.fed.us/pubs/silvics_manual/Volume_1/picea/engelmannii.htm'];

	}else if (specName == "Abies fraseri"){
		conTest = true;
		linkName = ['Wikipedia entry for Fraser Fir','National Christmas Tree Association','100 Common Trees in North America','Virginia Tech Department of Forest Resources','USDA Forest Service','USDA NRCS Plants Profile'];
		linkSrc = ['http://en.wikipedia.org/wiki/Fraser_fir','http://www.christmastree.org/trees/fraser.cfm','http://forestry.about.com/od/conifers/tp/fraser_fir.htm','http://www.cnr.vt.edu/DENDRO/DENDROLOGY/syllabus/factsheet.cfm?ID=95','http://www.na.fs.fed.us/pubs/silvics_manual/volume_1/abies/fraseri.htm','http://plants.usda.gov/java/profile?symbol=ABFR'];

	}else if (specName == "Ginkgo biloba"){
		conTest = true;
		linkName = ['Wikipedia entry for Ginkgo Biloba','University of Maryland Medical Center','The Mayo Clinic','Virginia Tech Department of Forest Resources','Ohio State University','About.Com: Alternative Medicine'];
		linkSrc = ['http://en.wikipedia.org/wiki/Ginkgo_biloba','http://www.umm.edu/altmed/articles/ginkgo-biloba-000247.htm','http://www.mayoclinic.com/health/ginkgo-biloba/NS_patient-ginkgo','http://www.cnr.vt.edu/dendro/dendrology/syllabus/factsheet.cfm?ID=122','http://www.hcs.ohio-state.edu/hcs/TMI/Plantlist/gi_iloba.html','http://altmedicine.about.com/cs/herbsvitaminsek/a/Ginkgo.htm'];

	}else if (specName == "Abies grandis"){
		conTest = true;
		linkName = ['Wikipedia entry for Grand Fir','National Christmas Tree Association','USDA NRCS Plant Guide (PDF)','100 Most Common Trees in North America','USDA Forest Service','National Center for Conservation Science & Policy'];
		linkSrc = ['http://en.wikipedia.org/wiki/Grand_fir','http://www.christmastree.org/trees/grand.cfm','http://plants.usda.gov/plantguide/pdf/pg_abgr.pdf','http://forestry.about.com/library/tree/blgrandf.htm','http://www.na.fs.fed.us/pubs/silvics_manual/Volume_1/abies/grandis.htm','http://www.nccsp.org/scientific_knowledge/specific-education-projects/oregon-big-tree-registry-1/grand-fir'];

	}else if (specName == "Pinus thunbergii"){
		conTest = true;
		linkName = ['Wikipedia entry for Japanese Black Pine','Online Gardener','BNET.Com - Home & Garden Publications','USDA Natural Resources Conservation Service','North Carolina State University','Floridata.Com'];
		linkSrc = ['http://en.wikipedia.org/wiki/Japanese_black_pine','http://onlinegardener.com/trees/Japanese%20black%20pine.pdf','http://findarticles.com/p/articles/mi_m1082/is_n6_v42/ai_21268537/','http://plants.usda.gov/java/profile?symbol=PITH2','http://www.ces.ncsu.edu/depts/hort/consumer/factsheets/trees-new/pinus_thunbergiana.html','http://www.floridata.com/ref/p/pinu_thu.cfm'];

	}else if (specName == "Acer palmatum"){
		conTest = true;
		linkName = ['Wikipedia entry for Japanese Maple','About.Com: Landscaping','Online Gardener (PDF)','Garden Action (UK)','North Carolina State University','USDA Forest Service Fact Sheet (PDF)'];
		linkSrc = ['http://en.wikipedia.org/wiki/Japanese_maple','http://landscaping.about.com/cs/fallfoliagetrees/a/fall_foliage6.htm','http://www.onlinegardener.com/trees/Japanese%20maple.pdf','http://www.gardenaction.co.uk/plantfinder/japanese_maple-1.asp','http://www.ces.ncsu.edu/depts/hort/consumer/factsheets/trees-new/acer_palmatum.html','http://hort.ufl.edu/trees/ACEPALA.pdf'];

	}else if (specName == "Abies procera"){
		conTest = true;
		linkName = ['Wikipedia entry for Noble Fir','National Christmas Tree Association','Virginia Tech Department of Forest Resources','How to Manage and Identify Noble Fir','WA Department of Natural Resources (PDF)','USDA Forest Service Fact Sheet (PDF)'];
		linkSrc = ['http://en.wikipedia.org/wiki/Noble_fir','http://www.christmastree.org/trees/noble.cfm','http://www.cnr.vt.edu/DENDRO/DENDROLOGY/SYLLABUS/factsheet.cfm?ID=185','http://forestry.about.com/od/silviculture/p/noble_fir.htm','http://www.dnr.wa.gov/Publications/lm_ess_wog_noble_fir.pdf','http://www.fpl.fs.fed.us/documnts/usda/amwood/noblefir.pdf'];

	}else if (specName == "Picea orientalis"){
		conTest = true;
		linkName = ['Wikipedia entry for Oriental Spruce','USDA Forest Service Fact Sheet (PDF)','North Carolina State University','FloriData','Dave\'s Garden - For Gardeners, By Gardeners'];
		linkSrc = ['http://en.wikipedia.org/wiki/Oriental_spruce','http://hort.ufl.edu/trees/PICORIA.pdf','http://www.ces.ncsu.edu/depts/hort/consumer/factsheets/trees-new/picea_orientalis.html','http://www.floridata.com/ref/P/pice_ori.cfm','http://davesgarden.com/guides/pf/go/118911/'];

	}else if (specName == "Acer rubrum"){
		conTest = true;
		linkName = ['Wikipedia entry for Red Maple','USDA Forest Service','USDA Natural Resources Conservation Service','University of Florida','University of Conneticut','Virginia Tech Department of Forest Resources and Environmental Conservation'];
		linkSrc = ['http://en.wikipedia.org/wiki/Red_maple','http://www.na.fs.fed.us/pubs/silvics_manual/volume_2/acer/rubrum.htm','http://plants.usda.gov/java/profile?symbol=ACRU','http://www.sfrc.ufl.edu/4h/Red_maple/redmaple.htm','http://www.hort.uconn.edu/plants/a/acerub/acerub1.html','http://www.cnr.vt.edu/DENDRO/DENDROLOGY/syllabus/factsheet.cfm?ID=1'];

	}else if (specName == "Picea omorika"){
		conTest = true;
		linkName = ['Wikipedia entry for Serbian Spruce','USDA Forest Service Fact Sheet (PDF)','USDA Natural Resources Conservation Service','How to Grow a Serbian Spruce Tree','Penn State College of Agricultural Sciences','Forestry Images'];
		linkSrc = ['http://en.wikipedia.org/wiki/Serbian_spruce','http://hort.ufl.edu/trees/PICOMOA.pdf','http://plants.usda.gov/java/profile?symbol=PIOM2','http://www.ehow.com/how_2090738_grow-serbian-spruce-tree.html','http://ento.psu.edu/extension/christmas-trees/cultural-information/species-serbian-spruce-picea-omorika','http://www.forestryimages.org/browse/subimages.cfm?SUB=12584'];

	}else if (specName == "Pinus contorta"){
		conTest = true;
		linkName = ['Wikipedia entry for Shore Pine','WACD Fact Sheet (PDF)','Washington State University','The Gymnosperm Database','Dave\'s Garden - For Gardeners, By Gardeners'];
		linkSrc = ['http://en.wikipedia.org/wiki/Shore_pine','http://www.jeffersoncd.org/downloads/Tree-Sale-Plants-pdfs/shore-pine.pdf','http://www.pnwplants.wsu.edu/PlantDisplay.aspx?PlantID=179','http://www.conifers.org/pi/pin/contorta1.htm','http://davesgarden.com/guides/pf/go/63717/'];

	}else if (specName == "Thuja plicata"){
		conTest = true;
		linkName = ['Wikipedia entry for Western Red Cedar','USDA NRCS Plant Guide (PDF)','USDA Forest Service Fact Sheet','North Carolina State University','The Gymnosperm Database'];
		linkSrc = ['http://en.wikipedia.org/wiki/Western_red_cedar','http://plants.usda.gov/plantguide/pdf/cs_thpl.pdf','http://www.na.fs.fed.us/spfo/pubs/silvics_manual/Volume_1/thuja/plicata.htm','http://www.ces.ncsu.edu/depts/hort/consumer/factsheets/trees-new/thuja_plicata.html','http://www.conifers.org/cu/th/plicata.htm'];

	}else if (specName == "Eschscholzia californica"){
		conTest = true;
		linkName = ['Wikipedia entry for California Poppies','Antelope Valley California Poppy Reserve','California Poppy Festival','University of Wisconsin','The Floral Genome Project'];
		linkSrc = ['http://en.wikipedia.org/wiki/California_poppy','http://www.parks.ca.gov/?page_id=627','http://www.poppyfestival.com/','http://www.hort.wisc.edu/mastergardener/features/flowers/CA%20poppy/CA%20poppy.htm','http://www.flmnh.ufl.edu/flowerpower/poppy.html'];

	}else if (specName == "Pinus edulis"){
		conTest = true;
		linkName = ['Wikipedia entry for Pinon Pine','Suite101.com - Pinon: The Desert Pine','US BLM - Gathering Pinon Pine Nuts (PDF)','About.Com: Forestry','CSU - Pinon Pine Diseases and Insects'];
		linkSrc = ['http://en.wikipedia.org/wiki/Pinyon_pine','http://desertgardens.suite101.com/article.cfm/pinion_the_desert_pine','http://www.blm.gov/pgdata/etc/medialib/blm/nv/recreation.Par.60356.File.dat/pine_nuts.pdf','http://forestry.about.com/od/conifers/tp/Pinus_edulis.htm','http://www.ext.colostate.edu/pubs/Garden/02948.html'];

	}else if (specName == "Pinus ponderosa"){
		conTest = true;
		linkName = ['Wikipedia entry for Ponserosa Pine','Western Wood Products Association','USDA NRCS Plants Profile','Biotic Communities of the Colorado Plateau','Utah State University - Range Plants of Utah'];
		linkSrc = ['http://en.wikipedia.org/wiki/Ponderosa_Pine','http://www.wwpa.org/ppine.htm','http://plants.usda.gov/java/profile?symbol=PIPO','http://www.cpluhna.nau.edu/Biota/ponderosa_forest.htm','http://extension.usu.edu/range/Woody/ponderosapine.htm'];

	}else if (specName == "Populus tremuloides"){
		conTest = true;
		linkName = ['Wikipedia entry for Quaking Aspen','North Dakota State University (PDF)','The Natural History of the Northwoods','SFSU - Biogeography of Quaking Aspen','Trees of Wisconsin'];
		linkSrc = ['http://en.wikipedia.org/wiki/Populus_tremuloides','http://www.ag.ndsu.edu/trees/handbook/th-3-103.pdf','http://www.rook.org/earl/bwca/nature/trees/populustrem.html','http://bss.sfsu.edu/geog/bholzman/courses/Fall99Projects/aspen.htm','http://www.uwgb.edu/BIODIVERSITY/herbarium/trees/poptre01.htm'];

	}else if (specName == "Helianthus annuus"){
		conTest = true;
		linkName = ['Wikipedia entry for Sunflowers','Flower Gardening Made Easy','FloriData.Com','wikiHow - How to Grow Sunflowers','Botanical.Com - A Modern Herbal'];
		linkSrc = ['http://en.wikipedia.org/wiki/Sunflower','http://www.flower-gardening-made-easy.com/growing-sunflowers.html','http://www.floridata.com/ref/h/heli_ann.cfm','http://www.wikihow.com/Grow-Sunflowers','http://www.botanical.com/botanical/mgmh/s/sunfl100.html'];

	}else if (specName == "Dionaea muscipula"){
		conTest = true;
		linkName = ['Wikipedia entry for Venus Flytrap','Botany.Org - The Mysterious Venus Flytrap','The Carnivorous Plant FAQ','How Stuff Works: How Venus Flytraps Work','Nature.Com - How the Venus Flytrap Snaps'];
		linkSrc = ['http://en.wikipedia.org/wiki/Venus_Flytrap','http://www.botany.org/bsa/misc/carn.html','http://www.sarracenia.com/faq/faq2000.html','http://science.howstuffworks.com/flowering-plants/venus-flytrap.htm','http://www.nature.com/nature/journal/v433/n7024/abs/nature03185.html'];

	}





	j = linkName.length;
	k = linkSrc.length;

	
	if (j != k){
		document.write('<b>Values Unequal!</b><br>');
		if(j < k){
			document.write('More links than names!');
		}else{
			document.write('More names than links!');
		}

	}else if(conTest == true){
		document.write('<table border=1 cellpadding=5 cellspacing=0 width=450 bgcolor="#fd8924">');
		document.write('<tr><td align=center>');
		document.write('<table border=0 cellpadding=0 cellspacing=5>');
		document.write('<tr><td colspan=2 align=center><font size=3><b>Interesting links for <i>' + specName + '</i></b></font><font size=1><br></font></td></tr>');
		j = j - 1;
		for(i=0;i<=j;i++){
			document.write('<tr><td align=center valign=top><font size=3><li></font></td><td><font size=3><a href="' + linkSrc[i] + '" target="_blank">' + linkName[i] + '</a></font></td></tr>');
			}
		document.write('</table></td></tr>');
		document.write('</table><p>&nbsp;');
	}	

}
