Can you help me get these two javascript codes to work together?

Printable View