// Calendar table
var cw=156;//日历宽度
var ch=178;//日历高度
var bcolor='#7DB6C7';//背景色
var hfcolor='#FFFFFF';//抬头文字颜色
var hfsize='12px';//抬头文字字号
var wbcolor='#FFFFFF';//星期栏背景色
var wfcolor='#000000';//星期栏文字颜色
var wfsize='12px';//星期栏文字字号
var dbcolor='#E2F0F6';//日期背景色
var dfcolor='#0C687F';//日期文字颜色
var dfsize='12px';//日期文字字号
var dcbcolor='#FFFFFF';//当前日期背景颜色
var dcfcolor='#CC0000';//当前日期文字颜色

if (BrowserType()!='OP6') {
	document.write('<div id="newcalendar" style="Z-INDEX:100; position:absolute;visibility:hidden;width:'+cw+'px;height:'+ch+';background:'+bcolor+';">');
	document.write('<iframe src="calendar.htm" name="framecalendar" width="'+cw+'" height="'+ch+'" border="0" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no"></iframe>');
	document.write('</div>');
}
//for Canendar
function showCalendar(strTag,strDivid,intDw,intDh,strTarget)
{
	if (BrowserType()=='OP6') {alert('请依照YYYY-MM-DD的格式自行填写日期。');return;}
	moveToTag(strTag,strDivid,intDw,intDh);
	shObj(strDivid,'show');
	window.frames['framecalendar'].document.printCal.transfer.value=strTarget;
}

