// This version only works for onChange events from select objects
// but the select object can have any name, unlike goToURL which requires
// the select object to be named "section"
// Function for Classifieds and Most Popular modules
// Load TimesPeople
// already registered
// unregistered
// if ddObj.className != "dropDown" throw new Error this.elementId + " is not a valid DropDown. Please make sure you have provided it a CSS class of 'dropDown'." ;
// function furlIttitle, url, clip, referrer, partner {
// var furlit=window.openbuildURLtitle, url, clip, referrer, partner, true,'myfurlwindow','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes';
// furlit.focus;
// return false;
// }
// homepage default: 900000 15 min;
// resetting timeout
// check again later
// 1 year default
// set to yesterday, to expire cookie
// code for embedding NYTInline audio player
// vars needed for this function should already be declared
// in case of multiple embedded players
// we are. See if we are linking it to the audio.
// add link begin
// add URL
// add link end
// add icon image
// add close of link
// add a space after the image
// if there is a headline, add it.
// add the headline.
// add the "mp3" with the "mp3" linked to the audio file.
// 1. Change this URL base pre-deployment
// 2. Adjust the following page type-specific params as needed; channelId and videoId are optional defaults
// 2. Check the player type, make sure it's available
// 2.5 Check for required options
// 3. Looks like the playerType is valid, get local ref to the static params
// 4. If there is an 'options' param, see about using it
// NYT_Logger "here" ;
// 4. Set some more params
// Now, write the iframe out to the currently loading/rendering document object
// Should only be at this point if this *is* a legacy player load //
// Check for legacy parameters //
// make public
// bail out if there is an InsideNYTimesBrowser browser already
// total number of items to be displayed at one time
// how many items to scroll by when clicking next or previous
// use innerHTML + html-encoded entity so that the ">>" displays correctly
// on pages with iso-8859-1 *and* UTF-8 character encoding
// use innerHTML + html-encoded entity so that the ">>" displays correctly
// on pages with iso-8859-1 *and* UTF-8 character encoding
// use innerHTML + html-encoded entity so that the ">>" displays correctly
// on pages with iso-8859-1 *and* UTF-8 character encoding
// re-populate
// use native browser JS 1.6 implementation if available
// simulate other verbs over post
// when GET, append parameters to URL
// user-defined headers
// avoid memory leak in MSIE: clean up
// DOM level 2 ECMAScript Language Binding
// removes whitespace-only text node children
// Safari bug
// All *Width and *Height properties give 0 on elements with display none,
// so enable the element temporarily
// Opera returns the offset relative to the positioning context, when an
// element is position relative but top and left have not been defined
// Position.prepare; // To be done manually by Scripty when it needs it.
// Position.prepare; // To be done manually by Scripty when it needs it.
// Safari fix
// find page position of source
// find coordinate system to use
// delta [0,0] will do fine with position: fixed elements,
// position:absolute needs offsetParent deltas
// correct by body offsets fixes Safari
// set position
// returns '0px' for hidden elements; we want it to return null
// returns the border-box dimensions rather than the content-box
// dimensions, so we subtract padding and borders from the value
// IE doesn't report offsets correctly for static elements, so we change them
// to "relative" to get the values, then change them back.
// Trigger hasLayout on the offset parent so that IE6 reports
// accurate offsetTop and offsetLeft values for position: fixed.
// Safari returns margins on body which is incorrect if the child is absolutely
// positioned. For performance reasons, redefine Element#cumulativeOffset for
// KHTML/WebKit only.
// IE and Opera are missing .innerHTML support for TABLE-related and SELECT elements
// extend methods for specific tags
// extend methods for all tags Safari doesn't need this
// Safari 3 chokes on :*-of-type and :empty
// XPath can't do namespaced attributes, nor can it read
// the "checked" property from DOM nodes
// use the Selector.assertions methods unless the selector
// is too complex.
// reluctantly do a document-wide search
// and look for a match in the array
// digit only
// an+b
// combinators must be listed first
// and descendant needs to be last combinator
// selectors follow
// for Selector.match and Element#match
// UTILITY FUNCTIONS
// joins two collections
// marks an array of nodes for counting
// mark each child node with its position for nth calls
// "ofType" flag indicates whether we're indexing for nth-of-type
// rather than nth-child
// filters out duplicates and extends all nodes
// COMBINATOR FUNCTIONS
// TOKEN FUNCTIONS
// fastlane for ordinary descendant combinators
// handles the an+b logic
// handles nth-last-child, nth-last-of-type, and first|last-of-type
// just a number
// an+b
// IE treats comments as element nodes
// IE returns comment nodes on getElementsByTagName"*".
// Filter them out.
// IE improperly serializes _countedByPrototype in inner|outerHTML.
// a key is already present; construct an array of values
// extend element because hasAttribute may not be native
// This should be moved to script.aculo.us; notice the deprecated methods
// further below, that map to the newer Element methods.
// set to true if needed, warning: firefox performance problems
// NOT neeeded for page scrolling, only if draggable contained in
// scrollable elements
// must be called before calling withinIncludingScrolloffset, every time the
// page is scrolled
// caches x/y coordinate pair to use with overlap
// within must be called directly before
// Deprecation layer -- use newer Element methods now 1.5.2.
// Call this externally to apply changes
// Retrievers
// Builders
// Dom Node Generators
// Utilities
// 2008/12/04 15:25:31
// display first as this allows things to be done right in Safari 2
// START WEBTRENDS JS TAG
// Include WebTrends wtid.js
// END WEBTRENDS JS TAG
// START REVENUE SCIENCE PIXELLING CODE
// END REVENUE SCIENCE PIXELLING CODE
// Load TimesPeople
// Add module and replaces any previous ones
// -->