// "Target OUT" hack for XHTML Strictfunction externalLinks() {  if (!document.getElementsByTagName) return;  var anchors = document.getElementsByTagName("a");  for (var i=0; i<anchors.length; i++) {    var anchor = anchors[i];    if (anchor.getAttribute("href") &&        anchor.getAttribute("rel") == "external")      anchor.target = "_blank";  } } window.onload = externalLinks;// NYT Function for Classifieds and Most Popular modules   function Accordian(target) {   	typeof target == "object" ? this.element = target : this.element = document.getElementById(target); if (!this.element) return false;     	this.ul = this.element.getElementsByTagName("ul")[0];    	this.tabs = this.ul.getElementsByTagName("li");   	this.Tabbed_Content = this.getTabbed_Content();   	this.bind();   }   Accordian.prototype.getTabbed_Content = function() {   	Tabbed_Content= new Array();       	this.divs = this.element.getElementsByTagName("div");   	for(var i = 0; i < this.divs.length; i++) {           if (/Tabbed_Content/i.test(this.divs[i].className)) {           Tabbed_Content.push(this.divs[i]);                           		}   	}   	return Tabbed_Content;   }   Accordian.prototype.bind = function() {       	var o = this;   	for(var i = 0; i < this.tabs.length; i++) {   		this.tabs[i].onclick = function() {    		   if (this.className != 'selected') {   		      o.open(this); return false;   		      var a = this.getElementsByTagName("a")[0];   		      if (a) a.onclick = function() {                     return false;                }   		   }   		}    	}   }   Accordian.prototype.open = function(caller) {       	for(var i = 0; i < this.tabs.length; i++) {   		var tab = this.tabs[i];    		if (tab == caller) {     			this.collapse();   			tab.className = "selected"   			this.Tabbed_Content[i].style.display = "block";   		}   	}   }   Accordian.prototype.collapse = function() {   	for(var i = 0; i < this.tabs.length; i++) {       		this.tabs[i].className = "";   		this.Tabbed_Content[i].style.display = "none";                    	}                                                                   }function enhanceAccordians() {	var divs = document.getElementsByTagName('div');	for (var i = 0; i < divs.length; i++) {		var element = divs[i];     		if (/accordian/i.test(element.className)) {			new Accordian(element);		}	} }// toggle visibility, the Zeldman wayfunction toggle ( targetId ) {	if (document.getElementById) {			target = document.getElementById( targetId );					if (target.style.display == "none") {							target.style.display = "";					} else {						target.style.display = "none";					}		}}