// XMLHTTP - min ****************************************************************
function getHTTPObject(){var xmlhttp;xmlhttp=false;if(!xmlhttp&&typeof XMLHttpRequest!='undefined'){try{xmlhttp=new XMLHttpRequest();}catch(e){xmlhttp=false;}}
return xmlhttp;}
function process(url,resultelm){try{var http=new getHTTPObject();if(http){http.open("GET",url,true);http.onreadystatechange=function(){handleHttpResponse(http,resultelm)};http.send(null);}
else{alert("XML HTTP object could not be initialised");}}
catch(e){resultelm.innerHTML="Error occured in process content function.";}}
function handleHttpResponse(http,resultelm){if(http.readyState==4){result=http.responseText;if(http.status==200)
{if(result.indexOf('invalid')!==-1&&resultelm){resultelm.style.borderColor="red";resultelm.innerHTML="Request could not be processed due to some technical error. Please try again.";}
else if(resultem){resultelm.innerHTML=result;}
else{return;}}
else{resultelm.innerHTML="<p>Problem processing XML data file. Please try again."+http.stauts+' '+http.statusText+' </p>';}}}
function addcustomer(url,resultelm,action,custName,custDept){try{var http=new getHTTPObject();http.open("POST",url,false);http.setRequestHeader('Content-Type','application/x-www-form-urlencoded');http.send();resultelm.innerHTML=http.responseText}
catch(e){alert("error occured in add customer function:"+e)}}
// JavaScript Document - Flash detect ****************************************************************
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version");}catch(e){}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version=-1;}}
return version;}
function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];if(descArray[3]!=""){tempArrayMinor=descArray[3].split("r");}else{tempArrayMinor=descArray[4].split("r");}
var versionRevision=tempArrayMinor[1]>0?tempArrayMinor[1]:0;var flashVer=versionMajor+"."+versionMinor+"."+versionRevision;}}
else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1)flashVer=4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1)flashVer=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1)flashVer=2;else if(isIE&&isWin&&!isOpera){flashVer=ControlVersion();}
return flashVer;}
function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision)
{versionStr=GetSwfVer();if(versionStr==-1){return false;}else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",");}else{versionArray=versionStr.split(".");}
var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true;}else if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer))
return true;else if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision))
return true;}}
return false;}}
function AC_AddExtension(src,ext)
{if(src.indexOf('?')!=-1)
return src.replace(/\?/,ext+'?');else
return src+ext;}
function AC_Generateobj(objAttrs,params,embedAttrs)
{var str='';if(isIE&&isWin&&!isOpera)
{str+='<object ';for(var i in objAttrs)
str+=i+'="'+objAttrs[i]+'" ';for(var i in params)
str+='><param name="'+i+'" value="'+params[i]+'" /> ';str+='></object>';}else{str+='<embed ';for(var i in embedAttrs)
str+=i+'="'+embedAttrs[i]+'" ';str+='> </embed>';}
document.write(str);}
function AC_FL_RunContent(){var ret=AC_GetArgs
(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}
function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1];}}
ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret;}
//FusionCharts fc.js minimized ****************************************************************
if(typeof infosoftglobal=="undefined")var infosoftglobal=new Object();if(typeof infosoftglobal.FusionChartsUtil=="undefined")infosoftglobal.FusionChartsUtil=new Object();infosoftglobal.FusionCharts=function(swf,id,w,h,debugMode,registerWithJS,c,scaleMode,lang){if(!document.getElementById){return;}
this.initialDataSet=false;this.params=new Object();this.variables=new Object();this.attributes=new Array();if(swf){this.setAttribute('swf',swf);}
if(id){this.setAttribute('id',id);}
if(w){this.setAttribute('width',w);}
if(h){this.setAttribute('height',h);}
if(c){this.addParam('bgcolor',c);}
this.addParam('quality','high');this.addParam('allowScriptAccess','always');this.addVariable('chartWidth',w);this.addVariable('chartHeight',h);debugMode=debugMode?debugMode:0;this.addVariable('debugMode',debugMode);this.addVariable('DOMId',id);registerWithJS=registerWithJS?registerWithJS:0;this.addVariable('registerWithJS',registerWithJS);scaleMode=scaleMode?scaleMode:'noScale';this.addVariable('scaleMode',scaleMode);lang=lang?lang:'EN';this.addVariable('lang',lang);}
infosoftglobal.FusionCharts.prototype={setAttribute:function(name,value){this.attributes[name]=value;},getAttribute:function(name){return this.attributes[name];},addParam:function(name,value){this.params[name]=value;},getParams:function(){return this.params;},addVariable:function(name,value){this.variables[name]=value;},getVariable:function(name){return this.variables[name];},getVariables:function(){return this.variables;},getVariablePairs:function(){var variablePairs=new Array();var key;var variables=this.getVariables();for(key in variables){variablePairs.push(key+"="+variables[key]);}
return variablePairs;},getSWFHTML:function(){var swfNode="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){swfNode='<embed type="application/x-shockwave-flash" src="'+this.getAttribute('swf')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'"  ';swfNode+=' id="'+this.getAttribute('id')+'" name="'+this.getAttribute('id')+'" ';var params=this.getParams();for(var key in params){swfNode+=[key]+'="'+params[key]+'" ';}
var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='flashvars="'+pairs+'"';}
swfNode+='/>';}else{swfNode='<object id="'+this.getAttribute('id')+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'">';swfNode+='<param name="movie" value="'+this.getAttribute('swf')+'" />';var params=this.getParams();for(var key in params){swfNode+='<param name="'+key+'" value="'+params[key]+'" />';}
var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='<param name="flashvars" value="'+pairs+'" />';}
swfNode+="</object>";}
return swfNode;},setDataURL:function(strDataURL){if(this.initialDataSet==false){this.addVariable('dataURL',strDataURL);this.initialDataSet=true;}else{var chartObj=infosoftglobal.FusionChartsUtil.getChartObject(this.getAttribute('id'));chartObj.setDataURL(strDataURL);}},setDataXML:function(strDataXML){if(this.initialDataSet==false){this.addVariable('dataXML',strDataXML);this.initialDataSet=true;}else{var chartObj=infosoftglobal.FusionChartsUtil.getChartObject(this.getAttribute('id'));chartObj.setDataXML(strDataXML);}},render:function(elementId){var n=(typeof elementId=='string')?document.getElementById(elementId):elementId;n.innerHTML=this.getSWFHTML();return true;}}
infosoftglobal.FusionChartsUtil.cleanupSWFs=function(){if(window.opera||!document.all)return;var objects=document.getElementsByTagName("OBJECT");for(var i=0;i<objects.length;i++){objects[i].style.display='none';for(var x in objects[i]){if(typeof objects[i][x]=='function'){objects[i][x]=function(){};}}}}
infosoftglobal.FusionChartsUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=='function'){var oldUnload=window.onunload;window.onunload=function(){infosoftglobal.FusionChartsUtil.cleanupSWFs();oldUnload();}}else{window.onunload=infosoftglobal.FusionChartsUtil.cleanupSWFs;}}
if(typeof window.onbeforeunload=='function'){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){infosoftglobal.FusionChartsUtil.prepUnload();oldBeforeUnload();}}else{window.onbeforeunload=infosoftglobal.FusionChartsUtil.prepUnload;}
if(Array.prototype.push==null){Array.prototype.push=function(item){this[this.length]=item;return this.length;}}
infosoftglobal.FusionChartsUtil.getChartObject=function(id)
{if(window.document[id]){return window.document[id];}
if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[id])
return document.embeds[id];}else{return document.getElementById(id);}}
var getChartFromId=infosoftglobal.FusionChartsUtil.getChartObject;var FusionCharts=infosoftglobal.FusionCharts;
// functions.js minizer//http://fmarcia.info/jsmin/test.html ****************************************************************
var mouseX=mouseY=0;document.onmousemove=getMouseXY;function getelm(thisid){try{var thiselm=null;if(document.getElementById){thiselm=document.getElementById(thisid);}
else if(document.all){thiselm=document.all[thisid];}
else if(document.layers){thiselm=document.layers[thisid];}
if(thiselm){if(thiselm==null){return;}
else{return thiselm;}}}
catch(ex){return null;}}
function setFocus(){var content=getelm('content');try{if(content){}}
catch(ex){}}
function Page_Load(destelm){try{var elm=getelm(destelm);var contentelm=getelm('wrapper');if(elm&&contentelm){process(elm.value,contentelm);}}
catch(ex){alert(ex)}}
function showmenu(item){try{var submenu=getelm('_'+item);hide_inactive_menu(submenu);if(submenu){switch(submenu.className){case'submenu_show':submenu.className='submenu';break
case'submenu':submenu.className='submenu_show';break
default:break}}}
catch(ex){alert(ex)}}
var submenu_items='_fav,_eval,_info,_survey';function hide_inactive_menu(active_menu){var aSubMenu=submenu_items.split(",");if(active_menu){for(var i=0;i<aSubMenu.length;i++){var curSubMenu=getelm(aSubMenu[i]);if(curSubMenu){if(curSubMenu.id!=active_menu.id){curSubMenu.className='submenu';}}}}}
function setView(source){window.location.href='/gateway/'+source;}
function showcite(obj,citeid){try{var allcites=document.getElementsByTagName('cite');for(i=0;i<allcites.length;i++){allcites[i].className='hide';}
var citeelm=getelm(citeid);if(citeelm){if(citeelm.innerHTML.length>0){if(!isIE){citeelm.style.top=(mouseY+10)+'px';citeelm.className='show';}
else{citeelm.style.top='120px';citeelm.className='show';}}
else{citeelm.className='hide';}}
window.setTimeout("hidecite('"+citeid+"')",15000);}
catch(ex){}}
function hidecite(citeid){var allcites=document.getElementsByTagName('cite');for(i=0;i<allcites.length;i++){allcites[i].className='hide';}}
function showhideElm(id,disp){var elm=getelm(id);if(elm.style){if(disp=='show'){elm.style.display='block';}
else{elm.style.display='none';}}
return true;}
function showhideImg(id,disp){var id=id;var disp=disp;var elm=getelm(id);if(elm.style){if(disp==1){elm.style.visibility='visible';}
else{elm.style.visibility='hidden';}}
return true;}
function imgOn(imgName,imgLoc){if(document.images){onImg=new Image();onImg.src='/images/'+imgLoc;var imgObj='document.'+imgName;eval(imgObj).src=onImg.src;}}
function imgOff(imgName,imgLoc){if(document.images){offImg=new Image();offImg.src='/images/'+imgLoc;var imgObj='document.'+imgName;eval(imgObj).src=offImg.src;}}
function getGoogleSearch(){var qtext=document.SearchSite.q.value;document.SearchSite.q.value=qtext+' '+"site:planning.iupui.edu";document.SearchSite.submit();}
function break_out_of_frames(){if(parent.frames.length>0){parent.location.href=self.document.location;}}
function PageLastUpdated(){if(document.lastModified){document.write("Page Last Updated: "+document.lastModified+"  (IMIR Web Team)");}}
function getlink(){var elmlist=getelm('linklist');if(elmlist){var linkurl=elmlist.value;window.location.href=linkurl;}
else{return;}}
function OpenWindow(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=yes,width=675,height=375,left = 100,top = 100');");}
function closewindow(){oWindow=window.parent.close();}
function screenObject(){this.bottom=function(){if(document.body.scrollHeight)return document.body.scrollHeight};this.height=function(){if(document.body.offsetHeight)return document.body.offsetHeight;}
this.visHeight=function(){if(window.innerHeight)return window.innerHeight;if(document.body.clientHeight)return document.body.clientHeight;}
this.width=function(){if(document.body.offsetWidth)return document.body.offsetWidth;}
this.scrollTop=function(){if(document.body.scrollTop)return document.body.scrollTop
if(window.pageYOffset)return window.pageYOffset;else return 0;};}
function getMouseXY(e){try{if(isIE){tempX=document.body.scrollLeft;tempY=document.body.scrollTop+document.body.offsetHeight;}else{tempX=e.pageX
tempY=e.pageY}
if(tempX<0){tempX=0}
if(tempY<0){tempY=0}
mouseX=tempX;mouseY=tempY;return true}
catch(ex){}}
function getOffsetHeight(elm){var h=Number.NaN;if(elm&&typeof elm.offsetHeight!='undefined'){h=elm.offsetHeight;}
return h;}
function getmax_h(){colLength=new Array(1);colLength[0]=getelm('left').offsetHeight;colLength[1]=getelm('content').offsetHeight;colLength.sort(sortNumeric);colLength.reverse();return colLength[0];}
function setMenuHeight(){divLen=getmax_h();getelm('left').style.height=divLen-8+"px";getelm('content').style.height=divLen+"px";}
function sortNumeric(a,b){return a-b}
function getLongest(wrapper_elm){parentDiv=getelm(wrapper_elm);cols=parentDiv.getElementsByTagName("div");colLength=new Array(cols.length);for(x=0;x<cols.length;x++){colLength[x]=getelm(cols[x].id).offsetHeight;}
colLength.sort(sortNumeric);colLength.reverse();return colLength[0];}
function setColumns(wrapper_elm){divLen=getLongest(wrapper_elm);parentDiv=getelm(wrapper_elm);cols=parentDiv.getElementsByTagName("div");for(x=0;x<cols.length;x++){getelm(cols[x].id).style.height=divLen+"px";}}
function displayFix(){document.getElementById("PAII").style.display="block"}