<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
  }

var reelArray = new Array();
reelArray[0] = 'Yes|Standard Wood or Plastic Reel|'
reelArray[1] = 'Yes|Ruggedized Storage Reel|'
reelArray[2] = 'Yes|Military Backpack Reel|'
reelArray[3] = 'Yes|Canare Cable Reel|'
reelArray[4] = 'No|N/A|'

function populateReelData( name ) { 
	select	= window.document.Custom_Cable_Form.Reel_Type; 
	string	= ""; 
	count	= 0;  
	select.options.length = count; 
 	for( i = 0; i < reelArray.length; i++ ) { 
		string = reelArray[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	} 
} 
var applicationArray = new Array();
applicationArray[0] = 'Indoor|Distribution|'
applicationArray[1] = 'Indoor|Breakout|'
applicationArray[2] = 'Indoor|Zipcord|'
applicationArray[3] = 'Indoor|Ribbon Cable|'
applicationArray[4] = 'Universal In/Out|Distribution|'
applicationArray[5] = 'Universal In/Out|Breakout|'
applicationArray[6] = 'Burial|Armored|'
applicationArray[7] = 'Burial|Burial In Conduit|'
applicationArray[8] = 'Burial|Gel Filled|'
applicationArray[9] = 'Burial|Water Blocked|'
applicationArray[10] = 'Aerial|Armored|'
applicationArray[11] = 'Aerial|Figure 8 W/Messenger|'
applicationArray[12] = 'Aerial|Gel Filled|'
applicationArray[13] = 'Aerial|Self Supporting|'
applicationArray[14] = 'Aerial|Water Blocked|'
applicationArray[15] = 'Military Grade|Distribution|'
applicationArray[16] = 'Military Grade|Breakout|'

function populateApplicationData( name ) { 
	select	= window.document.Custom_Cable_Form.Jacket_Type; 
	string	= ""; 
	count	= 0;  
	select.options.length = count; 
 	for( i = 0; i < applicationArray.length; i++ ) { 
		string = applicationArray[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	} 
} 
var pullingEyeArray = new Array();
pullingEyeArray[0] = 'W/Pulling Eye|0|'
pullingEyeArray[1] = 'W/Pulling Eye|1|'
pullingEyeArray[2] = 'W/Pulling Eye|2|'
pullingEyeArray[3] = 'W/Two Pulling Eyes|0|'
pullingEyeArray[4] = 'W/Two Pulling Eyes|1|'

pullingEyeArray[5] = 'W/Two Pulling Eyes|2|'
pullingEyeArray[6] = 'No Pulling Eye|0|'
pullingEyeArray[7] = 'No Pulling Eye|1|'
pullingEyeArray[8] = 'No Pulling Eye|2|'
pullingEyeArray[9] = 'No Pulling Eye|3|'
pullingEyeArray[10] = 'No Pulling Eye|4|'
pullingEyeArray[11] = 'No Pulling Eye|5|'
pullingEyeArray[12] = 'No Pulling Eye|6|'
pullingEyeArray[13] = 'No Pulling Eye|7|'
pullingEyeArray[14] = 'No Pulling Eye|8|'
pullingEyeArray[15] = 'No Pulling Eye|9|'

function populatePullingEyeData( name ) { 
	select	= window.document.Custom_Cable_Form.Breakout_Length; 

	string	= ""; 
	count	= 0;  
	select.options.length = count; 
 	for( i = 0; i < pullingEyeArray.length; i++ ) { 
		string = pullingEyeArray[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	} 
} 
var breakoutLengthArray = new Array();
breakoutLengthArray[0] = 'Distribution|0|'
breakoutLengthArray[1] = 'Distribution|1|'
breakoutLengthArray[2] = 'Distribution|2|'
breakoutLengthArray[3] = 'Distribution|3|'
breakoutLengthArray[4] = 'Distribution|4|'
breakoutLengthArray[5] = 'Distribution|5|'
breakoutLengthArray[6] = 'Distribution|6|'
breakoutLengthArray[7] = 'Distribution|7|'
breakoutLengthArray[8] = 'Distribution|8|'
breakoutLengthArray[9] = 'Distribution|9|'
breakoutLengthArray[10] = 'Breakout|0|'
breakoutLengthArray[11] = 'Breakout|1|'
breakoutLengthArray[12] = 'Breakout|2|'
breakoutLengthArray[13] = 'Breakout|3|'
breakoutLengthArray[14] = 'Breakout|4|'
breakoutLengthArray[15] = 'Breakout|5|'
breakoutLengthArray[16] = 'Breakout|6|'
breakoutLengthArray[17] = 'Breakout|7|'
breakoutLengthArray[18] = 'Breakout|8|'
breakoutLengthArray[19] = 'Breakout|9|'
breakoutLengthArray[20] = 'Zip Cord|0|'
breakoutLengthArray[21] = 'Ribbon Cable|0|'
breakoutLengthArray[22] = 'Ribbon Cable|1|'
breakoutLengthArray[23] = 'Ribbon Cable|2|'
breakoutLengthArray[24] = 'Ribbon Cable|3|'
breakoutLengthArray[25] = 'Ribbon Cable|4|'
breakoutLengthArray[26] = 'Ribbon Cable|5|'
breakoutLengthArray[27] = 'Ribbon Cable|6|'
breakoutLengthArray[28] = 'Ribbon Cable|7|'
breakoutLengthArray[29] = 'Ribbon Cable|8|'
breakoutLengthArray[30] = 'Ribbon Cable|9|'

function populateBreakoutLengthData( name ) { 
	select	= window.document.Custom_Cable_Form.Breakout_Length; 
	string	= ""; 
	count	= 0;  
	select.options.length = count; 
 	for( i = 0; i < breakoutLengthArray.length; i++ ) { 
		string = breakoutLengthArray[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	} 
} 
var breakoutTypeArray = new Array();
breakoutTypeArray[0] = 'Distribution|N/A|'
breakoutTypeArray[1] = 'Distribution|Buffer Tubing, ST or SC (3.0mm)|'
breakoutTypeArray[2] = 'Distribution|Buffer Tubing, LC (2.0mm)|'
breakoutTypeArray[3] = 'Distribution|w/o Buffer Tubing (900 micron)|'
breakoutTypeArray[4] = 'Breakout|N/A|'
breakoutTypeArray[5] = 'Breakout|Buffer Tubing, ST or SC (3.0mm)|'
breakoutTypeArray[6] = 'Breakout|Buffer Tubing, LC (2.0mm)|'
breakoutTypeArray[7] = 'Breakout|w/o Buffer Tubing (900 micron)|'
breakoutTypeArray[8] = 'Zip Cord|N/A|'
breakoutTypeArray[9] = 'Ribbon Cable|N/A|'
breakoutTypeArray[10] = 'Ribbon Cable|Buffer Tubing, ST or SC (3.0mm)|'
breakoutTypeArray[11] = 'Ribbon Cable|Buffer Tubing, LC (2.0mm)|'
breakoutTypeArray[12] = 'Ribbon Cable|w/o Buffer Tubing (900 micron)|'

function populateBreakoutTypeData( name ) { 
	select	= window.document.Custom_Cable_Form.Breakout_Type; 
	string	= ""; 
	count	= 0;  
	select.options.length = count; 
 	for( i = 0; i < breakoutTypeArray.length; i++ ) { 
		string = breakoutTypeArray[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	} 
} 
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

// -->