var g_aIgnore = Array(8,9,37,38,39,40,35,36,46); function GetResultingValue(ptObject, strInsert) { //IE support var strPostValue = ""; if (document.selection) { var trCaret = window.document.selection.createRange(); var trPrefix = ptObject.createTextRange(); var trSuffix = trPrefix.duplicate(); trPrefix.setEndPoint("EndToStart", trCaret); trSuffix.setEndPoint("StartToEnd", trCaret); strPostValue = trPrefix.text + strInsert + trSuffix.text; } //MOZILLA/NETSCAPE support else if (ptObject.selectionStart || ptObject.selectionStart == '0') { var startPos = ptObject.selectionStart; var endPos = ptObject.selectionEnd; strPostValue = ptObject.value.substring(0, startPos) + strInsert + ptObject.value.substring(endPos, ptObject.value.length); } //SAFARI support, //I know this isn't quite right, but if anyone can get it to work let us know!! else if (window.getSelection) { strPostValue = ptObject.value + strInsert; } return strPostValue; } function IsNotNumber(strValue) { if (strValue == ".") return false; if (isNaN(parseFloat(strValue,10))) return true; if (strValue.match(/.*[\+\-]/) != null) return true; if (strValue.match(/[^0123456789\-\+\.]/) != null) return true; if (strValue.match(/.+\..+\./) != null) return true; return false; }
Warning: Use of undefined constant DEVELOPMENT - assumed 'DEVELOPMENT' (this will throw an Error in a future version of PHP) in /home/doublet2/public_html/exponent_setup.php on line 39

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/doublet2/public_html/exponent.php on line 22

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/doublet2/public_html/exponent_bootstrap.php on line 38

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/doublet2/public_html/exponent_bootstrap.php on line 22

Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/doublet2/public_html/subsystems/autoloader.php on line 50

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/doublet2/public_html/subsystems/database/mysql.php on line 704

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/doublet2/public_html/subsystems/database/mysql.php on line 753

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/doublet2/public_html/subsystems/database/mysql.php:64 Stack trace: #0 /home/doublet2/public_html/subsystems/database.php(271): mysql_database->connect() #1 /home/doublet2/public_html/exponent.php(124): exponent_database_connect() #2 /home/doublet2/public_html/exponent.js.php(22): include_once('/home/doublet2/...') #3 /home/doublet2/public_html/pathos.js.php(31): require_once('/home/doublet2/...') #4 /home/doublet2/public_html/inputfilters.js.php(73): include_once('/home/doublet2/...') #5 {main} thrown in /home/doublet2/public_html/subsystems/database/mysql.php on line 64