function CheckSalary(){
	var formObj = self.document.forms['saveForm'];
	if(formObj == null) {
		formObj = self.document.forms['fsave'];
	}
	var selectElement = formObj.elements['Answer4'];
	var selIndex = selectElement.selectedIndex;
	var selValue = selectElement.options[selIndex].value;
//alert(selValue);

	if (selValue == 8)  {
		document.getElementById('tr_salary').style.display = '';
		document.getElementById('tr_salary_2').style.display = '';
		formObj.elements['cusfield1'].style.display = '';
		formObj.elements['cusfield2'].style.display = '';
		}
	else {
		document.getElementById('tr_salary').style.display = 'none';
		document.getElementById('tr_salary_2').style.display = 'none';
		formObj.elements['cusfield1'].style.display = 'none';
		formObj.elements['cusfield2'].style.display = 'none';
		}
}

function MyPopUp(CatName,CatID){
newwin = window.open("","PopUp","width=525,height=200,resizable=yes,scrollbars=yes");
newwin.document.open();
var out = "<HTML>\n"
out += "<HEAD>\n"
out += "<TITLE>Job Description</TITLE>\n"
out += "</HEAD>\n"
out += "<BODY bgColor=white>\n"
out += "<font face='arial' size='2'>\n"
out += "<P><SPAN STYLE='COLOR:#FF0000; FONT-WEIGHT:bold;'>" + CatName + "</SPAN>:<BR>\n"
if (CatID == 1) {
	out += "Pilot Travel Centers, LLC has partnerships with many of the nation's top fast-food brands. We operate some of the highest grossing restaurant franchises in the nation offering outstanding development and income potential.</P>\n"
	out += "<P>If you love a fun and fast-paced environment and have 1+ years' experience in Restaurant Management, you'll find Pilot has a terrific management opportunity for you.</P>\n"
	}
if (CatID == 2) {
	out += "As a Travel Center Manager, you'll be responsible for overseeing grocery,convenience, fuel, and food operations in one of our many locations. Candidates for a Travel Center Manager position should bring 2+ years' retail experience across a variety of industries (grocery store, large volume/space retailer, food multi-unit, etc). In this position, you'll be responsible for hiring, training, and developing employees in a 24-hour environment. If you thrive in a dynamic atmosphere you'll find it here at Pilot.</P>\n"
	}
if (CatID == 3) {
	out += "Support Center Description...</P>\n"
	}
if (CatID == 4) {
	out += "Upcoming Management Job Fairs, Description...</P>\n"
	}
out += "</FONT>\n"
out += "<FORM NAME='closeWindow' METHOD=POST ACTION='#'>\n"
out += "<INPUT TYPE=SUBMIT NAME='Close' VALUE='Close' ONCLICK='Javascript:window.close();'>\n"
out += "</FORM>\n"
out += "</BODY>\n"
out += "</HTML>"
newwin.document.write(out);
newwin.document.close();
}
