//W HUGO SAEON 12 JAN 2011 //W HUGO SAEON 07 JAN 2016 //Reader for an ATOM-based file that invokes a JSON Parser //Allows information to be specified in one or more separate data files or atom services //File can be generated from databases //Contains pointers to other ATOM and RSS feeds //Generalised to create complex home pages //////////////////////////////////////////////////////////////////////////////// //WH: These Variables Apply to the Home Page //////////////////////////////////////////////////////////////////////////////// var entries = [""]; var temp_slides = 0; var temp_icon1 = 0; //harcoded for four icon strips (12 in total) var temp_icon2 = 0; var temp_icon3 = 0; var temp_icon4 = 0; var temp_detail1 = 0; //harcoded for four detail sections (12 in total) var temp_detail2 = 0; var temp_detail3 = 0; var temp_detail4 = 0; var temp_key = ""; //INITIALISE HTML SNIPPETS var temp_String = ''; temp_Slide = temp_Slide + ''; temp_Icon1 = temp_Icon1 + ''; temp_Detail1 = temp_Detail1 + ''; } function setValues() { //alert("Here"); document.getElementById("home-pics").innerHTML = temp_String + temp_Slide; document.getElementById("icon1").innerHTML = temp_Icon1; document.getElementById("detail1").innerHTML = temp_Detail1; //alert("Here SetValues"); }