I have php function in the code call friend .. when I try to call in the hava scipt it gives me an erro that the function can not be found. Why is that? However, when I copy the function in a new file ...