
function insert_bg(x,y,p_url){
   if (is_nav4){ 
//alert('is_nav4');
      document.write('<div id="div_bg" style="position:absolute; left:' + x + 'px; top:' + y + 'px; clip:rect(0, 198, 400, 0); width:100%; height:100%;  z-index:-1; layer-background-image:URL(' + p_url + ');"></div>');
      // NB next line required to force redraw
      //window.resizeBy(-1, -1);
      // NB next line required to stop infinite reload loop
      //document(close);
   }

  if (is_nav5up){
//alert('is_nav5up');
      document.write('<div id="div_bg" style="position:absolute; left:' + x + 'px; top:' + (y-4) + 'px; clip:rect(0, 198, 400, 0); width:100%; height:100%;  z-index:0;"><IMG ID="move-bg" SRC="' + p_url + '"></div>');
      // NB next line required to force redraw
      window.resizeBy(-1, -1);
      // NB next line required to stop infinite reload loop
      //document(close);
}

   if (is_ie || is_opera){
      if (is_opera){
//alert('is_opera');
         document.write('<div id="div_bg" style="position:absolute; left:' + x + 'px; top:' + y + 'px; clip:rect(0, 750, 450, 0); width:198; height:400;  z-index:0;"><IMG ID="move-bg" SRC="' + p_url + ' "width="198" height="400"></div>');
      }
      else{
//alert('is_ie');
         if (document.body){ document.body.background = "";}
         document.write('<IMG id="div_bg" " SRC="' + p_url + '" STYLE="container:positioned; position:absolute; left:' + x + '; top:' + (y-1) + '; z-index:-1; display:">');

      }
   }
}
