function AcktelInput_2(inName, inMask, inDefVal, isMry, inErrMsg, objName, inMsgName, inType, inStile, inEvento) {

this.myName = objName
this.Name = inName
this.defValue = inDefVal
this.codeMry = isMry
this.ErrorMsg = inErrMsg
this.length = 10
this.language = "ITA"
this.stile = inStile

if (inType == "") {
    this.type = "text"
} else {
    this.type = inType
}

if (inMask == "") {
    this.Mask = "*"
} else {
    this.Mask = inMask
}

if (inMsgName == null) {
    this.MsgName = this.Name
} else {
    this.MsgName = inMsgName
}

if (inEvento != ""){
	this.evento = "onblur=\""+ inEvento +"\"";
}

//WildList
this.WL_SoloTesto = "abcdefghilmnopqrstuvzjkxywàèéìòùABCDEFGHILMNOPQRSTUVZJKXYW'"
this.WL_Telefono = "0123456789/.- "
this.WL_SoloNumeri = "0123456789"
//this.WL_SoloNumeriPositivi = "123456789"
this.WL_Speciali = "+-/\|!?&%$£^§€ç#@[]{}"

//browser sniffing
var brwsType = navigator.userAgent.toLowerCase();
if (brwsType.indexOf("msie")>-1) {
    this.isIE = 1
} else {
    this.isIE = 0
}

//metodi
this.my_create_ackinput = my_create_ackinput
this.isMandy = isMandy
this.getValue = getValue
this.check = check
this.setValue = setValue
this.getValue = getValue
this.Validator = Validator
this.setLength = setLenght
this.setLanguage = setLanguage

}

function my_create_ackinput() {
    document.writeln("<input id='ackinput_"+this.myName+"' type='"+this.type+"' name='"+this.Name+"' size='"+this.length+"' value='' class='"+this.stile+"'"+ this.evento +">")

    this.setLanguage(this.language)

    //non fa in tempo a crearlo al volo in Mozilla e da errore
    ipt = document.getElementById("ackinput_"+this.myName)
    ipt.value = this.defValue
}
