function hideObj(sObj) 
{
	eval("document.getElementById('" + sObj + "').style.display = 'none'");
}

function showObj(sObj) 
{
	eval("document.getElementById('" + sObj + "').style.display = ''");
}

function ChangeImage(sImg, sSrc) 
{
		document.images[sImg].src = sSrc;
}

function ismaxlength(obj){

    var mlength=4000; //obj.getAttribute? parseInt(obj.getAttribute("MaxLength")) : "";
    if (obj.getAttribute && obj.value.length>mlength)
    {
        obj.value=obj.value.substring(0,mlength);
        window.alert("Maximum field length is 4000 characters.");
    }

}

function setFocus()
{			
	document.forms['form1'].FlashFlip3d.focus();
}
