/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/


function mapWindow(){

	mWindow = window.open('images/map.gif','mWin','width=1000, height=800');
	if(!mWindow.closed){
		mWindow.focus();
	}

}
var sWindow;
function subWindow(targetID, w, h){
		var desc = "toolbar=yes, location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes, resizable=yes";
		sWindow = window.open(targetID, 'desWin',desc);
	if(!sWindow.closed){
		if(sWindow.blur){
		sWindow.focus();
		}
	}

}


function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"
// Example:
//alert( readCookie("ROOTPATHPREFIX") );
//alert(document.cookie);
function readCookie(name)
{
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0)
  { 
    offset = document.cookie.indexOf(search);
    if (offset != -1)
    { 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end))
    } else cookieValue="";
  } else cookieValue="NULL COOKIE";
  return cookieValue;
}

//Arguments for the array:
// 1) Displayed text
// 2) Link 
// 3) Background image
// 4) # of sublinks
// 5) Vertical size
// 6) Horizontal size

Menu1=new Array("Home","http://wisconsinfsc.org/index.cfm","",0,45,65);

Menu2=new Array("New Skaters","http://wisconsinfsc.org/intro.cfm","",2,45,110);
	Menu2_1=new Array("Intro to Skating","http://wisconsinfsc.org/intro.cfm","",0,22,200);	
	Menu2_2=new Array("Skating Lessons","http://wisconsinfsc.org/lessons.cfm","",0);

Menu3=new Array("Members","","",9,80,80);
	Menu3_1=new Array("WFSC Membership","http://wisconsinfsc.org/membership.cfm","",0,22,200);
	Menu3_2 = new Array("Test Sessions","http://wisconsinfsc.org/events_schedule.cfm?eventType=Test%20Sessions","",0);
	Menu3_3 = new Array("Synchro","http://wisconsinfsc.org/synchro.cfm","",0);
	Menu3_4 = new Array("Competitions","http://wisconsinfsc.org/events_schedule.cfm?eventType=Competitions","",0);
	Menu3_5 = new Array("Rinks & Directions","http://wisconsinfsc.org/rinks.cfm","",5);
		Menu3_5_1 = new Array("Pettit Center","http://wisconsinfsc.org/rinks.cfm#pettit","",0,22,200);
		Menu3_5_2 = new Array("Kern Center","http://wisconsinfsc.org/rinks.cfm#kern","",0);
		Menu3_5_3 = new Array("Wilson Park","http://wisconsinfsc.org/rinks.cfm#wilson","",0);
		Menu3_5_4 = new Array("Nagawaukee","http://wisconsinfsc.org/rinks.cfm#nag","",0);
		Menu3_5_5 = new Array("Eble Park","http://wisconsinfsc.org/rinks.cfm#eble","",0);
	Menu3_6 = new Array("Skating Technique","http://wisconsinfsc.org/technique.cfm","",2);
		Menu3_6_1 = new Array("Warming Up","http://wisconsinfsc.org/warmup.cfm","",0,22,200);
		Menu3_6_2 = new Array("Skating Injuries","http://wisconsinfsc.org/itis.cfm","",0);
  Menu3_7 = new Array("Adult Skating","http://wisconsinfsc.org/adults.cfm","",0);
	Menu3_8 = new Array("Update Personal Profile","http://wisconsinfsc.org/userdetails.cfm","",0);
	Menu3_9 = new Array("Check Volunteer Hours","http://wisconsinfsc.org/volunteer.cfm","",0);
	
Menu4=new Array("Synchro","http://wisconsinfsc.org/synchro.cfm","",4,45,70);
	Menu4_1=new Array("About Wisconsin Edge","http://wisconsinfsc.org/edge.cfm","",0,22,220);
	Menu4_2 = new Array("What is Synchro?","http://wisconsinfsc.org/synchro.cfm","",0);
	Menu4_3 = new Array("Learn More / Try It!","http://wisconsinfsc.org/tryout.cfm","",0);
	Menu4_4 = new Array("Wisconsin Edge Synchro Videos","http://wisconsinfsc.org/images/photogallery/synchrovideos/index.cfm","",0);
	
Menu5 = new Array("Skating Pros","http://wisconsinfsc.org/pros.cfm","",3,45,100);
	Menu5_1=new Array("Selecting a Pro","http://wisconsinfsc.org/choosing.cfm","",0,22,200);
	Menu5_2=new Array("WFSC Pro Bios","http://wisconsinfsc.org/pros.cfm","",0);
	Menu5_3=new Array("Pro Criteria","http://wisconsinfsc.org/criteria.cfm","",0);

Menu6 = new Array("Calendar & Events","http://wisconsinfsc.org/calendar.cfm","",3,45,100);
	Menu6_1=new Array("News & Announcements","http://wisconsinfsc.org/news.cfm","",0,22,200);
	Menu6_2 = new Array("WFSC Calendar","http://wisconsinfsc.org/calendar.cfm","",0);
	Menu6_3 = new Array("Photo Gallery","http://wisconsinfsc.org/images/photogallery/rwb2005/index.cfm","",0);
	
Menu7 = new Array("Paperwork","http://wisconsinfsc.org/paperwork.cfm","",0,45,100);	
	
Menu8=new Array("Store","http://wisconsinfsc.org/store","",0,45,65);	
	
Menu9 = new Array("About WFSC","http://wisconsinfsc.org/ataglance.cfm","",6,45,100);
	Menu9_1 = new Array("Press Resources","http://wisconsinfsc.org/pressinfo.cfm","",0,22,200);
	Menu9_2 = new Array("Photos & Video","http://wisconsinfsc.org/images/photogallery/rwb2005/index.cfm","",6);
		Menu9_2_1 = new Array("Red, White & Blades 2005","http://wisconsinfsc.org/images/photogallery/rwb2005/index.cfm","",0,22,220);
		Menu9_2_2 = new Array("Red, White & Blades 2006","http://wisconsinfsc.org/temp/rwb","",0,22,220);
		Menu9_2_3 = new Array("Skate Milwaukee 2006","http://wisconsinfsc.org/documents/sm2006","",0,22,220);
		Menu9_2_4 = new Array("Learn to Skate 2005","http://wisconsinfsc.org/images/photogallery/lts/index.cfm","",0,22,220);
		Menu9_2_5 = new Array("Wisconsin Edge Synchro Videos","http://wisconsinfsc.org/images/photogallery/synchrovideos/index.cfm","",0,22,220);
		Menu9_2_6 = new Array("All Other Photos","http://wfsc.exposuremanager.com","",0);
		

	Menu9_3 = new Array("WFSC At A Glance","http://wisconsinfsc.org/ataglance.cfm","",0);
	Menu9_4 = new Array("Board of Directors","http://wisconsinfsc.org/board.cfm","",0);
	Menu9_5 = new Array("Bylaws & Policy","http://wisconsinfsc.org/policy.cfm","",0);
	Menu9_6 = new Array("Contact Us","http://wisconsinfsc.org/contact.cfm","",0);
	
	
	