function wrtDate() {
	var d = new Date();
	document.write(d.getYear());
}

//flash object
function Fo(w,h,ver,path) {
		
		document.write("<object type=\"application/x-shockwave-flash\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+ver+",0,0,0\" width=\""+w+"\" height=\""+h+"\">");
		document.write("<param name=movie value=\"" + path + "\" />"); 
   		document.write("<param name=menu value=false />"); 
  		document.write("<param name=quality value=best />"); 
		//document.write("<param name=bgcolor value=\""+bgcolor+"\" />"); 
		document.write("<param name=scale value=exactfit />");
		document.write("<param name=wmode value=transparent />");
		//document.write("<param name=FlashVars value=\""+sec+"\" />");
  		document.write("<embed src=\"" + path + "\" menu=false  wmode=transparent quality=best  scale=exactfit pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\">"); //FlashVars=\""+sec+"\" bgcolor=\""+bgcolor+"\"
   		document.write("</embed></object>"); 
		
		}	
				
function EmailFormat(eAddress) {
		var ToAddress = eAddress;
		document.write("<a href=\"mailto:"+eAddress+"\">Email</a>");
	}
	
function EmailFormatName(eAddress,eName) {
		document.write("<a href=\"mailto:"+eAddress+"\">Email "+eName+"</a>");
	}	

function nwPop(p,w,h) {
	SX = Math.round((screen.availWidth - w) / 2);
	SY = Math.round((screen.availHeight - h) / 2);
	NewWin=open('/vimages/'+p,'newwin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,width='+w+',height='+h+',screenX='+SX+',left='+SX+',screenY='+SY+',top='+SY);
}
