var speed = 0.2;

function prtTest(id,width,height,padding) {
	var attributes = {   
		width: { to: width },
		height: { to: height },
		paddingTop: { to: padding },
		paddingRight: { to: padding },
		paddingLeft: { to: padding },
		paddingBottom: { to: padding }
		};   
	var anim = new YAHOO.util.Anim(id, attributes, speed); 
	anim.animate();  
	}


function prtWidth(id,width) {
	var attributes = {   
		width: { to: width }
		};   
	var anim = new YAHOO.util.Anim(id, attributes, speed); 
	anim.animate();  
	}
	
function prtHeight(id,height) {
	var attributes = {   
		height: { to: height } 
		};   
	var anim = new YAHOO.util.Anim(id, attributes, speed); 
	anim.animate();  
	}
	
function prtMargin(id,margin) {
	var attributes = {   
		margin: { to: margin } 
		};   
	var anim = new YAHOO.util.Anim(id, attributes, 0.8); 
	anim.animate();  
	}
	
function prtMouseOver(id) {
	prtTest(id,200,200,0);
	
	// Change text colour
	//document.getElementById(id+'Title').style.color = '#000000';
	document.getElementById(id+'Box').style.borderTop = '1px solid #ed1f24';
	document.getElementById(id+'Box').style.borderRight = '1px solid #ed1f24';
	document.getElementById(id+'Box').style.borderBottom = '1px solid #ed1f24';
	document.getElementById(id+'Box').style.borderLeft = '1px solid #ed1f24';
	document.getElementById(id+'Text').style.background = '#ed1f24';
	}
	
function prtMouseOut(id) {
	prtTest(id,130,130,35);
	
	// Change text colour
	//document.getElementById(id+'Title').style.color = '#ffffff';
	document.getElementById(id+'Box').style.borderTop = '1px solid #959595';
	document.getElementById(id+'Box').style.borderRight = '1px solid #959595';
	document.getElementById(id+'Box').style.borderBottom = '1px solid #959595';
	document.getElementById(id+'Box').style.borderLeft = '1px solid #959595';
	document.getElementById(id+'Text').style.background = '#959595';
	}