
function TDmouseOver(trimg)
{
	//alert(trimg.height);
	trimg.bgColor ="#CEE1F3";
}

function ChangeBlueImage(imgid)
{
	imgid.src="../Images/blue.gif"
}

function ChangeRedImage(imgid)
{
	
	imgid.src="../Images/red.gif"
	
}
function TDmouseout(trimg)
{
	trimg.bgColor ="";
}

function ChangeBRedImage(imgid,imgParent)
{
	
	imgid.src="../Images/red.gif"
	imgParent.src="../Images/wihteF.gif"
	
}

function ChangewhiteImage(imgid,imgParent)
{
	imgid.src="../Images/wihteF.gif"
	imgParent.src="../Images/red.gif"
}


function TDBmouseOver(trimg)
{
	trimg.bgColor ="#CEE1F3";
}

function TDBmouseout(trimg)
{
	trimg.bgColor ="#E9EEF2";
}


function InChangeBRedImage(imgid)
{
	
	imgid.src="../Images/red.gif"
	
}

function InChangewhiteImage(imgid)
{
	imgid.src="../Images/wihteF.gif"
}

function checkLength(evt,ctlText,length)
{
	if (evt.keyCode==8 || evt.keyCode== 17||  (evt.keyCode>32&&evt.keyCode<41))
		return true;		
	var reallen=ctlText.value.length;
	var flag=0;
	for(i=0;i<ctlText.value.length;i++)
	{
		if(ctlText.value.charCodeAt(i)>255)
			reallen++;
		if((i+reallen-ctlText.value.length)==length) 
			flag=i;
	}
	if (reallen>length)
	{
		evt.returnValue=false;
		return false
	}
}
