function h_makeBtnGH() 
	{
	document.write("<form name='HKDBtn' action='");
	document.write(h_urlStrGH);
	document.write("' target='_blank' style='margin-top:1px; margin-bottom:1px;'><input name='Btn' type='submit' value='");
	document.write(h_msgsGH[1]);
	document.write("' title='");
	document.write(h_hintStrGH);
	document.write("' id='h_NmGH' onMouseOver='h_btnMoGH();' onMouseout='h_btnNmGH();' onMouseDown='h_btnDnGH();'></form>");
}
function h_FlipGH() { 
	var h_TimedelayGH=1500*h_BtnGH; // msecs between msgs
	document.HKDBtn.Btn.value = h_msgsGH[h_BtnGH];
	(h_BtnGH == (h_msgsGH.length - 1)) ? h_BtnGH = 1 : h_BtnGH++;
	window.setTimeout("h_FlipGH()", h_TimedelayGH); }
function h_btnMoGH() {
	document.HKDBtn.Btn.id='h_MoGH';}
function h_btnNmGH() {
	document.HKDBtn.Btn.id='h_NmGH';}
function h_btnDnGH() {
	document.HKDBtn.Btn.id='h_DnGH';}
{	//main part of script
 	var h_BtnGH=1; 						//control variable for bFlip function
	var h_bClrGH="#FFFFFF"; 				//btn color
	var h_tClrGH="#EE0000"; 				//text color
	var h_bHGH=27;						//btn height in pixels
	var h_bWGH=180;						//btn width in pixels
	var h_fHGH=9;							//font size in points
	var h_urlStrGH="http://gohupkwondo.com" 	//where to go when btn is clicked
	var h_msgsGH = new Array();			//btn messages to cycle through
	h_msgsGH[1] = "GO HupKwonDo";
	h_msgsGH[2] = "Real-world";
	h_msgsGH[3] = "Martial Arts";

	var h_hintStrGH = "Gloucester Ottawa HupKwonDo: GoHupKwonDo.com";
	document.write("<style>");
	document.write("#h_NmGH {width:"+h_bWGH+"; height:"+h_bHGH+"; font-family:sans-serif; font-style:italic; font-size:"+h_fHGH+"pt; font-weight:bold; background-color:"+h_bClrGH+"; color:"+h_tClrGH+"; cursor:pointer; }");
	document.write("#h_MoGH {width:"+h_bWGH+"; height:"+h_bHGH+"; font-family:sans-serif; font-style:italic; font-size:"+h_fHGH+"pt; font-weight:bold; background-color:"+h_tClrGH+"; color:"+h_bClrGH+"; cursor:pointer; }");
	document.write("#h_DnGH {width:"+h_bWGH+"; height:"+h_bHGH+"; font-family:sans-serif; font-style:italic; font-size:"+h_fHGH+"pt; font-weight:bold; background-color:#000000; color:#FFFFFF; cursor:pointer; }");
	document.write("</style>");
	h_makeBtnGH();				//call showbtn funtion to create button
	h_FlipGH();					//call bFlip function to cycle through messages
}

