/*
 Function to Open No Web Download Pop-Up
*/

function openHelp(HelpID) {
	if (HelpID == undefined) {
		HelpID = 0
	}
	var HelpMessage;
	var width;
	var height;
	var align = "justify";
	var scrollbars = "auto";
	switch (HelpID) {
		case 1:
			HelpMessage = "Checking this box will disable all content that is dynamically downloaded from the web.  This may include titles, descriptions, and teasers automatically retreived for links.  Turning Web Access off may make the pages load a bit faster.";
			width = 220;
			height = 110;
			break;
		case 2:
			HelpMessage = "The number of visitors is calculated by adding one to the count for each unique visit per 24 hours.  A unique visit is a fisit from one machine and one browser.  If a visitor accesses the page with IE and Netscape, two visits will be logged.";
			width = 220;
			height = 110;
			break;
		case 3:
			HelpMessage = "<b>Privacy:</b> Information you enter in the guestbook is completely voluntary.  None of the information collected will ever be provided to any commercial web sites, ever, unless you specifically ask me to.  You may, from time to time, receive e-mails from myself, but they will not be commercial e-mails.  People who sign my guestbook will be considered a friend and I will treat them as such.";
			width = 280;
			height = 175;
			break;
		case 4:
			HelpMessage = "Some of the links on this site are to pages not associated with George's Universe.  I make no claims to have any rights to any copyrighted material that may be accessed via this site.  Some descriptions are dynamically generated from the page that is being linked to.  This information is never stored on the viewer's computer OR on the George's Universe web servers.  Any descriptions collected from outside sites are for the sole purpose of sending visitors to those sites.<br>By providing links to other sites, George's Universe does not guarantee, approve or endorse the information or products available at these sites, nor does a link indicate any association with or endorsement by the linked site to George's Universe.";
			width = 280;
			height = 225;
			break;
		case 5:
			HelpMessage = "<form name='addressForm' action='http://www.mapquest.com/maps/map.adp' method='search' target='Mapquest'><input type='hidden' name=country value=US><input type='hidden' name=countryid value=250><input type='hidden' name=addtohistory value=><a href='http://www.mapquest.com' target='Mapquest' style='font-size:10px;font-weight:bold;'>MAPQUEST:</a><br>Address: <input type='text' name='address' maxlength='80'  style='font-size:9px;height:15px;width:100px'><br>City: <input type='text' name='city' maxlength='50'  style='font-size:9px;height:15px;width:80px'>State: <input type='text' name='state' maxlength='2' style='font-size:9px;height:15px;width:15px'><br>Zip: <input type='text' name='zipcode' maxlength='10' style='font-size:9px;height:15px;width:30px'>&nbsp;&nbsp;<input type='submit' name='submit' value='Get Map' style='font-size:9px;height:20px;width:60px'></form>";
			width = 220;
			height = 110;
			break;
		case 6:
			HelpMessage = "This is what the first version of George's Universe looked like.<hr><img src='images/Old_Web_Images/V1_0-Main.jpg' hspace='5'>";
			width = 450;
			height = 600;
			scrollbars = "Yes";
			align = "left";
			break;
		case 7:
			HelpMessage = "This is what the links page for the first version of George's Universe looked like.<hr><img src='images/Old_Web_Images/V1_0-Links.jpg' hspace='5'>";
			width = 450;
			height = 380;
			align = "left";
			break;
		case 8:
			HelpMessage = "This is what the second version of George's Universe looked like.<hr><img src='images/Old_Web_Images/V2_0-Main.jpg' hspace='5'>";
			width = 450;
			height = 600;
			scrollbars = "Yes";
			align = "left";
			break;
		case 9:
			HelpMessage = "This is what the third version of George's Universe looked like.<hr><img src='images/Old_Web_Images/V3_0-Main.jpg' hspace='5'>";
			width = 450;
			height = 410;
			align = "left";
			break;
		case 10:
			HelpMessage = "This is what the inside pages of the third version of George's Universe looked like.<hr><img src='images/Old_Web_Images/V3_0-Inside.jpg' hspace='5'>";
			width = 450;
			height = 410;
			align = "left";
			break;
		case 11:
			HelpMessage = "This is what the fourth version of George's Universe looked like.<hr><img src='images/Old_Web_Images/V4_0-Main.jpg' hspace='5'>";
			width = 450;
			height = 450;
			align = "left";
			break;
		case 12:
			HelpMessage = "This is what the fifth, and current version of George's Universe looks like.<hr><img src='images/Old_Web_Images/V5_0-Main.jpg' hspace='5'>";
			width = 450;
			height = 510;
			align = "left";
			break;
		case 13:
			HelpMessage = "All content and graphics located on this site are copyright &copy; 2004 by George Jaros.  Exceptions to this is content discussed in the <a href='javascript: void(0)' onClick='openHelp(4);return false;'>Disclaimer</a> note and graphics and descriptions used with permission, i.e. awards graphics, etc.  If there is any content on this site that you believe I do not have permission to use, please e-mail me at <a href='mailto:George@Jaros.com?Subject=Copyright'>George@Jaros.com</a>.";
			width = 240;
			height = 130;
			break;
		default:
			HelpMessage = "<b style='color:800000;'><big>ERROR</big></b><br>I'm sorry.  There has been an error in the help file you requested.  Please e-mail me at <a href='mailto:george@jaros.com?subject=Page Error&Body=While visiting your site I found an error. - The HelpFile being accessed was: " + HelpID + "'>George@Jaros.com</a> to let me know.<br>HelpFile: " + HelpID;
			width = 300;
			height = 120;
			break;
	}
	
	var startDoc = "<html>\n<head>\n<title>Help Info</title>\n<link rel='stylesheet' href='includes/GU6_Styles.css'>\n";
	var startDoc = startDoc + "</head>\n";
	startDoc += "<body style='text-align:center;' onLoad='self.focus();'>\n";
	var endDoc = "</body>\n</html>";
	var xPos = screen.availWidth > width ? screen.availWidth/2 - width/2 : 0;
	var yPos = screen.availHeight > height ? screen.availHeight/2 - height/2 : 0;
	var features = "width=" + width + ",height=" + height;
	features += ",screenX=" + xPos + ",screenY=" + yPos + ",scrollbars=" + scrollbars + ",resizable=yes,status=no";
	
	showHelpWindow = window.open("", "HelpWindow" + HelpID, features);
	
	showHelpWindow.document.writeln(startDoc);

	showHelpWindow.document.write("<table width='100%' height='100%'><tr><td>\n");
	showHelpWindow.document.write("<table width='100%' height='100%'><tr><td class='Info' style='text-align:justify;' bgcolor='#B39C65' valign='top'>\n");
	showHelpWindow.document.write("<span style='font-size:10px;text-align:" + align + ";'>\n" + HelpMessage + "\n</span>\n");
	showHelpWindow.document.writeln("<div width='100%' style='text-align:right;'><a class='NavBar' href='' onClick='self.close()'>Close Window</a></div>\n")
	showHelpWindow.document.write("</td></tr></table>\n");
	showHelpWindow.document.write("</td></tr></table>\n");
	
	showHelpWindow.document.write("<script language='JavaScript' type='text/javascript' src='/includes/jsHelpWindows.js'> </script>\n");
	showHelpWindow.document.writeln(endDoc);	

}
