Hacked By AnonymousFox
//######################
function addSelectedItems(myInputName,myText,myValue) {
//######################
var myObj = document.getElementById(myInputName);
if(myText!='' && myValue!='') {
var newindex = myObj.options.length;
for(i=0;i<newindex;i++) if(myValue>0 && myObj.options[i].value==myValue) { return false; } // check for existed data
myObj.options[newindex] = new Option(myText,myText,0,false);
myObj.options[newindex].value = myValue;
}
}
//######################
function setSelectedItems(myInputName,myText,myValue) {
//######################
var myObj = document.getElementById(myInputName);
var myObjShow = document.getElementById(myInputName+'_Show');
if(myText!='' && myValue!='') {
myObj.value = myValue;
myObjShow.innerHTML = myText;
}
}
//######################
function setOtherArea(myText,myValue) {
//######################
/*
var str;
str = '<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"center\" valign=\"middle\">';
str += '<img src=\"../../lib/mootool/ajax-loader.gif\" width=\"16\" height=\"16\" align=\"absmiddle\"> <font color=\"#7DAB35\"> Loading..</font>';
str += '</td></tr></table>';
$(myArea).innerHTML= str;
*/
$('JS_DataID').value = myValue;
/*
$('JS_Action').value = $('Object_SelectSomething_updateMyArea_ajaxAction').value;
var js_vars = $('myAJAXForm').toQueryString();
js3_getHtmlByPost($('Object_SelectSomething_updateMyArea_ajaxFile').value, js_vars, myArea);
*/
var str = $('Object_SelectSomething_updateMyArea_ajaxExecuteCode').value;
eval(str);
}
Hacked By AnonymousFox1.0, Coded By AnonymousFox