function getRefToDivNest(divID,oDoc){
	if(!oDoc){oDoc=document;}
	if(document.layers){
		if(oDoc.layers[divID]){return oDoc.layers[divID];}else{
			for(var x=0,y;!y&&x<oDoc.layers.length;x++){
				y=getRefToDivNest(divID,oDoc.layers[x].document);}
			return y;}}
	if(document.getElementById){return document.getElementById(divID);}
	if(document.all){return document.all[divID];}
	return document[divID];
}
function drawLogo(l,b,w,h,p,yOf,s) {
	with(navigator){if(appName=="Netscape"){wid='left:'+((innerWidth/2-389)>0?(innerWidth/2-389):0)+'px;';w=w-14;
	}else{wid='';}}
	window.logoCount=(typeof(window.logoCount)=='number')?window.logoCount+1:0;
	if(document.layers){
		document.write('<layer id="logoNum'+window.logoCount+'" height="'+h+'" width="'+w+'"'+(b?' bgcolor="'+b+'"':'')+'>'+l+'</layer>');
	}else{
		document.write('<div id="logoNum'+window.logoCount+'" style="position:absolute;z-index:65536;'+(b?'background-color:'+b+';':'')+'height:'+h+'px;width:'+w+'px;'+wid+'">'+l+'</div>');}
	window.setInterval('aniLogo('+p+','+s+','+w+','+h+','+yOf+','+window.logoCount+')',50);
}
function aniLogo(p,s,w,h,yOf,n){
	var myLogo=getRefToDivNest('logoNum'+n);
	if(!myLogo){return;}
	if(myLogo.style){myLogo=myLogo.style;}
	var scrH=0,scrOfY=0;
	if(typeof(window.innerWidth)=='number'){scrH=window.innerHeight;}else{
		if(document.documentElement&&document.documentElement.clientHeight){
			scrH=document.documentElement.clientHeight;}else{
			if(document.body&&document.body.clientHeight){
				scrH=document.body.clientHeight;}}}
	if(typeof(window.pageYOffset)=='number') {scrOfY=pageYOffset;scrOfX=pageXOffset;}else{
		if(document.body&&document.body.scrollTop){scrOfY=document.body.scrollTop;}else{
			if(document.documentElement&&document.documentElement.scrollTop){scrOfY=document.documentElement.scrollTop;}}}
	var oPix=document.childNodes?'px':0;
	myLogo.top=(yOf+((p<3)?0:scrH-h)+(s?scrOfY:0))+oPix;}
drawLogo(
	'<table align ="center" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif" color="#fbe992"><strong>Requirements:</strong> <a href="http://www.java.com/en/download/manual.jsp" title="http://www.java.com/en/download/manual.jsp" target="self" style="text-decoration:none; color:white;">Java virtual machine</a>, resolution 1024x768 and pop-up window enabled. Designed by <a href="http://www.darcizia.com" target="self" style="text-decoration:none; color:white;" title="www.darcizia.com">Darcizia&reg; Int\'l Multimedia Est.</a> &copy; 2001-2007</font></td></tr></table>',
	'#3A7734',  //background colour - blank for transparent
	1002,  //width required by logo
	16,  //height required by logo
	3,   //position of logo: 1 = top-left, 2 = top-right, 3 = bottom-left, 4 = bottom-right
	0,  //vertical offset from normal position in corner (normally 0)
	true //scroll with screen
);