<!-- Hide from old browsers
var CountTime = 5;
var GoTo = "http://www.inf.ufrgs.br/~lmschnorr";
var N=(navigator.appName.indexOf('Netscape')!=-1&&parseInt(navigator.appVersion)< 5);
var S=(navigator.appName.indexOf('Netscape')!=-1&&parseInt(navigator.appVersion)> 4.9);
var M=(navigator.appName.indexOf('Microsoft')!=-1);
var foremsg = "<font face=Verdana size=2>in <B> ";
var postmsg = " </B>seconds.</FONT>";


function lastMod()
{
	var x = new Date (document.lastModified);
	Modif = new Date(x.toGMTString());
	Year = takeYear(Modif);
	Month = Modif.getMonth();
	Day = Modif.getDate();
	Mod =(Date.UTC(Year,Month,Day,0,0,0))/86400000;
	x = new Date();
	today = new Date(x.toGMTString());
	Year2 = takeYear(today);
	Month2 = today.getMonth();
	Day2 = today.getDate();
	now = (Date.UTC(Year2,Month2,Day2,0,0,0))/86400000;
	daysago = now - Mod;
	if (daysago < 0) return '';
	unit = 'days';
	if (daysago > 730) {
		daysago = Math.floor(daysago/365);
		unit = 'years';
	}else if (daysago > 60) {
		daysago = Math.floor(daysago/30);
		unit = 'months';
	}else if (daysago > 14){
		daysago = Math.floor(daysago/7);
		unit = 'weeks'
	}
	var towrite = 'Modified: ';
	if (daysago == 0) towrite += 'today';
	else if (daysago == 1) towrite += 'yesterday';
	else towrite += daysago + ' ' + unit + ' ago';
	return towrite;
}

function takeYear(theDate)
{
	x = theDate.getYear();
	var y = x % 100;
	y += (y < 38) ? 2000 : 1900;
	return y;
}

function fnStartInterval(){
	window.setInterval("CountDown()",1000);
}
function WinRefresh() {
  parent.location = GoTo;
}

function lyrWrt(Item,text) {
	if (N) {
		var lyr = document.layers[Item].document;
		lyr.open();
		lyr.write(text);
		lyr.close();
	}
	if(M)
		document.all[Item].innerHTML = text;
		if(S)
			document.getElementById(Item).innerHTML = text;
}

function CountDown() {
	if (CountTime > 1) {
		CountTime = CountTime - 1;
		lyrWrt("CountText", foremsg + CountTime + postmsg);
	}else {
		WinRefresh();
	}
}

function WriteDiv() {
	document.write("<DIV id='CountText'>");
	if (M){
		document.write(foremsg);document.write(CountTime);document.write(postmsg);
	}else {
		document.write("<LAYER id='CountText'>");
		document.write(foremsg);
		document.write(CountTime);
		document.write(postmsg);
		document.write("</LAYER>");
	}
	document.write("</DIV>");
}

function WriteManualMenu ()
{
	document.write (" \
<div class='manualmenu'> \
<b>Pajé User Manual</b><br> \
<a href='manualoverall.html'>Overall Operation</a><br>\
<a href='manualdiagram.html'>Space-Time Diagram</a><br>\
<a href='manualfilters.html'>Filters</a><br>\
</div>");
}

function WriteScreenshotMenu ()
{
	document.write (" \
<div class='menuscreenshots'> \
<b>Screenshots</b><br> \
<a href='screenshots_bh.html'>BH</a><br> \
<a href='screenshots_linpack.html'>Linpack</a><br> \
<a href='screenshots_pbs.html'>PBS</a><br> \
<a href='screenshots_surveillance.html'>Surveillance</a><br> \
<a href='screenshots_tumit.html'>Tumit</a><br> \
</div>");
}

function WriteHeader(file)
{
	document.write (" \
<div class='header'> \
<a href='http://www.sbc.org.br/sbac/2005/' border=no><img src='"+file+"'></a> \
<h1> \
SBAC-PAD 2005<br> \
<b>17th International Symposium on Computer \
Architecture and High Performance Computing</b> \
</h1>");
//WriteLastModification();
	document.write ("</div>");

}

function WriteMenu(selected) {
	document.write (" \
<div class='menu'> \
<a href='index.php'>Homepage</a><br> \
<a href='topics.html'>Topics</a><br> \
<a href='importantdates.html'>Important Dates</a><br> \
<a href='paperformat.html'>Paper Format</a><br> \
<a href='committees.html'>Committees</a><br> \
<a href='registration.html'>Registration</a><br> \
<a href='submission.html'>Submission</a><br>\
<a href='hotels.html'>Hotels</a><br> \
<a href='callforpapers.html'>Call For Papers</a><br> \
<a href='callfortutorials.html'>Call For Tutorials</a><br> \
<a href='http://www.riodejaneiro-turismo.com.br/en/home.php'>Local Information</a><br> \
<a href='contact.html'>Contact</a><br> \
<br><br> \
<p> \
Main Page<br> \
<a href='http://www.sbc.org.br/sbac'>SBAC</a><br> \
<br> \
Parallel Sessions<br> \
<a href='http://www.sbc.org.br/wscad/2005'>WSCAD 2005</a> <br>\
<a href='http://www.sbc.org.br/sbac/2005/fsad'>FSAD 2005</a> \
</p>");
//Invited Talks<br>\
//Program<br>\
//Accepted Papers</a><br>\
//<a href='necaward.html'>NEC AWARD</a><br>\
	document.write ("</div>");
}

function WriteLastModification(){
	document.write ("<div class='updated'>");
	document.write (lastMod());
	document.write ("</div>");
	
}

function WritePhoto ()
{
	document.write (" \
<div class='photo'> \
<img src='images/main/lucas.jpg'> \
<h5>Torres - RS - Brazil<br> \
February 2004</h5> \
</div>");
}

// abre janela maximizada
function abreM(url,pagina){
	window.open(url, pagina,"toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,top=0,left=0,width=800,height=600");
}

function abreC(url,pagina){
window.open(url,pagina,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=420,top=0,left=0");
}


-->

