      var win=null;
      function makeNewWindow(url,title,w,h,menubar,scrollbars){
        if (win!=null) win.close(); // if we don't do that, the new window won't have the right size
        settings='width='+w+',height='+h+',location=no,directories=no,status=no,menubar='+menubar+',toolbar=no,resizable=yes,scrollbars='+scrollbars;
        win=window.open(url,title,settings);
        win.focus();
      }
function ShowBox(id)
{
    var box = document.getElementById(id);
    box.style.visibility = 'visible';
}
function HideBox(id)
{
    var box = document.getElementById(id);
    box.style.visibility = 'hidden';
}
function SetDisplayBlock(id)
{
    var box = document.getElementById(id);
    box.style.display = 'block';
}
function SetDisplayNone(id)
{
    var box = document.getElementById(id);
    box.style.display = 'none';
}
function InsertMsgLink(v,q,p1,x,p2,p3) 
{  
    var e;
    e = p1 + '@' + p2 + '.' + p3;
    if (v == '') {
        v = e;
    }
    document.write('<a href=\"mailto:' + e + q + '\">' + v + '</a>');
}
function ValidateRequiredField(field,alerttxt)
{
    with (field)
    {
        if (value==null||value=="")
            {alert(alerttxt);return false}
        else
            {return true}
    }
}


function openTgtSelf(url){
   //alert("url:"+url);
   window.location.href = url;
}
function trackWebtrends(trackUrl){
   //alert("trackUrl:"+trackUrl);
   dcsMultiTrack(trackUrl);
}


