///////////////////////////////////////////////
// neCathfcts.js
//
// New England Catheter 
// www.necatheter.com
//
// Functions used as external reference.
// Place the following in the head:
// <script type="text/javascript" src="includes/neCathfcts.js"></script>
///////////////////////////////////////////////


// Design Text array
// Some text is repeated in the four different product lines, catheter, braided, reinforced, hybrid
var designText=new Array()

///////////////////////////////////////
// Catheter design text
///////////////////////////////////////

	
designText[0]="<p class='neHelp'><br>Inside diameters are typically<br>from .013 (.33mm) Min. to<br>.210 (5.33mm) Max.<br>If you have other requirements,<br>please let us know<br><br></p>"
designText[1]="<p class='neHelp'><br>Outside diameters are typically<br>from .039 (1mm) Min. to <br>.240 (6mm) Max.<br>Other sizes can be manufactured as required<br><br></p>"
designText[2]="<p class='neHelp'><br>Tubing can be supplied as<br>cut length from 12in (300mm)<br>to 6ft (2m).<br>Other lengths can be supplied.<br><br></p>"
designText[3]="<p class='neHelp'><br>FEP<br>* Good Lubricity - Good wear resistance<br>* Thin layers down to .0015<br>PFA<br>*Good Lubricity - Thin layers down to .002<br>* Slightly higher temperature<br>resistance than FEP<br>Pebax(R)<br>*Thin walls down to .002<br>*Smooth surface<br>*More flexible than FEP/PFA<br>Polyurethane<br>*Good Flexiblity<br>*Good toughness in higher durometers<br>Nylon<br>*Excellent wear resistance<br>*Thin walls down to .002<br>*Smooth surface-Stiff<br>Other<br>*We routinely run custom and non-standard<br>materials.  Let us know what you need<br><br></p>"
designText[4]="<p class='neHelp'><br>Inner Layer thickness including<br>reinforcing material ranges from<br>.008 (.2mm) Minimum to<br>.040 (1.0mm) Maximum<br><br></p>"
designText[5]="<p class='neHelp'><br>Polyurethane<br>*Good Flexiblity<br>*Good toughness in higher durometers<br>Pebax(R)<br>*Thin walls down to .0045<br>*Smooth surface<br>*Flexible but higher tensile than PUR<br>Nylon<br>*Excellent wear resistance<br>*Thin walls down to .0045<br>*Smooth Surface - Stiff<br>PVC<br>*Flexible - Smooth Surface<br>*Least expensive<br>TPE<br>*Highly Flexible<br>*Higher temperature resistance<br>than PUR and Pebax<br>Other<br>*We routinely run custom and non-standard<br>materials. Let us know what you need<br><br></p>"
designText[6]="<p class='neHelp'><br>Braid<br>*Provides increased wall strength<br>and higher pressure resistance<br>*Flat wire provides increased torque<br>capacity<br><br>Spiral<br>*Provides increaded wall strength,more<br>flexibility than braidin but less torque and<br>less pressure resistance than braiding<br><br>Linear<br>*Provides increased resistance to linear<br>stretching<br>*Contributes very little to wall strength<br>*Can inhibit flexibility<br>Other<br>*We have an extensive list of material<br>handling capabilities<br>Let us know what you need<br><br></p>"
designText[7]="<p class='neHelp'><br>Spiral reinforcing from 20 to 50<br>wraps per inch (1 to 2 wraps per mm)<br><br>Pick per inch rates from 25 to 125 are available<br><br>We can also vary the pick rate during a braid run<br><br></p>"
designText[8]="<p class='neHelp'><br>304 SS<br>*Slightly higher tensile strength<br>than 316L<br><br>316L SS<br>Slightly lower tensile strength than 304 SS<br><br>Other<br>*We can run monofilaments, fiber<br>and conductive members in the tube wall<br>Let us know what you need<br><br></p>"
designText[9]="<p class='neHelp'><br>Round wire standard sizes range from<br>.0015 (.04mm) to .010 (.25mm)<br><br>Flat wire is available from .001x.003 (.03mmx.08mm)<br>to<br>.003x.010 (.08mmx.25mm)<br><br>Other sizes may be available<br><br>Fiber and monofilamet materials can<br>also be braided<br><br>Please contact us with your requirements<br><br></p>"
designText[10]="<p class='neHelp'><br>Annealed/Soft<br>*More flexible than hard<br>*Less kink resistance<br><br>Hard<br>*Better wall strength<br>*Higher kink resistance in thin<br>wall tubing<br><br></p>"

///////////////////////////////////////
// Braided design text
///////////////////////////////////////
// Id (core Dia.)
designText[11]="<p class='neHelp'><br>The core forms the inside diameter<br>Cores can be made from PVC,LPDE<br>or a combination of materials<br><br>Braid inside diameters range from<br>.030 (.8mm) to 1.0 (25mm)<br><br></p>"
// Braid OD
designText[12]="<p class='neHelp'><br>Braid outside diameter ranges from<br>.035 (.9mm) to 1.0 (25mm)<br><br></p>"
// Length
designText[13]="<p class='neHelp'><br>Tubing is available in bulk length<br>put up on spools<br><br>Cut lengths from 6in (250mm) to 8ft (2.5mtr) are possible<br><Br>We can accomodate most length<br>requests, including combinations of cut pieces and bulk lengths<br><br>Minimum quantity requirements are<br>generally 1,000ft (300m)<br><br></p>"
// Picks per inch
designText[22]="<p class='neHelp'><br>Pick per inch rates from 25 to 125 are available<br><br>We can also vary the pick rate during a braid run<br><br></p>"

///////////////////////////////////////
// Reinforced Design Text
// similar to catheter
///////////////////////////////////////
designText[14]="<p class='neHelp'><br>Inside diameters range from<br>.013 (.33mm) Min. to<br>.350 (9mm) Max.<br><br>Wall thicknesses,including the<br>reinforcing material range from<br>.008 (.2mm) to .040 (1mm)<br><br></p>"
designText[15]="<p class='neHelp'><br>Outside diameters range from<br>from .030 (.8mm) Min. to <br>.375 (10mm) Max.<br><br>Wall thicknesses,including the<br>reinforcing material range from<br>.008 (.2mm) to .040 (1mm)<br><br></p>"
designText[16]="<p class='neHelp'><br>Tubing is available in bulk length<br>put up on spools<br><br>Cut lengths from 6in (150mm) to <br>8ft (2.5m) are possible<br><br>We can accomodate most length<br>requests,including combinations of cut<br>pieces and bulk lengths<br><br>Minimum quantity requirements are generally 1,000ft (300m)<br><br></p>"
designText[17]="<p class='neHelp'><br>Liner thickness range from<br>.0015 (.04mm) Minimum to<br>.004 (.10mm) Maximum<br><br></p>"

///////////////////////////////////////
// Hybrid design text
///////////////////////////////////////
designText[18]="<p class='neHelp'><br>The outside diameter will depend entirely<br>on the elements inside<br><br>Typically, the OD ranges from<br>.066 (1.7mm) to .25 (6.4mm)<br><br></p>"
// lumens
designText[19]="<p class='neHelp'><br>Single or multi-lumens can be<br>incorporated into the product<br><br></p>"
// tubes
designText[20]="<p class='neHelp'><br>Separately extruded tubing can be<br>integrated intot he product to provide<br>lubricious or protective channels<br><br></p>"
// conductors
designText[21]="<p class='neHelp'><br>Electrical conductors or signal<br>carrying wires can be used to<br>create multi-functional products<br>for diagnostic or therapeutic devices<br><br></p>"

// check browser type (used to hide/show layers)
var ns4 = (document.layers)? true:false;
var ie4 = (document.all)? true:false;

// preload images to be used in hover event
var photos=new Array()
	
//define images. You can have as many as you want. Images MUST be of the same dimensions (for NS's sake)
photos[0]="images/neCirRein.gif"
photos[1]="images/neCirReinOver.gif"
photos[2]="images/neCirBraid.gif"
photos[3]="images/neCirBraidOver.gif"
photos[4]="images/neCirCath.gif"
photos[5]="images/neCirCathOver.gif"
photos[6]="images/neCirHybrid.gif"
photos[7]="images/neCirHybridOver.gif"
photos[8]="images/neMainBraid.gif"
photos[9]="images/neMainCath.gif"
photos[10]="images/neMainHybrid.gif"
photos[11]="images/neMainRein.gif"
photos[12]="images/neMainTran.gif"

//Specify whether images should be linked or not (1=linked)
var linkornot=0

var preLoadImgs=new Array()
for (i=0;i<photos.length;i++){
preLoadImgs[i]=new Image()
preLoadImgs[i].src=photos[i]
}

///////////////////////////////////////////////
// fctShow
// Make layer visible
///////////////////////////////////////////////
function fctShow(id) 
{
        if (ns4)
        	 document.layers[id].visibility = "show"
        else if (ie4) 
        	document.all[id].style.visibility = "visible"
}

///////////////////////////////////////////////
// fctShowText
// id = layer name
// text = text to fill layer on mouseover
///////////////////////////////////////////////

function fctShowText(id,text) 
{
        if (ns4)
	{
        	var lyr = document.layers[id].document
		lyr.open()
        	lyr.write(text)
        	lyr.close()
  	}
        else if (ie4) document.all[id].innerHTML = text
}


///////////////////////////////////////////////
// fctHide
// Make layer hidden
///////////////////////////////////////////////
function fctHide(id) 
{
        if (ns4) document.layers[id].visibility = "hide"
        else if (ie4) document.all[id].style.visibility = "hidden"
}

///////////////////////////////////////////////
// fctColor
// Change background color of passed table cell
///////////////////////////////////////////////
function fctColor(color,cellId)
{
	document.all[cellId].style.backgroundColor = color;
}


///////////////////////////////////////////////
// applyeffect
// dissolve filter effect
///////////////////////////////////////////////
function applyeffect(transitionIndex,imgToChange){
if (document.all){
imgToChange.filters.revealTrans.Transition=transitionIndex
//imgToChange.filters.revealTrans.duration = tranDuration
//Math.floor(Math.random()*23)
imgToChange.filters.revealTrans.stop()
imgToChange.filters.revealTrans.apply()
}
}

///////////////////////////////////////////////
// SwapImg
// Swap from one image to another
///////////////////////////////////////////////
function SwapImg(imageindex, TransType,imgToChange)
{
applyeffect(TransType, imgToChange)
imgToChange.src=photos[imageindex]
if (document.all)
imgToChange.filters.revealTrans.play()
}

///////////////////////////////////////////////
// transport
// 
///////////////////////////////////////////////
function transport(){
window.location=photoslink[which]
}
