document.write("XTSCRIPT FUNCTIONS");