<!--
	var vLoc;
	var v0, v1, v2, v3, v4, v5, v6, v7 ;
	var h0, h1, h2, h3, h4, h5, h6, h7, hLoc; 
	var httpobj; 
	var TimerSet;
	TimerSet=false;
	var preloadFlag;
	preloadFlag=false;
	var sImages='';
	var sTitles='';
	var vParams; 
	var aParams; 
	var ie = (document.getElementById&&document.all); 
	var n6 = (document.getElementById&&!document.all);
        if (n6) document.addEventListener("DOMContentLoaded",setTimer,false); 

function init() {
	if (document.readyState == "complete") {
	//debugger;
		setTimer();	
	}
}	
function setTimer() {

vLoc = window.location.href;
	v0 = "images/img_hmpg_sm.jpg"; 
	v1 = "images/img_contact_sm.jpg"; 
	v2 = "images/img_staff_sm.jpg";
	v3 = "images/img_hrcons_sm.jpg"; 
	v4 = "images/img_mgdsvc_sm.jpg"; 
	v5 = "images/img_jobseekers_sm.jpg"; 
	v6 = "images/img_freelancers_sm.jpg";
	v7 = "images/img_jobseekers_sm.jpg";
	h0 = "index.html"; 
	h1 = "contactUs.html"; 
	h2 = "pdstaffing.html";
	h3 = "pdhrcon.html"; 
	h4 = "pdmgdsvc.html"; 
	h5 = "jobSeekers.html"; 
	h6 = "freelancers.html";	
	h7 = "jobseekers2.html"; 
	t0 = "Click to view Home Page"; 
	t1 = "Click to view Contact Us"; 
	t2 = "Click to view Staffing";
	t3 = "Click to view IT Human Resource Consulting"; 
	t4 = "Click to view Managed Services"; 
	t5 = "Click to view Career Solutions"; 
	t6 = "Click to view Contact Us";
	//p0 = "images/hm_01.gif"; 
	//p1 = "images/contact_01.gif"; 
	p2 = "images/staff_01.gif";
	p3 = "images/hrcons_01.gif"; 
	p4 = "images/mgdsvc_01.gif"; 
	//p5 = "images/jseek_01.gif"; 
	//p6 = "images/free_01.gif";	
	//p7 = "images/jseek2_01.gif"; 
	 
	
	var vLocend = vLoc.indexOf('?Images=');
	vParams = vLoc.substr(vLocend+8,vLoc.length);

	aParams = vParams.split(',');
	if (vLocend > -1) {
		vLoc = vLoc.substr(0,vLocend);
	}	
	setHdrImages();
	
	
	if (TimerSet != true) {


	    fileName = document.location.href.substring(document.location.href.lastIndexOf('/')+1,document.location.href.indexOf('html')+4)
	        

		if (fileName == 'pdhrcon.html') { setupEvents() };
		   
		        if (fileName == 'pdmgdsvc.html') { setupEvents() };
		            
		                if (fileName == 'pdstaffing.html') { setupEvents() };
		  
		
		setupMenus();
		setMyHdrImage();

		TimerSet=true;	
		}
}


function setMyHdrImage() {
	setHdrImage(document.getElementById("Index").value);

if (ie) {
	for (a=0; a<document.links.length;a++) {
		if (document.links(a).href.indexOf('mailto:') > -1)  {
			continue
		}
		if (document.links(a).href.indexOf('#') > -1)  {
			document.links(a).href.substr(1,document.links(a).href.indexOf('#'));
		}
		if (document.links(a).href.indexOf('?Images=') > -1)  {
			document.links(a).href.substr(1,document.links(a).href.indexOf('?Images='));
		}
		document.links(a).href += '?Images='+sImages;

	}
		for (a=0; a<document.images.length;a++) {
			if (document.images(a).id.indexOf('img') > -1)  {
				if (document.images(a).id != 'graphica') {
					if (document.images(a).src != 'about:blank') {
						document.images(a).style.display = 'inline';}}}
		}
		document.getElementById("HeaderImages").disabled=false;
    }
if (n6) {
	for (a=0; a<document.links.length;a++) {
		if (document.links[a].href.indexOf('mailto:') > -1)  {
			continue
		}
		if (document.links[a].href.indexOf('#') > -1)  {
			document.links[a].href.substr(1,document.links[a].href.indexOf('#'));
		}
		if (document.links[a].href.indexOf('?Images=') > -1)  {
			document.links[a].href.substr(1,document.links[a].href.indexOf('?Images='));
		}
		document.links[a].href += '?Images='+sImages;

	}
		for (a=0; a<document.images.length;a++) {
			if (document.images[a].id.indexOf('img') > -1)  {
				if (document.images[a].id != 'graphica') {
					if (document.images[a].src != 'about:blank') {
						document.images[a].style.display = 'inline';}}}
		}
		document.getElementById("HeaderImages").disabled=false;
    }    
}			 
function setHdrImages() {
	var x;
	for (x=0; x<aParams.length-1 ; x++) {
			setHdrImage(aParams[x]);
		}
}
function setHdrImage(z){
	var vImg,y;hLoc
	for (y=0; y<7; y++) {
		var sTitle
		var vID='img' + y;
		var vhref = 'img'+y+'Anchor';
		vImg=eval('v'+z);
		hLoc=eval('h'+z);
		sTitle=eval('t'+z);
		if (document.getElementById(vID).src == "about:blank") {
			document.getElementById(vID).src = vImg; 
			document.getElementById(vID).style.display = "inline";
 			document.getElementById(vhref).href=hLoc;
  			document.getElementById(vID).title=sTitle;					
			sImages += z +',';
			break;
		} else {
			if (document.getElementById(vID).src.substr(document.getElementById(vID).src.lastIndexOf("/")+1) == vImg.substr(vImg.lastIndexOf('/')+1)) break;
		}
	}

}
function setupEvents(){
if (ie) {
		hm_01_HR_Con.attachEvent('onmouseover',function() {changeImages('hm_01', 'images/hm_01-HR-Con_over.gif');} );
		hm_01_HR_Con.attachEvent('onmouseout',function() {changeImages('hm_01', 'images/pd_normal.gif');} );
		hm_01_HR_Con.attachEvent('onmousedown',function() {changeImages('hm_01', 'images/hm_01-HR-Con_over.gif');} );
		hm_01_HR_Con.attachEvent('onmouseup',function() {changeImages('hm_01', 'images/hm_01-HR-Con_over.gif');} );
		hm_01_HR_Con.attachEvent('onclick',function() {changeImages('hm_01', 'images/hm_01-HR-Con_click.gif');} );
		hm_01_Staff.attachEvent('onmouseover',function() {changeImages('hm_01', 'images/hm_01-Staff_over.gif');} );
		hm_01_Staff.attachEvent('onmouseout',function() {changeImages('hm_01', 'images/pd_normal.gif'); return true;} );
		hm_01_Staff.attachEvent('onmousedown',function() {changeImages('hm_01', 'images/hm_01-Staff_over.gif');} );
		hm_01_Staff.attachEvent('onmouseup',function() {changeImages('hm_01', 'images/hm_01-Staff_over.gif');} );
		hm_01_Staff.attachEvent('onclick',function() {changeImages('hm_01', 'images/hm_01-Staff_click.gif');} );
		hm_01_PD_Home.attachEvent('onmouseover',function() {changeImages('hm_01', 'images/hm_01-PD-Home_over.gif');} );
		hm_01_PD_Home.attachEvent('onmouseout',function() {changeImages('hm_01', 'images/pd_normal.gif');} );
		hm_01_PD_Home.attachEvent('onmousedown',function() {changeImages('hm_01', 'images/hm_01-PD-Home_over.gif');} );
		hm_01_PD_Home.attachEvent('onmouseup',function() {changeImages('hm_01', 'images/hm_01-PD-Home_over.gif');} );
		hm_01_Mgd_Svc.attachEvent('onmouseover',function() {changeImages('hm_01', 'images/hm_01-Mgd-Svc_over.gif');} );
		hm_01_Mgd_Svc.attachEvent('onmouseout',function() {changeImages('hm_01', 'images/pd_normal.gif');} );
		hm_01_Mgd_Svc.attachEvent('onmousedown',function() {changeImages('hm_01', 'images/hm_01-Mgd-Svc_over.gif');} );
		hm_01_Mgd_Svc.attachEvent('onmouseup',function() {changeImages('hm_01', 'images/hm_01-Mgd-Svc_over.gif');} );
		hm_01_Mgd_Svc.attachEvent('onclick',function() {changeImages('hm_01', 'images/hm_01-Mgd-Svc_click.gif');} );
}
if (n6) {
		document.getElementById("hm_01_HR_Con").addEventListener('mouseover',Ci_HR_Con_Mover,false);
		document.getElementById("hm_01_HR_Con").addEventListener('mouseout',Ci_HR_Con_Mout,false);
		document.getElementById("hm_01_HR_Con").addEventListener('mousedown',Ci_HR_Con_Mover,false);
		document.getElementById("hm_01_HR_Con").addEventListener('mouseup',Ci_HR_Con_Mover,false);
		document.getElementById("hm_01_HR_Con").addEventListener('click',Ci_HR_Con_Mclick,false);
		document.getElementById("hm_01_Staff").addEventListener('mouseover',Ci_Staff_Mover,false);
		document.getElementById("hm_01_Staff").addEventListener('mouseout',Ci_Staff_Mout,false);
		document.getElementById("hm_01_Staff").addEventListener('mousedown',Ci_Staff_Mover,false);
		document.getElementById("hm_01_Staff").addEventListener('mouseup',Ci_Staff_Mover,false);
		document.getElementById("hm_01_Staff").addEventListener('click',Ci_Staff_Mclick,false);
		document.getElementById("hm_01_PD_Home").addEventListener('mouseover',Ci_PD_Home_Mover,false);
		document.getElementById("hm_01_PD_Home").addEventListener('mouseout',Ci_PD_Home_Mout,false);
		document.getElementById("hm_01_PD_Home").addEventListener('mousedown',Ci_PD_Home_Mover,false);
		document.getElementById("hm_01_PD_Home").addEventListener('mouseup',Ci_PD_Home_Mover,false);
		document.getElementById("hm_01_Mgd_Svc").addEventListener('mouseover',Ci_Mgd_Svc_Mover,false);
		document.getElementById("hm_01_Mgd_Svc").addEventListener('mouseout',Ci_Mgd_Svc_Mout,false);
		document.getElementById("hm_01_Mgd_Svc").addEventListener('mousedown',Ci_Mgd_Svc_Mover,false);
		document.getElementById("hm_01_Mgd_Svc").addEventListener('mouseup',Ci_Mgd_Svc_Mover,false);
		document.getElementById("hm_01_Mgd_Svc").addEventListener('click',Ci_Mgd_Svc_Mclick,false);
	}
}
function setupMenus() {
		document.getElementById("Menu_home").href=h0;
		document.getElementById("Menu_contactus").href=h1;
		document.getElementById("Menu_pdstaffing").href=h2;
		document.getElementById("Menu_pdhrcon").href=h3;
		document.getElementById("Menu_pdmgdsvc").href=h4;
		document.getElementById("Menu_jobseekers").href=h5;
		try {
			document.getElementById("Button_freelancers").href=h6;
			document.getElementById("Button_jobseekers").href=h7;
		} catch (e) {}
		
}

function changeImages() {
	for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
	}
}
function Ci_HR_Con_Mover() {
	document.getElementById("hm_01").src='images/hm_01-HR-Con_over.gif';
}
function Ci_HR_Con_Mclick() {
	document.getElementById("hm_01").src='images/hm_01-HR-Con_click.gif';
}
function Ci_HR_Con_Mout() {
	document.getElementById("hm_01").src='images/pd_normal.gif';
}
function Ci_Staff_Mover() {
	document.getElementById("hm_01").src='images/hm_01-Staff_over.gif';
}
function Ci_Staff_Mclick() {
	document.getElementById("hm_01").src='images/hm_01-Staff_click.gif';
}
function Ci_Staff_Mout() {
	document.getElementById("hm_01").src='images/pd_normal.gif';
}
function Ci_PD_Home_Mover() {
	document.getElementById("hm_01").src='images/hm_01-PD-Home_over.gif';
}
function Ci_PD_Home_Mclick() {
	document.getElementById("hm_01").src='images/hm_01-PD-Home_over.gif';
}
function Ci_PD_Home_Mout() {
	document.getElementById("hm_01").src='images/pd_normal.gif';
}
function Ci_Mgd_Svc_Mover() {
	document.getElementById("hm_01").src='images/hm_01-Mgd-Svc_over.gif';
}
function Ci_Mgd_Svc_Mclick() {
	document.getElementById("hm_01").src='images/hm_01-Mgd-Svc_click.gif';
}
function Ci_Mgd_Svc_Mout() {
	document.getElementById("hm_01").src='images/pd_normal.gif';
}
function PreloadImage(file){
    // check for existing requests
    if(httpobj!=null&&httpobj.readyState!=0&&httpobj.readyState!=4){
        httpobj.abort();
    }
    try{
        // instantiate object for Mozilla, Nestcape, etc.
        httpobj=new XMLHttpRequest();
    }
    catch(e){
        try{
            // instantiate object for Internet Explorer
            httpobj=new ActiveXObject('Microsoft.XMLHTTP');
        }
        catch(e){
            // Ajax is not supported by the browser
            httpobj=null;
            return false;
        }
    }
    // assign state handler
    httpobj.onreadystatechange=function(){
        stateChecker(file);
    }
    // open socket connection
    if (n6) httpobj.open('GET',file);
    if (ie) httpobj.open('GET',file,false);
    // send request
    httpobj.send(null);
} 
function stateChecker(file){
    // if request is completed
    if(httpobj.readyState==4){
        // if status == 200 display text file
        if(httpobj.status==200){
        	var pic=new Image();
		pic.src=file
        
        	// set events for document
        	if (n6) document.addEventListener("DOMContentLoaded",setTimer,false); 
		if (ie) document.attachEvent("onreadystatechange",init);
     	}
     }
}
