var type = 1; var recordCount= 4737263; if (type > 0) { document.write(recordCount); }