﻿var jQueryScriptOutputted = false;

function initJQuery() {

    //if the jQuery object isn't available
    if (typeof (jQuery) == 'undefined') {


        if (!jQueryScriptOutputted) {
            //only output the script once..
            jQueryScriptOutputted = true;

            //output the script (load it from google api)
            document.write("<script type=\"text/javascript\" src=\"/_layouts/jq/jquery-1.4.4.js\"></script>");
        }
        setTimeout("initJQuery()", 50);
    }

}

initJQuery();

