<!-- Hide code from non-js browsers

// global variables
invoked = 0;    // modified by writeItem; referred by doHR 

function update(expiryDate)
{
  exp = new Date(expiryDate);
  cur = new Date();
  if (cur.getTime() < exp.getTime()){
      document.write("<IMG SRC=\"graphics/update.gif\" WIDTH=47 HEIGHT=10 BORDER=0 ALT=\"new\">" );
  }
}

function writeItem(expiryDate, itemText)
{
  exp = new Date(expiryDate);
  cur = new Date();
  if (cur.getTime() < exp.getTime())
  {
      document.write(itemText);
      invoked = 1;
  }
}

function doHR() //This function is used to render <HR> after last writeItem call. Shall be used with writeItem only.
{
  if (invoked==1) {
    document.write("<BR><BR><HR><BR>" );
    invoked = 0;
  }
}    
    
function OpenPhotoGallery(theURL) 
{//v2.0
	window.open(theURL,'window','width=620,height=600');
}

// end hiding -->
