// ----- CMO Next Page Switches ------

// Module: cmonextpage.js 	version 1.7

// Date 15.5.2001

// Author Rod Fletcher

// This script is Copyright ©1999 - 2008 Rod and Sue Fletcher.

/* Maintenance ----------------
	
   Version 1.0 to 1.1 - 15.7.2002 Inclusion of YMA links
   
   Version 1.1 to 1.2 - 12.8.2002 Inclusion of Feedback page links
   
   Version 1.2to 1.3 - 30.9.2002 Remove special offer and Change Offers to R.A.F
   
   Version 1.3to 1.4 - 19.5.2003 Add Upgrade course
   
   Version 1.5 to 1.6 - 22.4.2005  Change booking system to take multiple bookings   

   Version 1.6 to 1.7 - 03.6.2008  Correct bad link   
------------------------------- */





function nextPage(k) {


	switch(k) {



		case 'T':
			location = '../../booking/html/cmotc.html?' + domType;	
			break;

		case '0':
			location = '../../courses/html/cmocourses.html?' + domType;
			break;
			
		case '1':
			location = '../../booking/html/cmobooking.html?' + domType;
			break;
			
		case '2':
			location = '../../faq/html/cmofaq.html?' + domType;
			break;
			
		case '3':
			location = '../../contact/html/cmocontact.html?' + domType;
			break;
			
		case '4':
			location = '../../about/html/cmoabout.html?' + domType;
			break;
			
		case '5':
			location = '../../map/html/cmomap.html?' + domType;
			break;
			
		case '6':
			location = '../../courses/html/cmofb.html?' + domType;
			break;
			
		case '7':
			location = '../../trivia/html/cmotrivia.html?' + domType;
			break;
			
		case '8':
			location = '../../links/html/cmolinks.html?' + domType;
			break;
			
			
			
			
		case '00':
			location = '../../courses/html/cmodsk.html?' + domType;
			break;

		case '01':
			location = '../../courses/html/cmoyma.html?' + domType;
			break;

		case '02':
			location = '../../courses/html/cmocom.html?' + domType;
			break;

		case '03':
			location = '../../courses/html/cmoupg.html?' + domType;
			break;
			
		case '04':
			location = '../../courses/html/cmofb.html?' + domType;
			break;
			
			
			

		case '000':
			location = '../../courses/html/cmodsksyll.html?' + domType;
			break;

		case '001':
			location = '../../courses/html/cmodskdemo.html?' + domType;
			break;
			
		case '010':
			location = '../../courses/html/cmoymasyll.html?' + domType;
			break;
						
		case '020':
			location = '../../courses/html/cmocomsyll.html?' + domType;
			break;
	
		case '021':
			location = '../../courses/html/cmocomdemo.html?' + domType;
			break;
			
		case '011':
			location = '../../courses/html/cmoymademo.html?' + domType;
			break;			
		case '030':
			location = '../../courses/html/cmoupgsyll.html?' + domType;
			break;
			
		case '031':
			location = '../../courses/html/cmoupgdemo.html?' + domType;
			break;

		case '0010':
			top.location = '../../demos/cmtdsk/dskwk1.htm?' + domType;
			break;

		case '0011':
			top.location = '../../demos/cmtdsk/dskwk3.htm?' + domType;
			break;

		case '0012':
			top.location = '../../demos/cmtdsk/dskwk5.htm?' + domType;
			break;


		case '0110':
			top.location = '../../demos/cmtyma/ymawk5.htm?' + domType;
			break;
			
		case '0210':
			top.location = '../../demos/cmtcom/comwk3.htm?' + domType;
			break;	
			
		case '0310':
			top.location = '../../demos/cmtupg/ymawk5.htm?' + domType;
			break;





		case '10':
			location = 'http://www.cmonline.co.uk/cgi-bin-local/cmobko.pl?' + domType;
			break;

		case '11':
			location = '../../booking/html/cmobooking.html?' + domType;
			break;

		case '12':
			location = '../../booking/html/cmoprices.html?' + domType;
			break;

		case '30':
			location = '../../contact/html/cmoonlenq.html?' + domType;
			break;

		case '32':
			location = '../../contact/html/cmomaillist.html?' + domType;
			break;
			
		case '60':
			location = '../../offers/html/cmocomp.html?' + domType;
			break;
			
		case '61':
			location = '../../offers/html/cmorefer.html?' + domType;
			break;
			
			
		case '80':
			location = '../../links/html/cmolinks.html?' + domType;
			break;
			
		case '81':
			location = '../../links/html/cmobooks.html?' + domType;
			break;
			
		case '82':
			location = '../../links/html/cmolinks.html?' + domType;
			break;

	}
}


// END
