﻿

   
function jumptolink(selector){

var selectedopt=selector.options[selector.selectedIndex]

if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else if (selectedopt.getAttribute("target")&&selectedopt.getAttribute("target")!=''&&selectedopt.getAttribute("target")!='_self')
window.open(selectedopt.value, selectedopt.getAttribute("target")

)
else
window.location=selectedopt.value;

  
subNavJumpFunk(selector.selectedIndex);

}


var mainUrls = new Array();

// no zero in Flash
mainUrls[0] = "";

mainUrls[1] = "placesToRow_0.html";

mainUrls[2] = "bizList_1.html";

mainUrls[3] = "buyersGuide_0.html";

mainUrls[4] = "clubsByCountry.html";

mainUrls[5] = "usClubs.html";

mainUrls[6] = "usCollegiateRowing.html";

mainUrls[7] = "usHighSchoolRowing.html";

mainUrls[8] = "adapativeRowing.html";

mainUrls[9] = "contactUs.html";

mainUrls[10] = "rowersCar_8.html";

mainUrls[11] = "rowersCar_8.html";

mainUrls[12] = "rowersCar_8.html";



var subNavArray = new Array();

// no zero in Flash
subNavArray[0] = "navHome.html";

subNavArray[1] = "navPlacesToRow.html";

subNavArray[2] = "navBusiness.html";

subNavArray[3] = "navBusiness.html";

subNavArray[4] = "navCountryIndex.html";

subNavArray[5] = "navStateIndex.html";

subNavArray[6] = "navUsCollegiateRowing.html";

subNavArray[7] = "navUsHighSchoolRowing.html";

subNavArray[8] = "navHome.html";

subNavArray[9] = "navHome.html";

subNavArray[10] = "navHome.html";

subNavArray[11] = "navHome.html";

subNavArray[12] = "navHome.html";



// coming from flash
function goWhere(num)
{
 // alert("go to URL: " +num);
  window.location.href=  mainUrls[num];
  
top.frames['midNavFrame'].location.href = subNavArray[num]; 
}





var subNavJump = new Array();

// no zero in Flash
subNavJump[0] = "navHome.html";

subNavJump[1] = "navHome.html";

subNavJump[2] = "navPlacesToRow.html";

subNavJump[3] = "navStateIndex.html";  //us clubs

subNavJump[4] = "navStateIndex.html"; // us colleg

subNavJump[5] = "navStateIndex.html";  //us high school

subNavJump[6] = "navHome.html"; //adaptive rowing

subNavJump[7] = "navCountryIndex.html";

subNavJump[8] = "navBuyersGuide.html";

subNavJump[9] = "navBuyersGuide.html";

subNavJump[10] = "navBuyersGuide.html";

subNavJump[11] = "navBuyersGuide.html";

subNavJump[12] = "navBusiness.html";

subNavJump[13] = "navBusiness.html";

subNavJump[14] = "navBusiness.html";
subNavJump[15] = "navBusiness.html";
subNavJump[16] = "navBusiness.html";
subNavJump[17] = "navBusiness.html";
subNavJump[18] = "navBusiness.html";
subNavJump[19] = "navBusiness.html";
subNavJump[20] = "navBusiness.html";
subNavJump[21] = "navBusiness.html";
subNavJump[22] = "navBusiness.html";
subNavJump[23] = "navBusiness.html";
subNavJump[24] = "navBusiness.html";
subNavJump[25] = "navBusiness.html";
subNavJump[26] = "navBusiness.html";
subNavJump[27] = "navBusiness.html";
subNavJump[28] = "navHome.html";

function subNavJumpFunk(sIndex)
   {
  // alert(sIndex);
   
top.frames['midNavFrame'].location.href = subNavJump[sIndex]; 

   }
   
   function resetDropper(){
   
 // alert("hi");
 
 // this resets the drop down so a user can select the home drop down
 // even if they had prior chosen a different route and the drop would still
 // be on home.
   
   top.frames['topFrame'].document.myform.mylist.selectedIndex = 0;
   
//  alert("hi");
   
   
   }