<!--
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_findObj(n, d) { //v3.0
  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); 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 BringUpWindow(webpage) {
     var url = webpage;
     var hWnd = window.open(url,"CAPCO_Tile","width=300,height=350,resizable=no,scrollbars=yes,status=yes");
     if (hWnd != null) {     if (hWnd.opener == null) { hWnd.opener = self; window.name = "home"; hWnd.location.href=url; } }
}
function description(term) {
	var arrTerms = new Array();
	var arrDefs = new Array();
	var thisDescription;
	
	//<img src="images/userdefined/Var_scale3.jpg" width="48" height="19" alt="" border="0"><br>
	
	arrTerms[1] = 'Item';
	arrDefs[1] = 'This is the product item number';
	arrTerms[2] = 'Description';
	arrDefs[2] = 'This is the product description';
	arrTerms[3] = 'Var';
	arrDefs[3] = '<img src="images/userdefined/Var_scale2.jpg" width="192" height="76" alt="" border="0"><br>This is the color variation<br>V1=uniform appearance<br>V2=slight variation<br>V3=moderate variation<br>V4=random variation';
	arrTerms[4] = 'Size';
	arrDefs[4] = 'This is the product measurement in inches';
	arrTerms[5] = 'UOM';
	arrDefs[5] = 'Unit of Measure';
	arrTerms[6] = 'UPP';
	arrDefs[6] = 'Units per Piece';
	arrTerms[7] = 'CTN';
	arrDefs[7] = 'Quantity per Carton';
	arrTerms[8] = 'Use';
	arrDefs[8] = '1=Wall only<br>2=wall & residential vanity tops<br>3=residential low useage floors & residential countertops<br>4=medium commercial/heavy-duty residential<br>5=heavy commercial floors<br>*=frost resistant(exterior)';
	arrTerms[9] = 'Retail';
	arrDefs[9] = 'This is the retail cost';
	arrTerms[10] = 'Cost';
	arrDefs[10] = 'This is your cost';
	arrTerms[11] = 'Freight3rdParty';
	arrDefs[11] = 'Freight billed to party other than you or CAPCO. Please type 3rd Party billing information in the "Special Instructions" box below.';
	for (var termNum = 0; termNum < arrTerms.length; termNum++) {
		if (arrTerms[termNum] == term) {
			thisDescription = arrDefs[termNum];
		}
	}
	return overlib(thisDescription);
}
function clearDefault(textField) {
	if (textField.value == textField.defaultValue) {
		textField.value = '';
	}
	textField.focus();
	textField.select();
}
//-->