function fixPNG(element)
{
	if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent))
	{
		var src;
	
		if (element.tagName=='IMG') 
		{
			if (/\.png$/.test(element.src)) 
			{
				src = element.src;
				element.src = "/files/x.gif"; 
			}
		}
		else 
		{
			src = element.currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i);
			if (src)
			{
				src = src[1]; 
				element.runtimeStyle.backgroundImage="none"; 
			}
		}
		if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='crop')";
	}
}

function Focus(obj, obj2){
	obj2.hide();
	obj.focus();
}

function Blur(obj,obj2){

	if (obj.val() == ''){
		obj2.show();
	}
}

function Focus1(){
	Focus($('#fd1'),$('#hd1'));
}

function Blur1(){
	Blur($('#fd1'),$('#hd1'));
}

function Focus2(){

	Focus($('#fd2'),$('#hd2'));
}

function Blur2(){
	Blur($('#fd2'),$('#hd2'));
}

function Focus3(){
	Focus($('#fd3'),$('#hd3'));
}

function Blur3(){
	Blur($('#fd3'),$('#hd3'));
}

function Focus4(){
	Focus($('#fd4'),$('#hd4'));
}

function Blur4(){
	Blur($('#fd4'),$('#hd4'));
}

function Focus5(){
	Focus($('#fd5'),$('#hd5'));
}

function Blur5(){
	Blur($('#fd5'),$('#hd5'));
}

function Focus6(){
	Focus($('#fd6'),$('#hd6'));
}

function Blur6(){
	Blur($('#fd6'),$('#hd6'));
}

function Focus7(){
	Focus($('#fd7'),$('#hd7'));
}

function Blur7(){
	Blur($('#fd7'),$('#hd7'));
}

function Focus8(){
	Focus($('#fd8'),$('#hd8'));
}

function Blur8(){
	Blur($('#fd8'),$('#hd8'));
}

function Focus9(){
	Focus($('#fd9'),$('#hd9'));
}

function Blur9(){
	Blur($('#fd9'),$('#hd9'));
}

function FocusX( id ){
	Focus($('#fd' + id),$('#hd' + id));
}

function BlurX( id ) {
	Blur($('#fd' + id),$('#hd' + id));
}