function showMonthViewCalender(str){
var xmlHttp3;
xmlHttp3 = GetXmlHttpObject();
//If we cant do the request error out
if (xmlHttp3==null) {
alert ("Browser does not support HTTP Request")
return
}
//First build the navigation panel
var url="http://www.careerguidance.ie/calender.php"
url=url+"?sid="+Math.random()
//Once the page finished loading put it into the div
xmlHttp3.onreadystatechange=stateChanged
//Get the php page
xmlHttp3.open("GET",url,true)
xmlHttp3.send(null)
function stateChanged() {
//IF this is getting called when the page is done loading the states then output the div
if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete") {
document.getElementById("month_view_calender").innerHTML=xmlHttp3.responseText;
}
}
}
function GetXmlHttpObject() {
//Determine what browser we are on and make a httprequest connection for ajax
var xmlHttp=null;
try {
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
}
catch (e) {
//Internet Explorer
try {
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp;
}
function monthViewCalNavigation(mon){
var mon;
var xmlHttp4;
xmlHttp4 = GetXmlHttpObject();
//If we cant do the request error out
if (xmlHttp4==null) {
alert ("Browser does not support HTTP Request")
return
}
//First build the navigation panel
var url="http://www.careerguidance.ie/calender.php"
url=url+"?mon="+mon
url=url+"&sid="+Math.random();
//Once the page finished loading put it into the div
xmlHttp4.onreadystatechange = stateChanged;
//Get the php page
xmlHttp4.open("GET",url,true);
xmlHttp4.send(null);
function stateChanged() {
//IF this is getting called when the page is done loading the states then output the div
if (xmlHttp4.readyState==4 || xmlHttp4.readyState=="complete") {
document.getElementById("month_view_calender").innerHTML=xmlHttp4.responseText;
}
}
}
document.write('
');document.write('