function ShowHeadSet(HdSt,target)
{
	PicFrm.style.display = "inline" ;
	
	while (HdSt.substring(HdSt.length-1,HdSt.length) == ' ')
        HdSt = HdSt.substring(0, HdSt.length-1);
        
	if (HdSt == "6000")
	{
		target.src = "../images/h6030.gif";
	}
	else if (HdSt == "3000")
	{
		target.src = "../images/h3330.gif";
	} 
	else if (HdSt == "6600i")
	{
		target.src = "../images/H6620iSmall.gif";
	} 
	else if (HdSt == "7000")
	{
		target.src = "../images/h7030.jpg";
	} 
	else if (HdSt == "7000v")
	{
		target.src = "../images/DCMINNIE.gif";
	}  
	
	var coll = document.all.tags("UL");
	coll[0].innerHTML = "Representative Headset.<br>Please click link to view headsets<br>";
}

function Show(Adpt,target)
{
	PicFrm.style.display = "inline" ;
	
	while (Adpt.substring(Adpt.length-1,Adpt.length) == ' ')
        Adpt = Adpt.substring(0, Adpt.length-1);
        
	var lst = Adpt.substring(5,Adpt.length);
	var ender = "";
	
	if (lst == "B" || lst == "b")
	{
		target.src = "../images/AdptB.gif" ;
	}
	else if (lst == "I" || lst == "i")
	{
		target.src = "../images/AdptI.gif" ;
	}
	else if (Adpt == "C6001" || Adpt == "C3019" || Adpt == "C3019A" || Adpt == "C3019a")
	{
		target.src = "../images/AdptC.gif";
	}
	else
	{
		target.src = "../images/AdptElse.gif";
	}
	
	if (lst == "B" || lst == "b" || lst == "I" || lst == "i" || lst == "A" || lst == "a")
	{
		ender = "<li>Composite Materials</li><li>Comfortable Ergonomic Design</li><li>Large PTT Button (1.5\"x1.25\")</li><li>Can be activated through Heavy<br> Clothing, Bunker Gear or even the<br> most Encapsulated Protective suit</li><li>Water and Dust Resistant</li><li>Belt Clip rotates 360 degrees</li><li>Built-in Jack for optional Remote<br> PTT Ring Switch</li>";	
	}
	else
	{
		ender = "<li>Metal Box</li><li>PTT Button</li><li>Fixed Position Belt Clip</li>";
	}
	
	var coll = document.all.tags("UL");
	coll[0].innerHTML = "Representative Adapter.<br>Connectors will differ<br>" + ender;
}

function Clear()
{
	PicFrm.style.display = "none" ;
}

function targetopener(mylink, closeme, closeonly)
{
	if (! (window.focus && window.opener))return true;
	window.opener.focus();
	if (! closeonly)window.opener.location.href=mylink.href;
	if (closeme)window.close();
	else window.focus();
	return false;
}

/*
function window.onbeforeprint()
{
    // Walk through all the elements in the document with
    // CLASS="collapsed" and set it to "expanded" just for printing.
   var coll = document.all.tags("DIV");
   if (coll!=null)
   {
      for (i=0; i<coll.length; i++) 
	     if (coll[i].className == "expanded")
		 {  
		   coll[i].className = "collapsed";
		   
		// After printing, make sure to set CLASS="collapsed" 
		// only for those that were expanded just for printing.
		   coll[i].bExpandedForPrinting = true;
		 }

		 else if (coll[i].className == "collapsed")
		    coll[i].bExpandedForPrinting = false;
   }
}

function window.onafterprint()
{
   // Walk through all the elements in the doc with CLASS="expanded"
   // and set it to "collapsed" if expanded just for 
   // printing.
   var coll = document.all.tags("DIV");
   if (coll!=null)
   {
      for (i=0; i < coll.length; i++) 
	     if ((coll[i].className == "collapsed") &&
		     (coll[i].bExpandedForPrinting))
		 {  
		   coll[i].className = "expanded";
		   coll[i].bExpandedForPrinting = false;
		 }
   }
}
*/

function land(ref, target)
{
	if (target=="_self") {window.location=loc;}
	else {if (target=="_top") {top.location=loc;}
	else {if (target=="_blank") {window.open(loc);}
	else {if (target=="_parent") {parent.location=loc;}
	else {parent.frames[target].location=loc;};
	}}}
}

function jump(menu)
{
	ref=menu.choice.options[menu.choice.selectedIndex].value;
	splitc=ref.lastIndexOf("&");
	target="";
	if (splitc!=-1)
		{loc=ref.substring(0,splitc);
		target=ref.substring(splitc+1,1000).toLowerCase();}
	else {loc=ref; target="_self";};
	if (ref != "") {land(loc,target);}
}


