Javascript String Value Becomes Is Null Inside Called Function

Javascript String Value Becomes Is Null Inside Called Function