// JavaScript Document
// Roll Over Scrip and Preload for the Navigation Buttons
// Tool Tips for Text JavaScript
// Created 6/6/02 Blake Coglianese, Walker Sands Communications


        if (document.images) {            // Roll over images
			homeon = new Image();      
            homeon.src = "images/nav/home02.gif"; 
			
			whyon = new Image();      
            whyon.src = "images/nav/why02.gif";
			
			practiceAreason = new Image();     
            practiceAreason.src = "images/nav/practiceAreas02.gif"; 
			
			ourPeopleon = new Image();      
            ourPeopleon.src = "images/nav/ourPeople02.gif"; 
			
			ourClientson = new Image();      
            ourClientson.src = "images/nav/ourClients02.gif";
			
			PRFirmBlogon = new Image();      
            PRFirmBlogon.src = "images/nav/PRFirmBlog02.gif";

			resourceCenteron = new Image();      
            resourceCenteron.src = "images/nav/resourceCenter02.gif";
			
			pressRoomon = new Image();      
            pressRoomon.src = "images/nav/pressRoom02.gif";
			
			careerson = new Image();      
            careerson.src = "images/nav/careers02.gif"; 

			aboutUson = new Image();      
            aboutUson.src = "images/nav/aboutUs02.gif"; 
			
			contactUson = new Image();      
            contactUson.src = "images/nav/contactUs02.gif"; 
			

            

			homeoff = new Image(); 			// Original images
            homeoff.src = "images/nav/home01.gif";  
			
			whyoff = new Image(); 
            whyoff.src = "images/nav/why01.gif";
			
			practiceAreasoff = new Image(); 
            practiceAreasoff.src = "images/nav/practiceAreas01.gif";  
			
			ourPeopleoff = new Image(); 
            ourPeopleoff.src = "images/nav/ourPeople01.gif";
			
			ourClientsoff = new Image(); 
            ourClientsoff.src = "images/nav/ourClients01.gif";
			
			PRFirmBlogoff = new Image(); 
            PRFirmBlogoff.src = "images/nav/PRFirmBlog01.gif";

			resourceCenteroff = new Image(); 
            resourceCenteroff.src = "images/nav/resourceCenter01.gif";
			
			pressRoomoff = new Image(); 
            pressRoomoff.src = "images/nav/pressRoom01.gif";
			
			careersoff = new Image(); 
            careersoff.src = "images/nav/careers01.gif";   

			aboutUsoff = new Image(); 
            aboutUsoff.src = "images/nav/aboutUs01.gif";   
			
			contactUsoff = new Image(); 
            contactUsoff.src = "images/nav/contactUs01.gif";

        }

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}



function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// Tool Tips for Text JavaScript

if (!document.layers&&!document.all)

event="test";

function showtip(current,e,text)

{

	if (document.all)
	
	{
		thetitle=text.split('<BR>')
		
		if (thetitle.length>1)
		
		{
			thetitles=''
			
			
			for (i=0;i<thetitle.length;i++)
thetitles+=thetitle[i]
current.title=thetitles
}
else
current.title=text
}

else if (document.layers){
document.tooltip.document.write('<layer bgColor="white" style="border:1px solid black;font-size:12px;">'+text+'</layer>')
document.tooltip.document.close()
document.tooltip.left=e.pageX+5
document.tooltip.top=e.pageY+5
document.tooltip.visibility="show"
}
}
function hidetip(){
if (document.layers)
document.tooltip.visibility="hidden"
}
