<!--
function animHideShow(iff) {
// to replay
	if (!document.getElementById) location.href="http://www.chem.yorku.ca";
	makeInvisible("peering");
	makeInvisible("contact");
	makeInvisible("links");
	document.getElementById('peering').innerHTML = "Ag";
	setTimeout("document.getElementById('peering').innerHTML = 'Aga';",200);
	setTimeout("document.getElementById('peering').innerHTML = 'Agai';",400);
	setTimeout("document.getElementById('peering').innerHTML = 'Again';",600);
	setTimeout("document.getElementById('peering').innerHTML = 'Again ...';",800);
//	setTimeout("document.getElementById('peering').innerHTML = '<span><img width=455 height=320 border=0 src=\"images2/newFrontAnim.gif\"><//span>';",1500);
//	makeVisible("peering");
	setTimeout("location.href='home.htm';",1500);
	}
function makeList() {
	var i;
	for (i = 0; i < listItems.length; i++) {
// <br> is required after every </li> by Safari, otherwise the list items are not spaced out vertically
		document.write("<li"+(listItems[i].Class.length?" class='"+listItems[i].Class+"'":"")+"><a title='"+listItems[i].altText+"' href='"+listItems[i].url+"'>"+listItems[i].text+"</A></li><br>");
		if (listItems[i].hasDropDown && pass == listItems[i].showKey) {
			document.write('<li><form name="'+listItems[i].DropDown.formName+'"><table border=0><tr><td colspan=2><select name="'+listItems[i].DropDown.selectName+'">');
			for (var j = 0; j < listItems[i].DropDown.optionNames.length; j++) {
				document.write('<option '+(j==0?'selected ':'')+'value="'+listItems[i].DropDown.optionValues[j]+'">'+listItems[i].DropDown.optionNames[j]+'</option>');
				}
			document.write("</select></td></tr><tr><td align=right><input type='button' value='"+listItems[i].DropDown.buttonValue+"' onclick='javascript:"+listItems[i].DropDown.response+"'></td><td align=right><input type='button' value='Hide' onclick='javascript:location.href=\"home.htm\";'></td></tr></table></form></li><br>");
			}
		}
	}
h = new Array();
w = new Array();
function Proceed() {
	MoveTo("links",0,-parseInt(Height("contact"))-parseInt(Height("peering")));
	MoveTo("contact",0,-parseInt(Height("peering")));
	setTimeout('makeVisible("toggle");',17000);
}
function showContact() {
	makeInvisible("peering");
	if (!isVisible("contact")) {makeVisible("contact");makeInvisible("links");}
	else { makeInvisible("contact"); makeVisible("peering"); }
}
function showLinks() {
	makeInvisible("peering");
	if (!isVisible("links")) {
		makeVisible("links");
		makeInvisible("contact");
		makeInvisible("peering");
		}
	else { makeInvisible("links"); makeVisible("peering"); }
}
function loadLinks(bit) {
	LinksDiv = document.getElementById("links");
	Category = eval(bit);
	if (!Category) return;
	var text = "<br><table width=100% border=0><th></th><th colspan=3>Links to "+unescape(bit)+"</th><tr><td width=5%>&nbsp;</td><td colspan=3 style='font-size:9pt'>clicking any of these will open a new window</td></tr><tr valign='top'>";
	for (var i = 0; i < Category.length; i++) {
		text += "<td width=5%>&nbsp;</td><td width=45%><a href='"+Category[i][1]+"' target='_new'><b>"+Category[i][0]+"</b></a></td>";
		if (i%2 == 1) text += "</tr><tr valign='top'>";
		}
	text += "</tr><tr><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td class='smallbodytext'>Please report a <a href='mailto:pgpotvin@yorku.ca?subject=broken link'><b>broken link</b></a></td><td>&nbsp;</td><td class='smallbodytext'>Suggest a <a href='mailto:pgpotvin@yorku.ca?subject=new link'><b>new link</b></a></td></tr><tr><td colspan=2 align=right><br><input type='button' value='Return' onClick='showLinks();'></td></tr></table>";
	LinksDiv.innerHTML = text;
	showLinks();
}
function doFooter() {
	document.write("<center><table border=0><tr>");
	for (i = 0; i < 4; i++) {
		document.write("<td><a class='smallboYdirtext' title='"+listItems[i].altText+"' href='"+listItems[i].url+"'>"+listItems[i].text+"</A>"+(i<3?"   |</td>":"</td>"));
		}
	document.write("</tr></table><table border=0><tr>");
	for (i = 4; i < 8; i++) {
		document.write("<td><a class='smallboYdirtext' title='"+listItems[i].altText+"' href='"+listItems[i].url+"'>"+listItems[i].text+"</A>"+(i<7?"   |</td>":"</td>"));
		}
	document.write("</tr></table><table border=0><tr>");
	for (i = 9; i < listItems.length-1; i++) {
		document.write("<td><a class='smallboYdirtext' title='"+listItems[i].altText+"' href='"+listItems[i].url+"'>"+listItems[i].text+"</A>"+(i<listItems.length-2?"   |</td>":"</td>"));
		}
	document.write('</tr></table></center>');
	document.write("<center><table border=0><tr><td class='smallboYdirtext'>Please report any <a class='smallboYdirtext' href=\"mailto:pgpotvin@yorku.ca?subject=broken link\">broken links</a>   |</td><td class='smallboYdirtext'>Web site <a class='smallboYdirtext' href=\"mailto:pgpotvin@yorku.ca?subject=web site comments\">comments?</a></td></tr></table>");
	}
function runFlash() {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="367" HEIGHT="340" id="thingsFlash" ALIGN="center"><PARAM NAME=movie VALUE="things.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#ffffff><EMBED src="things.swf" quality=high bgcolor=#15e WIDTH="367" HEIGHT="340" NAME="thingsFlash" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
	}
//-->

