function FullWin(url,name,status,resizable) {
                var winWidth = screen.availWidth
                var winHeight = screen.availHeight
				settings='width='+ winWidth+',height='+winHeight+',top=0,left=0,scrollbars=no,location=no,directories=no,status='+status+',menubar=yes,toolbar=no,resizable='+resizable+',fullscreen=yes';
FullWin = window.open(url,name, settings );
FullWinin.moveTo(0,0);
}


function CenterWin(url,name,w,h,scroll){ 

LeftPosition=(screen.width)?(screen.width-w)/2:100;
TopPosition=((screen.height)?(screen.height-h)/2:100)-30;

settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=yes,toolbar=no,resizable=no';

win=window.open(url,name,settings);
}


function NewWin(url,name,w,h,scroll){ 

settings='width='+w+',height='+h+',top=0,left=0,scrollbars='+scroll+',location=no,directories=no,status=no,menubar=yes,toolbar=no,resizable=yes';

win=window.open(url,name,settings);
}


function CloseWin() {
window.close();
}


function resizeWin(width,height,FullScreen) {
self.moveTo(0,0);
if (FullScreen=='true') {
                var width = screen.availWidth;
                var height = screen.availHeight;
				self.resizeTo(width,height);
				self.moveTo(0,0);
				}else{
self.resizeTo(width,height);
}
self.refresh();
}
