// JavaScript Document

	/*****************************************************
	Function: instText
	Purpose: Writes the content of the document in newWindow() below;
	Called: By newWindow()
	Source: J Glew 11 November 2009
	******************************************************/
		
		function instText(status) {
			if (status == "basic") {
			//fills the new window with a document written on the fly
			instructWindow.document.write("<html><head><title>SD Network subscriptions - basic<\/title><\/head><body><h1>Basic level subscriptions<\/h1>");
			instructWindow.document.write("<p>Fee: <strong>Free<\/strong><\/p>");
			instructWindow.document.write("<p>This level of membership will continue to operate in a similar way to the already existing membership service provided to most members (apart from organizational partners) so far. ");
			instructWindow.document.write("Most members, who have already signed up will be by default registered as basic members. ");
			instructWindow.document.write("<p>Basic members are not required to pay a subscription fee and will enjoy the following benefits and services:<\/p>");
			instructWindow.document.write("<ul><li>Access to the most recent electronic newsletter with updates about the network environment;<\/li>");
			instructWindow.document.write("<li>Access to the latest online tutorial;<\/li>");
			instructWindow.document.write("<li>Communications from the network manager. We will keep you informed with regular updates about the network activity, but you can also contact us with your queries;<\/li>");
			instructWindow.document.write("<li>Information about training courses;<\/li>");
			instructWindow.document.write("<li>Information about iThink and Netsim software license. Did you know that we can assist you if you require iThink/STELLA software and license? Just drop us a line and we can explain more about the benefits that you can gain from purchasing your license from us;<\/li>");
			instructWindow.document.write("<li>Access to a number of online models;<\/li>");
			instructWindow.document.write("<li>See members’ comments and questions about these models.<\/li><\/ul>");

//click to close window
			instructWindow.document.write("<p style='text-align:center'>");
			instructWindow.document.write("<a href='javascript:self.close();'>Close window<\/a><\/p");
			instructWindow.document.write("<\/body><\/html>");
			}

			if (status == "enhanced") {
			//fills the new window with a document written on the fly
			instructWindow.document.write("<html><head><title>SD Network subscriptions - individual<\/title><\/head><body><h1>Individual level subscriptions<\/h1>");
			instructWindow.document.write("<p>Fee: <strong>&pound;95<\/strong><\/p>");
			instructWindow.document.write("<p>This level of membership provides members full rights to use the Online Systems Learning Network website for their systems modelling activity.");
 			instructWindow.document.write("Whether you are a beginner in systems modelling or a more advanced modeller you will have access to help, information and networking opportunities to support your modelling activity. ");
			instructWindow.document.write("For an annual subscription fee of £95, you will receive a host of benefits and services:<\/p>");
			instructWindow.document.write("<ul><li>Access to electronic newsletters (including back issues) with updates about the network environment;<\/li>");
			instructWindow.document.write("<li>Full access to the whole series of online tutorials and training models;<\/li>");
			instructWindow.document.write("<li>Communications from the network manager. We will keep you informed with regular updates about the network activity;<\/li>");
			instructWindow.document.write("<li>Direct contact with the network manager, to answer or direct you to the best place to receive answers to your systems modelling questions;<\/li>");
			instructWindow.document.write("<li>Advance notification about new models uploaded on the website, new tutorials, WSP projects, etc.;<\/li>");
			instructWindow.document.write("<li>Information about training courses;<\/li>");
			instructWindow.document.write("<li>Suggest training topics to be added to the network space;<\/li>");
			instructWindow.document.write("<li>Information about iThink and Netsim software license. Did you know that we can assist you if you require iThink\/STELLA software and license? Just drop us a line and we can explain more about the benefits that you can gain from purchasing your license from us;<\/li>");
			instructWindow.document.write("<li>Full access to a wider range of online models on the network website;<\/li>");
			instructWindow.document.write("<li>Share your own (online and iThink\/STELLA) models, add questions and receive feedback from the WSP team and other members in the network;<\/li>");
			instructWindow.document.write("<li>Be put in touch with other modellers in your area.<\/li><\/ul>");

			//click to close window
			instructWindow.document.write("<p style='text-align:center'>");
			instructWindow.document.write("<a href='javascript:self.close();'>Close window<\/a><\/p");
			instructWindow.document.write("<\/body><\/html>");
			}
			
			if (status == "partner") {
			//fills the new window with a document written on the fly
			instructWindow.document.write("<html><head><title>SD Network subscriptions - partnership organisation<\/title><\/head><body><h1>Partnership organisation subscriptions<\/h1>");
			instructWindow.document.write("<p>Fee: <strong>Included in WSP Partnership License agreement<\/strong><\/p>");
			instructWindow.document.write("<p>This membership is appropriate where an organization is willing to develop its in-house modeling capabilities and therefore requires multiple licenses and an approach to developing and sustaining this in-house capacity. ");
			instructWindow.document.write("WSP have negotiated a unique licensing arrangement with Isee Systems which makes multiple licenses considerably cheaper when more than two licenses are required. ");
			instructWindow.document.write("In addition, WSP seek to ‘partner’ with the organization in providing bespoke training and support to in-house capacity development as well as specific projects.<\/p>");
			instructWindow.document.write("<p>This is an organisational partnership arrangement for WSP clients in the public sector within the UK. ");
			instructWindow.document.write("WSP builds a special relationship with these members by providing priority coaching and in-house training, software licenses and technical support, support in modelling projects and workshops, but primarily the aim is to support members’ of the organisation to build their systems modelling competencies. ");
			instructWindow.document.write("As part of this organisational licence agreement, all members of the modelling team in the organisation receive special support through the Online Systems Learning Network, for which an additional subscription fee is not required as this is included in the original license agreement. ");
			instructWindow.document.write("All the benefits of the individual membership outlined above are available to individuals within a Partner organisation as well as the wider organisational benefits detailed here. ");
			instructWindow.document.write("Organisational members need to register to the network to be able to use the space as part of their systems learning endeavour.<\/p>");
			instructWindow.document.write("<p>If your organisation is not already a partnership organisation and you think this might be appropriate for you, please contact peter.lacey@thewholesystem.co.uk for further details.<\/p>");
			instructWindow.document.write("<p><strong>If your organisation is already a partnership organisation you should enter your partnership number in the box provided in order to receive full benefits at no additional cost to yourself.<\/strong><\/p>");

			//click to close window
			instructWindow.document.write("<p style='text-align:center'>");
			instructWindow.document.write("<a href='javascript:self.close();'>Close window<\/a><\/p");
			instructWindow.document.write("<\/body><\/html>");
			}
		}

	

	
	/*****************************************************
	Function: newWindow
	Purpose: Opens a new window of an appropriate size to display text;
			 includes a facility to close the window again 
	Called: By a link in the body of the registration page
	Source: Negrino and Smith, pp 112-113
	******************************************************/

		function newWindow(status) {
		//opens a new window with the name 'instructWin',
		//this initially has no content,
		//it is set at a size big enough to accommodate the text and 'close window' facility,
		//it is resizeable 
		instructWindow = window.open("", "instructWin", "resizable=yes,width=650,height=600,scrollbars=yes");
		//call instText() to add document content
		instText(status)
		//click to close window
		//instructWindow.document.write("<p style='text-align:center'>");
		//instructWindow.document.write("<a href='javascript:self.close();'>Close window<\/a><\/p");
		//instructWindow.document.write("<\/body><\/html>");
		//ends the creation of the document
		instructWindow.document.close();
		//brings the new window to the front
		instructWindow.focus();
		}

