/* SOLUTIONS SUMMARY - SHOW/HIDE DIV */
function setVisibility(id, visibility) {
document.getElementById('market').style.display = "none";
document.getElementById('products').style.display = "none";
document.getElementById('brands').style.display = "none";
document.getElementById('stakeholders').style.display = "none";
document.getElementById('performance').style.display = "none";
document.getElementById(id).style.display = visibility;
}

/* Picture Popup */
function PopupPic(sPicURL) { 
	window.open("/HI_Assets/images/pages/SI_popupimage.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200");
}

/* Google Analytics for Outbound Links
function recordOutboundLink(link, category, action) {
  try {
    var pageTracker=_gat._getTracker("UA-XXXXX-X");
    pageTracker._trackEvent(category, action);
    setTimeout('document.location = "' + link.href + '"', 100)
  }catch(err){}
}
*/

function menu_goto( menuform )
{
    // see http://www.thesitewizard.com/archive/navigation.shtml
    // for an explanation of this script and how to use it on your
    // own site

    var baseurl = "http://rdapp" ;
    selecteditem = menuform.newurl.selectedIndex ;
    newurl = menuform.newurl.options[ selecteditem ].value ;
    if (newurl.length != 0) {
      location.href = baseurl + newurl ;
    }
}

/* Cookie */
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

function eraseCookie(name) {
createCookie(name,"",-1);
}

