/* Flip function and Openwin created by Al Araya (c) 1999 www.codearaya.com */ 

function openWin(url,w,h,winName,scroll,resize) {if(winName==''){winName='CbsWindow';}if(scroll==''){scroll='yes';}/* edited by AFA popwin */
window.open(url,winName,"height="+h+",width="+w+",status=0,scrollbars="+scroll+",resizable="+resize+",location=0,menubar=0").focus();}


if (document.images)
 {
 
 
 /*  Dropdown images  */
 
contact_directions_over = new Image();
contact_directions_over.src = "/Common/images/nav_drop_contact_directions_over.gif";

contact_directions = new Image();
contact_directions.src = "/Common/images/nav_drop_contact_directions.gif";

contact_form_over = new Image();
contact_form_over.src = "/Common/images/nav_drop_contact_form_over.gif";

contact_form = new Image();
contact_form.src = "/Common/images/nav_drop_contact_form.gif";

industries_cases_over = new Image();
industries_cases_over.src = "/Common/images/nav_drop_industries_cases_over.gif";

industries_cases = new Image();
industries_cases.src = "/Common/images/nav_drop_industries_cases.gif";

industries_served_over = new Image();
industries_served_over.src = "/Common/images/nav_drop_industries_served_over.gif";

industries_served = new Image();
industries_served.src = "/Common/images/nav_drop_industries_served.gif";

services_bizintell_over = new Image();
services_bizintell_over.src = "/Common/images/nav_drop_services_bizintell_over.gif";

services_bizintell = new Image();
services_bizintell.src = "/Common/images/nav_drop_services_bizintell.gif";

services_listof_over = new Image();
services_listof_over.src = "/Common/images/nav_drop_services_listof_over.gif";

services_listof = new Image();
services_listof.src = "/Common/images/nav_drop_services_listof.gif";

services_method_over = new Image();
services_method_over.src = "/Common/images/nav_drop_services_method_over.gif";

services_method = new Image();
services_method.src = "/Common/images/nav_drop_services_method.gif";
 
 
 
  /*  Dropdown images  */
 
 
home = new Image();
home.src = "/Common/images/nav_home.gif";
home_on = new Image();
home_on.src = "/Common/images/nav_home_over.gif";

services = new Image();
services.src = "/Common/images/nav_services.gif";
services_on = new Image();
services_on.src = "/Common/images/nav_services_over.gif";

industries = new Image();
industries.src = "/Common/images/nav_industries.gif";
industries_on = new Image();
industries_on.src = "/Common/images/nav_industries_over.gif";

press = new Image();
press.src = "/Common/images/nav_press.gif";
press_on = new Image();
press_on.src = "/Common/images/nav_press_over.gif";

faq = new Image();
faq.src = "/Common/images/nav_faq.gif";
faq_on = new Image();
faq_on.src = "/Common/images/nav_faq_over.gif";

affiliations = new Image();
affiliations.src = "/Common/images/nav_affiliations.gif";
affiliations_on = new Image();
affiliations_on.src = "/Common/images/nav_affiliations_over.gif";

contact = new Image();
contact.src = "/Common/images/nav_contact.gif";
contact_on = new Image();
contact_on.src = "/Common/images/nav_contact_over.gif";

/* Subnav images */

contact_directions = new Image();
contact_directions.src = "/contact/images/contact_subtitle_directions.gif";
contact_directions_on = new Image();
contact_directions_on.src = "/contact/images/contact_subtitle_directions_on.gif";

contact_form = new Image();
contact_form.src = "/contact/images/contact_subtitle_form.gif";
contact_form_on = new Image();
contact_form_on.src = "/contact/images/contact_subtitle_form_on.gif";

industries_cases = new Image();
industries_cases.src = "/industries/images/industries_subnav_cases.gif";
industries_cases_on = new Image();
industries_cases_on.src = "/industries/images/industries_subnav_cases_on.gif";

industries_served = new Image();
industries_served.src = "/industries/images/industries_subnav_industriesserved.gif";
industries_served_on = new Image();
industries_served_on.src = "/industries/images/industries_subnav_industriesserved_on.gif";

services_bizintell = new Image();
services_bizintell.src = "/services/images/services_subnav_bizintell.gif";
services_bizintell_on = new Image();
services_bizintell_on.src = "/services/images/services_subnav_bizintell_on.gif";

services_list = new Image();
services_list.src = "/services/images/services_subnav_list.gif";
services_list_on = new Image();
services_list_on.src = "/services/images/services_subnav_list_on.gif";

services_method = new Image();
services_method.src = "/services/images/services_subnav_method.gif";
services_method_on = new Image();
services_method_on.src = "/services/images/services_subnav_method_on.gif";


}
function flip()
{
if (document.images) 
  {
var num_arg = arguments.length;
if (num_arg == 0 || (num_arg % 2) != 0) return;
for (var i=0; i<num_arg; i) 
     {
	var j = i+1;
	var imgname = arguments[i];
	var imgsrc = arguments[j];
	document.images[imgname].src = eval(imgsrc+'.src');
	i+=2;
     }
  }
}

function serviceson(){document.images.servicesmenu.src="/Common/images/nav_services_over.gif";}
function industrieson(){document.images.industriesmenu.src="/Common/images/nav_industries_over.gif";}
function contacton(){document.images.contactusmenu.src="/Common/images/nav_contact_over.gif";}

function buttonreset(){
document.images.servicesmenu.src="/Common/images/nav_services.gif";
document.images.industriesmenu.src="/Common/images/nav_industries.gif";
document.images.contactusmenu.src="/Common/images/nav_contact.gif";
document.images.home.src="/Common/images/nav_home.gif";
document.images.press.src="/Common/images/nav_press.gif";
document.images.faq.src="/Common/images/nav_faq.gif";
document.images.affiliations.src="/Common/images/nav_affiliations.gif";
}



