function namedWindow(a){var b={url:'about:blank',name:'fullWindow',toolbar:'yes',location:'yes',directories:'yes',menubar:'yes',scrollbars:'yes',width:800,height:600};var c=new Array("toolbar","location","directories","menubar","scrollbars","width","height");if(navigator.appName.indexOf("Microsoft")>-1){isMSIE=true;b.leftName='left';b.topName='top'}else{isMSIE=false;b.leftName='screenX';b.topName='screenY'}c.splice(c.length,0,b.leftName,b.topName);b.leftVal='50';b.topVal='50';var d="";if(typeof(a)=="string"){b.url=a}else if(typeof(a)=="object"){b.url=a.url;for(var x=0;x<c.length;x++){if(eval("a."+c[x])){eval("b."+c[x]+" = a."+c[x])}}if(a.screenX&&typeof(a.screenX)!="undefined"){b.leftVal=a.screenX}else if(a.left&&typeof(a.left)!="undefined"){b.leftVal=a.left}if(a.screenY&&typeof(a.screenY)!="undefined"){b.topVal=a.screenY}else if(a.top&&typeof(a.top)!="undefined"){b.topVal=a.top}b[b.leftName]=b.leftVal;b[b.topName]=b.topVal;if(a.name){b.name=a.name}}for(var x=0;x<c.length;x++){d+=(b[c[x]]===''?'':(d.length==0?'':',')+c[x]+'='+b[c[x]])}if(b.hasOwnProperty('status')){d+=(b['status']===''?'':(d.length==0?'':',')+'status='+b['status'])}var e=window.open(b.url,b.name,d);return e}
