/**打开新窗口的js
	在新窗口内打开页面
	url,winName,t,l,w,h分别表示url链接,窗口名字，top坐标,left坐标,width宽,height高，用法如下（如果没有窗口名字就打入：''，如有就打入如：‘bbs’）：
	onClick="newWin('image/info/map/sh.htm','',5,5,650,450);"
*/
function newwin(url,t,l,w,h) //url,t,l,w,h分别表示url链接,top坐标,left坐标,width宽,height高
{ 
	var temp = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top="+t+",left="+l+",width=" + w + ",height="+ h;
	var newwin=window.open(url,"",temp);
	newwin.focus();
	return false;
}

//全屏打开窗口
function newwinfull(url,t,l,w,h) //url,t,l,w,h分别表示url链接,top,left,width,height
{ 
	var temp = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top="+t+",left="+l+",width=" + w + ",height="+ h;
	var newwin1=window.open(url,"",temp);
	if (document.all)
	{
		newwin1.moveTo(0,0)
		newwin1.resizeTo(screen.availwidth,screen.availHeight)
	}
	newwin1.focus();
	return false;
}
