
var warning_notes = '<p class="notestext"> <strong>Welcome to iSupport </strong></p><p class="notestext"> Welcome to the demo version of iSupport. This notes window will help guide you through the iSupport demo, offering general assistance and providing additional information about each module. The notes provided will automatically change each time you visit a new page. You may close, minimize, or move this window around the screen at any time.</p><p class="notestext"><a href="#" onClick="notes.setText(termsofuse);"><font class="notestext2">next--></font></a></p>'
var termsofuse = '<p class="notestext"> <strong>Terms of Use for iSupport</strong></p><p class="notestext">All users of iSupport will be presented with the legal terms   of use for the product.</p><p class="notestext">Most importantly, the sentence above the notes communicates   to the user that they are about to download and install files that will be temporarily   stored on their pc.</p><p class="notestext">All users are required to accept the terms of use before   continuing.</font></p>';
var system_notes = '<p class="notestext">iAnalyze - System Information</p><p class="notestext">The System Information module runs automatically, immediately after the user accepts the installation of the iSupport ActiveX component.</p><p class="notestext">This module will scan the user&#8217;s computer to determine the following hardware and software specifications:</p><ul><li class="notestext">WIndows OS Version</li><li class="notestext">Processor Make and Model</li><li class="notestext">Memory Capacity and Type</li><li class="notestext">Hard Drive space available</li><li class="notestext">Presence of CD-Rom</li><li class="notestext">USB Chipset attributes</li><li class="notestext">Presence of ethernet connection</li><li class="notestext">Video card specifications</li><li class="notestext">Presence of and version of Media player</li><li class="notestext">Sound card specifications</li><li class="notestext">Default Browser specifications<br></li></ul><p class="notestext">Once the test is completeed the user can opt to Print the results of the System Information scan, Save the results to a text file, or Email them (to a helpdesk agent for example).</p>';
var requirement_notes = '<p class="notestext"><strong>iAnalyze - Minimum Requirements Check</strong></p><p class="notestext">This tool is used to indicate to users whether or not their   system specifications meet a list of minimum hardware and software requirements.   The user can see exactly where their system passes or fails the test. </p><p class="notestext">The minimum requirements are, of course, customizeable for   each situation. Almost any quantifiable or qualify-able state can be tested for.</p><p class="notestext">Once the test is completed, the user can opt to Print the   results of the System Information scan, Save the results to a text file, or   Email them (to a helpdesk agent for example).</p>';
var form_notes = '<p class="notestext"><strong>iAnalyze - Auto-form completion Tool</strong></p><p class="notestext">This module performs the same tasks as the System Information   Checker, then enters the relevant data into an online form (eg. a form that   would survey user opinion as well as system information).</p><p class="notestext">This functionality is useful in situations where a user is   required to fill in a form, a portion of which may consist of certain hardware   or software diagnostics.</p>';
var dialup_notes = '<p class="notestext"><strong>iConfigure - Dial-up Account Creator</strong></p><p class="notestext">Collects input from user and creates a utility that will   automatically connect the user&#8217s computer to any online service or portal,   etc. The dialer is then accessible through the user&#8217s Network Settings   panel.</p><p class="notestext">The dialer can be customized to store a static list of preset   access modes. </p><p class="notestext">In this demo, the company service &#8220;MyISP&#8221; offers   three types of plans - personal, student and unlimited. THe user is only required   to identify which plan they are on. THe dialer will do the rest.</p><p class="notestext">Alternatively, the user can select the &#8220;other&#8221;   option and enter any dial-up access number in the textbox provided.</p><p class="notestext">The prefix box is available for situations where users are   required to dial a number before the local access phone number (9 is a common   example, or a local area code).</p><p class="notestext">As with most other modules in iSupport, this module relies   on the specific information of a particular company or on-line service to perform   optimally.</p>';
var emailacc_notes = '<p class="notestext"><strong>iConfigure - Email Account Creator</strong></p><p class="notestext">This module collects user input and automatically creates   an email account on the user&#8217s machine. Supports MS Outlook Express and   Netscape Mail.</p><p class="notestext">The only input required from the user is a display name (for   the identity to be created in the email application), and an email address (or   username to be requested).</p><p class="notestext">It can be used repeatedly to setup as many accounts as are   required.</p><p class="notestext">Currently the Email Account Creator supports Outlook Express   (the most common email client), and Netscape Mail.</p><p class="notestext">As with other modules in iSupport, the Email Account creator   requires custom data (domain name, mail server names, etc.) to perform properly.</p>';
var dialupnum_notes = '<p class="notestext"><strong>iConfigure - Dial-up Number Converter</strong></p><p class="notestext">This module will update a user&#8217s dial-up internet account   settings to ensure that the connection oyl in situations where a company needs   to transfer a large number of clients to a new dial-up destination quickly and   easily.</p>';
var internet_notes = '<p class="notestext"><strong>iDiagnostic - Internet Connection/Speed</strong></p><p class="notestext">For users that are having problems connecting to a particular   data source, this tool offers some useful tests to measure whether the connection   is working, and if so, how efficiently.</p><p class="notestext">The Internet Connection/Speed performs three tests to verify   and measure a user&#8217s connection. Users are able to ping and/or trace a   server (preset or other), or perform an ftp download of a specific size to measure   the average download bandwidth speed.</p><p class="notestext">Results of these tests can be saved or printed as required.</p>';

var emailacc_success = '';
var dialup_success = '';

function getURLText()
{
	var href = document.location.href;
	
	if(href.indexOf('demo.htm') != -1)
		return warning_notes;
		
	if(href.indexOf('system.htm') != -1)
		return system_notes;
		
	if(href.indexOf('requirement.htm') != -1)
		return requirement_notes;
	
	if(href.indexOf('form.htm') != -1)
		return form_notes;
	
	if(href.indexOf('dialup.htm') != -1)
		return dialup_notes;
	
	if(href.indexOf('emailacc.htm') != -1)
		return emailacc_notes;
	
	if(href.indexOf('dialupnum.htm') != -1)
		return dialupnum_notes;
	
	if(href.indexOf('internet.htm') != -1)
		return internet_notes;
	
	if(href.indexOf('emailacc_success.htm') != -1)
		return emailacc_success;
	
	if(href.indexOf('dialup_success.htm') != -1)
		return dialup_success;
	
	return "UnKnown";
}