1var isLocalStorage = false; 2var mxLoadStylesheets = false; 3 4function getUrlParam(param) 5{ 6 var result = (new RegExp(param + '=([^&]*)')).exec(window.location.search); 7 8 if (result != null && result.length > 0) 9 { 10 return decodeURIComponent(result[1].replace(/\+/g, '%20')); 11 } 12 13 return null; 14}; 15 16var remoteMath = getUrlParam('remoteMath') == '1'; 17var fallbackFont = getUrlParam('fallbackFont'); 18