var path = new String("/bom/cycles/stamps/stamp");

var stampPath = new Array(34);
	        stampPath[0]=path.concat("0.gif");
	        stampPath[1]=path.concat("1.gif");
	        stampPath[2]=path.concat("2.gif");
	        stampPath[3]=path.concat("3.gif");
	        stampPath[4]=path.concat("4.gif");
	        stampPath[5]=path.concat("5.gif");
	        stampPath[6]=path.concat("6.gif");
	        stampPath[7]=path.concat("7.gif");
	        stampPath[8]=path.concat("8.gif");
	        stampPath[9]=path.concat("9.gif");
	        stampPath[10]=path.concat("10.gif");
	        stampPath[11]=path.concat("11.gif");
	        stampPath[12]=path.concat("12.gif");
	        stampPath[13]=path.concat("13.gif");
	        stampPath[14]=path.concat("14.gif");
	        stampPath[15]=path.concat("15.gif");
	        stampPath[16]=path.concat("16.gif");
	        stampPath[17]=path.concat("17.gif");
	        stampPath[18]=path.concat("0.gif");
	        stampPath[19]=path.concat("19.gif");
	        stampPath[20]=path.concat("20.gif");
	        stampPath[21]=path.concat("0.gif");
	        stampPath[22]=path.concat("22.gif");
	        stampPath[23]=path.concat("23.gif");
	        stampPath[24]=path.concat("24.gif");
	        stampPath[25]=path.concat("25.gif");
	        stampPath[26]=path.concat("26.gif");
	        stampPath[27]=path.concat("27.gif");
	        stampPath[28]=path.concat("28.gif");
	        stampPath[29]=path.concat("29.gif");
	        stampPath[30]=path.concat("0.gif");
	        stampPath[31]=path.concat("0.gif");
	        stampPath[32]=path.concat("0.gif");
	        stampPath[33]=path.concat("33.gif");

var spaceImg = new Array(9);
		  spaceImg[0] = new Image(20,55);
	        spaceImg[0].src="/bom/cycles/stamps/space1.gif";
	        spaceImg[1] = new Image(20,55);
	        spaceImg[1].src="/bom/cycles/stamps/O.gif";
	        spaceImg[2] = new Image(20,55);
	        spaceImg[2].src="/bom/cycles/stamps/M.gif";
	        spaceImg[3] = new Image(20,55);
	        spaceImg[3].src="/bom/cycles/stamps/arrowL.gif";
	        spaceImg[4] = new Image(20,55);
	        spaceImg[4].src="/bom/cycles/stamps/arrowR.gif";
	        spaceImg[5] = new Image(20,55);
	        spaceImg[5].src="/bom/cycles/stamps/two.gif";
	        spaceImg[6] = new Image(20,55);
	        spaceImg[6].src="/bom/cycles/stamps/week1.gif";
	        spaceImg[7] = new Image(20,55);
	        spaceImg[7].src="/bom/cycles/stamps/week2.gif";
	        spaceImg[8] = new Image(20,55);
	        spaceImg[8].src="/bom/cycles/stamps/line.gif";

	var week = new Array(6);
   	week[0] = new Array(5);
   	week[1] = new Array(5);
   	week[2] = new Array(5);
   	week[3] = new Array(5);
   	week[4] = new Array(5);
   	week[5] = new Array(5);
	var weekText = new Array(6);
   	weekText[0] = new Array(5);
   	weekText[1] = new Array(5);
   	weekText[2] = new Array(5);
   	weekText[3] = new Array(5);
   	weekText[4] = new Array(5);
   	weekText[5] = new Array(5);

	weekText[0][0] = document.createTextNode("\xA0");
	weekText[0][1] = document.createTextNode("A short cycle. There was no BIP - the woman was possibly fertile before menstruation ended.");
	weekText[0][2] = document.createTextNode("A long cycle of 5 weeks duration or more.");
	weekText[0][3] = document.createTextNode("\xA0");
	weekText[0][4] = document.createTextNode("\xA0");


	weekText[1][0] = document.createTextNode("\xA0");
	weekText[1][1] = document.createTextNode("A short cycle. There was no BIP - the woman was possibly fertile before menstruation ended.");
	weekText[1][2] = document.createTextNode("A long cycle of 5 weeks duration or more.");
	weekText[1][3] = document.createTextNode("\xA0");
	weekText[1][4] = document.createTextNode("\xA0");
	
	weekText[2][0] = document.createTextNode("\xA0");
	weekText[2][1] = document.createTextNode("A short cycle. There was no BIP - the woman was possibly fertile before menstruation ended.");
	weekText[2][2] = document.createTextNode("When the first point of change occurs, there is a return to dryness, so the Wait & See 1,2,3 Rule is applied to see if the oestrogens settle back to a basic low level.");
	weekText[2][3] = document.createTextNode("A long cycle of more than 5 weeks duration. Note that the BIP was interrupted twice by change. On dry days following a change apply the Wait & See 1,2,3 Rule to allow the oestrogens to settle to a basic low level.");
	weekText[2][4] = document.createTextNode("\xA0");	

	weekText[3][0] = document.createTextNode("\xA0");
	weekText[3][1] = document.createTextNode("A short cycle. There was no BIP - the woman was possibly fertile before menstruation ended.");
	weekText[3][2] = document.createTextNode("The change is followed by a return to the BIP for one day before the changing developing pattern leading to the Peak.");
	weekText[3][3] = document.createTextNode("After the initial changes, there is a return of the BIP for more than three days, so intercourse could be resumed on the 4th evening of the BIP, and thereafter alternate evenings of the BIP are available for intercourse.");
	weekText[3][4] = document.createTextNode("\xA0");

	weekText[4][0] = document.createTextNode("\xA0");
	weekText[4][1] = document.createTextNode("A short cycle of less than 3 weeks duration. There was no BIP - the woman was possibly fertile before menstruation ended.");
	weekText[4][2] = document.createTextNode("The change to being possibly fertile did not proceed immediately to ovulation, but was followed by two more dry days. Wait& See 1,2,3 Rule is applied.");
	weekText[4][3] = document.createTextNode("The change to being possibly fertile did not proceed immediately to ovulation, but was followed by two more dry days, and then two days of bleeding. Wait & See 1,2,3 Rule is applied.");
	weekText[4][4] = document.createTextNode("A long cycle of more than 5 weeks duration. The bleeding after the change was not menstruation. It was followed by another infertile time of BIP which was determined by counting three dry days following the bleeding.");

	weekText[5][0] = document.createTextNode("\xA0");
	weekText[5][1] = document.createTextNode("A short cycle of less than 3 weeks duration. There was no BIP - the woman was possibly fertile before menstruation ended.");
	weekText[5][2] = document.createTextNode("The change to being possibly fertile did not proceed immediately to ovulation, but was followed by two more days of BIP discharge. Wait & See 1,2,3 Rule is applied.");
	weekText[5][3] = document.createTextNode("The change to being possibly fertile was followed by bleeding which was not menstruation and then two more days of BIP discharge. Wait & See 1,2,3 Rule is applied.");
	weekText[5][4] = document.createTextNode("The Wait & See 1,2,3 Rule is applied following ANY change (mucus or bleeding) to see if the oestrogens are going to settle back to a basic low level or rise to ovulation.");

	for (example=0; example<6; example++){
	 	for (count=0; count<5; count++){
		week[example][count] = document.createElement("span");
		week[example][count].appendChild(weekText[example][count]);
		}
	}

var drag = "DRAG THE ARROW";
var legend = "possibly fertile or fertile";
	
var description = new Array();
description[0] = "Cycles having only a Dry Basic Infertile Pattern during the pre-Ovulatory Phase or no BIP (short cycle).";
description[1] = "Cycles having only a Basic Infertile Pattern of Unchanging Discharge during the pre-Ovulatory Phase or no BIP (short cycle).";
description[2] = "Cycles having a Dry Basic Infertile Pattern; the BIP of the longer cycles is interrupted by Changes.";
description[3] = "Cycles having a Basic Infertile Pattern of Unchanging Discharge; the BIP of the longer cycles is interrupted by Changes.";
description[4] = "Cycles having a Dry Basic Infertile Pattern; the change from the BIP in the longer cycles includes bleeding which is not menstruation.";
description[5] = "Cycles having a Basic Infertile Pattern of Unchanging Discharge; the change from the BIP in the longer cycles includes bleeding which is not menstruation.";

