jsext_openerLoaded = 1;

   function JOpener(){
        this.Open = function(theURL,winName,w,h,s) { //v2.0
          var width=w;
          var height=h;
          var top=(screen.height) ? (screen.height-height)/2 : 0;
          var left=(screen.width) ? (screen.width-width)/2 : 0;
          var features = '';
        if (s==1) {features = 'scrollbars=1,width='+width+',height='+height+',top='+top+',left='+left;};
            if (s==2) {features = 'scrollbars=1,toolbar=1,status=1,resizable=1,width='+width+',height='+height+',top='+top+',left='+left;};
            if (s==0) {features = 'scrollbars=0,toolbar=1,status=0,width='+width+',height='+height+',top='+top+',left='+left;};
            if (s==3) {features = 'scrollbars=0,toolbar=0,status=0,resizable=0,width='+width+',height='+height+',top='+top+',left='+left;};
        window.open(theURL,winName,features);
  }
}

function MM_openBrWindow(theURL,winName,w,h,s) { //v2.0
        var width=w;
        var height=h;
        var top=(screen.height) ? (screen.height-height)/2 : 0;
        var left=(screen.width) ? (screen.width-width)/2 : 0;
        var features = '';
        
		if (s==1) {features = 'dependent=1,scrollbars=1,width='+width+',height='+height+',top='+top+',left='+left;};
	    if (s==2) {features = 'scrollbars=1,toolbar=1,status=1,resizable=1,width='+width+',height='+height+',top='+top+',left='+left;};
	    if (s==0) {features = 'scrollbars=0,toolbar=1,status=0,width='+width+',height='+height+',top='+top+',left='+left;};
	    if (s==3) {features = 'scrollbars=0,toolbar=0,status=0,resizable=0,width='+width+',height='+height+',top='+top+',left='+left;};
        
        
        window.open(theURL,winName,features);
}

function showEx0pen(windowname,w,h){
  myWindow = window.open(windowname, "tinyWindow", 'scrollbars=1, width='+w+',height='+h+'');
}

