// Load API Code JS file.

var globalApiPath = 'http://www.fixtureslive.com/api_nocookie/';
//var globalApiPath = 'http://localhost:52565/API_local/';

var now = new Date();
var apiJS=document.createElement("script");
apiJS.type="text/javascript";
apiJS.charset="utf-8";
apiJS.src = globalApiPath + "api_code.js?nocache=" + now;
document.getElementsByTagName("head")[0].appendChild(apiJS);

//try
//  {
//      var jqVer = $().jquery;
//  }
//catch(err)
//  {
//    var apiJQ = document.createElement("script");
//    apiJQ.type = "text/javascript";
//    apiJQ.charset = "utf-8";
//    apiJQ.src = "http://code.jquery.com/jquery-latest.min.js";
//    document.getElementsByTagName("head")[0].appendChild(apiJQ);
//};
