function createButton(DivNumber,ImageName, hrefCalled, Level)
{
    NewBut = "<a href=\" "+hrefCalled+" \" ";
	if (Level == 1)
		NewBut = NewBut + "Class='hkd-Menu' >";
	NewBut = NewBut + ImageName;
	if (Level == 1 || Level == 3 || Level == 5)
		NewBut = NewBut + "</a><br>"; 
	return(NewBut);
}

function setActionMenu(Location)
{
	if (Location != "home")
		document.writeln(createButton("Home","Home","index.htm",1));
	if (Location != 'faq')
		document.writeln(createButton("FAQ","FAQ","gt-faq.htm",1));
	if (Location != 'intro')
	    document.writeln(createButton("Introduction","Introduction","gt-intro.htm",1));
	if (Location != 'calendar')
	    document.writeln(createButton("Calendar","Calendar","gt-calendar.htm",1));
	if (Location != 'directions')
	    document.writeln(createButton("Directions","Directions","gt-directions.htm",1));
	if (Location != 'instructors')
	    document.writeln(createButton("Instructors","Instructors","gt-instructors.htm",1));
//	    document.writeln(createButton("Pictures","Pictures","picts.htm",1));
	if (Location != 'social')
	    document.writeln(createButton("Social","Social Club","gt-social.htm",1));
	if (Location != 'tech')
	    document.writeln(createButton("Techniques","Techniques","gt-tech.htm",1));
}


function lookandfeel(where)
{
	document.writeln("<div id='Logo' class='HKD-TopCorner'><a href='index.html'><img src='Images/gt-hkd.gif' border=0></a></div>");
	if (where != 'calendar' && where != 'tech')
	{
		document.writeln("<div id='Schedule' class='HKD-Schedule'>");
		writeDays(7,4);
		document.writeln("</div>");
	}
	document.writeln("<div id='SideMenu' class='HKD-SideMenu'>");
	setActionMenu(where);
	document.writeln("</div>");
}



