function redir() {
  var tmp1 = document.forms[0].select.selectedIndex;
  var tmp2 = document.forms[0].select.options[tmp1].value;

  if (tmp2 == '#') {
	// blank or "choose service" was selected
    document.forms[0].select.selectedIndex = 0;
  } else if ((tmp2 == 'united_states') || (tmp2 == 'latin_america')) {
	// CWS US
    location.href = "https://www.privatebank.citibank.com/pbgportal/application";
  } else if (tmp2 == 'europe') {
	// CWS Europe
	location.href = "https://www.privatebank.citibank.ch/pbgportal/application";
  } else if (tmp2 == 'citiaccess') {
	// CitiAccess
	location.href = "/privatebank/citiaccess/index.htm";
  } else if (tmp2 == 'client') {
	// Client Web Site General Link
	location.href = "/privatebank/client/index.htm";
  } else { 
	// CWS Asia Pacific
	location.href= "https://www.privatebank.citibank.com.sg/pbgportal/application";
  }
}

function redir_reset() {
  var tmp1 = document.forms[0].select.selectedIndex;
  var tmp2 = document.forms[0].select.options[tmp1].value;
  if (tmp2 == '#') document.forms[0].select.selectedIndex = 0;
}



// function for displaying an alert

var show_alert = false;

// STRING FORMATTED FOR A LINK
// var alert_text = "<a href='http://www.yahoo.com' class='ht'>This is a general information alert...</a>";

// STRING FORMATTED FOR NO LINK
var alert_text = "This is a general information alert...";

if (show_alert)
{
	document.write("<div id='alert' style='position:absolute; left:390px; top:80px; width:500px; height:51px; z-index:1; overflow: visible;'>");
	document.write("<img src='alert.gif' border='0'> <span class='ht'>" + alert_text + "</span>");
	document.write("</div>");
}
