var pageArray = new Array(); 
var pgnameArray = new Array(); 
var arrayIndex = 1; 

if (parent.level == "higher"){
pageArray[arrayIndex++] = 'c04lhp01.swf';
pageArray[arrayIndex++] = 'c04lfp02.swf';
pageArray[arrayIndex++] = 'c04lfp03.swf';
pageArray[arrayIndex++] = 'c04lfp04.swf';
pageArray[arrayIndex++] = 'c04lfp05.swf';
pageArray[arrayIndex++] = 'c04lfp06.swf';
pageArray[arrayIndex++] = 'c04lfp07.swf';
pageArray[arrayIndex++] = 'c04lfp08.swf';
pageArray[arrayIndex++] = 'c04lfp09.swf';
pageArray[arrayIndex++] = 'c04lfp10.swf';
pageArray[arrayIndex++] = 'c04lfp11.swf';
pageArray[arrayIndex++] = 'c04lfp12.swf';
pageArray[arrayIndex++] = 'c04lfp13.swf';
pageArray[arrayIndex++] = 'c04lfp14.swf';
pageArray[arrayIndex++] = 'c04lhp15.swf';
pageArray[arrayIndex++] = 'c04lfp16.swf';
pageArray[arrayIndex++] = 'c04lfp17.swf';
pageArray[arrayIndex++] = 'c04lfp18.swf';
pageArray[arrayIndex++] = 'c04lhp19.swf';
pageArray[arrayIndex++] = 'c04lhp20.swf';
pageArray[arrayIndex++] = 'c04lhp21.swf';
pageArray[arrayIndex++] = 'c04lfp22.swf';
pageArray[arrayIndex++] = 'c04lhp23.swf';
pageArray[arrayIndex++] = 'c04lhp24.swf';


arrayIndex = 1;

pgnameArray[arrayIndex++] = '01  Lesson Introduction';
pgnameArray[arrayIndex++] = '02  States of Matter';
pgnameArray[arrayIndex++] = '03  States of Matter - Particle Theory';
pgnameArray[arrayIndex++] = '04  Changing State';
pgnameArray[arrayIndex++] = '05  Changing State - Particle Theory';
pgnameArray[arrayIndex++] = '06  Physical Changes';
pgnameArray[arrayIndex++] = '07  Progress Question';
pgnameArray[arrayIndex++] = '08  Atoms, Elements and Compounds';
pgnameArray[arrayIndex++] = '09  Electron Structure';
pgnameArray[arrayIndex++] = '10  Ionic Bonding';
pgnameArray[arrayIndex++] = '11  Progress Question';
pgnameArray[arrayIndex++] = '12  Properties of Ionic Compounds';
pgnameArray[arrayIndex++] = '13  More Ionic Compounds';
pgnameArray[arrayIndex++] = '14  Progress Question';
pgnameArray[arrayIndex++] = '15  Properties of Ionic Compounds';
pgnameArray[arrayIndex++] = '16  Covalent Bonding';
pgnameArray[arrayIndex++] = '17  Covalent Bonding 2';
pgnameArray[arrayIndex++] = '18  Covalent Compounds';
pgnameArray[arrayIndex++] = '19  Properties of Covalent Compounds';
pgnameArray[arrayIndex++] = '20  Giant Covalent Structures';
pgnameArray[arrayIndex++] = '21  Giant Covalent Structures 2';
pgnameArray[arrayIndex++] = '22  Progress Question';
pgnameArray[arrayIndex++] = '23  Metallic Bonding';
pgnameArray[arrayIndex++] = '24  Lesson Summary';
}

if (parent.level == "lower"){
pageArray[arrayIndex++] = 'c04lfp01.swf';
pageArray[arrayIndex++] = 'c04lfp02.swf';
pageArray[arrayIndex++] = 'c04lfp03.swf';
pageArray[arrayIndex++] = 'c04lfp04.swf';
pageArray[arrayIndex++] = 'c04lfp05.swf';
pageArray[arrayIndex++] = 'c04lfp06.swf';
pageArray[arrayIndex++] = 'c04lfp07.swf';
pageArray[arrayIndex++] = 'c04lfp08.swf';
pageArray[arrayIndex++] = 'c04lfp09.swf';
pageArray[arrayIndex++] = 'c04lfp10.swf';
pageArray[arrayIndex++] = 'c04lfp11.swf';
pageArray[arrayIndex++] = 'c04lfp12.swf';
pageArray[arrayIndex++] = 'c04lfp13.swf';
pageArray[arrayIndex++] = 'c04lfp14.swf';
pageArray[arrayIndex++] = 'c04lfp16.swf';
pageArray[arrayIndex++] = 'c04lfp17.swf';
pageArray[arrayIndex++] = 'c04lfp18.swf';
pageArray[arrayIndex++] = 'c04lfp22.swf';
pageArray[arrayIndex++] = 'c04lfp24.swf';


arrayIndex = 1;

pgnameArray[arrayIndex++] = '01  Lesson Introduction';
pgnameArray[arrayIndex++] = '02  States of Matter';
pgnameArray[arrayIndex++] = '03  States of Matter - Particle Theory';
pgnameArray[arrayIndex++] = '04  Changing State';
pgnameArray[arrayIndex++] = '05  Changing State - Particle Theory';
pgnameArray[arrayIndex++] = '06  Physical Changes';
pgnameArray[arrayIndex++] = '07  Progress Question';
pgnameArray[arrayIndex++] = '08  Atoms, Elements and Compounds';
pgnameArray[arrayIndex++] = '09  Electron Structure';
pgnameArray[arrayIndex++] = '10  Ionic Bonding';
pgnameArray[arrayIndex++] = '11  Progress Question';
pgnameArray[arrayIndex++] = '12  Properties of Ionic Compounds';
pgnameArray[arrayIndex++] = '13  More Ionic Compounds';
pgnameArray[arrayIndex++] = '14  Progress Question';
pgnameArray[arrayIndex++] = '15  Covalent Bonding';
pgnameArray[arrayIndex++] = '16  Covalent Bonding 2';
pgnameArray[arrayIndex++] = '17  Covalent Compounds';
pgnameArray[arrayIndex++] = '18  Progress Question';
pgnameArray[arrayIndex++] = '19  Lesson Summary';
}

