<!--

function pop(url){
	window.open(url, 'help', 'resizable=no,scrollbars=yes,toolbar=no,menubar=no,status=yes,width=560,height=400');
}

function popLogin(url){
	window.open(url, 'help', 'resizable=no,scrollbars=yes,toolbar=no,menubar=no,status=yes,width=440,height=280');
}

function list(querystring){
	window.open('/hscodes/print.asp?print=true&' + querystring, 'help', 'resizable=no,scrollbars=yes,toolbar=no,menubar=no,status=yes,width=560,height=400');
}

function explain_popup(taxcode){
	window.open('/hscodes/explain_popup.asp?taxdef=true&taxcode=' + taxcode, 'help', 'resizable=no,scrollbars=yes,toolbar=no,menubar=no,status=yes,width=560,height=400');
}

function des(){
	window.open('/fesupdates/des_details.asp', 'help', 'resizable=no,scrollbars=yes,toolbar=no,menubar=no,status=yes,width=560,height=400');
}

function fesPop()
{
window.open('/fesguide/field_details.asp','help','width=560,height=400,scroll=yes,resizable=no,scrollbars=yes,toolbar=no,menubar=no,status=yes');
}

function posters()
{
window.open('/gt_emergency/posters.asp','help','width=620,height=650,scroll=yes');
}

function route(url)
{
window.open(url,'help','width=350,height=350,scroll=yes');
}


function codeCh(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function faqcat(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function showHide(line, ans) 
	{
		// hide all other faqs
		var elements = document.getElementsByTagName('div');
				
		for(var i = 0; i < elements.length; i++) {
    		if (elements.item(i).style.display == 'block'){
				elements.item(i).style.display = 'none';
			}
		}
		// show active faq
		if (document.getElementById(line)) 
		{
			document.getElementById(line).style.display = "block";
		} 
		if (document.getElementById(ans)) 
		{
			document.getElementById(ans).style.display = "block";
		} 
	}


	
//this function checks the length of characters entered into the field and also makes sure only digits are entered
function enforcechar(what,objEvent,limit){//
	var iKeyCode;  	
	iKeyCode = objEvent.keyCode;
	if (what.value.length >=limit)
return false

if(iKeyCode>=48 && iKeyCode<=57) return true;
return false;
}
//jump menu
function jumpMenu(target,selObj,restore){ //v3.0
  eval(target+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
	
	