var jr = null;
var thisisdumb = '';
function openSpecificHelpPage(strPage)
{
thisisdumb = strPage;
 jr = null;
 jr = window.open('HelpPage.aspx', 'TSEhelp', 'fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=855,height=555,left=7,top=4')

setTimeout('createFrames()',10); 
}

function createFrames()
{
	jr.main.location=thisisdumb; 
	jr.focus();
}


function openClassificationDefLinks()
{

var classandproduct = document.getElementById("productpicked").innerHTML;
 
var s2 = classandproduct.substring(0,2)

switch(s2)
{
case 'HS':
	sURL = "http://www.usitc.gov/tata/hts/";
break;
case 'NA':
	sURL = "http://www.census.gov/epcd/naics02/naicod02.htm";
break;
case 'SI':
	sURL = "http://unstats.un.org/unsd/cr/registry/regcst.asp?Cl=14&Lg=1";
break;
default:
	sURL = "http://www.usitc.gov/tata/hts/";
break;
}

jr = window.open(sURL, 'TSE_classification_help', 'fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=855,height=555,left=7,top=4')
jr.focus();
}