// user definable variables

var stepper = 0 ;					// debug / review variable
var norepeatfrac = 0.4 ;	// fractions of unique knowledge items displayed in sequence

// Define the questiontypes

Qtype = [["Identify the CORRECT statement", "Identify the INCORRECT statement"], "Identify the organ", "Identify a cell type", "Identify a histological feature", "Identify a tissue type", "Percentages", "Which cell type secretes"] ;

function Knitemize() {

Prepare();

// Selectable knowledge item groups and definitions, last subject code used: 41

if ( document.forms["Selector"].Tissues.checked || document.forms["Selector"].Epithelia.checked ) {

// epithelia, code 1, available codes 1-3

Knit("quiz/Q242.jpg", ["simple squamous epithelium", "simple cuboidal epithelium"], 4, 1, 0.5, 0);									// H&E, glomerulus
Knit("quiz/Q390.jpg", ["simple squamous epithelium"], 4, 1, 0.5, 0);																								// H&E, artery
Knit("quiz/Q218.jpg", ["simple cuboidal epithelium", "simple squamous epithelium"], 4, 1, 1, 0.1);									// H&E, portal triad
Knit("quiz/Q171.jpg", ["simple columnar epithelium", "unicellular exocrine gland (goblet cell)"], 4, 1, 0.5, 0.1);	// H&E, GIT
Knit("quiz/Q172.jpg", ["simple columnar epithelium"], 4, 1, 0.5, 0.1);																							// H&E, GIT
Knit("quiz/Q174.jpg", ["transitional epithelium"], 4, 1, 1, 0.1);																										// H&E, bladder rabbit
Knit("quiz/Q175.jpg", ["pseudostratified epithelium"], 4, 1, 1, 0.1);																								// ABVG concha

Knit("quiz/Q176.jpg", ["stratified squamous epithelium"], 4, 1, 0.4, 0.3); 	// VG, oesophagus
Knit("quiz/Q196.jpg", ["stratified squamous epithelium"], 4, 1, 0.6, 0); 		// H&E, oesophagus

Knit("quiz/Q312.jpg", ["stratified cuboidal epithelium"], 4, 1, 0.8, 0.1);
Knit("quiz/Q177.jpg", ["stratified columnar epithelium"], 4, 1, 1, 0.1);
Knit("quiz/Q195.jpg", ["keratinized stratified squamous epithelium"], 4, 1, 1, 0.1);

// glands, code 1

Knit("quiz/Q375.jpg", ["alveolar gland", "simple cuboidal epithelium"], 4, 1, 1, 0.4);					// H&E, mammary gland
Knit("quiz/Q239.jpg", ["mucous gland", "mucous acinus"], 4, 1, 1, 0.4); 												// high mag H&E
Knit("quiz/Q106.jpg", ["mucous acinus", "mucous gland"], 4, 1, 0.4, 0);													// high mag H&E
Knit("quiz/Q254.jpg", ["serous gland", "serous acinus"], 4, 1, 1, 0);														// high mag H&E
Knit("quiz/Q263.jpg", ["unicellular exocrine gland (goblet cell)", "goblet cell"], 4, 1, 1, 0); // high mag H&E

Knit("replace Which morphological type of gland is represented by an epithelium consisting entirely of secretory cells?", ["secretory epithelial sheath"], 4, 1, 0.3, 0);

// correct-incorrect questions, code 2

Knit("none", ["Epithelia are classified by the shape of the epithelial cells in the surface layer.", "Epithelia are classified by the shape of the epithelial cells in the basal cell layer."], 0, 2, 0.2, 0);
Knit("none", ["Epithelia are classified by the number of cell layers."], 0, 2, 0.2, 0);
Knit("none", ["Epithelia are avascular.", "Absorptive epithelia contain a dense network of blood vessels."], 0, 2, 0.2, 0);
Knit("none", ["In pseudostratified epithelia all epithelial cells are in contact with the basement membrane."], 0, 2, 0.2, 0);
Knit("none", ["The shape of the cells in the surface layer of transitional epithelia is variable."], 0, 2, 0.2, 0);
Knit("none", ["The appearance of an epithelium can vary with the angle of the section relative to the surface of the epithelium.", "The type of an epithelium can vary with the angle of the section relative to the surface of the epithelium."], 0, 2, 0.2, 0);
Knit("none", ["Microvilli increase the surface area of the epithelia cells."], 0, 2, 0.2, 0);
Knit("none", ["Tight junctions between epithelial cells are an effective barrier to the diffusion of substances across an epithelium.", "Desmosomes are an effective barrier to the diffusion of substances across an epithelium."], 0, 2, 0.2, 0);
Knit("none", ["The basal lamina can act as a selective filter between epithelium and connective tissue."], 0, 2, 0.2, 0);
//Knit("none", ["."], 0, 2, 0.2, 0);
//Knit("none", ["."], 0, 2, 0.2, 0);
//Knit("none", ["."], 0, 2, 0.2, 0);


Knit("none", ["The type of an epithelium can vary with the angle of the section relative to the surface of the epithelium.", "The appearance of an epithelium can vary with the angle of the section relative to the surface of the epithelium."], 0, -2, 0.2, 0);
Knit("none", ["Epithelia are classified by the shape of the cells in the basal cell layer.", "Epithelia are classified by the shape of the epithelial cells in the surface layer."], 0, -2, 0.2, 0);
Knit("none", ["Connective tissue fibres between the epithelial cells give strength to the epithelium."], 0, -2, 0.2, 0);
Knit("none", ["Desmosomes are an effective barrier to the diffusion of substances across an epithelium.", "Tight Junctions between epithelial cells are an effective barrier to the diffusion of substances across an epithelium."], 0, -2, 0.2, 0);
Knit("none", ["Stereocilia are actively motile structures which help to move substances along the epithelial surface."], 0, -2, 0.2, 0);
Knit("none", ["The basement membrane consists of two sublayers: the basal cell layer and the basal lamina."], 0, -2, 0.2, 0);
Knit("none", ["Only stratified epithelia contain two or more rows of cell nuclei."], 0, -2, 0.2, 0);
Knit("none", ["Absorptive epithelia contain a dense network of blood vessels.", "Epithelia are avascular."], 0, -2, 0.2, 0);
Knit("none", ["The rules which are used to classify epithelia cannot be used to describe endothelia and mesothelia."], 0, -2, 0.2, 0);
//Knit("none", ["."], 0, -2, 0.2, 0);
//Knit("none", ["."], 0, -2, 0.2, 0);
//Knit("none", ["."], 0, -2, 0.2, 0);

}; // end of if-Tissues-Epithelia


if ( document.forms["Selector"].Tissues.checked || document.forms["Selector"].Connective.checked ) {

// connective tissues, code 4, available codes 4-6

Knit("quiz/Q148.jpg", ["dense irregular connective tissue"], 4, 4, 1, 0.1);											// high mag H&E
Knit("quiz/Q191.jpg", ["loose irregular connective tissue"], 4, 4, 1, 0.1);											// high mag H&E
Knit("quiz/Q149.jpg", ["mesenchymal connective tissue"], 4, 4, 0.2, 0.1);												// high mag H&E
Knit("quiz/Q150.jpg", ["mesenchymal connective tissue"], 4, 4, 0.8, 0.1);												// high mag H&E
Knit("quiz/Q151.jpg", ["dense regular connective tissue", "skeletal muscle"], 4, 4, 0.3, 0.1);	// high mag VG
Knit("quiz/Q240.jpg", ["dense regular connective tissue"], 4, 4, 0.7, 0.1);											// high mag H&E
Knit("quiz/Q152.jpg", ["white adipose tissue", "trabecular bone"], 4, 4, 0.5, 0.1);							// high mag H&E
Knit("quiz/Q224.jpg", ["white adipose tissue"], 4, 4, 0.5, 0.1);																// med mag H&E
Knit("quiz/Q394.jpg", ["brown adipose tissue"], 4, 4, 0.5, 0.1);																// high mag tri
Knit("quiz/Q169.jpg", ["reticular connective tissue"], 4, 4, 0.5, 0.1);													// med mag RE
Knit("quiz/Q170.jpg", ["reticular connective tissue"], 4, 4, 0.5, 0.1);													// med mag RE

// connective tissue cells, code 4

Knit("quiz/Q068.jpg", ["macrophage", "hepatocyte"], 2, 4, 1, 0.3);																// high mag tri
Knit("quiz/Q143.jpg", ["mesenchymal cell", "fibrocyte"], 2, 4, 1, 0.3);														// high mag umbi H&E
Knit("quiz/Q361.jpg", ["mast cell"], 2, 4, 1, 0.3);																								// high mag TB
//Knit("quiz/Q361.jpg", ["fibrocyte"], 2, 4, 1, 1);																							// high mag TB
//Knit("quiz/Q361.jpg", ["adipocyte"], 2, 4, 1, 1);																							// high mag TB
Knit("replace Which cell type differentiates into macrophages?", ["monocyte", "macrophage"], 2, 4, 0.3, 0.3);
Knit("replace Which cell type releases histamine?", ["mast cell", "basophil"], 2, 4, 0.5, 0.3);
Knit("replace Which cell type is involved in the synthesis and maintenance of the extracellular components of connective tissues?", ["fibrocyte", "mesenchymal cell"], 2, 4, 0.5, 0.3);
Knit("replace Which cell type is a fixed connective tissue cell?", ["adipocyte", "fibrocyte", "mesenchymal cell", "reticular cell"], 2, 4, 0.5, 0.3);

// correct-incorrect questions, code 5

Knit("none", ["Type III tropocollagen is the dominant form of tropocollagen in reticular fibres.", "Type I tropocollagen is the dominant form of tropocollagen in reticular fibres.", "Type III tropocollagen is the dominant form of tropocollagen in collagen fibres."], 0, 5, 0.1, 0);
Knit("none", ["Type I tropocollagen is the dominant form of tropocollagen in collagen fibres.", "Type III tropocollagen is the dominant form of tropocollagen in collagen fibres.", "Type I tropocollagen is the dominant form of tropocollagen in reticular fibres."], 0, 5, 0.1, 0);
Knit("none", ["Adipose tissue can have a structural, cushioning function."], 0, 5, 0.2, 0);
Knit("none", ["The generation of heat by the oxidation of fatty acids is a special feature of brown adipose tissue."], 0, 5, 0.2, 0);
Knit("none", ["The local release of histamine and heparin increases blood flow and the permeability of blood vessels.", "The release of histamine by macrophages attracts white blood cells to sites of injury or infection."], 0, 5, 0.2, 0);
Knit("none", ["Connective tissues can be classified by the density and orientation of connective tissue fibres."], 0, 5, 0.2, 0);
Knit("none", ["Adipose tissue and reticular connective tissue are special variants of loose connective tissue."], 0, 5, 0.2, 0);
Knit("none", ["Ground substance is located between connective tissue fibres and cells."], 0, 5, 0.2, 0);
//Knit("none", ["."], 0, 5, 0.2, 0);
//Knit("none", ["."], 0, 5, 0.2, 0);

Knit("none", ["Type III tropocollagen is the dominant form of tropocollagen in collagen fibres.", "Type I tropocollagen is the dominant form of tropocollagen in collagen fibres.", "Type III tropocollagen is the dominant form of tropocollagen in reticular fibres."], 0, -5, 0.1, 0);
Knit("none", ["Type I tropocollagen is the dominant form of tropocollagen in reticular fibres.", "Type III tropocollagen is the dominant form of tropocollagen in collagen fibres.", "Type III tropocollagen is the dominant form of tropocollagen in reticular fibres."], 0, -5, 0.1, 0);
Knit("none", ["Mucous connective tissue is common in adult individuals."], 0, -5, 0.2, 0);
Knit("none", ["The release of histamine by macrophages attracts white blood cells to sites of injury or infection.", "The local release of histamine and heparin increases blood flow and the permeability of blood vessels."], 0, -5, 0.2, 0);
Knit("none", ["Elastin is an elastic form of tropocollagen (type IV)."], 0, -5, 0.2, 0);
Knit("none", ["Connective tissue cells are the dominant tissue component in dense connective tissues."], 0, -5, 0.2, 0);
Knit("none", ["The proteoglycans of ground substance consist mainly of proteins."], 0, -5, 0.2, 0);
Knit("none", ["Ground substance is an effective barrier to the diffusion of gases, ions, and small molecules."], 0, -5, 0.2, 0);
//Knit("none", ["."], 0, -5, 0.2, 0);
//Knit("none", ["."], 0, -5, 0.2, 0);

}; // end of if-Tissues-Connective


if ( document.forms["Selector"].Tissues.checked || document.forms["Selector"].Skeletal.checked) {

// skeletal tissues, code 7, available codes 7-9

Knit("quiz/Q016.jpg", ["compact bone"], 4, 7, 0.5, 0);				// med mag ground
Knit("quiz/Q017.jpg", ["compact bone"], 4, 7, 0.25, 0);				// low mag Schmorl
Knit("quiz/Q018.jpg", ["compact bone"], 4, 7, 0.25, 0);				// med mag Schmorl
Knit("quiz/Q025.jpg", ["trabecular bone"], 4, 7, 1, 0);				// low mag H&E
Knit("quiz/Q124.jpg", ["elastic cartilage"], 4, 7, 1, 0);			// med mag elastin
Knit("quiz/Q125.jpg", ["fibrous cartilage"], 4, 7, 0.45, 0);	// med mag H&E
Knit("quiz/Q126.jpg", ["fibrous cartilage"], 4, 7, 0.1, 0);		// med mag VG
Knit("quiz/Q127.jpg", ["fibrous cartilage"], 4, 7, 0.45, 0);	// med mag H&E
Knit("quiz/Q128.jpg", ["hyaline cartilage"], 4, 7, 0.7, 0);		// med mag H&E
Knit("quiz/Q164.jpg", ["hyaline cartilage"], 4, 7, 0.3, 0);		// high mag VG
//Knit("quiz/Q164.jpg", ["hyaline cartilage"], 4, 7, 0.3, 0);		// med mag Azan
Knit("quiz/Q131.jpg", ["articular cartilage"], 4, 7, 1, 0);		// low mag H&E
		
// skeletal tissue cells, code 7

Knit("quiz/Q132.jpg", ["chondrocyte"], 2, 7, 0.5, 0.1);				// fibro high mag H&E
Knit("quiz/Q165.jpg", ["chondrocyte"], 2, 7, 0.5, 0.1);				// hyal high mag VG
Knit("quiz/Q142.jpg", ["osteocyte"], 2, 7, 1, 0.1);						// high mag H&E
//Knit("quiz/Q142.jpg", ["osteocyte"], 2, 7, 0.5, 0.1);						// 
Knit("quiz/Q225.jpg", ["osteoblast"], 2, 7, 1, 0.1);					// high mag H&E
//Knit("quiz/Q225.jpg", ["osteoblast"], 2, 7, 1, 0.1);					// high mag H&E
Knit("quiz/Q333.jpg", ["osteoclast"], 2, 7, 1, 0.1);					// high mag H&E

Knit("replace Which cell type gives rise to osteoblasts?", ["osteoprogenitor cell", "osteoblast"], 2, 7, 0.5, 0.1);
		
// skeletal tissue features, code 7

Knit("quiz/Q016.jpg", ["Haversian system (osteon)", "Haversian canal", "osteocyte lacuna", "canaliculi"], 3, 7, 0.5, 0); // ground
Knit("quiz/Q018.jpg", ["Haversian system (osteon)", "Haversian canal", "osteocyte lacuna", "canaliculi"], 3, 7, 0.5, 0); // Schmorl
Knit("quiz/Q019.jpg", ["epiphyseal plate", "endochondral ossification", "bone marrow"], 3, 7, 0.8, 0);
Knit("quiz/Q233.jpg", ["zone of reserve cartilage", "endochondral ossification"], 3, 7, 0.2, 0);				// med mag H&E
Knit("quiz/Q234.jpg", ["zone of cartilage proliferation", "endochondral ossification"], 3, 7, 0.2, 0);	// med mag H&E
Knit("quiz/Q235.jpg", ["zone of cartilage hypertrophy", "endochondral ossification"], 3, 7, 0.2, 0);		// med mag H&E
Knit("quiz/Q236.jpg", ["zone of cartilage calcification", "endochondral ossification"], 3, 7, 0.2, 0);	// med mag H&E
Knit("quiz/Q023.jpg", ["endochondral ossification"], 3, 7, 0.5, 0);							// low mag H&E 
Knit("quiz/Q024.jpg", ["endochondral ossification"], 3, 7, 0.3, 0);							// med mag H&E
Knit("quiz/Q020.jpg", ["periosteum"], 3, 7, 0.8, 0);														// H&E
Knit("quiz/Q204.jpg", ["perichondrium"], 3, 7, 0.8, 0);													// H&E
Knit("quiz/Q021.jpg", ["intramembranous ossification"], 3, 7, 0.8, 0);					// H&E
Knit("quiz/Q022.jpg", ["intramembranous ossification"], 3, 7, 0.2, 0.5);				// ABVG
Knit("quiz/Q121.jpg", ["Haversian canal"], 3, 7, 1, 0);													// high mag ground
Knit("quiz/Q388.jpg", ["Volkmann's canal"], 3, 7, 0.6, 0);											// high mag ground
Knit("quiz/Q122.jpg", ["osteocyte lacuna"], 3, 7, 1, 0);												// high mag ground
Knit("quiz/Q123.jpg", ["canaliculi"], 3, 7, 1, 0);															// high mag ground
Knit("quiz/Q129.jpg", ["interterritorial matrix"], 3, 7, 1, 0);									// H&E
Knit("quiz/Q194.jpg", ["territorial matrix"], 3, 7, 1, 0);											// H&E
Knit("quiz/Q130.jpg", ["isogenous group"], 3, 7, 1, 0);													// H&E
Knit("quiz/Q226.jpg", ["tangential layer, articular cartilage"], 3, 7, 1, 0);		// H&E
Knit("quiz/Q227.jpg", ["transitional layer, articular cartilage"], 3, 7, 1, 0);	// H&E
Knit("quiz/Q228.jpg", ["radial layer, articular cartilage"], 3, 7, 1, 0);				// H&E

//  correct-incorrect questions, code 8
Knit("none", ["Osteoblasts deposit the organic matrix of bone as osteoid."], 0, 8, 0.2, 0);
Knit("none", ["The terms <span class='important'>lamellar</span> and <span class='important'>woven</span> refer to the appearance of bone under the microscope."], 0, 8, 0.2, 0);
Knit("none", ["The terms <span class='important'>compact</span> and <span class='important'>trabecular</span> refer to the appearance of bone visible to the eye (macroscopic)."], 0, 8, 0.2, 0);
Knit("none", ["Bone remodeling occurs throughout life."], 0, 8, 0.2, 0);
Knit("none", ["Osteocytes and chondrocytes are located in lacunae, i.e. small hollows in the matrix of bone and cartilage"], 0, 8, 0.2, 0);
Knit("none", ["Cartilage is generally avascular."], 0, 8, 0.2, 0);
Knit("none", ["Woven bone is formed at sites of intramembranous ossification."], 0, 8, 0.2, 0);
Knit("none", ["The periosteum and endosteum contain osteoprogenitor cells."], 0, 8, 0.2, 0);
Knit("none", ["The resorptive activity of osteoclasts is stimulated by parathyroid hormone and inhibited by calcitonin."], 0, 8, 0.2, 0);
Knit("none", ["Volkman's canals establish connections between Haversian canals and the inner surface of compact bone.", "Volkman's canals connect osteocyte lacunae with haversian canals."], 0, 8, 0.2, 0);
Knit("none", ["Tropocollagen type II is the dominant form of collagen in most types of cartilage.", "Collagen fibres are only present in fibrous cartilage."], 0, 8, 0.2, 0);
Knit("none", ["During development, cartilage grows by interstitial and appositional mechanisms."], 0, 8, 0.2, 0);
Knit("none", ["Isogenous groups of chondrocytes have a common cell ancestor."], 0, 8, 0.2, 0);

Knit("none", ["The lamellae of trabecular and compact bone are organised into Haversian system (osteons)."], 0, -8, 0.2, 0);
Knit("none", ["Canaliculli are small channels between the lacunae which house chondrocytes."], 0, -8, 0.2, 0);
Knit("none", ["Intramembranous ossification requires the presence of a cartilage model."], 0, -8, 0.2, 0);
Knit("none", ["Lamellae surrounding Haversian canals are called circumferential lamellae."], 0, -8, 0.2, 0);
Knit("none", ["Epiphyseal plates allow for the growth and remodeling of bone throughout life."], 0, -8, 0.2, 0);
Knit("none", ["Osteoprogenitor cells form the cartilage model necessary for endochondral ossification."], 0, -8, 0.2, 0);
Knit("none", ["Hydroxyapatite is the main constituent of the organic bone matrix."], 0, -8, 0.2, 0);
Knit("none", ["Volkman's canals connect osteocyte lacunae with haversian canals.", "Volkman's canals establish connections between Haversian canals and the inner surface of compact bone."], 0, -8, 0.2, 0);
Knit("none", ["Chondroprogenitor cells in the perichondrium are reponsible for the effective remodeling and repair of adult cartilage."], 0, -8, 0.1, 0);
Knit("none", ["Collagen fibres are only present in fibrous cartilage.", "Tropocollagen type II is the dominant form of collagen in most types of cartilage."], 0, -8, 0.2, 0);
Knit("none", ["Articular cartilage is a specialised form of elastic cartilage."], 0, -8, 0.2, 0);
Knit("none", ["The main source of nourishment of articular cartilage are blood vessels in the underlying bone."], 0, -8, 0.2, 0);
Knit("none", ["The presence of the collagen fibres distinguishes fibrous cartilage from dense connective tissue."], 0, -8, 0.2, 0);

}; // end of if-Tissues-Skeletal


if ( document.forms["Selector"].Tissues.checked || document.forms["Selector"].Muscle.checked) {

// muscle, code 10, available codes 10-12

Knit("quiz/Q133.jpg", ["cardiac muscle"], 4, 10, 0.7, 0); // high mag Whipf's
Knit("quiz/Q265.jpg", ["cardiac muscle"], 4, 10, 0.3, 0); // high mag ironH

Knit("quiz/Q134.jpg", ["smooth muscle"], 4, 10, 0.4, 0); // high mag H&E
Knit("quiz/Q138.jpg", ["smooth muscle"], 4, 10, 0.6, 0); // high mag H&E

Knit("quiz/Q136.jpg", ["skeletal muscle"], 4, 10, 0.5, 0); // high mag trans H&E
Knit("quiz/Q137.jpg", ["skeletal muscle"], 4, 10, 0.5, 0); // high mag long H&E
Knit("replace In which muscle type(s) are satellite cells present?", ["skeletal muscle"], 4, 10, 0.5, 0);

Knit("quiz/Q264.jpg", ["smooth muscle and skeletal muscle"], 4, 10, 0.6, 0);		// high mag H&E
Knit("quiz/Q232.jpg", ["smooth muscle and cardiac muscle"], 4, 10, 0.3, 0);			// high mag Whipf's
Knit("replace In which muscle type(s) are the nuclei located centrally in the cells?", ["smooth muscle and cardiac muscle"], 4, 10, 0.4, 0);
Knit("replace In which muscle type(s) are the contractile filaments organized into sarcomeres?", ["cardiac muscle and skeletal muscle"], 4, 10, 0.3, 0);
Knit("replace In which muscle type(s) are intercalated discs absent?", ["smooth muscle and skeletal muscle"], 4, 10, 0.5, 0);

// muscle features, code 10

Knit("quiz/Q135.jpg", ["muscle spindle", "intrafusal muscle fibre"], 3, 10, 1, 0.2);			// high mag H&E
Knit("quiz/Q151.jpg", ["muscle-tendon junction"], 3, 10, 1, 0.2);													// high mag VG
Knit("quiz/Q217.jpg", ["Purkinje fibre", "sarcomere(s)"], 3, 10, 1, 0.2);									// high mag Whipf's
Knit("quiz/Q241.jpg", ["intercalated disc", "Z-line", "sarcomere(s)"], 3, 10, 1, 0.2);		// high mag AliB
Knit("quiz/Q277.jpg", ["sarcomere(s)"], 3, 10, 0.5, 0.5);																	// high mag Whipf's
Knit("quiz/Q282.jpg", ["intrafusal muscle fibre"], 3, 10, 0.5, 0.5);											// high mag H&E

Knit("replace Which organelle of muscle cells is reponsible for calcium storage?", ["sarcoplasmatic reticulum", "triad"], 3, 10, 0.5, 0.5);

// muscle, EM & LM contractile apparatus, code 11

Knit("quiz/Q271.jpg", ["A-band"], 3, 11, 0.3, 0);					// EM
Knit("quiz/Q272.jpg", ["I-band"], 3, 11, 0.3, 0);					// EM	
Knit("quiz/Q273.jpg", ["Z-line"], 3, 11, 0.3, 0);					// EM	
Knit("quiz/Q274.jpg", ["M-line"], 3, 11, 0.5, 0);					// EM	
Knit("quiz/Q275.jpg", ["sarcomere(s)"], 3, 11, 0.5, 0.3);	// EM	
Knit("quiz/Q276.jpg", ["triad"], 3, 11, 0.5, 0);					// EM
Knit("quiz/Q278.jpg", ["Z-line"], 3, 11, 0.3, 0);					// LM Whipf's
Knit("quiz/Q279.jpg", ["I-band"], 3, 11, 0.3, 0);					// LM Whipf's
Knit("quiz/Q280.jpg", ["H-band"], 3, 11, 0.5, 0);					// LM Whipf's
Knit("quiz/Q281.jpg", ["A-band"], 3, 11, 0.3, 0);					// LM Whipf's

// muscle, correct-incorrect questions, code 12
Knit("none", ["The contraction of smooth muscle cells is slow, but they can remain contracted for long periods."], 0, 12, 0.2, 0);
Knit("none", ["Intracytoplasmatic dense bodies of smooth muscle cells functionally correspond to the Z-lines of the other muscle types."], 0, 12, 0.2, 0);
Knit("none", ["The release of calcium from intracellular stores formed by smooth endoplasmatic reticulum is essential for contraction and common to all muscle types."], 0, 12, 0.2, 0);
Knit("none", ["The length of the A-band of sarcomeres does not change with contraction."], 0, 12, 0.2, 0);
Knit("none", ["The neurotransmitter at the neuromuscular junction is acetylcholine.", "The neurotransmitter at the neuromuscular junction is noradrenaline."], 0, 12, 0.2, 0);
Knit("none", ["The coupling of receptors in the membranes forming the T-tubule system and sarcoplasmatic reticulum mediates the release of calcium from the sarcoplasmatic reticulum."], 0, 12, 0.2, 0);
Knit("none", ["Contraction speed of skeletal muscle fibres depends on the ATPase activity of myosin.", "The contraction of type I skeletal muscle fibres is fast because they contain large amounts of myoglobin and mitochondria."], 0, 12, 0.2, 0);
Knit("none", ["Motor units are groups of skeletal muscle fibres innervated by one motor neurone."], 0, 12, 0.2, 0);
Knit("none", ["Extensive GAP junctions are found at the intercalated discs which join cardiac muscle cells."], 0, 12, 0.2, 0);
Knit("none", ["The structure of the contractile apparatus of cardiac muscle cells is similar to that of skeletal muscle fibres."], 0, 12, 0.2, 0);

Knit("none", ["Smooth muscle cells of the multiunit type are connected by GAP junctions and can contract spontaneously."], 0, -12, 0.2, 0);
Knit("none", ["Smooth muscle cells rely on glycolysis to generate the ATP necessary for long periods of contraction."], 0, -12, 0.2, 0);
Knit("none", ["Individual skeletal muscle fibres are surrounded by perimysium, which is a delicate network of reticular fibres."], 0, -12, 0.2, 0);
Knit("none", ["The H-band of the sarcomere correponds to the part in which actin and myosin filaments overlap."], 0, -12, 0.2, 0);
Knit("none", ["The neurotransmitter at the neuromuscular junction is noradrenaline.", "The neurotransmitter at the neuromuscular junction is acetylcholine."], 0, -12, 0.2, 0);
Knit("none", ["The binding of calcium to tropomyosin induces configurational changes in troponin-C which allows the interaction of actin and myosin filaments."], 0, -12, 0.2, 0);
Knit("none", ["The contraction of type I skeletal muscle fibres is fast because they contain large amounts of myoglobin and mitochondria.", "Contraction speed of skeletal muscle fibres depends on the ATPase activity of myosin."], 0, -12, 0.2, 0);
Knit("none", ["Triads are found at the border between the I- and A- bands of cardiac muscle cells."], 0, -12, 0.2, 0);
Knit("none", ["Modified nerve cells called Purkinje fibres mediate the excitation of cardiac muscle cells."], 0, -12, 0.2, 0);
Knit("none", ["The mixture of fibre types found in a motor unit determines the functional characteristics of the motor unit."], 0, -12, 0.2, 0);

}; // end of if-Tissues-Muscle


if ( document.forms["Selector"].Tissues.checked || document.forms["Selector"].Nervous.checked ) {

// nervous tissues, code 14, available codes 14-16

Knit("quiz/Q140.jpg", ["nervous tissue, peripheral nerve"], 4, 14, 1, 0.5);				// low mag osmium
Knit("quiz/Q153.jpg", ["nervous tissue, peripheral nerve"], 4, 14, 1, 0.5);				// high mag H&E
Knit("quiz/Q154.jpg", ["nervous tissue, spinal cord"], 4, 14, 1, 0.5);						// low mag LFC
Knit("quiz/Q257.jpg", ["nervous tissue, autonomous ganglion"], 4, 14, 1, 0.5);		// low mag H&E
Knit("quiz/Q284.jpg", ["nervous tissue, forebrain"], 4, 14, 1, 0.5);							// low mag Giemsa

// nervous tissue cells, code 14

Knit("quiz/Q139.jpg", ["neurone"], 2, 14, 0.6, 0.1); // high mag cord LFB
Knit("quiz/Q144.jpg", ["neurone"], 2, 14, 0.2, 0.1); // med mag cortex Golgi
Knit("quiz/Q159.jpg", ["neurone", "glial cell", "oligodendrocyte", "astrocyte", "microglial cell"], 2, 14, 0.7, 0.1); // high mag cord H&E

Knit("quiz/Q285.jpg", ["glial cell", "oligodendrocyte", "astrocyte", "microglial cell"], 2, 14, 0.6, 0.1); // high mag cord LFB
Knit("quiz/Q147.jpg", ["glial cell", "oligodendrocyte", "astrocyte", "microglial cell"], 2, 14, 0.2, 0.1); // high mag Giemsa
Knit("quiz/Q158.jpg", ["glial cell", "oligodendrocyte", "astrocyte", "microglial cell"], 2, 14, 0.4, 0.1); // high mag LFB
Knit("quiz/Q159.jpg", ["glial cell", "neurone", "oligodendrocyte", "astrocyte", "microglial cell"], 2, 14, 0.3, 0.1); // high mag H&E
Knit("quiz/Q382.jpg", ["astrocyte", "glial cell"], 2, 14, 0.3, 0);			// high mag immuno
//Knit("quiz/Q382.jpg", ["microglial cell", "glial cell"], 2, 14, 0.3, 0);			// high mag immuno
Knit("quiz/Q386.jpg", ["ependymal cell"], 2, 14, 0.3, 0); // high mag H&E

Knit("quiz/Q146.jpg", ["ganglion cell", "neurone"], 2, 14, 0.8, 0.1);		// high mag H&E
Knit("quiz/Q286.jpg", ["ganglion cell", "neurone"], 2, 14, 0.4, 0.1);		// high mag H&E
Knit("quiz/Q145.jpg", ["satelite cell", "glial cell"], 2, 14, 1, 0);		// high mag auto H&E

// nervous tissue cells, text questions, code 15

Knit("replace Which cell type forms the myelin sheath around myelinated axons in the central nervous system?", ["oligodendrocyte", "glial cell"], 2, 15, 0.5, 0);
Knit("replace Which cell type forms the myelin sheath around myelinated axons in the peripheral nervous system?", ["Schwann cell"], 2, 15, 0.4, 0);
Knit("replace Which cell type lines the ventricles of the central nervous system?", ["ependymal cell"], 2, 15, 0.3, 0);
Knit("replace Which cell type differentiates into phagocytosing cells after injury to the central nervous system?", ["microglial cell", "glial cell"], 2, 15, 0.5, 0);
Knit("replace Which cell type provides structural and nutritional support to neurones in the central nervous system?", ["astrocyte", "oligodendrocyte", "glial cell"], 2, 15, 0.5, 0);
Knit("replace Which cell type supports unmyelinated axons in the peripheral nervous system?", ["Schwann cell"], 2, 15, 0.4, 0);

// nervous tissue features, code 14

Knit("quiz/Q141.jpg", ["myelin sheath"], 3, 14, 0.6, 0);						// high mag nerve osmium
Knit("quiz/Q283.jpg", ["myelin sheath"], 3, 14, 0.4, 0);						// EM
Knit("quiz/Q155.jpg", ["white matter"], 3, 14, 0.7, 0);							// low mag spinal cord LFC
Knit("quiz/Q156.jpg", ["grey matter"], 3, 14, 1, 0);								// low mag spinal cord LFC
Knit("quiz/Q157.jpg", ["white matter"], 3, 14, 0.3, 0);							// high mag spinal cord LFC
Knit("quiz/Q383.jpg", ["axon"], 3, 14, 0.8, 0)											// med mag cortex Golgi
Knit("quiz/Q385.jpg", ["axon hillock"], 3, 14, 0.4, 0)							// med mag cortex Golgi
Knit("quiz/Q384.jpg", ["dendrite"], 3, 14, 0.8, 0);									// med mag cortexGolgi
Knit("quiz/Q370.jpg", ["node of Ranvier"], 3, 14, 0.8, 0);					// high mag nerve osmium
Knit("quiz/Q161.jpg", ["trunk of primary dendrite", "dendrite"], 3, 14, 0.8, 0);												// high mag cord H&E
Knit("quiz/Q160.jpg", ["Nissl bodies", "rough endoplasmatic reticulum", "grey matter"], 3, 14, 0.7, 0); // high mag cord H&E
Knit("quiz/Q160.jpg", ["rough endoplasmatic reticulum", "Nissl bodies"], 3, 14, 0.3, 0.3);							// high mag cord H&E

Knit("replace Which structure helps to maintain the appropriate microenvironment for peripheral nerve fibres?", ["perineurium", "myelin sheath"], 3, 14, 0.5, 0.3); //

// nervous tissue, correct-incorrect questions, code 16
Knit("none", ["The myelination of axons provides the basis for the fast, saltatory transmission of nerve impulses."], 0, 16, 0.2, 0);
Knit("none", ["The perineurium surrounds fascicles (bundles) of nerve fibres within a nerve."], 0, 16, 0.2, 0);
Knit("none", ["Preganglionic fibres connect neurons in the CNS with ganglion cells in the PNS."], 0, 16, 0.2, 0);
Knit("none", ["The principal neurotransmitters in the PNS are acetylcholine and noradrenalin."], 0, 16, 0.2, 0);
Knit("none", ["Glutamate and GABA are the most prominent excitatory and inhibitory transmitters in the CNS."], 0, 16, 0.2, 0);
Knit("none", ["Axons can branch and form synapses both along their course and at their ends."], 0, 16, 0.2, 0);
Knit("none", ["Neurones can use several neurotransmitters at their synapses.", "Neurones typically express receptors for only one of the main neurotransmitters."], 0, 16, 0.2, 0);
Knit("none", ["Excitatory synapses are typically asymmetric.", "Excitatory synapses are typically symmetric."], 0, 16, 0.2, 0);
//Knit("none", ["."], 0, 16, 0.2, 0);
//Knit("none", ["."], 0, 16, 0.2, 0);
//Knit("none", ["."], 0, 16, 0.2, 0);

Knit("none", ["Connective tissue cells are present in the epineurium but absent from the endoneurium."], 0, -16, 0.2, 0);
Knit("none", ["Autonomic ganglion cells do not form dendrites and function mainly as trophic support of their T-shaped axon."], 0, -16, 0.2, 0);
Knit("none", ["Synapses contain neurotransmitter-filled boutons which are released from the synapse in response to nerve stimulation."], 0, -16, 0.2, 0);
Knit("none", ["In contrast to oligodendrocytes, Schwann cells never support more than one axon."], 0, -16, 0.2, 0);
Knit("none", ["Each neurone has as a rule one primary dendrite, and never more than one primary dendrite."], 0, -16, 0.2, 0);
Knit("none", ["Motor fibres are commonly myelinated C-fibres with high conduction velocities."], 0, -16, 0.2, 0);
Knit("none", ["Neurones typically express receptors for only one of the main neurotransmitters.", "Neurones can use several neurotransmitters at their synapses."], 0, -16, 0.2, 0);
Knit("none", ["Excitatory synapses are typically symmetric.", "Excitatory synapses are typically asymmetric."], 0, -16, 0.2, 0);
//Knit("none", ["."], 0, -16, 0.2, 0);
//Knit("none", ["."], 0, -16, 0.2, 0);
//Knit("none", ["."], 0, -16, 0.2, 0);

}; // end of if-Tissues-Nervous


if ( document.forms["Selector"].Tissues.checked || document.forms["Selector"].Blood.checked ) {

// blood cells, code 17, available codes 17-19

Knit("quiz/Q002.jpg", ["lymphocyte", "basophil", "basophil and lymphocyte", "erythrocyte", "platelet"], 2, 17, 0.2, 0);
Knit("quiz/Q005.jpg", ["lymphocyte", "erythrocyte", "platelet"], 2, 17, 0.5, 0);
Knit("quiz/Q006.jpg", ["lymphocyte", "erythrocyte"], 2, 17, 0.7, 0);
Knit("quiz/Q009.jpg", ["lymphocyte", "monocyte", "lymphocyte and monocyte", "erythrocyte"], 2, 17, 0.1, 0);
Knit("quiz/Q012.jpg", ["lymphocyte", "neutrophil", "neutrophil and lymphocyte", "erythrocyte"], 2, 17, 0.3, 0);

Knit("quiz/Q004.jpg", ["neutrophil","eosinophil", "eosinophil and neutrophil", "erythrocyte", "platelet"], 2, 17, 0.3, 0);
Knit("quiz/Q010.jpg", ["neutrophil", "erythrocyte"], 2, 17, 0.5, 0);
Knit("quiz/Q011.jpg", ["neutrophil", "erythrocyte", "platelet"], 2, 17, 0.7, 0);
Knit("quiz/Q012.jpg", ["neutrophil", "lymphocyte","neutrophil and lymphocyte", "erythrocyte"], 2, 17, 0.2, 0);
Knit("quiz/Q288.jpg", ["neutrophil", "erythrocyte", "platelet"], 2, 17, 0.3, 0);

Knit("quiz/Q011.jpg", ["platelet", "neutrophil", "erythrocyte"], 2, 17, 0.5, 0);
Knit("quiz/Q013.jpg", ["platelet", "erythrocyte"], 2, 17, 0.5, 0);

Knit("quiz/Q008.jpg", ["erythrocyte", "monocyte", "platelet"], 2, 17, 0.2, 0);
Knit("quiz/Q011.jpg", ["erythrocyte", "platelet", "neutrophil"], 2, 17, 0.2, 0);
Knit("quiz/Q013.jpg", ["erythrocyte", "platelet"], 2, 17, 0.6, 0);

Knit("quiz/Q007.jpg", ["monocyte", "erythrocyte"], 2, 17, 0.5, 0);
Knit("quiz/Q008.jpg", ["monocyte", "erythrocyte", "platelet"], 2, 17, 0.5, 0);
Knit("quiz/Q009.jpg", ["monocyte", "lymphocyte", "lymphocyte and monocyte", "erythrocyte"], 2, 17, 0.3, 0);

Knit("quiz/Q003.jpg", ["eosinophil", "erythrocyte"], 2, 17, 1, 0);
Knit("quiz/Q004.jpg", ["eosinophil", "neutrophil", "eosinophil and neutrophil", "erythrocyte", "platelet"], 2, 17, 0.3, 0);

Knit("quiz/Q001.jpg", ["basophil", "erythrocyte"], 2, 17, 1, 0);
Knit("quiz/Q002.jpg", ["basophil", "lymphocyte", "basophil and lymphocyte", "erythrocyte", "platelet"], 2, 17, 0.5, 0);

Knit("quiz/Q002.jpg", ["basophil and lymphocyte", "erythrocyte", "platelet"], 2, 17, 0.3, 0);
Knit("quiz/Q004.jpg", ["eosinophil and neutrophil", "erythrocyte", "platelet"], 2, 17, 0.4, 0);
Knit("quiz/Q009.jpg", ["lymphocyte and monocyte", "erythrocyte"], 2, 17, 0.5, 0);
Knit("quiz/Q012.jpg", ["neutrophil and lymphocyte", "erythrocyte", "platelet"], 2, 17, 0.2, 0);

Knit("quiz/Q014.jpg", ["megakaryoblast"], 2, 17, 0.3, 0.4);		// med mag H&E
Knit("quiz/Q290.jpg", ["megakaryoblast"], 2, 17, 0.3, 0.4);		// high mag H&E
Knit("quiz/Q015.jpg", ["megakaryocyte"], 2, 17, 0.3, 0.6);		// med mag H&E
Knit("quiz/Q289.jpg", ["megakaryocyte"], 2, 17, 0.3, 0.6);		// high mag H&E
Knit("quiz/Q326.jpg", ["normoblast"], 2, 17, 0.4, 0.5);				// high mag H&E
Knit("quiz/Q327.jpg", ["myelocyte"], 2, 17, 0.2, 0.5);				// high mag H&E
Knit("quiz/Q360.jpg", ["metamyelocyte"], 2, 17, 0.2, 0.5);		// high mag H&E

// blood cells, text questions, code 17 and 18

Knit("replace Which cell type gives rise to platelets (thrombocytes)?", ["megakaryocyte", "platelet"], 2, 18, 0.5, 0);
Knit("replace Which cell type releases histamine?", ["basophil", "mast cell"], 2, 18, 0.5, 0);
Knit("replace Which cell type differentiates into macrophages?", ["monocyte", "macrophage"], 2, 18, 0.3, 0);
Knit("replace Which cell type synthesises and releases antibodies?", ["plasma cell"], 2, 18, 0.3, 0);
Knit("replace Which cell type releases the enzyme histaminase?", ["eosinophil"], 2, 18, 0.3, 0);
Knit("replace Which of the formed elements of blood release serotonin?", ["platelet"], 2, 18, 0.2, 0);
Knit("replace Which of the formed elements of blood is involved in haemostasis?", ["platelet"], 2, 18, 0.2, 0);
Knit("replace Which cell type differentiates into plasma cells?", ["B-lymphocyte", "plasma cell"], 2, 18, 0.5, 0);

Knit("replace How many percent of all leucocytes in healthy individuals are eosinophils?", ["~ 3%"], 5, 17, 0.5, 0);
Knit("replace How many percent of all leucocytes in healthy individuals are basophils?", ["~ 0.5%"], 5, 17, 0.5, 0);
Knit("replace How many percent of all leucocytes in healthy individuals are monocytes?", ["~ 5%", "~ 3%"], 5, 17, 0.5, 0);
Knit("replace How many percent of all leucocytes in healthy individuals are lymphocytes?", ["~ 30%"], 5, 17, 0.5, 0);
Knit("replace How many percent of all leucocytes in healthy individuals are neutrophils?", ["~ 60%"], 5, 17, 0.5, 0);
Knit("replace How many percent do erythrocytes contribute to total blood volume?", ["~ 43%"], 5, 17, 0.5, 0);

// blood, correct-incorrect questions, code 19
Knit("none", ["The contribution of red blood cells to total blood volume is also called haematocrit."], 0, 19, 0.2, 0);
Knit("none", ["Human blood platelets have, in contrast to red blood cells, never been individual nucleated cells."], 0, 19, 0.2, 0);
Knit("none", ["Liver and spleen are important sites of haemopoiesis during foetal development."], 0, 19, 0.2, 0);
Knit("none", ["The contact of antigens with antibodies bound to Fc receptors of basophils mediates the release of the contents of the granules of basophils."], 0, 19, 0.2, 0);
Knit("none", ['The specific granules of eosinophils contain lysosomal enzymes and a "crystal" composed of major basic protein.'], 0, 19, 0.2, 0);
Knit("none", ["Leukocytes are actively motile and many of them perform their primary function outside the blood stream."], 0, 19, 0.2, 0);

Knit("none", ["The phagocytotic activity of neutrophils increases if neutrophils are tagged by antibodies (opsonized)."], 0, -19, 0.2, 0);
Knit("none", ["Together, stem cells of the types BFU-E, CFU-G/M and CFU-Mk can give rise to all cell types found in the blood."], 0, -19, 0.2, 0);
Knit("none", ["Most of the lymphocytes in the blood stream will be B-lymphocytes."], 0, -19, 0.2, 0);
Knit("none", ["Platelets convert fibrinogen into fibrin, which participates in the formation of a platelet plug."], 0, -19, 0.2, 0);
Knit("none", ["The specific granules of neutrophils are likely to be primary lysosomes."], 0, -19, 0.2, 0);
Knit("none", ["The diameter of a typical lymphocyte ranges from 12 - 15 &micro;m."], 0, -19, 0.2, 0);

}; // end of if-Tissues-Blood


if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Vascular.checked ) {

// vascular system types, code 20, available code 20-22

Knit("quiz/Q244.jpg", ["muscular artery", "tunica media", "tunica adventitia"], 3, 20, 0.8, 0.2);			// low mag H&E
Knit("quiz/Q249.jpg", ["large vein", "tunica media", "tunica adventitia"], 3, 20, 1, 0.2);						// low mag H&E
Knit("quiz/Q266.jpg", ["elastic artery", "tunica media", "tunica intima"], 3, 20, 1, 0.2);						// low mag elastin
Knit("replace Which type of vessel does the aorta represent?", ["elastic artery"], 3, 20, 0.2, 0.2);	// aorta
Knit("quiz/Q256.jpg", ["muscular artery", "tunica media", "tunica adventitia"], 3, 20, 0.4, 0.2);			// med mag Whipf's

Knit("quiz/Q255.jpg", ["arteriole", "smooth muscle"], 3, 20, 0.9, 0.2);																// H&E
Knit("quiz/Q329.jpg", ["arteriole", "smooth muscle"], 3, 20, 0.1, 0.2);																// VG
Knit("quiz/Q330.jpg", ["venule", "smooth muscle"], 3, 20, 0.1, 0.2);																	// VG

Knit("quiz/Q267.jpg", ["capillary"], 3, 20, 0.3, 0.2);																								// high mag H&E
Knit("quiz/Q268.jpg", ["capillary"], 3, 20, 0.6, 0.2);																								// high mag H&E
Knit("quiz/Q322.jpg", ["capillary"], 3, 20, 0.3, 0.2);																								// high mag Whipf's

// vascular system features, code 20

Knit("quiz/Q245.jpg", ["tunica media", "smooth muscle"], 3, 20, 0.7, 0.2);														// low mag H&E
Knit("quiz/Q250.jpg", ["tunica media", "smooth muscle"], 3, 20, 0.3, 0.2);														// low mag H&E
Knit("quiz/Q269.jpg", ["tunica media, elastic artery", "smooth muscle"], 3, 20, 0.2, 0.1);						// med mag EL
Knit("quiz/Q270.jpg", ["tunica media, elastic artery", "smooth muscle"], 3, 20, 0.2, 0.1);						// med mag H&E
Knit("quiz/Q246.jpg", ["tunica adventitia"], 3, 20, 0.5, 0.2);																				// low mag H&E
Knit("quiz/Q251.jpg", ["tunica adventitia", "smooth muscle"], 3, 20, 0.4, 0.2);												// low mag H&E
Knit("quiz/Q252.jpg", ["smooth muscle", "tunica adventitia"], 3, 20, 0.2, 0.5);												// low mag H&E
Knit("quiz/Q253.jpg", ["collagen fibres", "tunica adventitia"], 3, 20, 0.2, 0.5);											// low mag H&E
Knit("quiz/Q247.jpg", ["external elastic lamina"], 3, 20, 1, 0.2);																		// low mag elastin
Knit("quiz/Q248.jpg", ["internal elastic lamina"], 3, 20, 1, 0.2);																		// low mag elastin
Knit("quiz/Q238.jpg", ["vein valve", "tunica intima"], 3, 20, 1, 0.2);																// med mag H&E
Knit("quiz/Q238.jpg", ["tunica intima", "vein valve"], 3, 20, 0.2, 0.2);															// med mag H&E
Knit("quiz/Q387.jpg", ["endothelial cell"], 3, 20, 1, 0.2);																						// high mag H&E

// vascular system, correct-incorrect questions, code 21
Knit("none", ["Blood plasma can freely pass the walls of discontinuous capillaries.", "Blood plasma can freely pass through the walls of fenestrated capillaries."], 0, 21, 0.2, 0);
Knit("none", ["Endothelial cells and the basal lamina can act as selective filters between the blood and the tissue surrounding the blood vessel."], 0, 21, 0.2, 0);
Knit("none", ["The compression of lymph collecting vessels by the surrounding tissue is important for lymphatic drainage."], 0, 21, 0.2, 0);
Knit("none", ["The elastic lamellae allow elastic arteries to function as pressurised blood reservoirs."], 0, 21, 0.2, 0);
Knit("none", ["Smooth muscle cells form the extracellular fibrous tissue components in the tunica media of blood vessels."], 0, 21, 0.2, 0);
Knit("none", ["The increase of the total diameter of the vascular tree from aorta to capillaries results in a decrease of blood pressure."], 0, 21, 0.2, 0);

Knit("none", ["Smooth muscle cells in the walls of elastic arteries regulate the blood supply to their target tissues."], 0, -21, 0.2, 0);
Knit("none", ["The contraction of smooth muscle cells in the walls of veins restricts the venous return to the heart."], 0, -21, 0.2, 0);
Knit("none", ["Blood plasma can freely pass through the walls of fenestrated capillaries.", "Blood plamsa can freely pass the walls of discontinuous capillaries."], 0, -21, 0.2, 0);
Knit("none", ["The tunica media of veins is typically wider than the tunica media of arteries."], 0, -21, 0.2, 0);
Knit("none", ["The external elastic lamina delimits the tunica intima from the tunica media."], 0, -21, 0.2, 0);
Knit("none", ["Lymph ducts give empty into a network of irregularly shaped lymph capillaries."], 0, -21, 0.2, 0);

}; // end if-Organs-Vascular



if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Integument.checked) {

// integumentary system cells, code 23, available codes 23-25

Knit("quiz/Q313.jpg", ["myoepithelial cell"], 2, 23, 0.5, 0.5); // high mag H&E
Knit("replace Which cell type is responsible for the pigmentation of the skin?", ["melanocyte"], 2, 23, 0.2, 0.5);
Knit("replace What is the collective name for the majority of the cells in the epidermis?", ["keratinocyte"], 2, 23, 0.2, 0.5);
Knit("replace Which cell type of the epidermis is involved in the mediation of immune responses?", ["Langerhans cell", "lymphocyte", "T-lymphocyte", "intraepithelial lymphocyte"], 2, 23, 0.2, 0.5);


// integumentary system features, code 23

Knit("quiz/Q166.jpg", ["hair follicle", "hairy skin"], 3, 23, 1, 0);											// med mag H&E
Knit("quiz/Q167.jpg", ["merocrine sweat gland"], 3, 23, 0.6, 0);													// med mag H&E
Knit("quiz/Q230.jpg", ["excretory duct, sweat gland", "sweat gland"], 3, 23, 0.3, 0);			// high mag H&E
Knit("quiz/Q216.jpg", ["sebaceous gland", "pilosebaceous unit"], 3, 23, 0.5, 0); 					// med mag H&E
Knit("quiz/Q237.jpg", ["sebaceous gland", "pilosebaceous unit", "hair follicle"], 3, 23, 0.35, 0);								// med mag H&E
Knit("quiz/Q237.jpg", ["pilosebaceous unit", "sebaceous gland", "hair follicle"], 3, 23, 0.15, 0);								// med mag H&E
Knit("quiz/Q231.jpg", ["secretory tubulus, sweat gland", "sweat gland", "apocrine sweat gland" ], 3, 23, 0.3, 0);	// high mag H&E
Knit("quiz/Q372.jpg", ["apocrine sweat gland", "secretory tubulus, sweat gland"], 3, 23, 0.4, 0);									// med mag H&E

Knit("quiz/Q168.jpg", ["thick skin", "epidermis", "dermis", "hypodermis"], 3, 23, 1, 0); // low mag H&E
Knit("quiz/Q197.jpg", ["hairy skin", "hair follicle"], 3, 23, 1, 0); // med mag H&E
Knit("quiz/Q229.jpg", ["thin skin", "dermis", "hypodermis"], 3, 23, 1, 0); // low mag H&E
Knit("quiz/Q195.jpg", ["thin skin", "epidermis"], 3, 23, 0.3, 0); // high mag H&E

Knit("quiz/Q198.jpg", ["epidermis"], 3, 23, 0.7, 0);												// low mag H&E
Knit("quiz/Q199.jpg", ["dermis"], 3, 23, 0.7, 0);														// low mag H&E
Knit("quiz/Q373.jpg", ["dermis, papillary layer"], 3, 23, 0.3, 0);					// high mag VG
Knit("quiz/Q374.jpg", ["dermis, reticular layer"], 3, 23, 0.3, 0);					// high mag VG
Knit("quiz/Q200.jpg", ["hypodermis"], 3, 23, 0.7, 0);												// low mag H&E
Knit("quiz/Q195.jpg", ["epidermis", "thin skin", "dermis"], 3, 23, 0.7, 0); // high mag H&E

Knit("quiz/Q206.jpg", ["stratum basale"], 3, 23, 0.4, 0); // high mag H&E
Knit("quiz/Q210.jpg", ["stratum basale"], 3, 23, 0.4, 0); // high mag H&E
Knit("replace In which layer of the epidermis are cells mitotically active?", ["stratum basale", "stratum spinosum", "epidermis", "hair follicle"], 3, 23, 0.4, 0.1);

Knit("quiz/Q207.jpg", ["stratum spinosum"], 3, 23, 0.5, 0); // high mag H&E
Knit("quiz/Q211.jpg", ["stratum spinosum"], 3, 23, 0.5, 0); // high mag H&E

Knit("quiz/Q208.jpg", ["stratum granulosum"], 3, 23, 0.4, 0); // high mag H&E
Knit("quiz/Q212.jpg", ["stratum granulosum"], 3, 23, 0.4, 0); // high mag H&E
Knit("replace In which layer of the epidermis do cells contain keratohyalin granules?", ["stratum granulosum", "epidermis"], 3, 23, 0.4, 0);

Knit("replace Which layer of the epidermis is seen only in thick skin?", ["stratum lucidum", "thick skin", "epidermis"], 3, 23, 0.2, 0);

Knit("quiz/Q209.jpg", ["stratum corneum"], 3, 23, 0.4, 0); // high mag H&E
Knit("quiz/Q213.jpg", ["stratum corneum"], 3, 23, 0.4, 0); // high mag H&E
Knit("replace Which layer of the epidermis is responsible for the barrier function of the epidermis?", ["stratum corneum", "epidermis"], 3, 23, 0.4, 0);

// integumentary system, correct-incorrect questions, code 24
Knit("none", ["Langerhans cells function in the immunsystem and can leave the epidermis after exposure to antigens."], 0, 24, 0.2, 0);
Knit("none", ["The overall orientation of collagen fibres in the dermis will follow the 'lines of greatest tension'."], 0, 24, 0.2, 0);
Knit("none", ["Vellus hair is present on most of the skin surface of humans."], 0, 24, 0.2, 0);
Knit("none", ["Merocrine and apocrine sweat glands are simple tubular coiled glands."], 0, 24, 0.2, 0);
Knit("none", ["The renewal of the human epidermis through the mitotic activity of basal cells takes 3-4 weeks."], 0, 24, 0.2, 0);
Knit("none", ["The papillary layer of the dermis contains fine collagen and elastic fibres and the capillary network which supplies the epidermis."], 0, 24, 0.2, 0);
//Knit("none", ["."], 0, 24, 0.2, 0);
//Knit("none", ["."], 0, 24, 0.2, 0);
//Knit("none", ["."], 0, 24, 0.2, 0);

Knit("none", ["Merocrine sweat glands, sebaceous glands and hair together form a pilosebaceous unit."], 0, -24, 0.2, 0);
Knit("none", ["The synthesis of melanin by basal cells is under hormonal control."], 0, -24, 0.2, 0);
Knit("none", ["The excretory ducts of sweat gland are lined by a stratified squamous epithelium."], 0, -24, 0.2, 0);
Knit("none", ["The contents of keratohyalin granula are release into the extracellular space, where they are important for the barrier function of the epidermis."], 0, -24, 0.2, 0);
Knit("none", ["After a phase of active growth, the telogen, hair goes through a resting stage, the anagen, before it is shed."], 0, -24, 0.2, 0);
Knit("none", ["Apocrine sweat glands are critical for the temperature regulation of the body."], 0, -24, 0.2, 0);
//Knit("none", ["."], 0, -24, 0.2, 0);
//Knit("none", ["."], 0, -24, 0.2, 0);
//Knit("none", ["."], 0, -24, 0.2, 0);

}; // end of if-Organs-Integument


if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].GIT.checked ){ 

// GIT organs, tubular code 26, glandular code 27, parenchymal code 28, available codes 26-30

Knit("quiz/Q391.jpg", ["appendix"], 1, 26, 1, 0);
Knit("quiz/Q028.jpg", ["colon"], 1, 26, 0.4, 0);
Knit("quiz/Q027.jpg", ["colon"], 1, 26, 0.7, 0);
Knit("quiz/Q030.jpg", ["duodenum"], 1, 26, 0.1, 0);
Knit("replace Which part of the gastro-intestinal tract contains submucosal glands?", ["duodenum", "oesophagus"], 1, 26, 0.2, 0); // submucosal glands
Knit("quiz/Q031.jpg", ["small intestine"], 1, 26, 1, 0);
Knit("quiz/Q100.jpg", ["oesophagus"], 1, 26, 1, 0);
Knit("replace Which part of the alimentary canal is lined by stratified squamous epithelium?", ["oesophagus", "anal canal", "oral cavity"], 1, 26, 0.2, 0);
Knit("replace Which part of the alimentary canal is lined by stratified squamous epithelium?", ["anal canal", "oesophagus", "oral cavity"], 1, 26, 0.1, 0);
Knit("replace Which part of the alimentary canal is lined by stratified squamous epithelium?", ["oral cavity", "anal canal", "oesophagus"], 1, 26, 0.3, 0);
Knit("quiz/Q291.jpg", ["stomach"], 1, 26, 1, 0.1); // low mag H&E

Knit("quiz/Q058.jpg", ["pancreas"], 1, 27, 1, 0);
Knit("quiz/Q065.jpg", ["liver"], 1, 28, 0.4, 0.2);
Knit("quiz/Q068.jpg", ["liver"], 1, 28, 0.4, 0.2);
Knit("quiz/Q064.jpg", ["liver"], 1, 28, 0.4, 0.2);
Knit("quiz/Q066.jpg", ["gall bladder"], 1, 26, 1, 0.1);

Knit("quiz/Q063.jpg", ["parotid gland"], 1, 27, 1, 0.1);
Knit("quiz/Q060.jpg", ["sublingual gland"], 1, 27, 1, 0.1);
Knit("quiz/Q062.jpg", ["submandibular gland"], 1, 27, 1, 0.1);

// GIT cells, code 26

Knit("quiz/Q059.jpg", ["hepatocyte"], 2, 26, 0.7, 0.2);									// high mag H&E
Knit("quiz/Q068.jpg", ["hepatocyte", "macrophage"], 2, 26, 0.3, 0.2); 	// high mag tri
Knit("quiz/Q068.jpg", ["macrophage", "hepatocyte"], 2, 26, 1, 0.2);			// high mag tri
Knit("quiz/Q032.jpg", ["enterocyte", "goblet cell"], 2, 26, 0.8, 0.2); 	// high mag H&E
Knit("quiz/Q032.jpg", ["goblet cell", "enterocyte"], 2, 26, 0.2, 0.2); 	// high mag H&E
Knit("quiz/Q331.jpg", ["parietal cell", "chief cell"], 2, 26, 0.5, 0); 	// high mag H&E
Knit("quiz/Q036.jpg", ["parietal cell"], 2, 26, 0.5, 0.2);							// high mag H&E
Knit("quiz/Q297.jpg", ["parietal cell"], 2, 26, 0.2, 0);								// high mag H&E
Knit("quiz/Q298.jpg", ["chief cell"], 2, 26, 0.2, 0);										// high mag H&E
Knit("quiz/Q331.jpg", ["chief cell", "parietal cell"], 2, 26, 0.5, 0);	// high mag H&E
Knit("quiz/Q037.jpg", ["chief cell"], 2, 26, 0.8, 0.2);									// high mag H&E
Knit("quiz/Q033.jpg", ["Paneth cell", "goblet cell", "enterocyte"], 2, 26, 0.8, 0.2);					// high mag H&E
Knit("replace Which cell type secretes intrinsic factor?", ["parietal cell"], 2, 26, 0.2, 0); // intrinsic factor

// GIT features, code 26

Knit("quiz/Q026.jpg", ["crypt of Lieberkühn","mucosa of the colon"], 3, 26, 1, 0.1); 		// high mag ABVG
Knit("quiz/Q026.jpg", ["crypt of Lieberkühn","mucosa of the colon"], 3, 27, 0.4, 0.2);	// high mag ABVG
Knit("quiz/Q027.jpg", ["mucosa of the colon","crypt of Lieberkühn"], 3, 26, 0.8, 0.2);	// med mag H&E
Knit("quiz/Q294.jpg", ["muscularis mucosae"], 3, 26, 1, 0); 			// low mag stomach H&E
Knit("quiz/Q293.jpg", ["submucosa"], 3, 26, 1, 0); 								// low mag stomach H&E
Knit("quiz/Q292.jpg", ["muscularis externa"], 3, 26, 1, 0); 			// low mag stomach H&E
Knit("quiz/Q295.jpg", ["mucosa of the stomach"], 3, 26, 0.8, 0); 	// low mag H&E
Knit("quiz/Q296.jpg", ["mucosa of the stomach"], 3, 26, 0.2, 0); 	// high mag H&E
Knit("quiz/Q299.jpg", ["principal gland of the stomach", "corpus-fundic gland"], 3, 26, 0.5, 0); 					// high mag H&E
Knit("quiz/Q299.jpg", ["corpus-fundic gland", "principal gland of the stomach"], 3, 26, 0.5, 0); 					// high mag H&E
Knit("quiz/Q034.jpg", ["lacteal", "vilus", "lamina propria", "brush border", "microvilli"], 3, 26, 1, 0);	// med mag H&E
Knit("quiz/Q029.jpg", ["Brunner's glands", "submucosal gland"], 3, 26, 0.8, 0); 	// high mag H&E
Knit("quiz/Q029.jpg", ["submucosal gland", "Brunner's glands"], 3, 26, 0.8, 0); 	// high mag H&E
Knit("quiz/Q173.jpg", ["brush border", "microvilli"], 3, 26, 0.8, 0);							// high mag H&E
Knit("quiz/Q173.jpg", ["microvilli", "brush border"], 3, 26, 0.2, 0);							// high mag H&E
Knit("quiz/Q305.jpg", ["microvilli", "brush border"], 3, 26, 0.1, 0);							// EM
Knit("quiz/Q221.jpg", ["lamina propria"], 3, 26, 1, 0);														// high mag H&E
Knit("quiz/Q222.jpg", ["muscularis mucosae"], 3, 26, 1, 0);												// high mag H&E
Knit("quiz/Q192.jpg", ["muscularis externa"], 3, 26, 1, 0);												//low mag H&E
Knit("quiz/Q301.jpg", ["taenia coli", "muscularis externa"], 3, 26, 0.8, 0);			//low mag H&E
Knit("quiz/Q193.jpg", ["vilus"], 3, 26, 1, 0);																		// low mag H&E
Knit("quiz/Q223.jpg", ["plica circulare"], 3, 26, 1, 0);													// low mag H&E
Knit("quiz/Q219.jpg", ["gut-associated lymphoid tissue"], 3, 26, 0.2, 0); 				// low mag H&E

Knit("quiz/Q058.jpg", ["island of Langerhans", "serous acinus"], 3, 26, 0.8, 0);	// med mag H&E
Knit("quiz/Q039.jpg", ["portal triad"], 3, 26, 1, 0);				// high mag H&E
Knit("quiz/Q262.jpg", ["liver lobule"], 3, 26, 1, 0); 			// low mag trichrome
Knit("quiz/Q057.jpg", ["large bile duct"], 3, 26, 0.8, 0); 	// high mag H&E
Knit("quiz/Q120.jpg", ["central vein"], 3, 26, 0.3, 0); 		// med mag H&E

Knit("quiz/Q061.jpg", ["striated duct", "serous acinus"], 3, 27, 0.8, 0);	// high mag H&E
Knit("quiz/Q104.jpg", ["serous demilune", "serous acinus", "mucous acinus"], 3, 27, 0.8, 0);	// 	high mag H&E
Knit("quiz/Q105.jpg", ["serous acinus"], 3, 27, 0.8, 0); 	// high mag H&E
Knit("quiz/Q106.jpg", ["mucous acinus"], 3, 27, 0.6, 0); 	// high mag H&E
Knit("quiz/Q107.jpg", ["taste bud"], 3, 26, 0.8, 0); 			// high mag H&E
Knit("quiz/Q108.jpg", ["circumvallate papilla", "taste bud"], 3, 26, 0.3, 0); // low mag H&E
Knit("quiz/Q304.jpg", ["circumvallate papilla", "taste bud"], 3, 27, 0.3, 0); // low mag VG
Knit("quiz/Q302.jpg", ["fungiform papilla"], 3, 26, 0.2, 0); 									// low mag H&E
Knit("quiz/Q303.jpg", ["filiform papilla"], 3, 26, 0.2, 0); 									// low mag H&E

Knit("replace Which part of the biliary duct system is formed by hepatocytes?", ["canaliculi"], 3, 26, 0.2, 0);

// digestive system, correct-incorrect questions, code 29
Knit("none", ["Serous saliva contains amylase and secretable antibodies."], 0, 29, 0.2, 0);
//Knit("none", [" ."], 0, 29, 0.2, 0);
//Knit("none", [" ."], 0, 29, 0.2, 0);

Knit("none", ["Chief cells of the principal glands of the stomach secrete pepsinogen."], 0, 29, 0.2, 0);
Knit("none", ["Hydrochloric acid released by parietal cells activates pepsinogen and sterilizes the contents of the stomach."], 0, 29, 0.2, 0);
Knit("none", ["Plicae circulares, villi and microvilli facilitate absorption in the small intestine by increasing its surface area."], 0, 29, 0.2, 0);
Knit("none", ["The mucosa of the large intestine does not form plicae circulares or intestinal villi."], 0, 29, 0.2, 0);
Knit("none", ["Cholecytokinin and secretin stimulate the release of bile and pancreatic juice into the small intestine."], 0, 29, 0.2, 0);
Knit("none", ["Functional specialisations of the GIT are often accomadated by changes in the structure and cellular composition of the mucosa."], 0, 29, 0.2, 0);

Knit("none", ["The pancreas secretes digestive enzymes in the form of inactive precursors called zymogens."], 0, 29, 0.2, 0);
Knit("none", ["The exocrine pancreas consists of tubuloacinar glands."], 0, 29, 0.2, 0);
Knit("none", ["The area drained by a central vein defines the 'classical' liver lobule."], 0, 29, 0.2, 0);
Knit("none", ["Insulin-secreting beta cells and glucagon-secreting alpha cells form the majority of endocrine cells in the islands of Langerhans."], 0, 29, 0.2, 0);
//Knit("none", [" ."], 0, 29, 0.2, 0);
//Knit("none", [" ."], 0, 29, 0.2, 0);


Knit("none", ["Numerous taste buds are found in the epithelium lining the lateral surfaces of filiform papillae."], 0, -29, 0.2, 0);
Knit("none", ["Striated ducts release sodium into the saliva."], 0, -29, 0.2, 0);
//Knit("none", ["."], 0, -29, 0.2, 0);

Knit("none", ["In addition to pepsinogen, parietal cells secrete intrinsic factor."], 0, -29, 0.2, 0);
Knit("none", ["The taenia coli form three bundles of longitudinal muscle on the outside of the appendix."], 0, -29, 0.2, 0);
Knit("none", ["Gastrin released by endocrine cells of the stomach inhibits the secretion of acid and pepsinogen."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);

Knit("none", ["Portal triads contain terminal branches of bile duct, hepatic artery and central vein."], 0, -29, 0.2, 0);
Knit("none", ["Cells of the gall bladder epithelium secrete the organic and inorganic components of the bile."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);
//Knit("none", [" ."], 0, -29, 0.2, 0);

}; // end of if-Organs-GIT


if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Respiratory.checked ) {

// respiratory system organs, code 31 and code 26 (tubular), available codes 31-33

Knit("quiz/Q096.jpg", ["lung"], 1, 31, 0.5, 0.3);																		// low mag Re
Knit("quiz/Q097.jpg", ["lung"], 1, 31, 0.5, 0.3);																		// med mag H&E
Knit("quiz/Q094.jpg", ["trachea"], 1, 26, 0.5, 0.3);																// med mag H&E
Knit("quiz/Q095.jpg", ["trachea"], 1, 26, 0.5, 0.3);																// low mag H&E
Knit("quiz/Q381.jpg", ["foetal lung"], 1, 31, 0.3, 0.3);														// med mag H&E
Knit("quiz/Q317.jpg", ["nose, nasal cavity, olfactory segment"], 1, 26, 0.5, 1);		// low mag VG
Knit("quiz/Q318.jpg", ["nose, nasal cavity, respiratory segment"], 1, 26, 0.5, 1);	// low mag VG

// respiratory system cells, code 31

Knit("quiz/Q098.jpg", ["alveolar type II cell"], 2, 31, 1, 0.5);
Knit("quiz/Q319.jpg", ["olfactory cell"], 2, 31, 1, 0.5);
Knit("replace Which cell type forms most of the respiratory surfaces of the lung?", ["alveolar type I cell"], 2, 31, 0.5, 0.5);
Knit("replace Which cell type found in the epithelium of bronchioles is functionally similar to alveolar type II cells?", ["clara cell", "alveolar type II cell"], 2, 31, 0.2, 0.5);
Knit('replace Which cell type is found on (not "in") the respiratory surfaces of the lung?', ["macrophage"], 2, 31, 0.5, 0.5);

// respiratory system features, code 31

Knit("quiz/Q099.jpg", ["respiratory bronchiole", "alveolus"], 3, 31, 1, 0.5);												// med mag H&E
Knit("quiz/Q097.jpg", ["alveolar duct", "alveolus"], 3, 31, 1, 0.5);																// med mag H&E
Knit("quiz/Q097.jpg", ["alveolus", "alveolar duct"], 3, 31, 0.2, 0.5);															// high mag H&E
Knit("quiz/Q300.jpg", ["bronchiole"], 3, 31, 0.8, 0.5);																							// high mag H&E
Knit("quiz/Q306.jpg", ["alveolus"], 3, 31, 0.8, 0.5);																								// high mag H&E
Knit("quiz/Q314.jpg", ["bronchus"], 3, 31, 0.8, 0.5);																								// high mag H&E
Knit("quiz/Q315.jpg", ["olfactory epithelium"], 3, 31, 0.5, 0.1);																		// high mag H&E
Knit("quiz/Q316.jpg", ["respiratory epithelium", "pseudostratified epithelium"], 3, 31, 0.5, 0.1);	// high mag H&E

Knit("replace Which part of the conductive portion of the respiratory system is characterised by the presence of smooth muscle and a ciliated simple columnar epithelium and the absence of cartilage and glands?", ["bronchiole"], 3, 31, 0.2, 0);
Knit("replace Which part of the conductive portion of the respiratory system resembles the trachea in its histological organisation?", ["bronchus"], 3, 31, 0.2, 0);

// respiratory system, correct-incorrect questions, code 32
Knit("none", ["The tissues lining the conchae function in the conditioning of the air and olfactation."], 0, 32, 0.2, 0);
Knit("none", ["Alveolar macrophages are discharged into the pharynx towards the end of their lifespan."], 0, 32, 0.2, 0);
Knit("none", ["Respiration does not require the presence of mature alveoli."], 0, 32, 0.2, 0);
Knit("none", ["Olfactory receptors are located in the membranes of non-motile cilia."], 0, 32, 0.2, 0);
//Knit("none", [" "], 0, 32, 0.2, 0);
//Knit("none", [" "], 0, 32, 0.2, 0);
//Knit("none", [" "], 0, 32, 0.2, 0);
//Knit("none", [" "], 0, 32, 0.2, 0);

Knit("none", ["Longitudinal smooth muscle links the tracheal cartilages and allows the shortening of the trachea during neck movements."], 0, -32, 0.2, 0);
Knit("none", ["Ciliated alveolar cells move particulate matter from the alveolar surface towards the bronchioles."], 0, -32, 0.2, 0);
Knit("none", ["Alveolar sacs continue to be formed during the first two decades of human life."], 0, -32, 0.2, 0);
Knit("none", ["Pulmonary sufactant increases the alveolar surface tension."], 0, -32, 0.2, 0);
//Knit("none", [" "], 0, -32, 0.2, 0);
//Knit("none", [" "], 0, -32, 0.2, 0);
//Knit("none", [" "], 0, -32, 0.2, 0);
//Knit("none", [" "], 0, -32, 0.2, 0);

}; // end of if-Organs-Respiratory



if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Lymphoid.checked ) {

// lymphoid tissues and organs, available codes 34-36

Knit("quiz/Q084.jpg", ["young thymus", "thymus"], 1, 34, 1, 0); // low mag H&E
Knit("quiz/Q067.jpg", ["old thymus", "thymus"], 1, 34, 1, 0); 	// low mag H&E
Knit("quiz/Q086.jpg", ["spleen"], 1, 34, 0.8, 0); 							// low mag H&E
Knit("quiz/Q086.jpg", ["spleen"], 1, 28, 0.2, 0.2); 						// low mag H&E, code 28, parenchymal organ
Knit("quiz/Q087.jpg", ["lymph node"], 1, 34, 1, 0.1); 					// low mag H&E
Knit("quiz/Q362.jpg", ["tonsil"], 1, 34, 0.4, 0); 							// low mag H&E
Knit("quiz/Q362.jpg", ["mucosa-associated lymphoid tissue", "gut-associated lymphoid tissue"], 1, 34, 0.1, 0); 										// low mag H&E
Knit("quiz/Q038.jpg", ["Peyer's patches", "gut-associated lymphoid tissue"], 1, 34, 0.3, 0); 																			// low mag H&E
Knit("quiz/Q038.jpg", ["gut-associated lymphoid tissue", "Peyer's patches", "mucosa-associated lymphoid tissue"], 1, 34, 0.3, 0); // low mag H&E

Knit("replace Which organ or tissue is the site of lymphoid stem cell proliferation?", ["bone marrow"], 1, 34, 0.2, 0);
Knit("replace Which lymphoid organ or tissue lacks lymph follicles?", ["thymus", "bone marrow", "old thymus", "young thymus"], 1, 34, 0.2, 0);

// lymphoid cells

Knit("quiz/Q220.jpg", ["intraepithelial lymphocyte"], 2, 34, 0.8, 1); // high mag H&E		
Knit("quiz/Q389.jpg", ["M-cell"], 2, 34, 0.4, 1); 										// high mag H&E		
Knit("quiz/Q392.jpg", ["plasma cell"], 2, 34, 0.4, 1); 								// high mag H&E
Knit("replace Which cell type forms the major connective tissue component of lymphoid tissues and organs?", ["reticular cell"], 2, 34, 1, 1);
Knit("replace Which is the dominant cell type in lymph follicles?", ["B-lymphocyte"], 2, 34, 1, 1);	
Knit("replace Which is the dominant cell type in the paracortex of lymph nodes?", ["T-lymphocyte"], 2, 34, 0.4, 1);	
Knit("replace Which is the dominant cell type in periarterial lymphoid sheaths?", ["T-lymphocyte"], 2, 34, 0.4, 1);		
			
// lymphoid features

Knit("quiz/Q085.jpg", ["high endothelial venule", "cortex of lymph node"], 3, 34, 1, 0); 						// high mag H&E
Knit("quiz/Q101.jpg", ["subcapsular sinus"], 3, 34, 0.8, 0); 																				// high mag H&E
Knit("quiz/Q258.jpg", ["lymph follicle", "cortex of lymph node", "germinal center"], 3, 34, 1, 0);	// med mag H&E
Knit("quiz/Q259.jpg", ["cortex of lymph node"], 3, 34, 0.5, 0); 																		// low mag H&E
Knit("quiz/Q260.jpg", ["paracortex of lymph node"], 3, 34, 0.5, 0);																	// low mag H&E
Knit("quiz/Q103.jpg", ["medullary cord", "medulla of lymph node"], 3, 34, 0.8, 0);									// high mag H&E
Knit("quiz/Q363.jpg", ["medullary sinus", "medulla of lymph node"], 3, 34, 0.2, 0);									// high mag H&E
Knit("quiz/Q261.jpg", ["medulla of lymph node"], 3, 34, 0.5, 0);																		// low mag H&E

Knit("quiz/Q364.jpg", ["red pulp"], 3, 34, 1, 0);																										// low mag H&E
Knit("quiz/Q365.jpg", ["white pulp"], 3, 34, 1, 0);																									// low mag H&E
Knit("quiz/Q102.jpg", ["central artery", "lymph follicle", "germinal center"], 3, 34, 0.8, 0);
Knit("quiz/Q102.jpg", ["germinal center", "central artery", "lymph follicle"], 3, 34, 0.4, 0);
Knit("quiz/Q366.jpg", ["splenic sinus"], 3, 34, 0.6, 0);																						// med mag H&E
Knit("quiz/Q367.jpg", ["splenic cord"], 3, 34, 0.8, 0);																							// med mag H&E

Knit("quiz/Q368.jpg", ["medulla of the thymus"], 3, 34, 0.6, 0);																		// low - high mag H&E
Knit("quiz/Q369.jpg", ["cortex of the thymus"], 3, 34, 0.8, 0);																			// low - high mag H&E
Knit("quiz/Q325.jpg", ["Hassall body", "thymic corpuscle"], 3, 34, 0.2, 0);													// low - high mag H&E
Knit("quiz/Q325.jpg", ["thymic corpuscle", "Hassall body"], 3, 34, 0.2, 0);													// low - high mag H&E

Knit("quiz/Q393.jpg", ["MALT"], 3, 34, 0.6, 0);																											// low mag H&E

// lymphoid tissues and organs, correct-incorrect questions, code 36
//Knit("none", ["M-cells are specilized epithelial cells in the GIT."], 0, 36, 0.2, 0);
//Knit("none", ["The gradual decease of the amount of lymphoid tissue with age is called involution."], 0, 36, 0.2, 0);
//Knit("none", ["Immune cells of the MALT will recirculate to the MALT, but not to other lymphoid tissues."], 0, 36, 0.2, 0);
//Knit("none", ["."], 0, 36, 0.2, 0);
//Knit("none", ["."], 0, 36, 0.2, 0);
//Knit("none", ["."], 0, 36, 0.2, 0);

//Knit("none", ["Afferent lymph vessels enter the spleen through its capsule."], 0, -36, 0.2, 0);
//Knit("none", ["."], 0, -36, 0.2, 0);
//Knit("none", ["."], 0, -36, 0.2, 0);
//Knit("none", ["."], 0, -36, 0.2, 0);
//Knit("none", ["."], 0, -36, 0.2, 0);
//Knit("none", ["."], 0, -36, 0.2, 0);

}; // end of if-Organs-Lymphoid


if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Endocrines.checked ){

// endocrine organs, glandular code 27 , parenchymal code 28, available codes 45-49

Knit("quiz/Q090.jpg", ["neurohypophysis"], 1, 28, 0.2, 0.5);
Knit("quiz/Q090.jpg", ["neurohypophysis"], 1, 27, 0.5, 0.1);
Knit("replace Where are oxytocin and antidiuretic hormone (ADH or vasopressin) released into the blood stream?", ["neurohypophysis"], 1, 27, 0.1, 0.1);
Knit("replace Where are oxytocin and antidiuretic hormone synthesised?", ["hypothalamus"], 1, 27, 0.1, 0.1);

Knit("quiz/Q088.jpg", ["adenohypophysis"], 1, 27, 1, 0);			// low mag POG
Knit("quiz/Q051.jpg", ["parathyroid gland"], 1, 27, 0.7, 0);	// low mag H&E
Knit("quiz/Q056.jpg", ["parathyroid gland"], 1, 27, 0.3, 0);	// med mag H&E
Knit("quiz/Q048.jpg", ["adrenal gland"], 1, 27, 0.5, 0);
Knit("quiz/Q049.jpg", ["adrenal gland"], 1, 27, 0.5, 0);
Knit("quiz/Q053.jpg", ["thyroid gland"], 1, 27, 0.5, 0);
Knit("quiz/Q054.jpg", ["thyroid gland"], 1, 27, 0.5, 0);
Knit("quiz/Q324.jpg", ["pineal gland"], 1, 27, 1, 0); 

// cells, endocrine code 45

Knit("quiz/Q050.jpg", ["pituicyte"], 2, 45, 1, 0.1);
Knit("quiz/Q091.jpg", ["spongiocyte"], 2, 45, 1, 0.1);
Knit("quiz/Q055.jpg", ["follicular cell"], 2, 45, 1, 0.1);
Knit("quiz/Q052.jpg", ["oxyphilic cell","chief cell"], 2, 45, 0.4, 0.1);
Knit("quiz/Q052.jpg", ["chief cell","oxyphilic cell"], 2, 45, 0.8, 0.1);
Knit("quiz/Q089.jpg", ["acidophil"], 2, 45, 1, 0);				// high mag POG
Knit("quiz/Q203.jpg", ["chromophobe"], 2, 45, 0.5, 0.1);	// high mag POG
Knit("quiz/Q205.jpg", ["basophil"], 2, 45, 1, 0);					// high mag POG
Knit("quiz/Q323.jpg", ["pinealocyte"], 2, 45, 1, 0);

// endocrine features, code 45
Knit("quiz/Q050.jpg", ["Hering bodies"], 3, 45, 0.5, 0.2);		// high mag PPOG
Knit("quiz/Q047.jpg", ["zona fasciculata"], 3, 45, 0.5, 0.2);	// high mag H&E
Knit("quiz/Q092.jpg", ["zona reticularis"], 3, 45, 0.5, 0.2);	// high mag H&E
Knit("quiz/Q118.jpg", ["zona glomerulosa"], 3, 45, 0.5, 0.2);	// high mag H&E
Knit("quiz/Q119.jpg", ["adrenal medulla"], 3, 45, 0.2, 0.2);	// high mag H&E
Knit("quiz/Q202.jpg", ["adrenal medulla"], 3, 45, 0.4, 0.2);	// low mag H&E
Knit("quiz/Q201.jpg", ["adrenal cortex"], 3, 45, 0.5, 0.2);		// low mag H&E

// hormone releasing cells, code 45
Knit("append prolactin?", ["mammotrophs", "acidophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append growth hormone?", ["somatotrophs", "acidophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append growth hormone and prolactin?", ["acidophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append follicle stimulating hormone (FSH)?", ["gonadotrophs", "basophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append luteinizing hormone (LH)?", ["gonadotrophs", "basophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append adrenocorticotropic hormone (ACTH)?", ["corticotrophs", "basophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append melanocyte stimulating hormone (MSH)?", ["corticotrophs", "basophil cells of the adenohypophysis"], 6, 45, 0.1, 0);
Knit("append adrenocorticotropic hormone (ACTH) and follicle stimulating hormone (FSH)?", ["basophil cells of the adenohypophysis"], 6, 45, 0.2, 0);
Knit("append antidiuretic hormone (ADH) and oxytocin?", ["neurosecretory cells of the hypothalamus"], 6, 45, 0.3, 0);
Knit("append parathyroid hormone?", ["chief cells"], 6, 45, 0.2, 0);
Knit("append melatonin?", ["pinealocytes"], 6, 45, 0.1, 0);
Knit("append calcitonin?", ["C-cells of the thyroid gland"], 6, 45, 0.1, 0);

// correct-incorrect questions, code 46
Knit("none", ["Thyrotrophs, gonadotrophs and corticotrophs belong to the basophil cell of the pituitary gland.", "Mammotrophs and somatotrophs belong to the basophil cells of the pituitary gland."], 0, 46, 0.1, 0);
Knit("none", ["Parathyroid hormone (PTH) increases the resorption of bone.", "Calcitonin increases blood calcium levels by increasing the resorption of bone."], 0, 46, 0.1, 0);
Knit("none", ["Neurosecretory cells of the hypothalamus give rise to axons which travel to the neurohypophysis.", "Pituicytes of the neurohypophysis secrete oxytocin and antidiuretic hormone."], 0, 46, 0.1, 0);
Knit("none", ["Chromophobe (unstained) cells of the pituitary gland represent dormant or recently degranulated chromphil cells."], 0, 46, 0.1, 0);
Knit("none", ["The extracellular storage of hormones is a characteristic feature of the thyroid gland."], 0, 46, 0.1, 0);
Knit("none", ["Hormones released by cells of the adrenal cortex are steroids.", "Hormones released by cells of the adrenal cortex are proteins or glycoproteins.", "Hormones released by the pituitary gland are steroids."], 0, 46, 0.1, 0);
Knit("none", ["Hormones released by the pituitary gland are proteins or glycoproteins.", "Hormones released by the pituitary gland are steroids.", "Hormones released by cells of the adrenal cortex are proteins or glycoproteins."], 0, 46, 0.1, 0);

Knit("none", ["Calcitonin increases blood calcium levels by increasing the resorption of bone.", "Parathyroid hormone (PTH) increases the resorption of bone."], 0, -46, 0.1, 0);
Knit("none", ["Mammotrophs and somatotrophs belong to the basophil cells of the pituitary gland.", "Thyrotrophs, gonadotrophs and corticotrophs belong to the basophil cell of the pituitary gland."], 0, -46, 0.1, 0);
Knit("none", ["The survival of all zones of the adrenal cortex depends on the presence of adrenocorticotropic hormone."], 0, -46, 0.1, 0);
Knit("none", ["Vasopressin antagonizes the function of antidiuretic hormone."], 0, -46, 0.1, 0);
Knit("none", ["Chromophil cells of the pituitary release hormones which stimulate or inhibit the release of hormones by basophils and acidophils."], 0, -46, 0.1, 0);
Knit("none", ["Hormones released by cells of the adrenal cortex are proteins or glycoproteins.", "Hormones released by cells of the adrenal cortex are steroids.", "Hormones released by the pituitary gland are proteins or glycoproteins."], 0, -46, 0.1, 0);
Knit("none", ["Hormones released by the pituitary gland are steroids.", "Hormones released by the pituitary gland are proteins or glycoproteins.", "Hormones released by cells of the adrenal cortex are steroids."], 0, -46, 0.1, 0);
Knit("none", ["The parathyroid glands are small and not essential for life."], 0, -46, 0.1, 0);

}; // end of if-Organs-Endocrines


if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Repro.checked ){

// urinary and reproductive systems organs, code 50, available codes 50-59

Knit("quiz/Q093.jpg", ["kidney"], 1, 28, 1, 0.2);																				// low mag H&E
Knit("quiz/Q215.jpg", ["bladder"], 1, 50, 1, 0.2);																			// low high mag H&E
Knit("quiz/Q046.jpg", ["ureter"], 1, 50, 1, 0);																					// med mag H&E

Knit("quiz/Q077.jpg", ["epididymis"], 1, 50, 0.4, 0); 																	// low mag VG
Knit("quiz/Q079.jpg", ["epididymis"], 1, 50, 0.3, 0); 																	// high mag VG
Knit("quiz/Q080.jpg", ["epididymis"], 1, 50, 0.3, 0);																		// high mag H&E
Knit("quiz/Q075.jpg", ["prostate"], 1, 50, 1, 0);																				// low mag H&E
Knit("quiz/Q081.jpg", ["testis"], 1, 50, 0.3, 0);																				// med mag H&E
Knit("quiz/Q182.jpg", ["testis"], 1, 50, 0.7, 0.3);																			// low mag H&E
Knit("quiz/Q082.jpg", ["vas deferens"], 1, 50, 1, 0); 																	// low mag H&E
Knit("quiz/Q078.jpg", ["seminal vesicle"], 1, 50, 0.4, 0); 															// high mag H&E
Knit("quiz/Q371.jpg", ["seminal vesicle"], 1, 50, 0.6, 0); 															// med mag H&E

Knit("quiz/Q073.jpg", ["ovary"], 1, 50, 0.3, 0);																				// low mag H&E
Knit("quiz/Q070.jpg", ["oviduct"], 1, 50, 0.6, 0);																			// low mag H&E
Knit("quiz/Q070.jpg", ["oviduct"], 1, 26, 0.4, 0.1);																		// low mag H&E
Knit("quiz/Q109.jpg", ["uterus, proliferative phase"], 1, 50, 0.4, 0); 									// low mag H&E
Knit("quiz/Q110.jpg", ["uterus, secretory phase"], 1, 50, 0.4, 0); 											// low mag H&E
Knit("quiz/Q111.jpg", ["uterus, late secretory/early menstrual phase"], 1, 50, 0.4, 0); // low mag H&E
Knit("quiz/Q377.jpg", ["lactating mammary gland"], 1, 50, 0.6, 0);										  // low mag H&E
Knit("quiz/Q375.jpg", ["lactating mammary gland"], 1, 50, 0.4, 0);										  // med mag H&E
Knit("quiz/Q376.jpg", ["resting mammary gland"], 1, 50, 0.5, 0);											  // low mag H&E

// urinary and reproductive systems cells, code 50

Knit("quiz/Q071.jpg", ["oocyte", "granulosa cell"], 2, 50, 0.5, 0.1);
Knit("quiz/Q072.jpg", ["oocyte", "granulosa cell"], 2, 50, 0.5, 0.1);
Knit("quiz/Q072.jpg", ["granulosa cell", "oocyte"], 2, 50, 0.2, 0.1);
Knit("quiz/Q307.jpg", ["granulosa cell"], 2, 50, 0.6, 0.1);
Knit("quiz/Q395.jpg", ["granulosa-lutein cell"], 2, 50, 0.4, 0.1);	// high mag H&E
Knit("quiz/Q396.jpg", ["theca-lutein cell"], 2, 50, 0.2, 0.1);			// high mag H&E
Knit("quiz/Q074.jpg", ["peg cell"], 2, 50, 0.5, 0.1);

Knit("quiz/Q114.jpg", ["Leydig cell"], 2, 50, 0.6, 0.1);
Knit("quiz/Q178.jpg", ["Leydig cell"], 2, 50, 0.4, 0.1);
Knit("quiz/Q115.jpg", ["Sertoli cell"], 2, 50, 0.4, 0.1);
Knit("quiz/Q179.jpg", ["Sertoli cell"], 2, 50, 0.6, 0.1);
Knit("quiz/Q181.jpg", ["spermatogonium"], 2, 50, 0.5, 0.1);
Knit("quiz/Q184.jpg", ["spermatogonium"], 2, 50, 0.5, 0.1);
Knit("quiz/Q180.jpg", ["primary spermatocyte"], 2, 50, 0.5, 0.1);
Knit("quiz/Q187.jpg", ["primary spermatocyte"], 2, 50, 0.5, 0.1);
Knit("quiz/Q185.jpg", ["secondary spermatocyte"], 2, 50, 0.2, 0.1);
Knit("quiz/Q116.jpg", ["spermatid"], 2, 50, 0.5, 0.1);
Knit("quiz/Q188.jpg", ["spermatid"], 2, 50, 0.5, 0.1);
Knit("quiz/Q397.jpg", ["spermatozoa"], 2, 50, 1, 0.1);

Knit("quiz/Q117.jpg", ["podocyte"], 2, 50, 0.8, 0.1);					// high mag H&E
Knit("quiz/Q320.jpg", ["mesangial cell"], 2, 50, 0.4, 0.1);		// high mag H&E

// urinary and reproductive systems features, urinary code 51, repro code 50
// female      
Knit("quiz/Q072.jpg", ["zona pelucida", "cumulus oophorus"], 3, 50, 0.5, 0);
Knit("quiz/Q072.jpg", ["cumulus oophorus", "zona pelucida"], 3, 50, 0.5, 0);
Knit("quiz/Q162.jpg", ["zona pelucida"], 3, 50, 0.5, 0);
Knit("quiz/Q308.jpg", ["oocyte nucleus"], 3, 50, 0.3, 0);
Knit("quiz/Q214.jpg", ["primordial follicle"], 3, 50, 1, 0);
Knit("quiz/Q071.jpg", ["primary follicle", "zona pelucida"], 3, 50, 1, 0);
Knit("quiz/Q309.jpg", ["theca folliculi"], 3, 50, 0.7, 0);
Knit("quiz/Q073.jpg", ["corpus luteum", "secondary follicle"], 3, 50, 0.7, 0);
Knit("quiz/Q163.jpg", ["corpus albicans"], 3, 50, 0.5, 0.05);									// high mag H&E
Knit("quiz/Q310.jpg", ["germinal epithelium"], 3, 50, 0.5, 0);								// high mag H&E
Knit("quiz/Q311.jpg", ["tunica albuginea"], 3, 50, 0.3, 0);										// ovary high mag H&E
Knit("quiz/Q069.jpg", ["lactiferous duct"], 3, 50, 0.5, 0.3);									// high mag H&E
Knit("quiz/Q112.jpg", ["uterine gland, secretory phase"], 3, 50, 0.5, 0);			// med mag H&E
Knit("quiz/Q113.jpg", ["uterine gland, proliferative phase"], 3, 50, 0.5, 0);	// med mag H&E
//male
Knit("quiz/Q076.jpg", ["corpora amylacea"], 3, 50, 0.3, 0);										// high mag H&E
Knit("quiz/Q079.jpg", ["ductus epididymidis"], 3, 50, 0.8, 0);								// high mag VG
Knit("quiz/Q189.jpg", ["ductulus efferens"], 3, 50, 0.8, 0);									// high mag VG
Knit("quiz/Q081.jpg", ["seminiferous tubule"], 3, 50, 1, 0);									// med mag H&E
Knit("quiz/Q186.jpg", ["tunica albuginea"], 3, 50, 0.5, 0);										// testis med mag H&E
Knit("quiz/Q183.jpg", ["smooth muscle"], 3, 50, 0.5, 0.2);										// high mag H&E
// urinary
Knit("quiz/Q042.jpg", ["glomerulus", "macula densa"], 3, 51, 0.8, 0.1);
Knit("quiz/Q093.jpg", ["marrow ray", "proximal tubule", "distal tubule", "glomerulus"], 3, 51, 0.3, 0.1);
Knit("quiz/Q040.jpg", ["collecting duct", "distal tubule"], 3, 51, 0.3, 0.1);
Knit("quiz/Q380.jpg", ["collecting duct"], 3, 51, 0.7, 0.1); // high mag H&E
Knit("quiz/Q044.jpg", ["proximal tubule", "distal tubule"], 3, 51, 0.3, 0.1);
Knit("quiz/Q045.jpg", ["proximal tubule"], 3, 51, 0.7, 0.1);
Knit("quiz/Q044.jpg", ["distal tubule", "proximal tubule"], 3, 51, 0.3, 0.1);
Knit("quiz/Q379.jpg", ["distal tubule"], 3, 51, 0.3, 0.1); // high mag H&E
Knit("quiz/Q043.jpg", ["distal tubule"], 3, 51, 0.4, 0.1); // high mag H&E
Knit("quiz/Q378.jpg", ["thin tubule"], 3, 51, 0.7, 0.1); // high mag H&E
Knit("quiz/Q041.jpg", ["macula densa", "glomerulus", "proximal tubule", "distal tubule"], 3, 51, 0.2, 0.1);
Knit("quiz/Q041.jpg", ["glomerulus", "macula densa", "proximal tubule", "distal tubule"], 3, 51, 0.8, 0.1);
Knit("quiz/Q287.jpg", ["macula densa"], 3, 51, 0.8, 0.1);
Knit("quiz/Q117.jpg", ["visceral layer of Bowman's capsule"], 3, 51, 0.2, 0.1); // high mag H&E
Knit("quiz/Q321.jpg", ["parietal layer of Bowman's capsule"], 3, 51, 0.4, 0.1); // high mag H&E

// correct-incorrect questions, male code 52, female code 53, urinary code 54
// male
Knit("none", ["The testis are surrounded by a thick connective tissue capsule, the tunica albuginea."], 0, 52, 0.2, 0);
Knit("none", ["Processes of Sertoli cells form the blood-testis barrier."], 0, 52, 0.2, 0);
Knit("none", ["The maturation of spermatids into spermatocytes is called spermiogenesis.", "Spermatids divide to give rise to spermatocytes."], 0, 52, 0.2, 0);
Knit("none", ["The prophase of primary spermatocytes is extremely prolonged."], 0, 52, 0.2, 0);
Knit("none", ["The ducts which form the rete testis connect the tubuli recti with the ductuli efferentes."], 0, 52, 0.2, 0);
Knit("none", ["Ejaculation results from smooth muscle contractions around the vas deferens and ductus epididymidis."], 0, 52, 0.2, 0);
Knit("none", ["Differences in the height of the epithelium give the lumen of the ductuli efferentes an irregular outline."], 0, 52, 0.2, 0);
Knit("none", ["Malignant changes of the prostate are often the result of changes in the peripheral zone which contains the main glands.", "A benign hyperplasia of the prostate is usually the result of changes in the peripheral zone which contains the main glands."], 0, 52, 0.2, 0);
Knit("none", ["Fructose, which is part of the secretion of the seminal vesicles, provides energy for the ejaculated spermatozoa."], 0, 52, 0.2, 0);
Knit("none", ["The seminiferous epithelium consists of spermatogenic cells and Sertoli cells.", "The outer part of the seminiferous epithelium is formed by 3-4 layers of smooth muscle."], 0, 52, 0.2, 0);

Knit("none", ["By the first meiotic division B-spermatogonia give rise to primary spermatocytes."], 0, -52, 0.2, 0);
Knit("none", ["Leydig cells provide structural and nutritional support for the developing spermatocytes."], 0, -52, 0.2, 0);
Knit("none", ["Spermatocytes which leave the testis are structurally mature and motile."], 0, -52, 0.2, 0);
Knit("none", ["Spermatocytes are stored in the terminal part of the seminal vesicles."], 0, -52, 0.2, 0);
Knit("none", ["Testosterone produced by the male accessory reproductive glands (seminal vesicle and prostate) causes the development of the masculine extragenital sex characteristics."], 0, -52, 0.2, 0);
Knit("none", ["Spermatids divide to give rise to spermatocytes.", "The maturation of spermatids into spermatocytes is called spermiogenesis."], 0, -52, 0.2, 0);
Knit("none", ['"Spermiogenesis" and "spermatogenesis" are synonymous terms.'], 0, -52, 0.2, 0);
Knit("none", ["Corpora amylacea are a characteristic feature of the seminal vesicles."], 0, -52, 0.2, 0);
Knit("none", ["The outer part of the seminiferous epithelium is formed by 3-4 layers of smooth muscle.", "The seminiferous epithelium consists of spermatogenic cells and Sertoli cells."], 0, -52, 0.2, 0);
Knit("none", ["A benign hyperplasia of the prostate is usually the result of changes in the peripheral zone which contains the main glands.", "Malignant changes of the prostate are often the result of changes in the peripheral zone which contains the main glands."], 0, -52, 0.2, 0);
// female
Knit("none", ["The formation of new oocytes stops before birth."], 0, 53, 0.2, 0);
Knit("none", ["Primordial follicles are characterised by a single layer of flattened follicular cells which surround the oocyte."], 0, 53, 0.2, 0);
Knit("none", ['"Tertiary follicle", "preovulatory follicle" and "Graafian follicle" are synonymous terms.'], 0, 53, 0.2, 0);
Knit("none", ['The term "atresia" refers to the degeneration of follicles during development and adult life.'], 0, 53, 0.2, 0);
Knit("none", ["After ovulation, thecal cells and granulosa cells form the corpus luteum."], 0, 53, 0.2, 0);
Knit("none", ["Complex mucosal folds give the lumen of the ampulla of the oviduct a very irregular outline."], 0, 53, 0.2, 0);
Knit("none", ["The basalis of the endometrium regenerates the functionalis after menstruation."], 0, 53, 0.2, 0);
Knit("none", ["Growth of the mammary gland is initiated by oestrogen and progesterone produced in the ovaries and placenta.", "Progesterone and oestrogen are the main stimulants of milk secretion in the mammary gland."], 0, 53, 0.2, 0);
Knit("none", ["The mammary glands are modified glands of the skin."], 0, 53, 0.2, 0);
Knit("none", ["Sensory stimulation of the nipple initiates the milk ejection reflex via the secretion of oxytocin from the neurohypophysis."], 0, 53, 0.2, 0);

Knit("none", ["The corpus albicans of the ovary is the functional homologue of the tunica albuginea in males."], 0, -53, 0.2, 0);
Knit("none", ["A distinct zona pelucida separates the oocyte and follicular cells of primordial follicles."], 0, -53, 0.2, 0);
Knit("none", ["A fluid filled hollow, the antrum, is a characteristic feature of primary follicles."], 0, -53, 0.2, 0);
Knit("none", ["Hormone production of the corpus luteum stops after the implantation of the embryo."], 0, -53, 0.2, 0);
Knit("none", ["The infundibulum of the oviduct passes through the wall of the uterus."], 0, -53, 0.2, 0);
Knit("none", ["The functionalis of the endometrium of uterus and cervix is shed during menstruation."], 0, -53, 0.2, 0);
Knit("none", ["The myometrium of the uterus is important for the transport of the oocyte and sperm."], 0, -53, 0.2, 0);
Knit("none", ["The wall of the vagina consists of a mucosa, muscularis mucosae, submucosa, muscularis and adventitia."], 0, -53, 0.2, 0);
Knit("none", ["Progesterone and oestrogen are the main stimulants of milk secretion in the mammary gland.", "Growth of the mammary gland is initiated by oestrogen and progesterone produced in the ovaries and placenta."], 0, -53, 0.2, 0);
Knit("none", ["Like sweat glands, mammary glands are simple tubular glands."], 0, -53, 0.2, 0);
//urinary
Knit("none", ["The increase in the surface area of proximal tubule cells by numerous long microvilli facilitates the absorption of nutritionally valuable substances from the primary urine."], 0, 54, 0.2, 0);
Knit("none", ["The transport of sodium ions over the epithelia lining the ascending thin and straight distal tubules creates the osmotic gradient necessary for the resorption of water from the urine passing through the collecting ducts."], 0, 54, 0.2, 0);
Knit("none", ["The osmotic absorption of water by the proximal tubule cells reduces the volume of the primary urine by about 75%."], 0, 54, 0.2, 0);
Knit("none", ["The filtration slit membrane between the pedicles of podocytes is part of the glomerular filtration barrier."], 0, 54, 0.2, 0);
Knit("none", ["Podocytes form the visceral layer of Bowman's capsule."], 0, 54, 0.2, 0);
Knit("none", ["The macula densa is formed by a specialised section of the epithelium lining the distal tubule as it contacts the glomerulus and its afferent and efferent arterioles."], 0, 54, 0.2, 0);
Knit("none", ["Renin is released by juxtaglomerular cells which surround the afferent arteriole of the glomerulus.", "Juxtaglomerular cells surrounding the afferent arteriole of the glomerulus release angiotensin II to increase glomerular filtration."], 0, 54, 0.2, 0);
Knit("none", ["Stratified squamous epithelium lines the distal part of the male and female urethra."], 0, 54, 0.2, 0);

Knit("none", ["The principal function of the thin tubule of the nephron is the resorption of nutritionally valuable substances from the primary urine."], 0, -54, 0.2, 0);
Knit("none", ["Collecting ducts are not permeable to water in the presence of antidiuretic hormone."], 0, -54, 0.2, 0);
Knit("none", ["Juxtaglomerular cells surrounding the afferent arteriole of the glomerulus release angiotensin II to increase glomerular filtration.", "Renin is released by juxtaglomerular cells which surround the afferent arteriole of the glomerulus."], 0, -54, 0.2, 0);
Knit("none", ["The glomerular filtration barrier is formed by the cells of the parietal layer of Bowman's capsule and the basal lamina of the glomerular capillaries."], 0, -54, 0.2, 0);
Knit("none", ["Transitional epithelium lining the tubules of the nephron allows the tubules to expand if large amounts of primary urine are formed."], 0, -54, 0.2, 0);
Knit("none", ["Osmotic pressure is the driving force behind the formation of approximately 125 ml primary urine per minute."], 0, -54, 0.2, 0);
Knit("none", ["The incomplete basal lamina of the discontinuous glomerular capillaries facilitates the formation of the glomerular filtrate."], 0, -54, 0.2, 0);
Knit("none", ["An inner layer of circular smooth muscle and an outer layer of longitudinal smooth muscle is found in both the ureter and bladder."], 0, -54, 0.2, 0);

}; // end if-organs-Repro


if ( document.forms["Selector"].Organs.checked || document.forms["Selector"].Eye.checked ){

// eye code 60-65

// eye, general structural features, code 60
Knit("quiz/Q334.jpg", ["iris"], 3, 60, 1, 0);
Knit("quiz/Q337.jpg", ["lens"], 3, 60, 1, 0);
Knit("quiz/Q340.jpg", ["retina"], 3, 60, 1, 0);
Knit("quiz/Q347.jpg", ["cornea"], 3, 60, 1, 0);
Knit("quiz/Q352.jpg", ["ciliary body"], 3, 60, 1, 0);
Knit("quiz/Q353.jpg", ["choroid"], 3, 60, 0.5, 0);

// eye, histological geatures, code 61
Knit("quiz/Q335.jpg", ["iridial stroma"], 3, 61, 0.8, 0);
Knit("quiz/Q336.jpg", ["posterior epithelium"], 3, 61, 0.8, 0);
Knit("quiz/Q338.jpg", ["lens capsule"], 3, 61, 0.8, 0);
Knit("quiz/Q339.jpg", ["subcapsular epithelium"], 3, 61, 0.5, 0);
Knit("quiz/Q348.jpg", ["anterior corneal epithelium"], 3, 61, 1, 0);
Knit("quiz/Q349.jpg", ["Bowman's layer", "anterior limiting layer"], 3, 61, 0.3, 0);
Knit("quiz/Q349.jpg", ["anterior limiting layer", "Bowman's layer"], 3, 61, 0.2, 0);
Knit("quiz/Q350.jpg", ["corneal stroma"], 3, 61, 0.8, 0);
Knit("quiz/Q351.jpg", ["Descemet's membrane", "posterior limiting layer"], 3, 61, 0.3, 0);
Knit("quiz/Q351.jpg", ["posterior limiting layer", "Descemet's membrane"], 3, 61, 0.2, 0);
Knit("quiz/Q354.jpg", ["constrictor pupillae muscle"], 3, 61, 0.2, 0);
Knit("quiz/Q355.jpg", ["dilator pupillae muscle"], 3, 61, 0.2, 0);
Knit("quiz/Q356.jpg", ["canal of Schlemm"], 3, 61, 0.2, 0);
Knit("quiz/Q357.jpg", ["trabecular meshwork"], 3, 61, 0.2, 0);
Knit("quiz/Q358.jpg", ["anterior chamber"], 3, 61, 0.2, 0);
Knit("quiz/Q359.jpg", ["posterior chamber"], 3, 61, 0.2, 0);

// features of the photoreceptive retina, code 62
Knit("quiz/Q341.jpg", ["ganglion cell layer"], 3, 62, 0.8, 0);
Knit("quiz/Q342.jpg", ["inner plexiform layer"], 3, 62, 0.5, 0);
Knit("quiz/Q343.jpg", ["inner nuclear layer"], 3, 62, 0.5, 0);
Knit("quiz/Q344.jpg", ["outer plexiform layer"], 3, 62, 0.5, 0);
Knit("quiz/Q345.jpg", ["outer nuclear layer"], 3, 62, 0.5, 0);
Knit("quiz/Q346.jpg", ["layer of rods and cones"], 3, 62, 0.8, 0);

// eye, correct-incorrect questions, code 63
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);
//Knit("none", ["."], 0, 63, 0.2, 0);

//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);
//Knit("none", ["."], 0, -63, 0.2, 0);


} ; // end if-organs-eye

Finalize ();

}; // end of Knitemize