function ShowFrame(aDefDoc1, aDefDoc2, aDefPitch) {
  var s2;
    s2=location.search.substring(1);
  if (s2=='') {
    s2=aDefDoc2;
  } 
  if (s2.substring(0, 7) != 'http://') {
    s2=aDefDoc2;
  }
    
  if (aDefPitch=='')
    aDefPitch='135';
  document.write('<frameset cols="5,*" frameborder="0" border="0" framespacing="0">');
  document.write('<frame name="links" src="dummy.htm" marginwidth="0" marginheight="0" scrolling="No" frameborder="0">');
  document.write('<frameset rows="'+ aDefPitch +',*" frameborder="0" border="0" framespacing="0">');
  document.write('<frame name="header" src="'+ aDefDoc1 +'" marginwidth="0" marginheight="6" scrolling="no" frameborder="0" noresize target="xMain">');
  document.write('<frame name="xMain" src="'+ s2 +'" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0">');
  document.write('</frameset>');
  document.write('</frameset>');
}
  
function LoadFrame(aFrame) {
  if (top == self) {
    if (document.images)
      top.location.replace(aFrame+'?'+location.href);
    else
      top.location.href=aFrame+'?'+location.href;
  }
}