//Image Swap Functions for Header portion of page //Used to toggle image when mouseover and mouseout to //give the highlight effect on the links in the header //and present the image for that link function SwapHeaderLogo(over) { var relpath = document.images.HeaderLogo.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/header_logo_over.jpg" } else { relpath = relpath+"/header_logo_notover.jpg" } document.images.HeaderLogo.src=relpath } function SwapAbout(over) { var relpath = document.images.About.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/aboutus_over.jpg" } else { relpath = relpath+"/aboutus_notover.jpg" } document.images.About.src=relpath } function SwapNews(over) { var relpath = document.images.News.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/news_over.jpg" } else { relpath = relpath+"/news_notover.jpg" } document.images.News.src=relpath } function SwapProducts(over) { var relpath = document.images.Products.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/products_over.jpg" } else { relpath = relpath+"/products_notover.jpg" } document.images.Products.src=relpath } function SwapServices(over) { var relpath = document.images.Services.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/services_over.jpg" } else { relpath = relpath+"/services_notover.jpg" } document.images.Services.src=relpath } function SwapCareers(over) { var relpath = document.images.Careers.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/careers_over.jpg" } else { relpath = relpath+"/careers_notover.jpg" } document.images.Careers.src=relpath } function SwapContact(over) { var relpath = document.images.Contact.src relpath = relpath.substring(0, relpath.lastIndexOf("/")) if (over) { relpath = relpath+"/contact_over.jpg" } else { relpath = relpath+"/contact_notover.jpg" } document.images.Contact.src=relpath }