// JavaScript Document


// Based on the source code provided at jsCode.com (Author: etLux, 2003)



var theImages = new Array();

theImages[0] = '../banner/arch1.jpg';

theImages[1] = '../banner/arch2.jpg';

theImages[2] = '../banner/Bennett2.gif';

theImages[3] = '../banner/bennett4.jpg';

theImages[4] = '../banner/Bennett5.gif';

theImages[5] = '../banner/bennett_linkage.jpg';

theImages[6] = '../banner/blue.jpg';

theImages[7] = '../banner/chris2.jpg';

theImages[8] = '../banner/chris3.jpg';

theImages[9] = '../banner/chris4.jpg';

theImages[10] = '../banner/chris5.jpg';

theImages[11] = '../banner/chrismontage.jpg';

theImages[12] = '../banner/column_earthquake_rig.jpg';

theImages[13] = '../banner/concrete.JPG';

theImages[14] = '../banner/cornea.jpg';

theImages[15] = '../banner/deployable_tent.jpg';

theImages[16] = '../banner/disp.jpg';

theImages[17] = '../banner/DSCF0006a.jpg';

theImages[18] = '../banner/jackup.jpg';

theImages[19] = '../banner/loading_rig.jpg';

theImages[20] = '../banner/offshore_rig.jpg';

theImages[21] = '../banner/penta.jpg';

theImages[22] = '../banner/Polymerfluid.jpg';

theImages[23] = '../banner/Rig2.jpg';

theImages[24] = '../banner/spinninglens.jpg';

theImages[25] = '../banner/structures.jpg';

theImages[26] = '../banner/structures2.jpg';

theImages[27] = '../banner/structures3.jpg';

theImages[28] = '../banner/structures4.jpg';

theImages[29] = '../banner/test_rig.jpg';

theImages[30] = '../banner/tidal1.jpg';

theImages[31] = '../banner/tidal2.jpg';

theImages[32] = '../banner/tt_cut.gif';

theImages[33] = '../banner/tunnel.jpg';

theImages[34] = '../banner/turbine.jpg';

theImages[35] = '../banner/zhong2.jpg';



var theNames = new Array();

theNames[0] = 'deployable structures'

theNames[1] = 'deployable structures'

theNames[2] = 'deployable structures'

theNames[3] = 'deployable structures'

theNames[4] = 'deployable structures'

theNames[5] = 'deployable structures'

theNames[6] = 'jack-up rig'

theNames[7] = 'numerical tunnel experiment'

theNames[8] = 'numerical tunnel experiment'

theNames[9] = 'numerical tunnel experiment'

theNames[10] = 'numerical tunnel experiment'

theNames[11] = 'numerical tunnel experiment'

theNames[12] = 'structures rig'

theNames[13] = 'in-situ cast layer of concrete'

theNames[14] = '3D Finite element model of the cornea'

theNames[15] = 'deployable tent'

theNames[16] = 'null'

theNames[17] = 'Derrieus turbine'

theNames[18] = 'jack-up rig'

theNames[19] = '6 degree of freedom loading rig'

theNames[20] = 'jack-up rig'

theNames[21] = 'pentachlorophenol-st-trans'

theNames[22] = 'polymer excavation fluids running off the piling auger'

theNames[23] = 'null'

theNames[24] = 'spinning lens experiment'

theNames[25] = 'schematics structures'

theNames[26] = 'schematics structures'

theNames[27] = 'schematics structures'

theNames[28] = 'schematics structures'

theNames[29] = 'schematics structures'

theNames[30] = 'tidal'

theNames[31] = 'tidal'

theNames[32] = 'pre-stressed double-tee elements'

theNames[33] = 'tunnel'

theNames[34] = 'offshore wind turbine'

theNames[35] = 'deployable structure'


var j = 0;

var p = theImages.length;



var preBuffer = new Array();

for (i = 0; i < p; i++){

   preBuffer[i] = new Image();

   preBuffer[i].src = theImages[i];

}



var whichImage = new Array();

for (i = 0; i < 1; i++){

whichImage[i] = Math.round(Math.random()*(p-1));

}

