
AllImages=new 
Array("images/clients.gif","images/clients2.gif","images/find-jobs.gif","images/find-jobs2.gif","images/post-resume.gif","images/post-resume2.gif","images/clients.gif","images/clients2.gif","images/join-us.gif","images/join-us2.gif");


function preloadImages()
{

for(loadall=0; loadall<AllImages.length; loadall++)
{

var LoadedImage=new Image();
LoadedImage.src=AllImages[loadall];
}
}

preloadImages();

var l1="",l2="",l3="";
function swapImage(swapimage,id){
document.getElementById(id).src="images/"+swapimage;
}

var highlight=document.getElementById("highlight").value;


if (highlight=="client"){l1="<img src='images/clients2.gif' name='client'  width='135' height='48' border='0' id='client' alt=''>";}
else{l1="<a href='client.asp'  onMouseOver='swapImage(\"clients2.gif\",\"client\")' onMouseOut='swapImage(\"clients.gif\",\"client\")'><img src='images/clients.gif' name='client'  width='135' height='48' border='0' id='client' alt=''></a>";}

if (highlight=="find"){l2="<img src='images/find-jobs2.gif' name='find'  width='135' height='48' border='0' id='find' alt=''>";}
else{l2="<a href='search.asp'  onMouseOver='swapImage(\"find-jobs2.gif\",\"find\")' onMouseOut='swapImage(\"find-jobs.gif\",\"find\")'><img src='images/find-jobs.gif' name='find' width='135' height='48' border='0' id='find' alt=''></a>";}

if (highlight=="company"){l3="<a href='#' onmouseover='showLayer(\"drop\",\"company1\",0,48)' onmouseout='hideLayer(\"drop\")'><img src='images/company2.gif' name='company' width='135' height='48' border='0' id='company1' alt=''></a>";}
else{l3="<a href='#'  onMouseOver='swapImage(\"company2.gif\",\"company1\");showLayer(\"drop\",\"company1\",0,48)' onMouseOut='swapImage(\"company.gif\",\"company1\");hideLayer(\"drop\")'><img src='images/company.gif' name='company1' width='135' height='48' border='0' id='company1' alt=''></a>";}

if (highlight=="post"){l4="<img src='images/post-resume2.gif' name='post' width='135' height='48' border='0' id='post' alt=''>";}
else{l4="<a href='resume.asp'  onMouseOver='swapImage(\"post-resume2.gif\",\"post\")' onMouseOut='swapImage(\"post-resume.gif\",\"post\")'><img src='images/post-resume.gif' name='post' width='135' height='48' border='0' id='post' alt=''></a>";}

if (highlight=="join"){l5="<img src='images/join-us2.gif' name='join' width='135' height='48' border='0' id='join' alt=''>";}
else{l5="<a href='joinus.asp'  onMouseOver='swapImage(\"join-us2.gif\",\"join\")' onMouseOut='swapImage(\"join-us.gif\",\"join\")'><img src='images/join-us.gif' name='join' width='135' height='48' border='0' id='join' alt=''></a>";}




document.write("<table border='0' cellspacing='0' cellpadding='0' width='675' align='center'>");

document.write("<tr><td>"+l3+"</td><td>"+l2+"</td><td>"+l4+"</td><td>"+l1+"</td><td>"+l5+"</td></tr>");


document.write("</table>");

function getPageOffsetLeft()
{  return arguments[0].offsetLeft + (arguments[0].offsetParent ? getPageOffsetLeft(arguments[0].offsetParent) : 0);
}

function getPageOffsetTop()
{  return arguments[0].offsetTop + (arguments[0].offsetParent ? getPageOffsetTop(arguments[0].offsetParent) : 0);
}

var interval=null;
var layerHeight=0;
function slideDown(layerid)
{
document.getElementById(layerid).style.display="block";
 if(layerHeight<=150)
 {
   layerHeight+=5;
   document.getElementById(layerid).style.height=layerHeight+"px";
 }
 else
 {  clearInterval(interval);
	     return;
 }
}

function slideUp(layerid)
{
 if(layerHeight>=1)
 {
   layerHeight-=5;
   document.getElementById(layerid).style.height=layerHeight+"px";
 }
 else
 {  clearInterval(interval);
	     return;
		 
 }
 
}

function showLayer(id,targetid,leftoff,topoff)
{
clearInterval(interval);
interval=setInterval('slideDown("'+id+'")',20);
document.getElementById(id).style.left=getPageOffsetLeft(document.getElementById(targetid))+leftoff+'px';
document.getElementById(id).style.top=getPageOffsetTop(document.getElementById(targetid))+topoff+'px';
}

function hideLayer(id)
{

if(document.getElementById(id).style.display)
{
clearInterval(interval);
interval=setInterval('slideUp("'+id+'")',20);
}


}


document.write('<div style="overflow:hidden;position:absolute;display:none;z-index:1000;" id="drop" onMouseOver="showLayer(\'drop\',\'company1\',0,48)" onMouseOut="hideLayer(\'drop\')"><a href="whoweare.asp" onmouseover="swapImage(\'veeday_sub_whoweare_a.jpg\',\'who\')" onmouseout="swapImage(\'veeday_sub_whoweare_n.jpg\',\'who\')"><img src="images/veeday_sub_whoweare_n.jpg" name="who" width="134" height="25" border="0" id="who" alt=""></a><br><a href="whatwedo.asp" onmouseover="swapImage(\'veeday_sub_whtwedo_a.jpg\',\'what\')" onmouseout="swapImage(\'veeday_sub_whtwedo_n.jpg\',\'what\')"><img src="images/veeday_sub_whtwedo_n.jpg" name="what" width="134" height="25" border="0" id="what" alt=""></a><br><a href="ourvalues.asp" onmouseover="swapImage(\'veeday_sub_ourvalues_a.jpg\',\'our\')" onmouseout="swapImage(\'veeday_sub_ourvalues_n.jpg\',\'our\')"><img src="images/veeday_sub_ourvalues_n.jpg" name="our" width="134" height="25" border="0" id="our" alt=""></a><br><a href="ourgrowth.asp" onmouseover="swapImage(\'veeday_sub_growthpath_a.jpg\',\'growth\')" onmouseout="swapImage(\'veeday_sub_growthpath_n.jpg\',\'growth\')"><img src="images/veeday_sub_growthpath_n.jpg" name="growth" width="134" height="25" border="0" id="growth" alt=""></a><br><a href="ourteam.asp" onmouseover="swapImage(\'veeday_sub_funveeday_a.jpg\',\'fun\')" onmouseout="swapImage(\'veeday_sub_funveeday_n.jpg\',\'fun\')"><img src="images/veeday_sub_funveeday_n.jpg" name="fun" width="134" height="25" border="0" id="fun" alt=""></a><br><a href="photogallery.asp" onmouseover="swapImage(\'veeday_sub_gallery_a.jpg\',\'gallery\')" onmouseout="swapImage(\'veeday_sub_gallery_n.jpg\',\'gallery\')"><img src="images/veeday_sub_gallery_n.jpg" name="gallery" width="134" height="25" border="0" id="gallery" alt=""></a></div>');
