
/*if(document.getElementById) {
	window.alert = function(txt) {
		var TARGET_ID = "ca_ldr";
		var e;
		
		// are we in an unframed page?
		if(window.frames == null) {
			e = document.getElementById(TARGET_ID);

		} else {
			if(window.frames.length > 0) {
				// iterate through the frames in the frameset and search each one for the target element
				for(var i = 0; i < window.frames.length; i++) {
					e = window.frames[i].document.getElementById(TARGET_ID);
					// if we found it, stop looking
					if(e != null) { break; }
				}
			}
		}

		// do whatever it is that this is doing ONLY if we've located the target element
		if(e != null) { e.src="http://www.carclub.com/alerthandler.aspx?msg=" + escape(txt); }
	}
}*/

if(document.getElementById) {
	window.alert = function(txt) {
		document.getElementById("ca_ldr").src="http://www.carclub.com/alerthandler.aspx?msg=" + escape(txt);
	}
}


