<!--

name = "igor tele.pw.edu";
contact = name.substring(0,4) + "@" + name.substring(5,16) + ".pl";

var wys;

function reload()
{
  		 pageurl=unescape(self.location);
		 document.location.href=pageurl;
}

function autoHeight()
{

	 	 var margin=44;

		 if (document.all) 
		 { 
		   	margin+=0; 
			document.body.style.overflow = 'scroll'; 
		 }
		 if (!(wys=((document.all)?document.body.offsetHeight-4:innerHeight))) wys=400;
		 if (!(sze=((document.all)?document.body.offsetWidth-4:innerWidth))) sze=400;
		 
		 document.writeln("<td width='100%' align='center' valign='middle' height='"+(wys-margin)+"'>");

//		 ^style='border-bottom: solid; border-bottom-width: 1px;	border-bottom-color: #000000; border-top: solid; border-top-width: 1px;	border-top-color: #000000;'

		// document.writeln("<div style='position:absolute; left:" +(sze - 90) +  "; top:" +(wys-margin+24)+  "; '><small><a class='matelier' href='http://matelier.com/'>&nbsp;matelier.com&nbsp;</a></small></div>");
}

function chLanguage()
{

selLang=document.lang.chLang.value;

switch (selLang) 
{
 	   case "English": window.location.href="index.html"; break;
	   case "Polski": window.location.href="pl.html"; break;
	   default: document.lang.reset();
}


}

function lastUpdated(format)
{
datUpdated = new Date(document.lastModified) ;
datMonth = datUpdated.getMonth() + 1 ;
datDate = datUpdated.getDate() ;
datYear = datUpdated.getYear() ;
if (datYear < 2000) datYear = datYear + 1900;



if (format=='pl') 
	document.write("Ostatnia modyfikacja strony " + datDate + "/" + datMonth + "/" + datYear) 
else
	document.write("Site last updated " + datMonth + "/" + datDate + "/" + datYear) ;


}

//-->
