var link=null;


function setUsername() {
document.form2.username.focus();
}


function linkOver(id) {
	
	document.getElementById(id).style.textDecorationUnderline = 'true';
}	
	
function linkOut(id) {
	
	document.getElementById(id).style.textDecoration = 'none';
}		
	

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function new_window(url) {

if (  (link == null) || (link.closed)  )  {
	link = window.open(url,"link","toolbar=1,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=680,height=400,left=20,top=20");
}
else {
	if (link.location.href != url ) {
		link.location.href = url;
	}
 
link.focus(); 
}
}		


function trim(value) {
   var temp = value;
   var obj = /^(\s*)([\W\w]*)(\b\s*$)/;
   if (obj.test(temp)) { temp = temp.replace(obj, '$2'); }
   var obj = /  /g;
   while (temp.match(obj)) { temp = temp.replace(obj, " "); }
   return temp;
}


function isEmail(string) {
	string = trim(string)
    if (string.search(/^.+@[^\.].*\.[a-z]{2,}$/) != -1) 
        return true;
    else if (string == "")
        return true;
    else
        return false;
}

              


function HelpJobSearch(parentwin) {

var helpwin = window.open("","jobSearch_Help","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=400,left=20,top=20");


textString = "<tit" + "le>Job Search Help</title>";
textString = textString + "<font size='2' face='Verdana, Arial, Helvetica, sans-serif'><h4>Job Search Help</h4>Click on advanced for all search options. In the keywords box you can enter up to 150 characters.</font>";
textString = textString + "<ul><li><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>Any words: returns jobs containing <u>any</u> of your keywords.</font></li><li><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>All words: only returns jobs containg <u>all</u> of your keywords.</font></li><li><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>Logical Search: Use AND, OR, NOT, &quot;&quot;, * and NEAR to define your search criteria.</font></li></ul>";
textString = textString + "<p><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>Double quotes (&quot; &quot;) can be used to define phrases. e.g &quot;Process Engineer&quot; </font></p>";
textString = textString + "<p><FONT face=Verdana size=2><B>Example Logical search queries:</B></FONT><BLOCKQUOTE><STRONG><FONT face=Verdana size=2>information retrieval</FONT></STRONG><FONT face=Verdana size=2>finds records containing both &quot;information&quot; and &quot;retrieval&quot;<BR></FONT><STRONG><FONT face=Verdana size=2>information and retrieval</FONT></STRONG> <FONT face=Verdana size=2>same as above<BR></FONT><STRONG><FONT face=Verdana size=2>information or retrieval</FONT></STRONG><FONT face=Verdana size=2>finds records containing &quot;information&quot; or &quot;retrieval&quot;<BR></FONT><STRONG><FONT face=Verdana size=2>information near retrieval</FONT></STRONG><FONT face=Verdana size=2>finds records containing both &quot;information&quot; and &quot;retrieval&quot;,where the two terms are located in close proximity to each other within the document<BR></FONT><STRONG><FONT face=Verdana size=2>&quot;information retrieval&quot;</FONT></STRONG> <FONT face=Verdana size=2>finds records containing the exact phrase &quot;information retrieval&quot; -- this would not match a document with the phrase &quot;information systems retrieval&quot;, for example<BR></FONT><STRONG><FONT face=Verdana size=2>information not retrieval</FONT></STRONG> <FONT face=verdana size=2>finds records containing &quot;information&quot; but not &quot;retrieval&quot;<BR></FONT><STRONG><FONT face=Verdana size=2>(information not retrieval) and web</FONT></STRONG> <FONT face=Verdana size=2>finds records containing &quot;web&quot;, plus &quot;information&quot; but not &quot;retrieval&quot; <BR></FONT><STRONG><FONT face=Verdana size=2>web*</FONT></STRONG><FONT face=verdana size=2>finds records containing words starting with &quot;web&quot; -- this wildcard only works at the end of a word or phrase, for example, &quot;information ret*&quot; or info*, but not &quot;info*tion&quot;</FONT> </BLOCKQUOTE>"

textString = textString + "<p align=right valign=middle><a href='javascript:close()'>Close</a></p>";
textString = textString + "</font>"
helpwin.document.write(textString);

helpwin.document.close();
helpwin.focus();
}