function createWindow(url,windowname,w,h,l,t,mb,sb,tb,rb) 
{
	if (!w){w=600;}//width
	if (!h){h=400;}//height
	if (!l){l=100;}//left
	if (!t){t=100;}//top
	if (!mb){mb=0;}//menubar
	if (!sb){sb=1;}//scrollbar
	if (!tb){tb=0;}//toolbar
	if (!rb){rb='yes';}//resizeable
    var features ='width=' + w+
        ',height='      + h +
        ',left=' + l +
        ',top='    + t +
        ',menubar='     + mb +
        ',scrollbars='  + sb +
        ',toolbar='     + tb +
        ',resizable='   + rb;
		newwindow = open (url, windowname, features);
		//window.open (url, windowname, features);
		newwindow.focus();
	
}

function pagethrough(pagevalue){ 
document.pagethroughform.page.value=pagevalue; 
document.pagethroughform.submit(); 
} 

//if (window.focus) {newwindow.focus()}

 function putFocus(formInst, elementInst) {
  if (document.forms.length > 0) {
   document.forms[formInst].elements[elementInst].focus();
  }
 }



