// JavaScript Document
<!--
function showClients(){
	document.disp.src = "imgs/ourclients.gif";
}

function showImage(imagename){
	resetAll();
	thisbutton = document.getElementById(imagename);
	thisbutton.src = "imgs/productnav/"+imagename+"_over.gif";
	document.disp.src = "imgs/productpages/"+imagename+".jpg";
	captionarea = document.getElementById('imagetext');
	if (imagename=='Trim')	captionarea.innerHTML = "Tassels & Trims is dedicated to providing our clients with hand-woven trimmings created in the centuries-old tradition of manufacturing beautiful silk lampas, damasks and passementerie.  Our privileged relationship with expert craftsmen allows us to create and deliver trimmings in as little as four to eight weeks.<br>Custom order: 13 yards minimum";
	if (imagename=='Wallpaper')	captionarea.innerHTML = "Continuing the 18th century tradition of wood-blocked wallpapers, Tassels & Trims produces custom wall covering which are all hand painted and may be custom colored. Our products can be made to order in as little as four to eight weeks.<br>Custom order: 25 yards minimum";
	if (imagename=='Fabric')	captionarea.innerHTML = "Our hand painted fabrics are created using time-honored techniques.<br>Custom order: 25 yards minimum";
	if (imagename=='embroidery')	captionarea.innerHTML = "Working closely with skilled artisans, Tassels & Trims has revived lost techniques for creating exquisite hand embroidery, which can be used for such traditional applications as table linens and curtains, or as an innovative alternative to trimmings.";
	if (imagename=='Hardware')	captionarea.innerHTML = "Form modern to classic designs, hand carved wood and hand tooled metal, Tassels & Trims provides cutom hardware designed to enhance every decor. Our  products can be made to order in as little as eight weeks.";
	if (imagename=='finishes')	captionarea.innerHTML = "Wood Finishes:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metal  Finishes:<br />- Traditional Burnished Water Gilding&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Bronze Dore<br />- 22 Carat Oil Gilding&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -  Antique Brass Patina<br />- Composition Leaf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -  Antique Bronze Patina<br />- Polychrome, French White&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -  Nickel/chrome Finish<br />- Japanese Lacquer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -  Black Iron, etc&hellip;<br>- Chinoiserie<br>- Faux Bois, Distressed, etc…";}
function resetAll(){
	path = "imgs/productnav/";
	document.Trim.src = path+"Trim.gif";
	document.Wallpaper.src = path+"Wallpaper.gif";
	document.Fabric.src = path+"Fabric.gif";
	document.embroidery.src = path+"embroidery.gif";
	document.Hardware.src = path+"Hardware.gif";
	document.finishes.src = path+"finishes.gif";
	
}

function checkForm(){
	checked = 0;
	for (var i = 0; i < document.viewoptions.elements.length; i++) {
		var e = document.viewoptions.elements[i];
		if ((e.name != 'allbox') && (e.type == 'checkbox')) {
			if (e.checked) checked ++;
		}
	}
	if (checked){
		return true;
	} else {
		alert ("Please check the items you wish to view ");
		return false;
	}
}
//-->
