function writeStyleInfo()
 {
 document.writeln('<LINK REL="SHORTCUT ICON" HREF="../favicon.ico">');
 document.writeln('<link href="../conference.css" rel="StyleSheet" type="text/css">');
 }

function writeModDate()
 {
var dateMod = ""  ;
dateMod = document.lastModified ;
document.write(" Last Update: ");
document.write(dateMod);
document.write('<br>');
 }

function writeVersionInfo()
 {
document.write('Conferences.VisionBib.com version. Mirror site: ');
document.write('<a href="http://iris.usc.edu/Information/Iris-Conferences.html"> The USC Version</a><br>');
 }

function writeHeaderInfo()
 {
document.write('Information provided by the conference organizers');
document.write(' who are responsible for the content.<br>');
document.write('<a href="http://conferences.visionbib.com/conference_search.html">Search the complete conference listings</a>.&nbsp;');
document.write('<a href="http://conferences.visionbib.com/Browse-conf.php">List near-term deadlines.</a>&nbsp;');
document.write('<a href="http://conferences.visionbib.com/Browse-data.php">Browse summary listing.</a>');
document.write(' <h2>Conference Information</h2>');
writeModDate();
}

function writeFooterInfo()
 {
document.write('<ADDRESS>Maintained by <a href="http://www.visionbib.com/">Keith Price</a>, ');
document.write('<a href="mailto:price@usc.edu">price@usc.edu</a>.</ADDRESS> ');
document.write('To list an appropriate conference: email a text version of the summary information.');
document.write(' A text version of the call for papers is also useful.<br>');
document.write('<a href="http://conferences.visionbib.com/conference_search.html">Search the complete conference listings</a>.&nbsp;&nbsp;');
document.write('<a href="http://conferences.visionbib.com/Browse-conf.php">List near-term deadlines.</a>&nbsp;&nbsp;');
document.write('<a href="http://conferences.visionbib.com/Browse-data.php">Browse summary listing.</a><br>');
writeVersionInfo();
document.write('<a href="index.html">Index for This Year (Past meetings)</a><br>');
document.write('<a href="http://conferences.visionbib.com/">Conference Home Page</a>.&nbsp;&nbsp;');
document.write(' <a href="http://www.visionbib.com/privacy.html">Privacy Policy</a>.');
 }

function wrDate(deadline)
 {
var today=new Date()
var todayplus=new Date()
var date=new Date()
todayplus.setDate(todayplus.getDate()+15)
date.setTime(Date.parse(deadline))
if ((date>todayplus) || (deadline.length < 5))
  document.write(deadline)
else if (date>today)
  document.write('<font color="green"><b>Soon: '+deadline+'</b></font>')
else
  document.write('<font color="red">Past: '+deadline+'</font>')
 }

function fbLink(conf,date)
 {
document.write('<a href="http://apps.facebook.com/computervisionconf/index.php?conf='+conf+'&year='+date+'"><img src="facebook.jpg">Facebook Conference Interest</a>')
 }

