3//Rows used by the row with colour functions var sLineEven; var sLineOdd; var iRowColourContinuous = 0; function swapimage( imgName, picName) { imgOn=eval(imgName + ".src"); pic = document.getElementById(picName); if (pic) pic.src= imgOn; } function FrameExists(TargetFrame) { var j=parent.frames.length; for (var i=0;i'; sLineEven = ''; if ( typeof( sSection ) != 'undefined' ) { if ( sSection != '' ) { sLineOdd = ''; } } iRowColourContinuous++; if ((iRowColourContinuous/2) == Math.round(iRowColourContinuous/2)) { document.write(sLineOdd); } else { document.write(sLineEven); } } function setSelectedOption(oForm, sField, sValue) { var oField; var sItem; var iSelected = 0; //oField = oForm.all[sField]; oField = oForm.getElementById(sField); if ( oField != null ) { if ( oField.type == 'select-one' ) { for (iCount = 0; iCount < oField.options.length; iCount++) { sItem = oField.options[iCount].value; if ( sItem == sValue ) { iSelected = iCount; oField.options[iCount].selected = true; } } oField.selectedIndex = iSelected; } } } function twistieImage(AdminFile, ADocNumber,BDocNumber) { var ExpandedIMG = ''; var CollapsedIMG = ''; if (BDocNumber.substring(0, ADocNumber.length) == ADocNumber) { document.write( ExpandedIMG ); } else { document.write( CollapsedIMG ); } } function doSearch() { document.location.href = "/consumer/products.nsf/productsearch?readform&search=" + escape(document.forms[0].SearchFor.value); } function trapEnter(e, enterFunction){ if (!e) e = window.event; if (e.keyCode == 13){ e.cancelBubble = true; if (e.returnValue) e.returnValue = false; if (e.stopPropagation) e.stopPropagation(); if (enterFunction) eval(enterFunction); return false; } else { return true; } }