// ***************************************************************************************
//				CreateHeader
// ***************************************************************************************

function CreateHeader() {
	var content = "";

	content += "<CENTER><TABLE COLS=\"3\" BORDER=\"0\" WIDTH=\"600\" CELLPADDING=\"20\" CELLSPACING=\"0\" >";
	content +="<TR><TD ALIGN=\"RIGHT\">";
	content +="<IMG SRC=\"/gifs/jkk.gif\" WIDTH=\"150\" HEIGHT=\"142\" ALT=\"JKK's Logo\"></TD>";
	content +="<TD ALIGN=\"CENTER\">";
	content+="<CENTER><H2><IMG SRC=\"/gifs/joneskwongkishi.gif\" WIDTH=\"380\" HEIGHT=\"40\" ALT=\"JONES KWONG KISHI\"><BR>Consulting Engineers</H2><BR>";
	content+="<FONT FACE=\"Helvetica,Arial,Geneva,Swiss,SunSans-Regular\"><I>Providing Structural Engineering Solutions Since 1978</I></FONT></CENTER></TD>";
	content +="<TD ALIGN=\"CENTER\">";
	content +="<IMG SRC=\"/gifs/25.gif\" WIDTH=\"150\" HEIGHT=\"150\" ALT=\"25 Year Logo\"><BR></TD>";
	content +="</TR></TABLE></CENTER>";
	content +="<CENTER><table cols=\"4\" width=\"50%\" CELLSPACING=\"0\" CELLPADDING=\"0\" border=\"1\">";
	content +="<TR><TD>";
	content +="<A HREF=\"/welcome.htm\"><IMG SRC=\"/gifs/buttons/home.gif\" WIDTH=\"100\" HEIGHT=\"25\" BORDER=\"0\" ALT=\"HOME\"></A></TD>";
	content +="<TD><A HREF=\"/principals/principals.htm\"><IMG SRC=\"/gifs/buttons/principals.gif\" WIDTH=\"100\" HEIGHT=\"25\" BORDER=\"0\" ALT=\"PRINCIPALS\"></A></TD>";
	content +="<TD><A HREF=\"/projects/projects.htm\"><IMG SRC=\"/gifs/buttons/projects.gif\" WIDTH=\"100\" HEIGHT=\"25\" BORDER=\"0\" ALT=\"PROJECTS\"></A></TD>";
	content +="<TD><A HREF=\"mailto:the_team@jkk.com\"><IMG SRC=\"/gifs/buttons/email.gif\" WIDTH=\"100\" HEIGHT=\"25\" BORDER=\"0\" ALT=\"EMAIL\"></A></TD>";
	content +="</TR></TABLE></CENTER>";
	content +="<HR>";
	content +="<BR>";
	return(content);
}
// ***************************************************************************************
//				CreateMapHeader
// ***************************************************************************************

function CreateMapHeader() {
	var content = "";

	content += "<CENTER><TABLE COLS=\"2\" BORDER=\"0\" WIDTH=\"600\" CELLPADDING=\"0\" CELLSPACING=\"0\" >";
	content +="<TR><TD ALIGN=\"RIGHT\">";
	content +="<IMG SRC=\"../gifs/jkk.gif\" WIDTH=\"150\" HEIGHT=\"142\" ALT=\"JKK's Logo\"></TD>";
	content +="<TD ALIGN=\"CENTER\">";
	content+="<CENTER><H2><IMG SRC=\"../gifs/joneskwongkishi.gif\" WIDTH=\"380\" HEIGHT=\"40\" ALT=\"JONES KWONG KISHI\"><BR>Consulting Engineers</H2>";
	content+="<div CLASS=\"italics1\">Providing Structural Engineering Solutions Since 1978</div></FONT></CENTER></TD>";
	content +="<TD ALIGN=\"RIGHT\">";
	content += "<div align=\"right\"><a href=\"javascript:window.close()\"><img src=\"../gifs/CLOSE.gif\" width=\"96\" height=\"17\" border=\"0\"></a></div>";
	content +="</TABLE></CENTER>";
	content +="<HR>";
	return(content);
}
// ***************************************************************************************
//				Output Base
// ***************************************************************************************

function OutputBase() {
	var content="";
	return(content);
	var docloc = location.hostname;
//	alert("docloc = " + docloc + "Length = "+docloc.length);
	if( docloc == "www.jkk.com" ) {
		content += "<BASE HREF=\"http://www.jkk.com/\">";
	} else {
		content += "<BASE HREF=\"c:\\webpages\\jkk\\\">";
	}
return(content);
}
// ***************************************************************************************
//		Do New	
// ***************************************************************************************


function doNew(url) {
var fullurl = ""+ url;
var 	myWind = window.open(fullurl,"","height=800,width=800,noscrollbars");
	myWind.picktype = self.picktype;
	myWind.creator = self.creator;
//	self.close();
}

function doNewProject(id) {

var fullurl = "http://www.jkk.com/projectinfo.php?id=" + id;
var 	myWind = window.open(fullurl,"","height=600,width=850,scrollbars");
	myWind.picktype = self.picktype;
	myWind.creator = self.creator;
	myWind.focus();
}

