// JavaScript Document

function msover(name,ima){
	if (document.images){
		document.images[name].src = eval(ima+".src");
	}
}

function window_resize(width,height){
    if(!arguments[2])oj=self

    resizeTo(width,height)


    if(window.opera||document.layers){ 
      var w = oj.innerWidth  
      var h = oj.innerHeight  
    } else if(document.all){ 
      var w = oj.document.body.clientWidth 
      var h = oj.document.body.clientHeight
    } else if(document.getElementById){
      var w = oj.innerWidth   
      var h = oj.innerHeight 
    }

    if(width!=w||height!=h){
      oj.resizeBy((width-w),(height-h))
      if(document.layers)
        oj.location.reload(0) 
    }
}

function openPVWindow(theURL,pageNum,winName,features) { 
  win = window.open(theURL+"?page_num="+pageNum,winName,features);
  win.focus();
}