<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sitesnippet SYSTEM "sitesnippet.dtd">
<!--Adobe GoLive snippet file-->
<snippet version="1.0" title="弹出窗口" type="HTML" author="Transmit Media for Adobe Systems, Inc." description="用于以特定的大小、在特定的位置弹出新的窗口的函数。">
	<markupsource>
		<![CDATA[//Pass values by calling the function elsewhere
//Example: newWindow('test.html',50,50,220,250)" opens "test.html" 
//in a new window that is 50 pixels from top and left and 220 by 250 
//pixels in size.

var popup=0;
function newWindow(newURL,left,top,width,height)
{
  popup = window.open(newURL,'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}]]>
	</markupsource>
</snippet>