function newWindow(loc, num, height, width){	
		if(height == -99 || height > 550)
			height = 550;
		if(width == -99 || width > 750)
		width  = 750;
		win = window.open(loc,'win','resizable=yes,left=5,top=5,toolbar=no,menubar=no,scrollbars=yes,location=no,width=' + width +',height='+ height);
		win.focus();
	}
	
	function enlargePic(loc, num, height, width){	
		if(height == -99 || height > 550)
			height = 550;
		if(width == -99 || width > 750)
		width  = 750;
		win = window.open('/site/epage/user_view_large_image.jsp?page=' + loc,'win','resizable=yes,left=5,top=5,toolbar=no,menubar=no,scrollbars=yes,location=no,width=' + width +',height='+ height);
		win.focus();
	}

	function newLinkWindow(loc){	
		win = window.open(loc,'link','resizable=yes,left=5,top=5,toolbar=yes,menubar=yes,scrollbars=yes,location=yes,width=500,height=500');
		win.focus();
	}

	function newDocWindow(loc){	
		
		win = window.open(loc,'doc','resizable=yes,left=5,top=5,toolbar=yes,menubar=yes,scrollbars=yes,location=no,width=500,height=500');
		win.focus();
	}