//Preload images, rollovers etc from Dreamweaver
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
// end dreamweaver javascript.
//Subnav system 
/*
 Tabs Menu (mouseover)- By Dynamic Drive
 For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
 This credit MUST stay intact for use
*/
function showit(which){
 clear_delayhide()
 var thecontent=(which==-1)? "" : submenu[which]
 if (document.getElementById||document.all)
  menuobj.innerHTML=thecontent
 else if (document.layers){
  menuobj.document.write(thecontent)
  menuobj.document.close()
 }
}
function resetit(e){
 if (document.all)
  e = window.event;
 if (document.all&&!menuobj.contains(e.toElement))
  delayhide=setTimeout("showit(-1)",delay_hide)
 if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
 delayhide=setTimeout("showit(-1)",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}
function reveal(a){
 var e=document.getElementById(a);
 if(!e)return true;
 if(e.style.display=="none"){
  e.style.display="block"
 } else {
  e.style.display="none"
 }
 return true;
}
var quotes = Array();
quotes[0] = "<em><br/>&quot;I know that when a job has to get done, I always put that first, it makes me happy when the client is happy&quot;</em><br/><br/><div class='feature_box_text'>- Heather Heverly,<br/>Westaff Staffing Associate, Straub Clinic<br/><br/></div>";
quotes[1] = "<em><br/>&quot;I've called Westaff before with ridiculously difficult requirements and unrealisitic timelines, and they still come through.&quot;</em><br/><br/><div class='feature_box_text'>- Jack Graser,<br/>Human Resource Manager,<br/>Meridian Medical Technologies<br/><br/></div>";
quotes[2] = "<em><br/>&quot;Westaff <br/>understands my company, what we do and the kind of people we're looking for.&quot;</em><br/><br/><div class='feature_box_text'>- Kathy Cherry,<br/>Employee Relations Assistant,<br/>Sunnen Products Company<br/><br/></div>";
var delay_hide = 500;
var menuobj;
var menu = new Array();
var submenu = new Array();
window.onload = function(args) {
 MM_preloadImages('../images/nav/site_info_on.gif','../images/nav/home_on.gif','../images/nav/employers_on.gif','../images/nav/job_seekers_on.gif','../images/nav/company_on.gif','../images/nav/associates_on.gif');
 menuobj=document.getElementById?document.getElementById("describe"):document.all?document.all.describe:document.layers?document.dep1.document.dep2:"";
 if (menuobj!=null) {
  menuobj.onmouseover = clear_delayhide;
  menuobj.onmouseout = resetit;
 }
 menu[0] = new Menu('home',0);
 menu[1] = new Menu('employers',1);
 menu[2] = new Menu('job_seekers',2);
 menu[3] = new Menu('company',3);
 menu[4] = new Menu('associates',4);
 menu[4] = new Menu('franchise',5);
 GetRandomQuote();
}
function GetRandomQuote() {
 var quote = document.getElementById('quote');
 if (quote!=null) {
  var n = Math.ceil(Math.random()*2);
  quote.innerHTML = quotes[n];
 }
}
function Menu(id,index) {
 var a = document.getElementById(id);
 if (a!=null) {
  a.onmouseout = MM_swapImgRestore;
  a.onmouseover = function(args) {
   MM_swapImage(id,"","../images/nav/"+id+"_on.gif",1);
   showit(index);
  }
 }
}
submenu[0] = '';
submenu[1]='<a href="../employers/services.html">Standard Services</a><span>|</span><a href="../employers/accounts.html">National Accounts</a><span>|</span><a href="../employers/eprocure.html">eProcurement</a><span>|</span><a href="../employers/quality.html">Westaff Quality</a>';
submenu[2]='<a href="benefits.html">Benefits</a><span>|</span><a href="../search.cfm">Job Search</a><span>|</span><a href="faqs.html">FAQs</a><span>|</span><a href="interview_tips.html">Ace the Interview</a><span>|</span><a href="resume_tips.html">Resume Writing Tips</a><span>';
submenu[3]='<a href="../company/investor.html">Investor Relations</a><span>|</span><a href="../company/news/">News Releases</a><span>|</span><a href="../company/branches.cfm ">Office Locations</a>';
submenu[4]='<a href="../associates/w2.html">How To Get Your W2</a><span>|</span><a href="../associates/w2english.html">Find Your W2 (English)</a><span>|</span><a href="../associates/w2spanish.html">Find Your W2 (Spanish)</a>';
submenu[5]='';
// submenu[4]='<img src="../images/common/blank.gif" width="75" height="1" align="middle" alt=""/><a href="site/">Site Map</a><span> | </span><a href="site/search.html">Site Search</a><span> | </span><a href="site/contact.cfm">Contact Us</a><span> | </span><a href="site/privacy.html">Privacy Policy</a><span> | </span><a href="site/eeo.html">EEO Statement</a>';
// submenu[4]='<img src="../images/common/blank.gif" alt="" width="75" idth="140" height="1" align="middle"/><a href="franchise/a_franchise.html">A Westaff Franchise</a><span> | </span><a href="franchise/territories.html">Territories</a><span> | </span><a href="franchise/support.html">Support</a><span> | </span><a href="franchise/training.html">Training</a><span> | </span><a href="franchise/more_info.html">Request More Information</a>';
