// 状态栏显示　60度添加时间开始
<!-- Begin
function dateinbar()
{
var d=new Date();
var mon=d.getMonth()+1;
var year=d.getFullYear();
var date=d.getDate();
var h=d.getHours();
var m=d.getMinutes();
var s=d.getSeconds();
var AorP=" ";
if (h>=12)
    AorP="PM";
else
    AorP="AM";
if (h>=13)
    h=h-12;
if (s<10)
    s="0"+s;
if (m<10)
    m="0"+m;
defaultStatus = "建议采用1024*768分辨率进入本系统-合肥市园林局欢迎您  当前日期 "+year+"年"+mon+"月"+date+"日 "+" 当前时间 " + h+":"+m+":"+s+" "+AorP;
setTimeout("dateinbar()",1000);
}
dateinbar();
// 60度添加时间结束


//内容打印函数
function doPrint()
{
	var mContent = document.all.printer.innerHTML;
	parti='<br><br><br><br>'+mContent;
    document.body.innerHTML = parti;
    window.print();
}


function gotourl(url,sname,swidth,sheight,sreplace,sclose)
{
	var objNewWin;				
	if (swidth=="") swidth = "790";
	if (sheight=="") sheight = "580";
	
	//var swidth=screen.availWidth-10;
	//var sheight=screen.availHeight-30;

	if (sreplace=="") sreplace = false;
	if (sclose=="") sclose = false;
	objNewWin = window.open(url,sname,"fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=" + swidth + ",height=" + sheight + ",top=0,left=0",sreplace);	
	//alert(objNewWin.opener.dialogLeft);
	// + "aaa" + objNewWin.opener.screenTop);
	if (sclose) window.close();
	objNewWin.focus();	
}
