/*
	<meta name="author" 		content="Thomas Wilson">
	<meta name="host" 			content="wehostmacs.com">
	<meta name="host-admin" 	content="noc@wehostmacs.com">
	<meta name="keys"			content="brainfarts, add, apple">
	
	<meta name="creation" 		content="08/09/2005">
	<meta name="last_modified"	content="02/07/2006">
*/



popupMsgMac = new Array(8);
popupMsgWin = new Array(4);

var popupMessage		= 'It appears that your browser is configured to block websites from opening new windows.'			+
						  '<br><br>'																						+
						  'This site, brainfarts.com, is currently designed to require opening a new window into which '	+
						  'the site will be loaded.'																		+
						  '<br><br>'																						+
						  'Though it has not been qualified to run outside the controlled environment that its own '		+
						  'window would provide, it will likely work fine with most modern browsers.<br><br>'				+
						  'Therefore, you can either click on the link directly below this paragraph or you can disable '	+
						  'the popup blocker as outlined below for your browser.<br><br>'									+
						  '<div align="center"><a href="' + site_path + 'index_frameset.html">'								+
						  								'Load brainfarts.com into this window</A></div><br>'				+
						  'You appear to be using ' + browser + ns + ' ' + version + ' (' + OS + ')'						+
						  '. If this is correct you may proceed to brainfarts.com as follows:<br><br>'						+
						  '<img name="blue_line" border="0" hspace="0" vspace="0" width="100%" height="2" align="left" '	+
								'alt="Image: Horizontal blue line (2w x 2h) [43 bytes]" '									+
					   			'src="graphics/Blue_2_Pixel.gif"><br>';
					  

var linkText			= 'You should now be able to reach brainfarts.com by clicking on the following link:<br><br>'		+
						  '<div align="center"><a href="' + site_path + 'index.html">Brainfarts</A></div>';

var popupMsgOther		= 'This site has not yet been tested on ' + OS;
var notYetTestedMsg		= 'This site, brainfarts.com, has not yet been tested with this browser.';


/* ----------------------------------------------------------------- */
/*        Popup blocker messages for the Macintosh platform          */
/* ----------------------------------------------------------------- */

popupMsgMac['Safari']	= '<ul>' +
						  '<li> In Safari, click on the Safari menu item.<br>' +
						  '<li> Scoll down and select the "Block Pop-Up Windows" item.<br>' +
						  '<li> The "Block Pop-Up Windows" menu item should now be unchecked.<br>' +
						  '<li> Alternatively you may hold down the Apple key and press the letter "k" to toggle this feature on and off.<br><br>' +
						  '</ul>' + linkText;

popupMsgMac['Shiira']	= '<ul>' +
						  '<li> In Shiira, click on the Shiira menu item.<br>' +
						  '<li> Scoll down and select the "Block Pop-Up Windows" item.<br>' +
						  '<li> The "Block Pop-Up Windows" menu item should now be unchecked.<br>' +
						  '<li> Alternatively you may hold down the Apple key and press the letter "k" to toggle this feature on and off.<br><br>' +
						  '</ul>' + linkText;
						  
popupMsgMac['Netscape']	= '*A number of browsers identify themselves as Netscape. Among them are several that are derived from Netscape\'s ' +
						  'core code base; Mozilla, Firefox and Camino are all detected as Netscape browsers and are covered below.' +
						  '<ul>' +
						  '<li> In your browser, click on the menu item "Netscape" (or the name of one of its variants).<br>' +
						  '<li> Scoll down and select the "Preferences" item.<br>' +
						  '<li><strong>' +
						  'Netscape, Mozilla:</strong>' +
							  '<ul>' +
							  '<li> On the left, under "Categories," click on the triangle next to the item, "Privacy & Security."<br>' +
							  '<li> Doing so should reveal another list of items to choose from. Choose "Popup Windows."<br>' +
							  '<li> Uncheck the top check box to the right of the "Category" list, "Block unrequested popup windows."<br>' +
							  '<li> Click the "OK" button in the lower right of the "Preferences" window.<br>' +
							  '</ul>' +
						  '<li><strong>' +
						  'Firefox:</strong>' +
							  '<ul>' +
							  '<li> On the left of the "Preferences" window click on the icon labeled "Web Features."<br>' +
							  '<li> Doing so should reveal a list of check boxes to the right of the icons."<br>' +
							  '<li> Uncheck the top check box , "Block Popup Windows."<br>' +
							  '<li> Click the "OK" button in the lower right of the "Preferences" window.<br>' +
							  '</ul>' +
						  '<li><strong>' +
						  'Camino:</strong>' +
							  '<ul>' +
							  '<li> Along the top of the "Preferences" window click on the icon labeled "Web Features."<br>' +
							  '<li> Doing so should reveal a list of check boxes below the row of icons."<br>' +
							  '<li> Uncheck the check box labeled, "Block popup windows."<br>' +
							  '<li> Close the "Preferences" window as you would any other window. Click on the red button at the far left ' +
							  	   'of the window\'s title bar.<br>' +
							  '</ul>' +
						  '</ul>' + linkText;
						  
popupMsgMac['Explorer']	= 'Popup windows can not be blocked using the Macintosh version of Explorer. ' +
						  'You should, therefore, never see this message using Explorer on the Mac!';
						  
popupMsgMac['Opera']	= '<ul>' +
						  '<li> In Opera, click on the Opera menu item.<br>' +
						  '<li> Scoll down to the "Quick Preferences" menu item.<br>' +
						  '<li> While continuing to hold down the mouse button, move right into the sub-menu and select "Open all pop-ups."<br><br>' +
						  '<li> Alternatively you may open the Opera "Preferences" window.<br>' +
						  '<li> Select the "General" tab.<br>' +
						  '<li> From the drop-down menu near the bottom of the window, select "Open all pop-ups."' +
						  '<li> Click the "OK" button in the lower right of the "Preferences" window.<br><br>' +
						  '</ul>' + linkText;
						  
popupMsgMac['OmniWeb']	= '<ul>' +
						  '<li> In OmniWeb, click on the OmniWeb menu item.<br>' +
						  '<li> Scoll down and select the "Preferences" menu item.<br>' +
						  '<li> Select the "Show All" icon located in the upper left of the OmniWeb "Preferences" window.<br>' +
						  '<li> Select the "Ad Blocking" icon located in the "Global Site Preferences" section of the window.' +
						  '<li> From the drop-down menu at the top of the window, labeled "Block pop-up windows:," select "Never."' +
						  '<li> Also, uncheck the "Show blocked pop-up windows in the status bar" item.' +
						  '<li> Close the "Preferences" window as you would any other window. Click on the red button at the far left ' +
							   'of the window\'s title bar.<br>' +
						  '</ul>' + linkText;
						  
popupMsgMac['iCab']		= '<ul>' +
						  '<li> In iCab, click on the iCab menu item.<br>' +
						  '<li> Scoll down and select the "Preferences" menu item.<br>' +
						  '<li> Select the "Show All" icon located in the upper left of the iCab "Preferences" window.<br>' +
						  '<li> Select the "JavaScript" icon located in the "Web Content" section of the window.' +
						  '<li> Click on the "Filter" button.' +
						  '<li> Both "Open windows automatically" and "Open windows via user interaction" should be checked.' +
						  '<li> Close the "Preferences" window as you would any other window. Click on the red button at the far left ' +
							   'of the window\'s title bar.<br>' +
						  '</ul>' + linkText;
						  
popupMsgMac['Linux']	= notYetTestedMsg;


/* ----------------------------------------------------------------- */
/*          Popup blocker messages for the Windows platform          */
/* ----------------------------------------------------------------- */

popupMsgWin['Explorer']	= 'Until the release of the "Microsoft Service Pack 2 (SP2)" for Windows XP, Explorer had no inherent capability ' +
						  'to block popup windows. A number of third party "Popup Blockers" exist, however, that support versions of Explorer ' +
						  'for most recent versions of Windows.<br><br>' +
						  'Princeton University has created an excellent support document covering popup blockers and how to disable them. ' +
						  'The following link will transfer you to the appropriate support page on Princeton\'s web site where you\'ll find instructions ' +
						  'for how to disable the popup blocker:<br><br>' +
						  '<div align="center"><a href="http://helpdesk.princeton.edu/kb/display.plx?ID=9512">Popup Window Help</a></div>' +
						  '<br><br>' + linkText;

popupMsgWin['Netscape']	= '*A number of browsers identify themselves as Netscape. Among them are several that are derived from Netscape\'s ' +
						  'core code base; Mozilla and Firefox are both detected as Netscape browsers and are covered below.' +
						  '<ul>' +
						  '<li> In your browser, click on the menu item "Tools".<br>' +
						  '<li><strong>' +
						  'Netscape:</strong>' +
							  '<ul>' +
						 	  '<li> Scoll down and select the "Options" item.<br>' +
							  '<li> Select the "Site Controls" icon located on the left of the "Options" window.<br>' +
							  '<li> Below "Web Features" at the top right of the "Options" window check the item labeled "Allow Unrequested Popups."<br>' +
							  '<li> Click the "OK" button in the lower right of the "Options" window.<br>' +
							  '</ul>' +
						  '<li><strong>' +
						  'Mozilla:</strong>' +
							  '<ul>' +
						 	  '<li> Scoll down and select the "Popup Manager" menu item.<br>' +
						  	  '<li> While continuing to hold down the mouse button, move right into the sub-menu and select "Allow Popups From This Site."<br><br>' +
							  '<li> On the left, under "Categories," click on the triangle next to the item, "Privacy & Security."<br>' +
							  '<li> A window should appear. Beneath the caption, "Allowed Web Sites," brainfarts.com should appear in the text entry box.."<br>' +
							  '<li> Click the "ADD" button to the right. "brainfarts.com should now appear in thelist below.<br>' +
							  '<li> Close the window.<br>' +
							  '</ul>' +
						  '<li><strong>' +
						  'Firefox:</strong>' +
							  '<ul>' +
							  '<li> Scoll down and select the "Options" item.<br>' +
							  '<li> On the left of the "Options" window click on the icon labeled "Web Features."<br>' +
							  '<li> Doing so should reveal a list of check boxes to the right of the icons."<br>' +
							  '<li> Uncheck the top check box , "Block Popup Windows."<br>' +
							  '<li> Click the "OK" button in the lower right of the "OPtions" window.<br>' +
							  '</ul>' +
						  '</ul>' + linkText;
						  
popupMsgWin['Opera']	= notYetTestedMsg;
popupMsgWin['Linux']	= notYetTestedMsg;
