function topicsedit2(pageid){

	dd = new Date();
	YY = dd.getYear();
	MMl = dd.getMonth();
	MM = String(MMl + 1 + "");
	DD = dd.getDate();
	DDl = DD - 3000;
	ddl = new Date(YY,MMl,DDl,00,00,00);
	hh = dd.getHours();
	mm = dd.getMinutes();
	ss = dd.getSeconds();
	if (YY < 2000) { YY += 1900; }
	if (MM < 10) { MM = "0" + MM; }
	if (DD < 10) { DD = "0" + DD; }
	if (hh < 10) { hh = "0" + hh; }
	if (mm < 10) { mm = "0" + mm; }
	if (ss < 10) { ss = "0" + ss; }
	var nowdate = ""+YY+MM+DD+hh+mm+ss;
	YYl = ddl.getYear();
	MMl = String(ddl.getMonth() + 1 + "");
	DDl = ddl.getDate();
	if (YYl < 2000) { YYl += 1900; }
	if (MMl < 10) { MMl = "0" + MMl; }
	if (DDl < 10) { DDl = "0" + DDl; }
	var limitdate = ""+YYl+MMl+DDl+"000000";
	i=0;
	str="";
	return(str);

}
