// JavaScript Document
//Browser Check 
iens6=document.all||document.getElementById
ns4=document.layers

//DEFINE CONTENT
//PLACE ALL YOU BOX TITLES HERE - Just add another element to the array
var titleArray = new Array
titleArray[1]="<b>Steady-State Test</b>"
titleArray[2]="<b>Transient-State Test</b>"
titleArray[3]="<b>Transient-State Test</b>"

titleArray[5]="<b>Thermal Conductivity</b>"
titleArray[6]="<b>Thermal Expansion</b>"
titleArray[7]="<b>Specific Heat Capacity</b>"

//TitleArray in MaterialBehavior/Steel/Bolts/Background
titleArray[4]="<b>Report by Kirby</b>"
titleArray[13]="<b>Article by Kirby</b>"

//Title in MaterialBehavior/Steel/StainlessSteel/StainlessSteel.php
titleArray[8]="<b>Austenitic Stainless Steels</b>"
titleArray[9]="<b>Ferritic Stainless Steels</b>"
titleArray[10]="<b>Martensitic Stainless Steels</b>"
titleArray[11]="<b>Duplex Stainless Steels</b>"
titleArray[12]="<b>Precipitation Hardening Steels</b>"
//Title in MaterialBehavior/Timber/general.php
titleArray[14]="<b>Glued Laminated Timber</b>"
titleArray[15]="<b>Char-line</b>"
//Title in MaterialBehavior/Masonry/general.php
titleArray[16]="<b>Clay bricks</b>"
titleArray[17]="<b>Calcium silicate bricks</b>"
titleArray[18]="<b>Concrete masonry</b>"
titleArray[19]="<b>Autoclaved aerated concrete (AAC)</b>"
titleArray[20]="<b>Natural stone</b>"
//Title in MaterialBehavior/Concrete/general.php
titleArray[21]="<b>Normal-weight Concrete</b>"
titleArray[22]="<b>Lightweight Concrete</b>"
titleArray[23]="<b>High-strength Concrete</b>"
//Title in DesignMethods/Performance/fireModelling/nominalFireCurves
titleArray[24]="<b>Convection Factor</b>"
titleArray[25]="<b>Emissivity of Fire</b>"
titleArray[26]="<b>Surface Emissivity</b>"
//Title in Design/prescriptive/Fire Protection Systems
titleArray[27]="<b>Generic Materials</b>"
titleArray[28]="<b>Sprays(cementitious or gypsum based coatings)</b>"
titleArray[29]="<b>Boards and Blankets</b>"
titleArray[30]="<b>Intumescent Coatings</b>"
//Title in Design/prescriptive/Timber Structures
titleArray[31]="<b>BRE Report 128 (1988)</b>"


//PLACE ALL YOU BOX CONTENT HERE - Make sure you use a += after the first line 
var linkArray = new Array
linkArray[1]="In steady-state tests, before any load is applied, the specimen is heated up to a specified"
linkArray[1]+=" temperature. After having reached the thermal equilibrium, the specimen is then strained at"
linkArray[1]+=" a uniform rate while the corresponding stress is recorded as a function of extension."
linkArray[1]+=" Steady-state tests generally give higher strength for a material than transient-state tests."


linkArray[2]="In transient-state tests, the load is applied on the specimen before heating and it is"
linkArray[2]+=" maintained constant while the temperature of the specimen is increased at a given rate."
linkArray[2]+=" The changes in gauge length are constantly recorded by means of high temperature"
linkArray[2]+=" extensometers. For concrete, it is the only way to obtain the transient strain."


linkArray[3]="You can provide text along with the links to either describe a link or say something"
linkArray[3]+=" interesting about a site. You can change the color of the text that you add.<br>"
linkArray[3]+="• <a href='http://www.sun.com/download/'>Sun Download Center</a><br>"


linkArray[5]="The heat flow per unit area per unit time when the temperature"
linkArray[5]+=" decrease by one degree in unit distance."

linkArray[6]="The expansion related to the increase in temperature. Thermal expansion"
linkArray[6]+=" is measured in terms of the coefficient of thermal expansion which is"
linkArray[6]+=" defined as the change in length per unit length for unit increase in temperature."

linkArray[7]="The heat required to raise unit mass of the material by one"
linkArray[7]+=" degree of temperature."

//Content Array in MaterialBehavior/Steel/Bolts/Background
linkArray[4]="Kirby, B. R. (1992). \"The Behavior of High Strength Grade 8.8 Bolts in Fire.\" <em>BRITISH STEEL TECHNICAL (Swinden Laboratories) Report No. SL/HED/R/S1792/1/92/D</em><br>"
linkArray[4]+=" <a href='ReportKirby95.pdf' target='_blank'><b>Click to the report in PDF format (983KB).</b></a>"
linkArray[13]="Kirby, B. R. (1995). \"The Behavior of High Strength Grade 8.8 Bolts in Fire. \" <em>J. Construct. Steel Research, </em> 33, pp3-38."

//Content in MaterialBehavior/Steel/StainlessSteel/StainlessSteel.php
linkArray[8]="They have an austenitic microstructure at room temperature and normally contain "
linkArray[8]+=" relatively high amounts of nickel(Ni). These are the most commonly used stainless"
linkArray[8]+=" steels due to high ductility, good corrosion resistance, good formability and weldability"
linkArray[8]+=" (NiDI 1994)."

linkArray[9]="They have a ferritic microstructure and contain relatively little nickel."
linkArray[9]+=" Ductility, strength, corrosion resistance, formability and weldability are"
linkArray[9]+=" not as good as those of austenitic stainless steels (NiDI 1994)."

linkArray[10]="They are magnetic, iron/chromium steels which are ferritic in the annealed"
linkArray[10]+=" condition, but become martensitic when cooled rapidly from the above critical"
linkArray[10]+=" range. They are unsuitable for most building applications due to low corrosion"
linkArray[10]+=" resistance (BRE Digest 349)."

linkArray[11]="They have a mixed microstructure and combine the best of the properties of the"
linkArray[11]+=" austenitic and ferritic groups. Compared to austenitic group, they have higher"
linkArray[11]+=" mechanical strengths, similar weldability, lower formability and similar or"
linkArray[11]+=" higher corrosion resistance (NiDI 1994)."

linkArray[12]="They offer the highest strengths through suitable heat treatments. They are"
linkArray[12]+=" not normally used in welded fabrications (NiDI 1994)."
//Content in MaterialBehavior/Timber/general.php
linkArray[14]="Structural timber members manufactured by bonding together several timber laminations"
linkArray[14]+=" with the grain running essentially parallel. The most common adhesives are based on"
linkArray[14]+=" resorcinol, melamine urea or casein. There are two types of laminated timber: homogenous and"
linkArray[14]+=" combined. The former comprised the same grade and species of laminations, while the latter"
linkArray[14]+=" comprises inner and outer laminations of different grades and species."
linkArray[15]="Border line betwween the char-layer and the residual cross section."
//Content in MaterialBehavior/Masonry/general.php
linkArray[16]="They are made of fired clay and have a wide range of colours and textures. The method of forming,"
linkArray[16]+=" i.e. by moulding or extruding, decides whether the bricks are frogged or perforated. Most bricks are"
linkArray[16]+=" made to a standard size (65&times;102.5&times;215mm) although non-standard sizes can be made."
linkArray[16]+=" The appearance and strength of clay masonry are considerable influenced by the original clay. The"
linkArray[16]+=" following varieties of clay bricks are available: 1) Facing bricks: Specially made to give attractive"
linkArray[16]+=" appearance when used without rendering or other surface treatment of the wall. 2) Engineering bricks: "
linkArray[16]+=" May not look too good, but have a minimum guaranteed compressive strength."

linkArray[17]="They consist basically of a mixture of sand or flint mix with lime, which is mechanically pressed together"
linkArray[17]+=" and combined by the action of steam under pressure."

linkArray[18]="It is manufactured from pressed, cast or extruded aggregate concrete. They are available in solid or hollow"
linkArray[18]+=" rectangular prisms. Special lightweight aggregates are often used to improved insulation properties."

linkArray[19]="It, also named as aircrete in UK, is a low density material made principally from a formed, fine-grain"
linkArray[19]+=" siliceous material bonded together with calcium silicate. AAC masonry units are generally manufactured"
linkArray[19]+=" as solid rectangular prisms usually in the form of blocks 215mm high, between 50 and 350mm thick and "
linkArray[19]+=" between 440 and 630mm long."

linkArray[20]="It is relatively expensive building material. Its appearance and strength are very variable. There are no"
linkArray[20]+=" standard sizes and many forms can be used, ranging from rough random cobbles to finely sawn blocks."
//Content Array in MaterialBehavior/Concrete/general.php
linkArray[21]="can be composed of either siliceous aggregate or calcareous aggregate. The aggregates are normally excavated"
linkArray[21]+=" from gravel pit, quarries and sandpits. Siliceous aggregate concretes (e.g. gravel, granite and crushed natural"
linkArray[21]+=" stones except limestone) expand considerably at high temperatures and have a high tendency to spall under fire"
linkArray[21]+=" attack. On the other hand, calcareous aggregate concretes (e.g. limestone) have a lower thermal conductivity and"
linkArray[21]+=" are less likely to spall than siliceous aggregate concrete."
linkArray[22]="is usually made with normal cement with some form of lightweight aggregate such as pumice, expanded clays, shales,"
linkArray[22]+=" waste products, etc. Many lightweight aggregates are manufactured at high temperatures, so they remain very stable"
linkArray[22]+=" during fire events. Compared to dense aggregates, lightweight concretes have a lower thermal conductivity and coefficient"
linkArray[22]+=" of thermal expansion, and a better physical compatibility with the cement paste. As a result, lightweight concrete has a"
linkArray[22]+=" higher strength retention compared to normal weight concrete at elevated temperatures."
linkArray[23]="is mainly achieved by using a low water-cement ratio through adding water-reducing mixtures, such as fly ash, slag and"
linkArray[23]+=" superplaticizers, or by adding the state-of-the-art additives such as silica fume to enhance the strength and durability."
linkArray[23]+="  Either normal-weight or lightweight aggregates may be used. However, the strength of aggregate is a limiting factor that"
linkArray[23]+=" should be considered in the concrete mix design, along with water-cement ratio."
//Content in DesignMethods/Performance/fireModelling/nominalFireCurves
linkArray[24]="Convective heat flux to the member related to the difference between the bulk temperature of gas bordering the relevant surface of the member and the temperature of that surface."
linkArray[25]="The amount of radiative heat the fire emits relative to the radiative heat emitted by a perfect black body at the same temperature."
linkArray[26]="The ratio between the radiative heat absorbed by a given surface and that of a black body surface. Equal to heat absorptive ability of a surface."
//Content in Design/prescriptive/Fire Protection Systems
linkArray[27]="The generic materials comprise concrete, brick or block, gypsum plaster and certain types of plasterboard.  These methods of protection are well established."
linkArray[28]="Sprays are normally applied in situ as profile protection and can be easily applied to complex structural steel detail.  The cement or gypsum based materials may contain mineral fibre, expanded vermiculite, expanded perlite, other lightweight aggregates or fillers.  The coatings are often susceptible to mechanical damage (SCI-P197)."
linkArray[29]="Hard boards and flexible blankets are installed in situ as either profile or boxed fire protection.  The base materials include ceramic fibres, calcium silicate, rock fibre, gypsum and vermiculite. Most are only suitable for interior use and have limited external exposure.  Hard boards are vulnerable to impact damage (SCI-P197)."
linkArray[30]="The coatings can be in forms of thin and thick film.  When exposed to fire, the coatings will swell to many times their original thickness with the resultant char insulating the underlying steel substrate.  Most coatings are applied in situ and are suitable for interior/exterior exposure.  However, the use of off-site application is increasing.  The coating systems offer reasonable resistance to mechanical damage and any damage can be easily repaired (SCI-P197)."
//Content in Design/prescriptive/Timber Structures
linkArray[31]="The tabulated data provided in the BRE Report 128 (1988) are based on BS5628-4.2, but presented in a different manner."
//END DEFINE CONTENT

//GLOBAL VARIABLES
var thename
var theobj
var thetext
var winHeight
var winWidth
var boxPosition
var headerColor
var tableColor
var timerID
var seconds=0
var x=0
var y=0
var offsetx = 2
var offsety = 2
//END GLOBAL VARIABLES

if(ns4) {
	document.captureEvents(Event.MOUSEMOVE)
}
document.onmousemove=getXY

//GLOBAL FUNCTIONS
function buildText(value,tcolor,bcolor) {
// CHANGE EACH ARRAY ELEMENT BELOW TO YOUR OWN CONTENT. MAKE SURE TO USE SINGLE QUOTES INSIDE DOUBLE //QUOTES.
text="<table width='"+(winWidth-4)+"' height='"+(winHeight-4)+"' border='1' bgcolor='"+tableColor+"' cellspacing='1' cellpadding=1>"
text+="<tr><td width='"+(winWidth-4)+"' height='20' align='center' valign='top' bgcolor='"+headerColor+"'>"
text+="<font face='Arial,Helvetica' color='"+tcolor+"' SIZE='2'>"+titleArray[value]+"</font>"
text+="</td></tr>"
text+="<tr><td width='"+winWidth+"' align='left' valign='top'>"
text+="<font face='Arial,Helvetica' color='"+bcolor+"' SIZE='1'>"+linkArray[value]+"</font>"
text+="</td></tr></table>"
return text
}

function setObj(textelement,inwidth,inheight,boxpos,titlecolor,boxcolor,tfontcolor,bfontcolor) {
	clearTimeout(timerID)
	boxPosition=boxpos
	tableColor=boxcolor
	headerColor=titlecolor
	winWidth=inwidth
	winHeight=inheight
	if(window.screen){
    winWidth = Math.floor(screen.availWidth/2);
    winHeight = Math.floor(screen.availHeight/6);}
	thetext=buildText(textelement,tfontcolor,bfontcolor)
	if (boxPosition == "bottomR") { // Right
		x=x+offsetx
		y=y+offsety
	}
	if (boxPosition == "bottomL") { // Left
		x=x-(offsetx+2)-winWidth
		y=y-offsety
	}
	if (boxPosition == "topR") { // Top
		x=x+offsetx
		y=y+offsety-winHeight
	}
	if (boxPosition == "topL") { // Top
		x=x-(offsetx+2)-winWidth
		y=y+offsety-winHeight
	}
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		theobj.style.width=winWidth
		theobj.style.height=winHeight
		theobj.style.left=x
			if(iens6&&document.all) {
			theobj.style.top=document.body.scrollTop+y				
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
			}
			if(iens6&&!document.all) {
			theobj.style.top=window.pageYOffset+y	
				theobj.innerHTML = ""
				theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		theobj.left=x
		theobj.top=y
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.height=winHeight
		theobj.clip.height=winHeight
		theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
		theobj.document.close()
	}
	viewIt()
}

function viewIt() {
		if(iens6) {
			theobj.style.visibility="visible"
		}
		if(ns4) {
			theobj.visibility = "visible"
		}
}

function stopIt() {
	if(theobj) {
		if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		}
		if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		}
	}
}

function timer(sec) {
	seconds=parseInt(sec)
	if(seconds>0) {
		seconds--
		timerID=setTimeout("timer(seconds)",1000)
	}else{
		stopIt()
	}
}

function getXY(e) {
	if (ns4) {
		x=0
		y=0
		x=e.pageX; 
		y=e.pageY;
	}
	if (iens6&&document.all) {
		x=0
		y=0
		x=event.x; 
		y=event.y;
	}
	if (iens6&&!document.all) {
		x=0
		y=0
		x=e.pageX; 
		y=e.pageY;
	}
}
//END GLOBAL FUNCTIONS