Sometimes, we seriously need to return multiple values from javascipt function. I believed that following piece of code will help you through this if you are in need.

function multipleValues()
{
return {america : 'USA', europe : 'UK'};
}

Thanks..

lynnnay@2009