How to check if a function is already defined ?
function test(){} if(typeof test != "undefined") // function is allready defined