function AnalyticsTrackEvent(type, action, detail)
{
    try
    {
       _gaq.push(['_trackEvent', type, action, detail]);
    }
    catch(ex)
    {
    }
}

