// JavaScript Document

     NS4 = (document.layers);
     IE4 = (document.all);
    ver4 = (NS4 || IE4);   
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac));

  function popUp(){return};
  function popDown(){return};
  function startIt(){return};

//  if (!ver4) event = null;

  if (isMenu) {
      menuVersion = 3;
      menuWidth = 153;
      childOverlap =1;
      childOffset = -4;
      perCentOver = null;
      secondsVisible = .5;
      
      fntCol = "white";
      fntSiz = "8";
      fntBold = false;
      fntItal = false;
      fntFam = "Arial";
      
      backCol = "#DDDDDD";
      overCol = "#FFCCCC";
      overFnt = "0040A0";
      
      borWid = 1;
      borCol = "#cccccc";
      borSty = "solid";
      itemPad = 0;
      
      imgSrc = "0";
      imgSiz = 0;
      
      separator = 1;
      separatorCol = "red";
      
      isFrames = false;
      navFrLoc = "top";
      mainFrName = "main";
      
      keepHilite = true; 
      NSfontOver = true;
      clickStart = false;
      clickKill = false;
      
      showVisited = "yellow";
  }


function openpop(pagetitle,pagecontent,winwidth,winheight)
{
	
	pagecontent=unescape(pagecontent)
	size="width="+winwidth+",height="+winheight
	win=window.open('','','status=no,resize=no,'+size+',left=20,top=50')
	doc=win.document
	doc.open();
	doc.write("<html>")
	doc.write("<title>"+pagetitle+"</title>")
	doc.write("<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>")
	doc.write("<img src='"+pagecontent+"'>")
	doc.write("<style type='text/css'>img{ background:url(http://www.nextwavemultimedia.com/images/loadingorange.gif) 50% 50% no-repeat;}</style></body>")
	doc.write("</html>")
	doc.close()
	//doc.write("</html><script>window.resizeTo(document.PopImg.width,document.PopImg.height)<\/script>")
}


