function LaunchWindow(url, id, x, y, rs, mn, sc, tb, loc, dir, st, ch) {
var newwind = window.open(url, id, "resizable="+rs+", toolbar="+tb+", location="+loc+", directories="+dir+", status="+st+", menubar="+mn+", scrollbars="+sc+", copyhistory="+ch+", width="+x+", height="+y);
newwind.focus();
}
function LaunchFeedbackWindow(url, id, x, y, rs, mn, sc) {
window.open(url, id, "resizable="+rs+",toolbar=0,location=0,directories=0,status=0,menubar="+mn+",scrollbars="+sc+",copyhistory=0,width="+x+",height="+y);
}
function Find(valu)
{
var total="";
if(valu!="")
{
total="SearchView?SearchView&1=Search~&Query="+valu+"&Start=1&Count=20&SearchOrder=4&SearchWV=false&SearchMax=250&SearchThesaurus=false&SearchType=FullText";
}
else
{
total="Search?Open&1=Search~";
}
self.location.href='/'+url+'/'+total;
}
function MainFind(valu,sort,match,maxres,thes,count)
{if(maxres=='Unlimited'){maxres='0'}
var total="";
match=!match;
if(valu!="")
{total="SearchView?SearchView&1=Search~"+"&Query="+valu+"&Start=1"+"&Count="+count+"&SearchOrder="+sort+"&SearchWV=" +match+"&SearchMax=" +maxres+"&SearchThesaurus=" + thes+"&SearchType=FullText";}
else
{total="Search?Open&1=Search~&SearchType=FullText&ERROR=NOTHING+TO+SEARCH";}
self.location.href='/'+url+'/'+total;}
function srch(d1,d2,d3)
{
var total="";
if(d3!=''){total+="FIELD+PERLASTNAME+CONTAINS+"+d3};
if(d2!='All locations'){if(total!=''){total+="+AND+"}; total+="FIELD+PEROFFICEINFO="+d2 };
if(d1!='All areas of practice'){if(total!=''){total+='+AND+'}; total+="FIELD+PEREXPERTISE="+d1};
if(Qry!=''){Qry='&searchorder=4&SearchFuzzy=true&'+Qry}
if(total!=''){total='View?SearchView'+Qry+'&Query='+total} else
{total='?Open'+Qry+'&ERROR=NOTHING+TO+SEARCH'}
self.location.href='/'+url+'/PersonSearch'+total;
};
function pubsrch(topic,query)
{
var total='';
if(Qry!=''){Qry='&'+Qry}
if(query!=''){total=query};
if(topic!=''){if(total!=''){total=total+'+AND+FIELD+pcLVL2+=+'+topic} else {total='FIELD+pcLVL2+=+'+topic}}
if(total!='')
{total='View?SearchView'+Qry+'&searchorder=4&query='+total}
else
{total='?Open'+Qry+'&ERROR=NOTHING+TO+SEARCH'}
self.location.href='/'+url+'/PublicationSearch'+total;
}
function FormsTweak(state) {
for(var f=0; f<=(document.forms.length-1);f++)
for(var e=0; e<=(document.forms[f].elements.length-1);e++)
if(document.forms[f].elements[e].type=="select-one")
document.forms[f].elements[e].style.visibility = state;
}
// DHTML Menu
var items=new Array();
var counter=0;
var height=25;
var width=120;
var posmod=-1;
var offtmp='"(window.status=\'\'); return true"';
function OnBABY(pram,on)
{
if(on != -1){
FormsTweak('hidden');
pram.style.backgroundColor="#2163CE"
} else {
FormsTweak('visible');
pram.style.backgroundColor="#123F9A"
}}
function init(name,sort)
{
this.adds=new Array();
this.subs=new Array();
this.addscount=-1;
this.subscount=-1;
this.id=name;
eval(name+" = "+sort);
this.add=function add(id,label,url)
{
this.adds[this.addscount++]=id;
ontmp='"(window.status=\''+label+'\'); return true"';
eval("this.add"+id+"='"+label+"'");
eval("this.id"+id+"='"+id+"'");
eval("this.subs"+id+"=new Array()");
eval("this.sub2"+id+"=new Array()");
eval("this.subs"+id+"count=-1")
};
this.addsub=function addsubs(own,id,label,url)
{
tmp = eval("this.add"+own);
if(tmp != null){
ontmp='"(window.status=\''+label+'\'); return true"'
eval("this.subs"+own+"[this.subs"+own+"count++]='"+label+"'");
eval("this.sub2"+own+"[this.subs"+own+"count]='"+own+id+"'");
eval("this.sub2"+own+id+"=''");
}};
this.add2sub=function add2sub(id,label,url)
{
ontmp='"(window.status=\''+label+'\'); return true"'
eval("this.sub2"+id+"+='
|
'");
};
this.output=function output()
{
var total='';
if(this.adds.length!=0)
{
for(var z=-1;z
0){posmod=(z*25)-(slc*25)};modl1='';emodl1='
';spacemodl1='';
};
total+=modl1+''+emodl1;
}}
document.write(total+' ');
if(total.length<150){
eval("MAIN"+this.id+".style.left=-200");
}
}
}