cntstr = '2010/12/29~2011/1/3'; document.open(); document.write(cntstr); document.close;