#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.235
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Microsoft.Web.Helpers
{
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Text;
    using System.Web;
    using System.Web.Helpers;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.WebPages;
    using System.Web.WebPages.Html;
    
    public class Analytics : System.Web.WebPages.HelperPage
    {

public static System.Web.WebPages.HelperResult GetGoogleHtml(string webPropertyId) {
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {



#line 3 "..\..\Analytics.cshtml"
                                             
    var webPropertyIdJson = new HtmlString(HttpUtility.JavaScriptStringEncode(webPropertyId, addDoubleQuotes: false));


#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, @"    <script type=""text/javascript"">
        var gaJsHost = ((""https:"" == document.location.protocol) ? ""https://ssl."" : ""http://www."");
        document.write(unescape(""%3Cscript src='"" + gaJsHost + ""google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E""));
    </script>
");



WriteLiteralTo(@__razor_helper_writer, "    <script type=\"text/javascript\">\r\n        try{\r\n            var pageTracker = " +
"_gat._getTracker(\"");



#line 12 "..\..\Analytics.cshtml"
                 WriteTo(@__razor_helper_writer, webPropertyIdJson);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "\");\r\n            pageTracker._trackPageview();\r\n        } catch(err) {}\r\n    </sc" +
"ript>\r\n");



#line 16 "..\..\Analytics.cshtml"

#line default
#line hidden

});

}


public static System.Web.WebPages.HelperResult GetGoogleAsyncHtml(string webPropertyId) {
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {



#line 18 "..\..\Analytics.cshtml"
                                                  
    var webPropertyIdJson = new HtmlString(HttpUtility.JavaScriptStringEncode(webPropertyId, addDoubleQuotes: false));

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "    <script type=\"text/javascript\">\r\n        var _gaq = _gaq || [];\r\n        _gaq" +
".push([\'_setAccount\', \'");



#line 22 "..\..\Analytics.cshtml"
    WriteTo(@__razor_helper_writer, webPropertyIdJson);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, @"']);
        _gaq.push(['_trackPageview']);
        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
");



#line 30 "..\..\Analytics.cshtml"

#line default
#line hidden

});

}


public static System.Web.WebPages.HelperResult GetYahooHtml(string account) {
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {



#line 32 "..\..\Analytics.cshtml"
                                      
    var accountJson = new HtmlString(HttpUtility.JavaScriptStringEncode(account, addDoubleQuotes: false));

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "    <script type=\"text/javascript\">\r\n        window.ysm_customData = new Object()" +
";\r\n        window.ysm_customData.conversion = \"transId=,currency=,amount=\";\r\n   " +
"     var ysm_accountid = \"");



#line 37 "..\..\Analytics.cshtml"
WriteTo(@__razor_helper_writer, accountJson);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "\";\r\n        document.write(\"<SCR\" + \"IPT language=\'JavaScript\' type=\'text/javascr" +
"ipt\' \"\r\n        + \"SRC=//\" + \"srv3.wa.marketingsolutions.yahoo.com\" + \"/script/S" +
"criptServlet\" + \"?aid=\" + ysm_accountid\r\n        + \"></SCR\" + \"IPT>\");\r\n    </sc" +
"ript>\r\n");



#line 42 "..\..\Analytics.cshtml"

#line default
#line hidden

});

}


public static System.Web.WebPages.HelperResult GetStatCounterHtml(int project, string security) {
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {



#line 44 "..\..\Analytics.cshtml"
                                                          
    var securityJson = new HtmlString(HttpUtility.JavaScriptStringEncode(security, addDoubleQuotes: false));


#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "    <script type=\"text/javascript\">\r\n    var sc_project=");



#line 48 "..\..\Analytics.cshtml"
WriteTo(@__razor_helper_writer, project);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, ";\r\n    var sc_invisible=1;\r\n    var sc_security=\"");



#line 50 "..\..\Analytics.cshtml"
WriteTo(@__razor_helper_writer, securityJson);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, @""";
    var sc_text=2;
    var sc_https=1;
    var scJsHost = ((""https:"" == document.location.protocol) ? ""https://secure."" : ""http://www."");
    document.write(""<sc"" + ""ript type='text/javascript' src='"" + scJsHost + ""statcounter.com/counter/counter_xhtml.js'></"" + ""script>"");
    </script>
");



WriteLiteralTo(@__razor_helper_writer, "    <noscript>\r\n    <div class=\"statcounter\">\r\n    <a title=\"tumblrstatistics\" cl" +
"ass=\"statcounter\" href=\"http://www.statcounter.com/tumblr/\"><img class=\"statcoun" +
"ter\" src=\"https://c.statcounter.com/");



#line 58 "..\..\Analytics.cshtml"
                                                                                                                       WriteTo(@__razor_helper_writer, project);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "/0/");



#line 58 "..\..\Analytics.cshtml"
                                                                                                                                  WriteTo(@__razor_helper_writer, security);

#line default
#line hidden

WriteLiteralTo(@__razor_helper_writer, "/1/\" alt=\"tumblr statistics\"/></a></div>\r\n    </noscript>\r\n");



#line 60 "..\..\Analytics.cshtml"

#line default
#line hidden

});

}


        public Analytics()
        {
        }
    }
}
#pragma warning restore 1591
