/*
 * Framing
 */

isNS4 = (document.layers)? true:false;
isIE = (document.all)? true:false;


function CheckFrames(PageURL){
  if (window.name != "header"){
    window.name="root";
    document.write("<frameset rows=* frameBorder=NO cols=*,876,*>");
    document.write("<frame id=leftframe name=leftframe marginWidth=0 marginHeight=0 src='/leftframe.html' frameBorder=no noResize scrolling=no>");
    document.write("<frame name='header' src='" + PageURL + "?embedded=yes'>");
	document.write("<frame id=rightframe name=rightframe marginWidth=0 marginHeight=0 src='/rightframe.html' frameBorder=no noResize scrolling=no>");
    document.write("</frameset>");
  }
}


var idSave;
function setSection(id) {
  try {
    obj = top.frames['middleframe'].frames['header'];
    obj.quickSetCurrent(id);
  } catch(e) {
    idSave = id;
    setTimeout('setSection(idSave)',100);
  }
}