// JavaScript Document

function addJavascript(jsname) {
var th = document.getElementsByTagName('head')[0];
var s = document.createElement('script');
s.setAttribute('type','text/javascript');
s.setAttribute('src',jsname);
th.appendChild(s);
}

addJavascript('/js/adlucent-utils.js');
addJavascript('/js/adlucent-params.js');
addJavascript('/js/pnParam.js');
/*addJavascript('/js/dropNavigation.js');*/

addJavascript('/js/jquery.js');
addJavascript('/js/spidtrack.js');/*cookie creation read for SPID*/
/*addJavascript('/js/jquery.hoverIntent.minified.js');*/







/*------------Drop Down Site Navigation--------------------------*/



  
function dropNav_over() { 
  //console.log("I'm here!");  
  
  MM_changeProp('dd_allProducts','','display','none','DIV');
  console.log("dropnav called");  
 
}



function MM_changeProp(objId,x,theProp,theValue) { //v9.0

  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}








function changeButBG(elementID) {
		
		document.getElementById(elementID).style.background = 'url(/img/but_top_gray_over.gif)';
		document.getElementById(elementID).style.color = '#fff';
	}
function resetButBG(elementID) {
		document.getElementById(elementID).style.background = 'none';
	/*	document.getElementById(elementID).style.color = '#000033';*/
	}
function setNav(navId, navClassName) {
    	document.getElementById(navId).className = navClassName;
}
