//
var isWindows = /Windows/.test(navigator.userAgent);
var availHeight;
var availWidth;
top.window.moveTo(0,0);
//
if (isWindows) {
	availHeight = screen.availHeight;
	availWidth = screen.availWidth;
	top.window.resizeTo(availWidth, availHeight);
}
else  {
	availHeight = screen.availHeight+20;
	availWidth = screen.availWidth+20;
	top.window.resizeTo(availWidth, availHeight);	
}