google_ad_client = "pub-0214842990443005";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";

function leapto(form) {
	var myindex=form.dest.selectedIndex
	location.href=(form.dest.options[myindex].value);
	}
	
function getContent(page){
		document.getElementById('dynocontent').innerHTML = "Searching............";
		var xmlhttp=false; //Clear our fetching variable
        try {
                xmlhttp = new ActiveXObject('Msxml2.XMLHTTP'); //Try the first kind of active x object…
        } catch (e) {
                try {
                        xmlhttp = new
                        ActiveXObject('Microsoft.XMLHTTP'); //Try the second kind of active x object
            } catch (E) {
                xmlhttp = false;
                        }
        }
        if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
                xmlhttp = new XMLHttpRequest(); //If we were able to get a working active x object, start an XMLHttpRequest
        }
		//myRand=ipaddress;
		//cache buster
		//var myurl='http://www.mydomain.com/data.php';
		//myRand=parseInt(Math.random()*99999999); 
		// end cache buster search.php?rand=' + myRand + '&page='
        var file = ''; 
    try{ 
		xmlhttp.open('GET', file + page, true);
	}
	catch (e) {
		document.getElementById('dynocontent').innerHTML = 'No records found';
	}
    xmlhttp.onreadystatechange=function() {
        if (xmlhttp.readyState==4) { //Check if it is ready to recieve data
		 if (xmlhttp.status == 200) { // OK response
                var content = xmlhttp.responseText; //The content data which has been retrieved ***
                if( content ){ //Make sure there is something in the content variable
                      document.getElementById('dynocontent').innerHTML = content; //Change the inner content of your div to the newly retrieved content ****
                }
				else document.getElementById('dynocontent').innerHTML ='';
        	}
		}
     }
        xmlhttp.send(null) //Nullify the XMLHttpRequest
return;
}
