var whatMessBc;
var whatMessTs;

///////////////////////////////////////////////////////////////////////////////////////////////display the product advised
/////////the first function checks that all fields are non empty or if they are that's it's because the section type don't
///////////////////////////////////////////////////////////provide hollow sections. Once done call the check fire funtion.
function checkFireType(){
doc = document.prodselector;
var ftype = doc.firetype;
var ftypeWhich = ftype.options[ftype.selectedIndex].value;
	if (ftypeWhich == "hydro"){
	window.alert("You choose hydrocarbon fires.\n\nHydrocarbon fires are caused by burning hydrocarbon fuels such as petrol, diesel, petro-chemical, gases etc, typical of chemical plant fires or Off-Shore.\n\nCellulosic fires are caused by burning cellulose materials such as, wood, paper, fabrics etc, typical of office and domestic fires.\n\nIf you meant cellulosic fires, simply click ok and change your selection.");
	}
}

function displayMessage(){
//create shortcuts names
doc = document.prodselector;
var sloca = doc.steelloca;
var slocaWhich = sloca.options[sloca.selectedIndex].value;
var applit = doc.applitype;
var applitWhich = applit.options[applit.selectedIndex].value;
var bclass = doc.buildcla;
var bclassWhich = bclass.options[bclass.selectedIndex].value;
var ftype = doc.firetype;
var ftypeWhich = ftype.options[ftype.selectedIndex].value;
var frate = doc.firerate;
var frateWhich = frate.options[frate.selectedIndex].value;
var stype = doc.sectiontype;
var stypeWhich = stype.options[stype.selectedIndex].value;
var hollows = doc.hollow;
var hollowsWhich = hollows.options[hollows.selectedIndex].value;
var sorientation = doc.orientation;
var sorientationWhich = sorientation.options[sorientation.selectedIndex].value;
var expos = doc.expo;
var exposWhich = expos.options[expos.selectedIndex].value;

//start checking
if (slocaWhich == ""){
window.alert("Please select the Steel Location");
} else if (applitWhich == ""){
window.alert("Please select the Application Type");
} else if (bclassWhich == ""){
window.alert("Please select the Building Class");
} else if (ftypeWhich == ""){
window.alert("Please select the Fire Type");
} else if (frateWhich == ""){
window.alert("Please select the Fire Rating");
} else if (stypeWhich == ""){
window.alert("Please select the Section Type");
} else if ((hollowsWhich == "") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs"))){
window.alert("Please select the Hollow Section");
} else if ((stypeWhich != "bracing") && (sorientationWhich == "")){
window.alert("Please select the Orientation");
} else if ((stypeWhich != "bracing") && (exposWhich == "")){
window.alert("Please select the Exposure");
} else {
checkFType();
} // end else
}// end function displayMessage()


///////////////////////////////////////////////////////////////////////////////////////////////////////Check the fire type
/////////we check the fire type here because the hydocarbonate fires require the same basecoat. Then checks the building
////////////////////////////////////////////////////class for the top seal options. If fire note Hydro calls last funtion
function checkFType(){
//create shortcuts names
doc = document.prodselector;
var ftype = doc.firetype;
var ftypeWhich = ftype.options[ftype.selectedIndex].value;
var bclass = doc.buildcla;
var bclassWhich = bclass.options[bclass.selectedIndex].value;
var frate = doc.firerate;
var frateWhich = frate.options[frate.selectedIndex].value;
var stype = doc.sectiontype;
var stypeWhich = stype.options[stype.selectedIndex].value;
var hollows = doc.hollow;
var hollowsWhich = hollows.options[hollows.selectedIndex].value;
/*
whatMessBc = doc.messageBasecoat;
whatMessTs = doc.messageTopSeal;
*/

keepGoing = true;

//start checking this should take care of TABLES 51, 52, 53 & 54
if ((ftypeWhich == "hydro") && (bclassWhich == "c1")){
	whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
	whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over System E</p>";
} else if ((ftypeWhich == "hydro") && (bclassWhich == "c2")){
	whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
	whatMessTs = "<p>TS815 over System E";
} else if ((ftypeWhich == "hydro") && (bclassWhich == "c3")){
	whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
	whatMessTs = "<p>TS815 over System E</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";
} else if ((ftypeWhich == "hydro") && (bclassWhich == "other")){
	whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
	whatMessTs = "<p>Refer to Nullifire for specification</p>";
} else {
	keepGoing = false;
	whatMessage();
} // end else

if(keepGoing) {
	transferToResults(whatMessBc,whatMessTs)
}

}// end function checkFType()


///////////////////////////////////////////////////////////////////////////////////////////////////////Displays options
/////////function that display all the messages if the proper fileds are filled and that the selection was Cellulosic fire.
function whatMessage(){
//create shortcuts names
doc = document.prodselector;
var sloca = doc.steelloca;
var slocaWhich = sloca.options[sloca.selectedIndex].value;
var applit = doc.applitype;
var applitWhich = applit.options[applit.selectedIndex].value;
var bclass = doc.buildcla;
var bclassWhich = bclass.options[bclass.selectedIndex].value;
var ftype = doc.firetype;
var ftypeWhich = ftype.options[ftype.selectedIndex].value;
var frate = doc.firerate;
var frateWhich = frate.options[frate.selectedIndex].value;
var stype = doc.sectiontype;
var stypeWhich = stype.options[stype.selectedIndex].value;
var hollows = doc.hollow;
var hollowsWhich = hollows.options[hollows.selectedIndex].value;
var sorientation = doc.orientation;
var sorientationWhich = sorientation.options[sorientation.selectedIndex].value;
var expos = doc.expo;
var exposWhich = expos.options[expos.selectedIndex].value;

//start checking
//////////////////////////////////////////////////////////////////////////////////////////////TABLE 1
//building class 1 - table 1
if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707 and S707-90<br />or<br />TS815 over S708</p>";

//building class 2 - table 1a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708</p>";

//building class 3 - table 1b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "30") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 2
//building class 1 - table 2
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707 and S707-90<br />or<br />TS815 over S708</p>";

//building class 2 - table 2a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708</p>";

//building class 3 - table 2b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S708 Water-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 3
//building class 1 - table 3
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 165Hp/A<br />or<br />S708 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707 and S707-90<br />or<br />TS815 over S708 and S606</p>";

//building class 2 - table 3a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 165Hp/A<br />or<br />S708 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708 and S606</p>";

//building class 3 - table 3b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 165Hp/A<br />or<br />S708 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708 and S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 165Hp/A<br />or<br />S708 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 4
//building class 1 - table 4
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 120Hp/A<br />or<br />S708 Water-based System up to 180Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707 and S707-90<br />or<br />TS815 over S708 and S606</p>";

//building class 2 - table 4a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 120Hp/A<br />or<br />S708 Water-based System up to 180Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708 and S606</p>";

//building class 3 - table 4b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 120Hp/A<br />or<br />S708 Water-based System up to 180Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S708 and S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System up to 120Hp/A<br />or<br />S708 Water-based System up to 180Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////NEW TABLES 5 - S707-120
//building class 1 - table 5
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707-120 Water-based System up to 310Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707-120<br />or<br />TS815 over S606</p>";

//building class 2 - table 5a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707-120 Water-based System up to 310Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>TS816 over S707-120<br />or<br />TS815 over S606</p>";

//building class 3 - table 5b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707-120 Water-based System up to 310Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>TS816 over S707-120<br />or<br />TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S707-120 Water-based System up to 310Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////NEW TABLES 6 - S707-120
//building class 1 - table 6
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-120 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707-120<br />or<br />TS815 over S606</p>";

//building class 2 - table 6a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-120 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>TS816 over S707-120<br />or<br />TS815 over S606</p>";

//building class 3 - table 6b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-120 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>TS816 over S707-120<br />or<br />TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-120 Water-based System up to 220Hp/A<br />or<br />S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////OLD TABLE 5 & 6
//building class 1 - table 5 & 6
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";


//building class 2 - table 5a & 6a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 5b & 6b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";


//////////////////////////////////////////////////////////////////////////////////////////////TABLE 7
//building class 1 - table 7
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707 and S707-90<br />or<br />TS815 over S606</p>";

//building class 2 - table 7a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S606</p>";

//building class 3 - table 7b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90<br />or<br />TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 8
//building class 1 - table 8
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 160 Hp/A<br />or<br />S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707-90<br />or<br />TS815 over S606</p>";

//building class 2 - table 8a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 160 Hp/A<br />or<br />S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>TS816 over S707-90<br />or<br />TS815 over S606</p>";

//building class 3 - table 8b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 160 Hp/A<br />or<br />S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>TS816 over S707-90<br />or<br />TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 160 Hp/A<br />or<br />S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 9
//building class 1 - table 9
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 105 Hp/A<br />or<br />S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707-90<br />or<br />TS815 over S606</p>";

//building class 2 - table 9a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 105 Hp/A<br />or<br />S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>TS816 over S707-90<br />or<br />TS815 over S606</p>";

//building class 3 - table 9b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 105 Hp/A<br />or<br />S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>TS816 over S707-90<br />or<br />TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S707-90 Water-based System up to 105 Hp/A<br />or<br />S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 10
//building class 1 - table 10
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 10a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 10b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 11
//building class 1 - table 11
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 11a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 11b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 12
//building class 1 - table 12
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 12a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 12b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 13
//building class 1 - table 13
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 150 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 13a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 150 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 13b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 150 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 150 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 14
//building class 1 - table 14
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 14a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 14b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 15
//building class 1 - table 15
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 15a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 15b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 16
//building class 1 - table 16
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 16a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 16b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 17
//building class 1 - table 17
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707 and S707-90</p>";

//building class 2 - table 17a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90</p>";

//building class 3 - table 17b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System</p>";
whatMessTs = "<p>TS816 over S707 and S707-90</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707 Water-based System<br />or<br />S707-90 Water-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 18
//building class 1 - table 18
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 18a
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 18b
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "int") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";

whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 19
//building class 1 - table 19
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && ((frateWhich == "30")||(frateWhich == "60")||(frateWhich == "90")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 19a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && ((frateWhich == "30")||(frateWhich == "60")||(frateWhich == "90")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 19b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && ((frateWhich == "30")||(frateWhich == "60")||(frateWhich == "90")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && ((frateWhich == "30")||(frateWhich == "60")||(frateWhich == "90")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 20
//building class 1 - table 20
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 200 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 20a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 200 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 20b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 200 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 200 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 21
//building class 1 - table 21
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S605 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 21a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S605 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 21b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S605 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S605 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 22
//building class 1 - table 22
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 22a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 22b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 23
//building class 1 - table 23
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 23a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 23b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 24
//building class 1 - table 24
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 24a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 24b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 25
//building class 1 - table 25
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 70 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 25a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 70 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 25b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 70 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 70 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 26
//building class 1 - table 26
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 33 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S605</p>";

//building class 2 - table 26a
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 33 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p>";

//building class 3 - table 26b
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 33 Hp/A</p>";
whatMessTs = "<p>TS815 over S605</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "ext") && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S605 Solvent-based System up to 33 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 27 & 28
//building class 1 - table 27 & 28
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S708 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S708 and S606</p>";

//building class 2 - table 27a & 28a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S708 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S708 and S606</p>";

//building class 3 - table 27b & 28b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S708 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S708 and S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S708 Water-based System<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 29
//building class 1 - table 29
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S708 Water-based System up to 220 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S708 and S606</p>";

//building class 2 - table 29a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S708 Water-based System up to 220 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S708 and S606</p>";

//building class 3 - table 29b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S708 Water-based System up to 220 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S708 and S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S708 Water-based System up to 220 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 30
//building class 1 - table 30
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S708 Water-based System up to 180 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S708 and S606</p>";

//building class 2 - table 30a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S708 Water-based System up to 180 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S708 and S606</p>";

//building class 3 - table 30b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S708 Water-based System up to 180 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S708 and S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S708 Water-based System up to 180 Hp/A<br />or<br />S606 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 31 & 32
//building class 1 - table 31 & 32
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 31a & 32a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 31b & 32b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"||(exposWhich == "4")))){
whatMessBc = "<p>S606 Solvent-based System up to 240 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S606 Solvent-based System up to 240 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 33
//building class 1 - table 33
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 33a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 33b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 34
//building class 1 - table 34
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 34a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 34b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 271 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 35
//building class 1 - table 35
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 35a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 35b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 300 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 36
//building class 1 - table 36
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 36a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 36b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 134 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 37
//building class 1 - table 37
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 37a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 37b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 160 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 38
//building class 1 - table 38
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 38a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 38b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && (stypeWhich == "chs") && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 29 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 39
//building class 1 - table 39
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 100 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606</p>";

//building class 2 - table 39a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 100 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p>";

//building class 3 - table 39b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 100 Hp/A</p>";
whatMessTs = "<p>TS815 over S606</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "120") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "4")){
whatMessBc = "<p>S606 Solvent-based System up to 100 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 40
//building class 1 - table 40
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 40a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 40b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "30") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 41
//building class 1 - table 41
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 41a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 41b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 245 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 42
//building class 1 - table 42
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 42a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 42b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "rhs")||(stypeWhich == "shs")) && (hollowsWhich == "unfilled") &&((sorientationWhich == "beam")||(sorientationWhich == "col")) && (exposWhich == "3")){
whatMessBc = "<p>S606 Solvent-based System up to xxxHp/A<br />or<br />S602/3 Solvent-based System up to 157 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 43
//building class 1 - table 43
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707-90 Water-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS816 over S707-90</p>";

//building class 2 - table 43a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707-90 Water-based System</p>";
whatMessTs = "<p>TS816 over S707-90</p>";

//building class 3 - table 43b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707-90 Water-based System</p>";
whatMessTs = "<p>TS816 over S707-90</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "30") && (stypeWhich == "bracing")){
whatMessBc = "<p>S707-90 Water-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 44
//building class 1 - table 44
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c1") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S606 and S602/3</p>";

//building class 2 - table 44a
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c2") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p>";

//building class 3 - table 44b
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "c3") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>TS815 over S606 and S602/3</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if ((slocaWhich == "semi") && (applitWhich == "on") && (bclassWhich == "other") && (frateWhich == "60") && (stypeWhich == "bracing")){
whatMessBc = "<p>S606 Solvent-based System<br />or<br />S602/3 Solvent-based System for CHS only</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 45 & 46
//building class 1 - table 45 & 46
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c1") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S609 Solvent-based System</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S609</p>";

//building class 2 - table 45a & 46a
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c2") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S609 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S609</p>";

//building class 3 - table 45b & 46b
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c3") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S609 Solvent-based System</p>";
whatMessTs = "<p>TS815 over S609</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "other") && ((frateWhich == "30")||(frateWhich == "60")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>S609 Solvent-based System</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 47
//building class 1 - table 47
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S609 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S609</p>";

//building class 2 - table 47a
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S609 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>TS815 over S609</p>";

//building class 3 - table 47b
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S609 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>TS815 over S609</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3"))){
whatMessBc = "<p>S609 Solvent-based System up to 220 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 48
//building class 1 - table 48
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "beam") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S609</p>";

//building class 2 - table 48a
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "beam") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>TS815 over S609</p>";

//building class 3 - table 48b
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "beam") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>TS815 over S609</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "beam") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 180 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 49
//building class 1 - table 49
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c1") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "col") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 190 Hp/A</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over S609</p>";

//building class 2 - table 49a
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c2") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "col") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 190 Hp/A</p>";
whatMessTs = "<p>TS815 over S609</p>";

//building class 3 - table 49b
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "c3") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "col") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 190 Hp/A</p>";
whatMessTs = "<p>TS815 over S609</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if (((slocaWhich == "int")||(slocaWhich == "semi")) && (applitWhich == "off") && (bclassWhich == "other") && (frateWhich == "90") && ((stypeWhich == "uni")||(stypeWhich == "channel")) && (sorientationWhich == "col") && (exposWhich == "4")){
whatMessBc = "<p>S609 Solvent-based System up to 190 Hp/A</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 50 - 54 Hydrocarbon

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 55-1 (universal channel)
//building class 1 - table 55
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over System E</p>";

//building class 2 - table 55a
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>TS815 over System E</p>";

//building class 3 - table 55b
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>TS815 over System E</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "uni")||(stypeWhich == "channel")) && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

//////////////////////////////////////////////////////////////////////////////////////////////TABLE 55-2 (rsh shs chs)
//building class 1 - table 55
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c1") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>No top seal is required for C1 Buildings<br />If a top seal is required for decorative or protective reasons use:</p><p>TS815 over System E</p>";

//building class 2 - table 55a
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c2") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>TS815 over System E</p>";

//building class 3 - table 55b
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "c3") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>TS815 over System E</p><p>Note:For severe environmental conditions please contact Nullifire's Technical Services Department</p>";

//building class other
} else if (((slocaWhich == "int")||(slocaWhich == "ext")||(slocaWhich == "semi")) && ((applitWhich == "on")||(applitWhich == "off")) && (bclassWhich == "other") && ((frateWhich == "180")||(frateWhich == "240")) && ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")) && (hollowsWhich == "unfilled") && ((sorientationWhich == "beam")||(sorientationWhich == "col")) && ((exposWhich == "1")||(exposWhich == "2")||(exposWhich == "3")||(exposWhich == "4"))){
whatMessBc = "<p>System E, refer to Nullifire for further details</p>";
whatMessTs = "<p>Refer to Nullifire for specification</p>";

////////////////////////////////////////////////////////////////////////////////////////////// NO MATCH
} else {
whatMessBc = "<p>No products defined for these specifications.<br />Please contact Nullifire for more information</p>";
whatMessTs = "";
} // end else

	// now display our info somewhere
	transferToResults(whatMessBc,whatMessTs);

}// end function whatMessage()

////////////////////////////////////////////////////////////////////////////////////////////////////display notes function
//////////////////////////////////////////////////////////////////////////// displays the notes in the right hand side box
function displayNotes(whichNotes){
//create shortcuts names
doc = document.prodselector;
// create array to hold messages to display in the note box
var notes = new Array();
notes[0] = "<h2>Steel Location</h2><p>Location of the steelwork after construction is completed.</p><p>Internal / External / Semi-exposed</p><p>Semi-exposed: Steel on the perimeter of the building, which is external but not exposed to direct weathering e.g. under a canopy etc.</p>";
notes[1] = "<h2>Application Type</h2><p>Where the basecoat is to be applied. On the Site during construction, or Off the Site (Factory applied) prior to steel erection.</p>";
notes[2] = "<h2>Building Class</h2><p>Guidance to the corrosion protection of steelwork, from 'The Prevention of Corrosion on Structural Steelwork' published by Corus.</p><p>Classifications:<br />C1: very low corrosion risk, warm dry interior application, e.g. office, shops, residences, schools, hospitals, airports.</p><p>C2: Low corrosion risk, steelwork exposed to moisture, e.g. sports halls, exhibition halls, and vehicle depots.</p><p>C3: medium corrosion risk, steelwork exposed to moisture and pollution, e.g. food processing, dairies, breweries etc.</p><p>Other: Chemical plants, petrochemical plants, etc, any external applications.</p>";
notes[3] = "<h2>Fire Type</h2><p>Cellulosic fires are caused by burning cellulose materials such as, wood, paper, fabrics etc, typical of office and domestic fires.</p><p>Hydrocarbon fires are caused by burning hydrocarbon fuels such as petrol, diesel, petro-chemical, gases etc, typical of chemical plant fires or Off-Shore.</p>";
notes[4] = "<h2>Fire Rating</h2><p>Duration the steelwork is required to remain stable, in minutes.</p>";
notes[5] = "<h2>Section Type</h2><p>Universal and channel sections are open profile, e.g. H and C shapes.</p><p>SHS, RHS and CHS are Hollow sections.</p><p>SHS: Square Hollow Section</p><p>RHS: Rectangular Hollow Section</p><p>CHS: Circular Hollow Section.</p><p>Bracing: mainly hollow sections or solid circular rod.</p>";
notes[6] = "<h2>Hollow Section</h2><p>Hollow sections which are filled with concrete. Filled sections require less material.</p>";
notes[7] = "<h2>Orientation</h2><p>Beams: Horizontal steel sections</p><p>Columns: Vertical steel sections</p>";
notes[8] = "<h2>Exposure</h2><p>Numbers of sides of the steel, which are exposed (viable) to the fire.<br />E.g. if a steel beam is supporting a concrete floor then 3 sides of the steel are exposed.</p>";

$("#links").addClass("viewnotes").html("<p>"+notes[whichNotes]+"</p>");
}// end function displayNotes()


///////////////////////////////////////////////////////////////////////////////////////////////////toggle hollow function
/////////////////////////////////// toggle the drop down into disable mode or enable mode depending on the selection type
function toggleHollow(){
//create shortcuts names
doc = document.prodselector;
var stype = doc.sectiontype;
var stypeWhich = stype.options[stype.selectedIndex].value;
var hollows = doc.hollow;
var hollowsWhich = hollows.options[hollows.selectedIndex].value;

if (stypeWhich == ""){
window.alert("Please select the Section Type");
} else if ((stypeWhich == "rhs")||(stypeWhich == "shs")||(stypeWhich == "chs")){
document.prodselector.hollow.disabled = true;
document.prodselector.hollow.disabled = !document.prodselector.hollow.disabled;
} else {
document.prodselector.hollow.disabled = true;
} // end else
}// end function toggleHollow()

var fields = ['steelloca','applitype','buildcla','firetype','firerate','sectiontype','hollow','orientation','expo'];
function transferToResults(a,b) {

	// pass select values
	for(i=0 ; i<fields.length ; i++) {
		o = document.getElementById(fields[i]);
		if(o[o.selectedIndex].value) {
			$("#register input[name='"+fields[i]+"']").val(o[o.selectedIndex].text);
		}
	}
	// pass recommendations
	$("#basecoat").html(a);
	$("#topseal").html(b);
	$("#register input[name='basecoat']").val(a);
	$("#register input[name='topseal']").val(b);

	// and display
	os = $("#links").offset();
	$("#links").hide().addClass("viewnotes").html($("#results").html()).fadeIn();

}

function myOpenWindow() {
    myWindowHandle = window.open('about:blank','steelprotform','width=600,height=400,scrollbars=yes,resizable=no');
}

$(function(){
	$("#links").addClass("viewnotes").html("<h4>Please select criteria from the left</h4>");
})
