function openP(conID,width,height,name,text,map){
	win=window.open("openp.php?conID="+conID+"&name="+name+"&text="+text+"&map="+map+"","","dependent=yes,height="+height+",width="+width+",location=no,menubar=no,scrollbars=yes,resizable=yes,status=no,toolbar=no");
}
function openP2(conID,text){
win2=window.open("openp2.php?conID="+conID+"&text="+text+"","","dependent=yes,height=768,width=1024,location=no,menubar=no,scrollbars=yes,resizable=yes,status=no,toolbar=no");
}

function openT(content){
	win=window.open('','','dependent=yes,height=480,width=640,location=no,menubar=no,resizable=yes');
	win.document.writeln('<body topmargin=0 leftmargin=0 bgcolor=#ffffff>'+content);
}


function show(d,img){
	document.all("Layer999").style.top=document.body.scrollTop+50;
	if(obj=document.all(d))	{
		Imag.src=img;
		obj.style.display="";
	}
}
window.screen.width>800?leftmar=240:leftmar=240;
document.write("<div id='Layer999' style=\"position:absolute; display:'none'; width:200px; height:122px; z-index:1; border: 1px none #000000; left: " + leftmar + "; top: 90 \"><table cellpadding=0 cellspacing=0 border=2 align=center bordercolor=#FFCC33><tr><td style='cursor:hand'><img id=Imag src='images/loading.gif' onclick=Layer999.style.display='none';Imag.src='images/loading.gif' alt='单击关闭'></td></tr></table></div>");



function newopen(str){window.open(str,"");}

var calendar = new Date();
var year = calendar.getYear();
var month = calendar.getMonth()+1;
var date = calendar.getDate();
var day = calendar.getDay();
var day_str;
switch(day){
	case 0:
		day_str="日";break;
	case 1:
		day_str="一";break;
	case 2:
		day_str="二";break;
	case 3:
		day_str="三";break;
	case 4:
		day_str="四";break;
	case 5:
		day_str="五";break;
	case 6:
		day_str="六";break;
}
