<!--

function scrollFrame(dir, frm)
{
  if (dir == 1)
    frm.scrollBy(0, 10)
  else
    frm.scrollBy(0, -10);
  
  return;
}

function resizeFrameR(frm)
{
  if (frm.document.body.rows == "27,1,*,25")
    frm.document.body.rows = "27,28,*,25"
  else
    frm.document.body.rows = "27,1,*,25";
    
  return;
}

function resizeFrameC(frm,size1,size2)
{
  if (frm.document.body.cols == size1)
    frm.document.body.cols = size2
  else
    frm.document.body.cols = size1;
    
  return;
}

function swapStyle(obj, styleStr)
{
  obj.className = styleStr;
  return;
}

function printDoc(obj)
{
  obj.print();
  return
}

function openWindow(url, name, res, sb, w, h)
{
  LeftPosition=(screen.width)?(screen.width-w)/2:100;
  TopPosition=(screen.height)?(screen.height-h)/2:100;
  WHnd=window.open(url, name, ('top='+TopPosition+',left='+LeftPosition+',resizable='+res+',menubar=no,location=no,toolbar=no,status=no,scrollbars='+sb+',directories=no,width='+w+',height='+h));
  return;
}

function closeWindow(obj)
{
  obj.close();
  return
}


function printFrame(obj)
{
  obj.focus();
  print();
  return;
}

function openSendMail(obj)
{
  var sTitle, sURL;
  sTitle = obj.title;
  sURL = obj.URL;
  //Remember to erase the IntechSite portion of this line
  openWindow (("http://"+obj.location.host+"/common/pages/SendMail/SendArticle.asp?Titulo="+sTitle+"&Location="+sURL), "sendMail", "NO", "YES","540", "380");
  return;
}

function jumpToLink(obj)
{
  if (obj.value != "")
    window.document.location = obj.value;
  return;
}
-->
