function makeBtn() 
	{
	document.write("<form name='GECBtn' action='");
	document.write(urlStr);
	document.write("' target='_blank'><input name='Btn' type='submit' value='");
	document.write(msgs[1]);
	document.write("' title='");
	document.write(hintStr);
	document.write("' style='width:");
	document.write(bW);
	document.write("; height:");
	document.write(bH);
	document.write("; cursor:pointer; font-family:sans-serif; font-style:italic; font-size:");
	document.write(fH);
	document.write("pt; font-weight:bold; background-color:");
	document.write(bClr);
	document.write("; color:");
	document.write(tClr);
	document.write(";'></form>");
}

function bFlip() { 
	var tTimedelay=2000*nBtn; // msecs between msgs
	document.GECBtn.Btn.value = msgs[nBtn];
	(nBtn == (msgs.length - 1)) ? nBtn = 1 : nBtn++;
	window.setTimeout("bFlip()", tTimedelay); }
	

{	//main part of script
 	var nBtn=1; 						//control variable for bFlip function
	var bClr="#DEDEFF"; 				//btn color
	var tClr="#000080"; 				//text color
	var bH=28;							//btn height in pixels
	var bW=110;							//btn width in pixels
	var fH=9;							//font size in points
	var urlStr="http://geconsult.com" 	//where to go when btn is clicked

	var msgs = new Array();				//btn messages to cycle through
	msgs[1] = "Dynamic";
	msgs[2] = "Websites by";
	msgs[3] = "GEConsult.com";

	var hintStr = msgs[1]+" "+msgs[2]+" "+msgs[3];
	
	if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)<5) ){
		document.write("<a href='" +urlStr+"' target='_blank'>");
		document.write("<font color=#000080><strong>["+msgs[3]+"]</a></font></strong><br>"); }
	else { 	makeBtn();					//call showbtn funtion to create button
			bFlip();					//call bFlip function to cycle through messages
	}
}
