function openwindow(url,height,width){
  var parm
  var strtmp1,strtmp2,strtmp3,strtmp4
  var i
  
  if (height == null) height= 500
  if (width == null ) width = 600
  parm = "height=" + height + ",width=" + width + ",status=yes,toolbar=no,menubar=yes,resizable=yes,location=no,scrollbars=yes,top=0,left=0"
  
  if (navigator.appName == 'Netscape'){
     strtmp1 = url.split("?")
  
     i = 2
     strtmp2 = ""
     while (strtmp1[i] != null){
     	if (strtmp2 != "") strtmp2 += "?"
        strtmp2 += strtmp1[i]
        i++
     }
  
     strtmp2 = strtmp2.split("^")
  
     i = 0
     strtmp4 = ""
     while(strtmp2[i] != null){
        strtmp3 = strtmp2[i].split("=")
        if (strtmp4 != "") strtmp4 += "^"
        strtmp4 = strtmp4 + strtmp3[0] + "=" + escape(strtmp3[1])
        i++
     }
  
     url = strtmp1[0] + "?" + strtmp1[1] + "?" + strtmp4
  }
  
  IE4=(document.all)?1:0
  NN4=(document.layers)?1:0
  
  if (IE4) position = parseInt(document.body.scrollTop)
  if (NN4) position = self.pageYOffset
  setTimeout('scroll(0,position)',50)
    
  window.open(url,"",parm,true)
}
