var vitualPath=getRootPath();
var ShowObj = obj;
if(isArray(obj) && obj.length > 1)
ShowObj = obj[1];
showfDiv(ShowObj,"loading...",width);
LastSelectObj = obj;
var options={
method:'get',
parameters:"heights="+ height,
onComplete:function(transport)
{
var returnvalue=transport.responseText;
if (returnvalue.indexOf("??")>-1)
showfDiv(ShowObj,'Error',width);
else
var tempstr=returnvalue;
showfDiv(ShowObj,tempstr,width);
}
};
var arrtype=type.split("|")[0]
switch(arrtype)
{
case "file":
new Ajax.Request('../../configuration/system/iframe.aspx?FileType=file',options);
break;
case "pic":
new Ajax.Request('../../configuration/system/iframe.aspx?FileType=pic',options);
break; ------解决方案--------------------