From: "Saved by Windows Internet Explorer 8" Subject: Vow to Harris taxpayers on stadiums may be broken | Houston & Texas News | Chron.com - Houston Chronicle Date: Wed, 16 Sep 2009 10:56:33 -0500 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CA36BC.5AB567B0" X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CA36BC.5AB567B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.chron.com/disp/story.mpl/metropolitan/6615963.html
Stadium promise to taxpayers may be brokenBad economy means public funds may be needed after allBy BRADLEY OLSON
|
|
" + exceptionDetails(e) + = "]");=0A= result["exception"] =3D e;=0A= return result;=0A= }=0A= return resultArr.join("");=0A= }=0A= this.name =3D tmplName;=0A= this.source =3D tmplContent; =0A= this.sourceFunc =3D funcSrc;=0A= this.toString =3D function() { return "TrimPath.Template [" + = tmplName + "]"; }=0A= }=0A= TrimPath.parseTemplate_etc.ParseError =3D function(name, line, = message) {=0A= this.name =3D name;=0A= this.line =3D line;=0A= this.message =3D message;=0A= }=0A= TrimPath.parseTemplate_etc.ParseError.prototype.toString =3D = function() { =0A= return ("TrimPath template ParseError in " + this.name + ": line = " + this.line + ", " + this.message);=0A= }=0A= =0A= var parse =3D function(body, tmplName, etc) {=0A= body =3D cleanWhiteSpace(body);=0A= var funcText =3D [ "var TrimPath_Template_TEMP =3D = function(_OUT, _CONTEXT, _FLAGS) { with (_CONTEXT) {" ];=0A= var state =3D { stack: [], line: 1 }; = // TODO: Fix line number counting.=0A= var endStmtPrev =3D -1;=0A= while (endStmtPrev + 1 < body.length) {=0A= var begStmt =3D endStmtPrev;=0A= // Scan until we find some statement markup.=0A= begStmt =3D body.indexOf("{", begStmt + 1);=0A= while (begStmt >=3D 0) {=0A= var endStmt =3D body.indexOf('}', begStmt + 1);=0A= var stmt =3D body.substring(begStmt, endStmt);=0A= var blockrx =3D stmt.match(/^\{(cdata|minify|eval)/); // = From B. Bittman, minify/eval/cdata implementation.=0A= if (blockrx) {=0A= var blockType =3D blockrx[1]; =0A= var blockMarkerBeg =3D begStmt + blockType.length + = 1;=0A= var blockMarkerEnd =3D body.indexOf('}', = blockMarkerBeg);=0A= if (blockMarkerEnd >=3D 0) {=0A= var blockMarker;=0A= if( blockMarkerEnd - blockMarkerBeg <=3D 0 ) {=0A= blockMarker =3D "{/" + blockType + "}";=0A= } else {=0A= blockMarker =3D = body.substring(blockMarkerBeg + 1, blockMarkerEnd);=0A= } =0A= =0A= var blockEnd =3D body.indexOf(blockMarker, = blockMarkerEnd + 1);=0A= if (blockEnd >=3D 0) { = =0A= emitSectionText(body.substring(endStmtPrev + = 1, begStmt), funcText);=0A= =0A= var blockText =3D = body.substring(blockMarkerEnd + 1, blockEnd);=0A= if (blockType =3D=3D 'cdata') {=0A= emitText(blockText, funcText);=0A= } else if (blockType =3D=3D 'minify') {=0A= emitText(scrubWhiteSpace(blockText), = funcText);=0A= } else if (blockType =3D=3D 'eval') {=0A= if (blockText !=3D null && = blockText.length > 0) // From B. Bittman, eval should not execute until = process().=0A= funcText.push('_OUT.write( = (function() { ' + blockText + ' })() );');=0A= }=0A= begStmt =3D endStmtPrev =3D blockEnd + = blockMarker.length - 1;=0A= }=0A= } =0A= } else if (body.charAt(begStmt - 1) !=3D '$' && = // Not an expression or backslashed,=0A= body.charAt(begStmt - 1) !=3D '\\') { = // so check if it is a statement tag.=0A= var offset =3D (body.charAt(begStmt + 1) =3D=3D '/' = ? 2 : 1); // Close tags offset of 2 skips '/'.=0A= = // 10 is larger than maximum statement tag length.=0A= if (body.substring(begStmt + offset, begStmt + 10 + = offset).search(TrimPath.parseTemplate_etc.statementTag) =3D=3D 0) =0A= break; = // Found a match.=0A= }=0A= begStmt =3D body.indexOf("{", begStmt + 1);=0A= }=0A= if (begStmt < 0) // In = "a{for}c", begStmt will be 1.=0A= break;=0A= var endStmt =3D body.indexOf("}", begStmt + 1); // In = "a{for}c", endStmt will be 5.=0A= if (endStmt < 0)=0A= break;=0A= emitSectionText(body.substring(endStmtPrev + 1, begStmt), = funcText);=0A= emitStatement(body.substring(begStmt, endStmt + 1), state, = funcText, tmplName, etc);=0A= endStmtPrev =3D endStmt;=0A= }=0A= emitSectionText(body.substring(endStmtPrev + 1), funcText);=0A= if (state.stack.length !=3D 0)=0A= throw new etc.ParseError(tmplName, state.line, "unclosed, = unmatched statement(s): " + state.stack.join(","));=0A= funcText.push("}}; TrimPath_Template_TEMP");=0A= return funcText.join("");=0A= }=0A= =0A= var emitStatement =3D function(stmtStr, state, funcText, tmplName, = etc) {=0A= var parts =3D stmtStr.slice(1, -1).split(' ');=0A= var stmt =3D etc.statementDef[parts[0]]; // Here, parts[0] = =3D=3D for/if/else/...=0A= if (stmt =3D=3D null) { // Not a real = statement.=0A= emitSectionText(stmtStr, funcText);=0A= return;=0A= }=0A= if (stmt.delta < 0) {=0A= if (state.stack.length <=3D 0)=0A= throw new etc.ParseError(tmplName, state.line, "close = tag does not match any previous statement: " + stmtStr);=0A= state.stack.pop();=0A= } =0A= if (stmt.delta > 0)=0A= state.stack.push(stmtStr);=0A= =0A= if (stmt.paramMin !=3D null &&=0A= stmt.paramMin >=3D parts.length)=0A= throw new etc.ParseError(tmplName, state.line, "statement = needs more parameters: " + stmtStr);=0A= if (stmt.prefixFunc !=3D null)=0A= funcText.push(stmt.prefixFunc(parts, state, tmplName, etc));=0A= else =0A= funcText.push(stmt.prefix);=0A= if (stmt.suffix !=3D null) {=0A= if (parts.length <=3D 1) {=0A= if (stmt.paramDefault !=3D null)=0A= funcText.push(stmt.paramDefault);=0A= } else {=0A= for (var i =3D 1; i < parts.length; i++) {=0A= if (i > 1)=0A= funcText.push(' ');=0A= funcText.push(parts[i]);=0A= }=0A= }=0A= funcText.push(stmt.suffix);=0A= }=0A= }=0A= =0A= var emitSectionText =3D function(text, funcText) {=0A= if (text.length <=3D 0)=0A= return;=0A= var nlPrefix =3D 0; // Index to first non-newline = in prefix.=0A= var nlSuffix =3D text.length - 1; // Index to first = non-space/tab in suffix.=0A= while (nlPrefix < text.length && (text.charAt(nlPrefix) =3D=3D = '\n'))=0A= nlPrefix++;=0A= while (nlSuffix >=3D 0 && (text.charAt(nlSuffix) =3D=3D ' ' || = text.charAt(nlSuffix) =3D=3D '\t'))=0A= nlSuffix--;=0A= if (nlSuffix < nlPrefix)=0A= nlSuffix =3D nlPrefix;=0A= if (nlPrefix > 0) {=0A= funcText.push('if (_FLAGS.keepWhitespace =3D=3D true) = _OUT.write("');=0A= var s =3D text.substring(0, nlPrefix).replace('\n', '\\n'); = // A macro IE fix from BJessen.=0A= if (s.charAt(s.length - 1) =3D=3D '\n')=0A= s =3D s.substring(0, s.length - 1);=0A= funcText.push(s);=0A= funcText.push('");');=0A= }=0A= var lines =3D text.substring(nlPrefix, nlSuffix + 1).split('\n');=0A= for (var i =3D 0; i < lines.length; i++) {=0A= emitSectionTextLine(lines[i], funcText);=0A= if (i < lines.length - 1)=0A= funcText.push('_OUT.write("\\n");\n');=0A= }=0A= if (nlSuffix + 1 < text.length) {=0A= funcText.push('if (_FLAGS.keepWhitespace =3D=3D true) = _OUT.write("');=0A= var s =3D text.substring(nlSuffix + 1).replace('\n', '\\n');=0A= if (s.charAt(s.length - 1) =3D=3D '\n')=0A= s =3D s.substring(0, s.length - 1);=0A= funcText.push(s);=0A= funcText.push('");');=0A= }=0A= }=0A= =0A= var emitSectionTextLine =3D function(line, funcText) {=0A= var endMarkPrev =3D '}';=0A= var endExprPrev =3D -1;=0A= while (endExprPrev + endMarkPrev.length < line.length) {=0A= var begMark =3D "${", endMark =3D "}";=0A= var begExpr =3D line.indexOf(begMark, endExprPrev + = endMarkPrev.length); // In "a${b}c", begExpr =3D=3D 1=0A= if (begExpr < 0)=0A= break;=0A= if (line.charAt(begExpr + 2) =3D=3D '%') {=0A= begMark =3D "${%";=0A= endMark =3D "%}";=0A= }=0A= var endExpr =3D line.indexOf(endMark, begExpr + = begMark.length); // In "a${b}c", endExpr =3D=3D 4;=0A= if (endExpr < 0)=0A= break;=0A= emitText(line.substring(endExprPrev + endMarkPrev.length, = begExpr), funcText); =0A= // Example: exprs =3D=3D 'firstName|default:"John = Doe"|capitalize'.split('|')=0A= var exprArr =3D line.substring(begExpr + begMark.length, = endExpr).replace(/\|\|/g, "#@@#").split('|');=0A= for (var k in exprArr) {=0A= if (exprArr[k].replace) // IE 5.x fix from Igor = Poteryaev.=0A= exprArr[k] =3D exprArr[k].replace(/#@@#/g, '||');=0A= }=0A= funcText.push('_OUT.write(');=0A= emitExpression(exprArr, exprArr.length - 1, funcText); =0A= funcText.push(');');=0A= endExprPrev =3D endExpr;=0A= endMarkPrev =3D endMark;=0A= }=0A= emitText(line.substring(endExprPrev + endMarkPrev.length), = funcText); =0A= }=0A= =0A= var emitText =3D function(text, funcText) {=0A= if (text =3D=3D null ||=0A= text.length <=3D 0)=0A= return;=0A= text =3D text.replace(/\\/g, '\\\\');=0A= text =3D text.replace(/\n/g, '\\n');=0A= text =3D text.replace(/"/g, '\\"');=0A= funcText.push('_OUT.write("');=0A= funcText.push(text);=0A= funcText.push('");');=0A= }=0A= =0A= var emitExpression =3D function(exprArr, index, funcText) {=0A= // Ex: foo|a:x|b:y1,y2|c:z1,z2 is emitted as = c(b(a(foo,x),y1,y2),z1,z2)=0A= var expr =3D exprArr[index]; // Ex: exprArr =3D=3D = [firstName,capitalize,default:"John Doe"]=0A= if (index <=3D 0) { // Ex: expr =3D=3D = 'default:"John Doe"'=0A= funcText.push(expr);=0A= return;=0A= }=0A= var parts =3D expr.split(':');=0A= funcText.push('_MODIFIERS["');=0A= funcText.push(parts[0]); // The parts[0] is a modifier function = name, like capitalize.=0A= funcText.push('"](');=0A= emitExpression(exprArr, index - 1, funcText);=0A= if (parts.length > 1) {=0A= funcText.push(',');=0A= funcText.push(parts[1]);=0A= }=0A= funcText.push(')');=0A= }=0A= =0A= var cleanWhiteSpace =3D function(result) {=0A= result =3D result.replace(/\t/g, " ");=0A= result =3D result.replace(/\r\n/g, "\n");=0A= result =3D result.replace(/\r/g, "\n");=0A= result =3D result.replace(/^(\s*\S*(\s+\S+)*)\s*$/, '$1'); // = Right trim by Igor Poteryaev.=0A= return result;=0A= }=0A= =0A= var scrubWhiteSpace =3D function(result) {=0A= result =3D result.replace(/^\s+/g, "");=0A= result =3D result.replace(/\s+$/g, "");=0A= result =3D result.replace(/\s+/g, " ");=0A= result =3D result.replace(/^(\s*\S*(\s+\S+)*)\s*$/, '$1'); // = Right trim by Igor Poteryaev.=0A= return result;=0A= }=0A= =0A= // The DOM helper functions depend on DOM/DHTML, so they only work = in a browser.=0A= // However, these are not considered core to the engine.=0A= //=0A= TrimPath.parseDOMTemplate =3D function(elementId, optDocument, = optEtc) {=0A= if (optDocument =3D=3D null)=0A= optDocument =3D document;=0A= var element =3D optDocument.getElementById(elementId);=0A= var content =3D element.value; // Like textarea.value.=0A= if (content =3D=3D null)=0A= content =3D element.innerHTML; // Like textarea.innerHTML.=0A= content =3D content.replace(/</g, "<").replace(/>/g, ">");=0A= return TrimPath.parseTemplate(content, elementId, optEtc);=0A= }=0A= =0A= TrimPath.processDOMTemplate =3D function(elementId, context, = optFlags, optDocument, optEtc) {=0A= return TrimPath.parseDOMTemplate(elementId, optDocument, = optEtc).process(context, optFlags);=0A= }=0A= }) ();=0A= =0A= ------=_NextPart_000_0000_01CA36BC.5AB567B0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cleanprint.net/js/2273/pd.js?ps=6 =0A= function FDCPClient()=0A= {=0A= this.cpHost =3D "cleanprint.net";=0A= this.divid=3D"2273";=0A= this.refid=3D"2361";=0A= this.rt =3D "i";=0A= this.cpstatus =3D false;=0A= this.ptstatus =3D "y";=0A= this.printSpecId =3D 0;=0A= this.fdDebug =3D false;=0A= this.cpc =3D null;=0A= this.blkwidth=3D0;=0A= this.xpathLib =3D "";=0A= this.shost =3D "cleanprint.net";=0A= this.hosted =3D "fd";=0A= =0A= // moved from the printtracker FormatDynamicsPT object=0A= this.pthosts =3D "formatdynamics.com,cleanprint.net";=0A= this.autoRefreshCSS =3D "true";=0A= this.autoRefreshTime =3D "30000";=0A= =0A= this.isPtCss=3Dfunction(content) {=0A= var phosts =3D this.pthosts.split(',');=0A= for(var i =3D 0; i < phosts.length; i++) {=0A= if(content.indexOf(phosts[i]) !=3D -1)=0A= return true;=0A= }=0A= return false;=0A= }=0A= =0A= // templatetest var to pull templates from a directory=0A= this.templateTest =3D false;=0A= =0A= // 's' for standalone and 'c' for combined. A standalone install turns = off registration for=0A= // PrintTracker events=0A= this.insType =3D "c";=0A= =0A= this.escCom =3D function(st) {=0A= st =3D new st.constructor(st);=0A= st =3D st.replace(/:/g, "::");=0A= st =3D st.replace(/,/g, ":,");=0A= return st;=0A= }=0A= =0A= this.getSegment=3Dfunction () { =0A= var fdSegment =3D "other";=0A= try=0A= {=0A= if(typeof SECTION !=3D "undefined" && SECTION !=3D null)=0A= {=0A= fdSegment=3DSECTION;=0A= var idx =3D fdSegment.indexOf('/');=0A= if(idx > 0)=0A= fdSegment =3D fdSegment.substring(0, idx);=0A= }=0A= }=0A= catch(err){}=0A= return fdSegment + ",other,other";=0A= }=0A= =0A= this.getPFF =3D function() { =0A= return "0";=0A= }=0A= =0A= this.getVR =3D function() { =0A= var fdSegment =3D "other";=0A= try=0A= {=0A= if(typeof SECTION !=3D "undefined" && SECTION !=3D null)=0A= {=0A= fdSegment=3DSECTION;=0A= var idx =3D fdSegment.indexOf('/');=0A= if(idx > 0)=0A= fdSegment =3D fdSegment.substring(0, idx);=0A= }=0A= }=0A= catch(err){}=0A= return {section:fdSegment};=0A= }=0A= =0A= this.onPrint =3D function() { =0A= =0A= }=0A= =0A= this.getBlockThreshold =3D function() {=0A= return 500;=0A= }=0A= =0A= this.getCfg=3Dfunction(ckey, cdef) {=0A= if(this.cpc !=3D null && typeof this.cpc[ckey] !=3D 'undefined')=0A= return this.cpc[ckey];=0A= return cdef;=0A= }=0A= =0A= this.getTHost=3Dfunction() {=0A= if(this.shost.length > 0 && document.location.protocol =3D=3D "https:")=0A= return this.shost;=0A= else=0A= return this.cpHost;=0A= }=0A= this.getcpStat=3Dfunction() { return this.getCfg('cpStatus', = this.cpstatus); }=0A= this.getptStat=3Dfunction() { return this.getCfg('ptStatus', = this.ptstatus); }=0A= this.getDiv=3Dfunction() { return this.getCfg('divisionId', = this.divid); }=0A= this.getTmpl=3Dfunction() { return this.getCfg('templateId', null); }=0A= this.getRfmt =3D function() { return this.getCfg('templateId', = this.refid); } =0A= this.getTPath =3D function() { return this.getCfg('tPath', null); }=0A= this.getLPath =3D function() { return this.getCfg('lPath', null); }=0A= this.getTO =3D function() { return this.getCfg('timeout', 10000); }=0A= this.getTemplateTest =3D function() { return = this.getCfg('templateTest', this.templateTest); }=0A= this.getXpathLib =3D function() { return this.getCfg('xpathLib', = this.xpathLib); }=0A= =0A= this.getAutoRefreshCSS =3D function() { return = this.getCfg('autoRefreshCSS', this.autoRefreshCSS); }=0A= this.getAutoRefreshTime =3D function() { return = this.getCfg('autoRefreshTime', this.autoRefreshTime); }=0A= this.getPtHosts =3D function() { return this.getCfg('pthosts', = this.pthosts); }=0A= this.getFDDebug =3D function() { return this.getCfg('fdDebug', = this.fdDebug); }=0A= =0A= this.getRType=3D function() {=0A= return this.rt;=0A= }=0A= =0A= this.getIframeUrls=3Dfunction(){=0A= =0A= }=0A= =0A= this.onCpLoad =3D function(){=0A= =0A= }=0A= =0A= this.cpServletPath=3Ddocument.location.protocol + "//" + = this.getTHost() + "/cp/psj";=0A= =0A= this.getCalculatedPrintSpecId =3D function(){=0A= return "6"; =0A= }=0A= =0A= }=0A= =0A= =0A= =0A= =0A= var FDCPLoader =3D {=0A= =0A= count: 0,=0A= tint: 500,=0A= tmax: 10000,=0A= tagg: 0,=0A= incyc: false,=0A= loaded: false,=0A= divId: 0,=0A= printSpecId: 0,=0A= cpDef:{},=0A= FDCPClient:new FDCPClient(),=0A= =0A= =0A= getCfg: function(ckey, cdef) {=0A= if(this.cpc !=3D null && typeof this.cpc[ckey] !=3D 'undefined')=0A= return this.cpc[ckey];=0A= return cdef;=0A= },=0A= =0A= loadcp: function() {=0A= =0A= =0A= this.cpc =3D FDCPLoader.FDCPClient.cpc;=0A= =0A= if(this.cpc.cpStatus =3D=3D 'n'){=0A= FDCPLoader.tagg =3D FDCPLoader.tmax + 1;=0A= return;=0A= }=0A= var jsloc =3D this.getCfg('codeBase', null);=0A= =0A= var e =3D document.createElement('script');=0A= e.src =3D this.validatePath(jsloc , "cp.js");=0A= e.type =3D 'text/javascript';=0A= document.getElementsByTagName("head")[0].appendChild(e);=0A= =0A= this.loadXPathLib();=0A= },=0A= =0A= loadXPathLib: function() {=0A= =0A= var xpathUrl =3D null;=0A= =0A= if (typeof this.FDCPClient.xpathLib =3D=3D "undefined" || = this.FDCPClient.xpathLib =3D=3D null || this.FDCPClient.xpathLib =3D=3D = "")=0A= {=0A= xpathUrl =3D this.getCfg('xpathLib', null);=0A= =0A= if (xpathUrl =3D=3D null){=0A= xpathUrl =3D this.getCfg('codeBase', null);=0A= xpathUrl =3D this.removeFileFromPath(xpathUrl, "cp.js"); =0A= }=0A= }=0A= else=0A= xpathUrl =3D this.FDCPClient.xpathLib;=0A= =0A= if (navigator.appName =3D=3D "Microsoft Internet Explorer")=0A= {=0A= var e =3D document.createElement('script');=0A= e.src =3D this.validatePath(xpathUrl , "xpath.js");=0A= e.type =3D 'text/javascript';=0A= document.getElementsByTagName("head")[0].appendChild(e);=0A= }=0A= },=0A= =0A= removeFileFromPath: function(path, file){=0A= =0A= if (path.indexOf(file) > 1)=0A= {=0A= var lastSlashIndex =3D path.search(/[^/]*$/);=0A= return path.substr(0, lastSlashIndex);=0A= }=0A= else=0A= {=0A= return path;=0A= }=0A= },=0A= =0A= getPDScriptUrl: function(){=0A= =0A= var snodes =3D document.getElementsByName('cleanprintloader');=0A= var url =3D "";=0A= =0A= if(snodes.length > 0) {=0A= url =3D snodes[0].src;=0A= }=0A= else {=0A= =0A= snodes =3D document.getElementsByTagName('SCRIPT');=0A= =0A= for(var i =3D 0; i < snodes.length; i++) {=0A= if(snodes[i].name =3D=3D 'cleanprintloader') {=0A= url =3D snodes[i].src;=0A= break;=0A= }=0A= }=0A= }=0A= =0A= return url;=0A= },=0A= =0A= =0A= loadPrintSpec: function(){=0A= if(!this.loaded) {=0A= this.loaded =3D true;=0A= var pdSrc =3D this.getPDScriptUrl();=0A= =0A= if (this.FDCPClient.hosted =3D=3D "fd" && pdSrc.length > 0)=0A= this.divId =3D this.getDivisionId(pdSrc);=0A= else=0A= this.divId =3D this.FDCPClient.divid;=0A= =0A= this.printSpecId =3D this.getPrintSpecId(pdSrc);=0A= =0A= var url =3D this.FDCPClient.cpServletPath;=0A= url +=3D "?useCache=3Dfalse";=0A= url +=3D "&divId=3D" + this.divId;=0A= =0A= var psid =3D null;=0A= =0A= if(typeof this.FDCPClient.getCalculatedPrintSpecId !=3D "undefined" = && this.divId !=3D 'tester')=0A= {=0A= try=0A= {=0A= psid =3D this.FDCPClient.getCalculatedPrintSpecId();=0A= }=0A= catch(err)=0A= {=0A= return;=0A= }=0A= }=0A= =0A= url +=3D "&printSpecId=3D" + ((typeof psid =3D=3D 'undefined' || psid = =3D=3D null) ? this.printSpecId : psid); =0A= =0A= var cpDefScript =3D document.createElement('script');=0A= cpDefScript.src =3D url;=0A= cpDefScript.type =3D 'text/javascript';=0A= document.getElementsByTagName("head")[0].appendChild(cpDefScript);=0A= }=0A= },=0A= =0A= validatePath: function(path , jsFile){=0A= if (path.indexOf(jsFile) > 1)=0A= return path;=0A= else=0A= {=0A= if (path.charAt(path.length -1) =3D=3D "/")=0A= return path + jsFile;=0A= else=0A= return path + "/" + jsFile;=0A= } =0A= },=0A= =0A= getPrintSpecId: function(pdSrc)=0A= {=0A= var queryString =3D pdSrc.replace(/^[^\?]+\??/,'');=0A= =0A= var params =3D this.parseQuery( queryString );=0A= =0A= return params['ps'];=0A= =0A= },=0A= =0A= getDivisionId: function(pdSrc)=0A= {=0A= var tmpUrl =3D pdSrc.replace(/[^/]*$/,"");=0A= var lastSlashIndex =3D tmpUrl.search(/[^/]*$/);=0A= var divId =3D tmpUrl.substr(0, lastSlashIndex -1);=0A= lastSlashIndex =3D divId.search(/[^/]*$/);=0A= divId =3D divId.substr(lastSlashIndex, divId.length);=0A= =0A= return divId;=0A= },=0A= =0A= =0A= parseQuery: function( query ) {=0A= var Params =3D new Object ();=0A= if ( ! query ) return Params; // return empty object=0A= var Pairs =3D query.split(/[;&]/);=0A= for ( var i =3D 0; i < Pairs.length; i++ ) {=0A= var KeyVal =3D Pairs[i].split('=3D');=0A= if ( ! KeyVal || KeyVal.length !=3D 2 ) continue;=0A= var key =3D unescape( KeyVal[0] );=0A= var val =3D unescape( KeyVal[1] );=0A= val =3D val.replace(/\+/g, ' ');=0A= Params[key] =3D val;=0A= }=0A= return Params;=0A= },=0A= =0A= cpJsLoaded:false,=0A= xpathJsLoaded:navigator.appName !=3D "Microsoft Internet Explorer",=0A= registerModuleLoaded: function(moduleName){=0A= if(moduleName =3D=3D "cp.js"){=0A= this.cpJsLoaded =3D true;=0A= }=0A= else if(moduleName =3D=3D "xpath.js"){=0A= this.xpathJsLoaded =3D true;=0A= }=0A= if(this.xpathJsLoaded && this.cpJsLoaded){=0A= fdcp.replacePrintLinks();=0A= }=0A= }=0A= =0A= }=0A= =0A= function FDCPUrl(pfLink) {=0A= =0A= if(typeof fdcp =3D=3D 'undefined') {=0A= =0A= if(FDCPLoader.incyc =3D=3D false)=0A= FDCPLoader.incyc =3D true;=0A= =0A= if(FDCPLoader.tagg > FDCPLoader.tmax) {=0A= =0A= FDCPLoader.incyc =3D false;=0A= window.print();=0A= return false;=0A= }=0A= =0A= FDCPLoader.tagg +=3D FDCPLoader.tint;=0A= =0A= setTimeout("FDCPUrl(" + pfLink + ")", FDCPLoader.tint);=0A= =0A= return false;=0A= }=0A= else=0A= FDCPLoader.incyc =3D false;=0A= =0A= fdcp.linkPrintHandler(pfLink);=0A= return false;=0A= }=0A= =0A= // a simple ajax object getter=0A= function fdGetAjaxObj(){=0A= if(window.XMLHttpRequest){=0A= return new XMLHttpRequest(); //Not IE=0A= }else if(window.ActiveXObject){=0A= return new ActiveXObject("Microsoft.XMLHTTP"); //IE=0A= }else{=0A= return null;=0A= }=0A= }=0A= =0A= if (window.addEventListener) {=0A= window.addEventListener("load", function() { = FDCPLoader.loadPrintSpec(); }, true);=0A= }=0A= else if (window.attachEvent) {=0A= window.attachEvent("onload", function() { FDCPLoader.loadPrintSpec(); = });=0A= }=0A= //force after 10 seconds anyways in case something is hanging the page = from firing the onload event (i.e. slow ad tag)=0A= setTimeout("FDCPLoader.loadPrintSpec();", 8000);=0A= =0A= =0A= ------=_NextPart_000_0000_01CA36BC.5AB567B0--