function resizewindow(width,height) {
	window.resizeTo(width,height);
	
	var w = window.document.body.clientWidth;
	var h = window.document.body.clientHeight;
	
	window.resizeTo(width+(width-w),height+(height-h),menubar=0);
} 

function openwindow(file,wid,hei) {
	var	str;
	str = "width=" + wid;
	str += ",height=" + hei;
	str += ",resizable=no";
	window.open(file,"ImageWindow",str);
	return false; 
} 

function openwindow_sc(file,wid,hei) {
	var	str;
	str = "width=" + wid;
	str += ",height=" + hei;
	str += ",resizable=no,scrollbars=yes";
	window.open(file,"ImageWindow",str);
	return false; 
} 

function openwindow2(file,wid,hei) {
	var	str;
	str = "width=" + wid;
	str += ",height=" + hei;
	str += ",resizable=yes,scrollbars=yes";
	window.open(file,"ImageWindow",str);
	return false; 
} 


function openWin(a,b,c)
{
	win=window.open(a, b, c);
	win.moveTo(0,0);
	return false; 
} 

