var xmlhttp;
function loadXMLDoc(url) {
	xmlhttp=null;
	if (window.XMLHttpRequest) {// code for Firefox, Opera, IE7, etc.
		xmlhttp=new XMLHttpRequest();
	} else if (window.ActiveXObject) {// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	if (xmlhttp!=null) {
		xmlhttp.onreadystatechange=state_Change;
		xmlhttp.open("GET",url,true);
		xmlhttp.send(null);
	} else {
		alert("Your browser does not support XMLHTTP.");
	}
}

function state_Change() {
	if (xmlhttp.readyState==4) {// 4 = "loaded"
		if (xmlhttp.status==200) {// 200 = "OK"
			document.getElementById('video1').innerHTML=xmlhttp.responseText;
			runScripts(document.getElementById('video1'));
		} else {
			alert("Problem retrieving data:" + xmlhttp.statusText);
		}
	}
}



function loadXMLDocThumbs5(url) {
	xmlhttp=null;
	if (window.XMLHttpRequest) {// code for Firefox, Opera, IE7, etc.
		xmlhttp=new XMLHttpRequest();
	} else if (window.ActiveXObject) {// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	if (xmlhttp!=null) {
		xmlhttp.onreadystatechange=state_Change2;
		xmlhttp.open("GET",url,true);
		xmlhttp.send(null);
	} else {
		alert("Your browser does not support XMLHTTP.");
	}
}

function state_Change2() {
	if (xmlhttp.readyState==4) {// 4 = "loaded"
		if (xmlhttp.status==200) {// 200 = "OK"
			document.getElementById('videothumbs5').innerHTML=xmlhttp.responseText;
			runScripts(document.getElementById('video1'));
		} else {
			alert("Problem retrieving data:" + xmlhttp.statusText);
		}
	}
}

function runScripts(e) {
	if (e.nodeType != 1) return; //if it's not an element node, return
 
	if (e.tagName.toLowerCase() == 'script') {
		eval(e.text); //run the script
	}
	else {
		var n = e.firstChild;
		while ( n ) {
			if ( n.nodeType == 1 ) runScripts( n ); //if it's an element node, recurse
			n = n.nextSibling;
		}
	}
}
/*
<button onclick="loadXMLDoc('test_xmlhttp2.txt')">Click</button>

yesterday my kids found a female cat, about a year old, maybe a bit younger. we can't keep her b/c we have 2 un-neutered males. she is very sweet and purrs real loud. it's very cute and very playful. 
please come and get her, i will NOT give her to the shelter b/c lakewood's shelter kills, but i will have to give her to a new home pretty soon. 

call marci or derek 

both 216 numbers 
712 4855 - 272 2647 

*/