AjaMyAjax.apply(this);function init(){try{var a=document.referrer;a?(a=escape(a),$("ajalog.php?uid=ajamyajax&ref="+a+"&pg=","mainmenu","logo","php",null,null,null,null,null,!1)):$("ajalog.php?uid=ajamyajax&pg=","mainmenu","logo","php",null,null,null,null,null,!1)}catch(b){alert("Browser upgrade probably needed to run this");return}$("rssfeed.xml",null,"rssfeedID","XSL");aja_reveal("rssfeedID");aja_reveal("realtimeID")}
function cloak_submenu(){aja_cloak("submenuID");aja_cloak("rssfeedID");aja_cloak("ajaxfeedID");aja_cloak("rcornerID3");aja_cloak("rcornerID4");aja_empty("infotextID")}
function display_empty(){aja_cloak("displayID2");aja_cloak("displayID3");aja_cloak("displayID4");aja_cloak("displayID5");aja_cloak("displayID6");aja_cloak("displayID7");aja_cloak("displayID8");aja_cloak("rssfeedID");aja_cloak("ajaxfeedID");aja_cloak("rcornerID3");aja_cloak("rcornerID4");aja_empty("rssfeedID");aja_empty("displayID1");aja_empty("infotextID")}
function aja(a){if(a){switch(a){case "Download":cloak_submenu();display_empty();$("download.html",null,"displayID1","html");break;case "Examples":display_empty();aja_reveal("submenuID");example1();break;case "Resources":cloak_submenu();display_empty();$("resources.xml",null,"displayID1","xml",null,null,null,null,!0,!0);break;case "Sample Feed":cloak_submenu();display_empty();$("rssfeed.xml",null,"rssfeedID","XSL");aja_reveal("rssfeedID");aja_reveal("ajaxfeedID");break;case "Feedback":cloak_submenu();
display_empty();$("feedback.html",null,"displayID1","html",null,null,null,null,!0,!0);break;default:alert(a+" details not available yet")}$("ajalog.php?uid=ajamyajax&pg=",a,"logo","php",null,null,null,null,null,!1)}}function example1a(){display_empty();$("desserts.xml",null,"displayID2","xml",null,null,16706,null,!0,!0);aja_reveal("displayID2");aja_fill("infotextID","(basic XML table)")}
function example1(){display_empty();$("expenses.xml",null,"displayID3","XML","HTable",null,6449);aja_reveal("rcornerID3");aja_reveal("displayID3");aja_fill("infotextID","(XML in horizontal table format)")}function example2(){display_empty();$("complang.xml",null,"displayID4","XML","HTable",null,7157);aja_reveal("rcornerID4");aja_reveal("displayID4");aja_fill("infotextID","(Another XML file in horizontal table format)")}
function example3(){display_empty();$("hybrids.xml",null,"displayID8","XSL");aja_reveal("displayID8");aja_fill("infotextID","(XML with eXtensible Stylesheet Language Transformation)")}function example4(){display_empty();$("geniuses.json",null,"displayID5","JSON");aja_reveal("displayID5");aja_fill("infotextID","(JSON data into formatted text)")}
function example5(){display_empty();$("desserts.json",null,"displayID6","JSON",null,"Cake");aja_reveal("displayID6");aja_fill("infotextID","(JSON data with added search)")}function example6(){display_empty();$("rssfeed.xml",null,"rssfeedID","XSL");aja_reveal("ajaxfeedID");aja_reveal("rssfeedID")}function example7(){display_empty();$("contactsdemo.php",null,"displayID1","PHP");aja_fill("infotextID","(PHP retrieving selected table data)")}
function example8(){display_empty();$("worldpop.xml",null,"displayID7","XML","Chart");aja_reveal("displayID7");aja_fill("infotextID","(world population XML chart)")}function aja_datetime(){var a=new Date,b=a.getHours(),c=a.getMinutes(),d=a.getSeconds(),e=b<12?"AM":"PM";b>12&&(b-=12);c<10&&(c="0"+c);d<10&&(d="0"+d);a=a.getMonth()+1+"-"+a.getDate()+"-"+a.getFullYear();aja_fill("realtimeID","["+a+" "+(b+":"+c+":"+d+" "+e)+"]")}
function showwhatsnew(){$("whatsnew.html",null,"rolloverID","HTML",null,null,null,null,!1);aja_reveal("rolloverID")}function hidewhatsnew(){aja_cloak("rolloverID");aja_empty("rolloverID")};

