var CT_I_Datasets=['nhfIxaIqX8DUGx'];var CT_I_Path='//stats4.clicktracks.com/cgi-bin/ctasp-server.cgi?';if(typeof(window.CT_C_Debug)=='undefined'){window.CT_C_Debug=0;}
var paths=new Array();if(typeof(GG)=='undefined')
var GG={};if(typeof(GG.LCF)=='undefined')
GG.LCF={};var CT_I_FirstPartyJDC=1;var CT_I_FirstPartyCookies=1;var CT_I_EnableExitTracking=1;var CT_I_LocalLinks=['usauniversityguide.org','www.usauniversityguide.org'];var CT_I_OtherFileExtensionsToReport=[];var CT_I_FirstPartyDomain='usauniversityguide.org';if(!window.CTGUJLOADED){window.CTGUJLOADED=true;var paths=[];var CT={Queue:{calls:[],busy:false},marketingParams:{},mp:{}};var CTC_BASE_TIME=1041404400;var CTC_PREVIOUS_OFFSET=3600;var CT_I_SET_ORIGIN=false;var CT_I_SET_REPEAT=false;var CT_I_REVISIT=false;CT.isIE=document.all?true:false;CT.readCookies=function(){if(typeof(CT.cookies)=='undefined'){var cookieArray=document.cookie.split(/; ?/);CT.cookies=new Array;if(document.cookie!='')
for(var i=0;i<cookieArray.length;i++)
CT.cookies.push(cookieArray[i]);}}
CT.pushInto=function(vals,key,value){if(typeof(vals)!='object'){if(typeof(vals)=='undefined')
vals=[];else
vals=[vals];}
if(typeof(vals[key])=='undefined')
vals[key]=[];vals[key].push(value);}
CT.splitMarketingParams=function(incoming,setCTFlag){var loc,pieces,n,key,value,params,url;url=incoming+'';loc=url.search(/\?/);if(loc>-1){pieces=new Array();pieces[0]=url.substr(0,loc);pieces[1]=url.substr(loc+1);loc=pieces[1].search(/#/);if(loc>-1){pieces[2]=pieces[1].substr(loc);pieces[1]=pieces[1].substr(0,loc);}
params=pieces[1].split(/&/);for(n=0;n<params.length;n++){loc=params[n].search(/=/);if(loc>-1){key=params[n].substr(0,loc);if(key=='mmcadgid'||key=='mmckwdid'||key=='mmccrtid'||key=='mmcplc'||key=='mmcnwk'){if(setCTFlag){CT.marketingParams[key]=params[n].substr(loc+1);CT.marketingParams.gotParams=1;}
if(key!='mmcadgid'&&key!='mmckwdid'){params.splice(n,1);n--;}}}}
pieces[1]=params.join('&');if(params.length>0)
pieces[1]='?'+pieces[1];url=pieces.join('');}
return url;}
function CT_RecordView(request,method,fields,server,referrer,onCompletion){var basicCall=true;if(request==null){if(window.CT_C_Request!=null)
request=window.CT_C_Request;else
request=window.location;}else{basicCall=false;}
if(typeof(window.CT_C_Referrer)=='undefined')
window.CT_C_Referrer=document.referrer;if(typeof(referrer)=='undefined')
referrer=window.CT_C_Referrer;fields=fields||[];server=server||CT_I_Path;XParams='';if(/X=/.test(server)){serverDomain=server.split(/\?/)[0];serverParams=server.split(/\?/)[1].split(/\&/);for(n=0;n<serverParams.length;n++){if(/X=/.test(serverParams[n])){XParams=decodeURIComponent(serverParams.splice(n,1)[0].substr(2));n=serverParams.length;}}
if(serverParams){server=serverDomain+'?'+serverParams.join('&');}else{server=serverDomain;}}
if(referrer!='')
referrer=CT.splitMarketingParams(referrer,false);request=CT.splitMarketingParams(request,true);if(CT_I_FirstPartyJDC)
CT.setCookies(request);if(typeof(window.CT_R_PID)!='undefined'){request+=(/\?/.test(request)?'&':'?')+'CT_R_PID='+encodeURIComponent(window.CT_R_PID);}
var orderTotal=(typeof(window.CT_C_OrderTotal)!='undefined')?window.CT_C_OrderTotal:0;var biscuits=new Array();for(var i in window){if(i.substring(0,5)=='CT_X_'&&i.length>5){if(typeof(window[i])=='object')
for(var n=0;n<window[i].length;n++){biscuits.push(i+'='+window[i][n]);}
else
biscuits.push(i+'='+window[i]);}}
var ctxValue=biscuits.join('&');var vals=fields.concat();CT.pushInto(vals,'X',XParams);CT.pushInto(vals,'i',CT_I_Datasets[0]);CT.pushInto(vals,'r',request);if(method!=null){CT.pushInto(vals,'s',method);CT.pushInto(vals,'f',referrer);}else{CT.pushInto(vals,'f',referrer);if(orderTotal>0)
CT.pushInto(vals,'e',orderTotal);}
if(typeof(CT_I_Subdomain)!='undefined')
CT.pushInto(vals,'d',CT_I_Subdomain);if(ctxValue!='')
CT.pushInto(vals,'U',ctxValue);if(!basicCall)
CT.pushInto(vals,'g',1)
if(typeof(CT_I_Protocol)=='undefined')
window.CT_I_Protocol=window.location.protocol;CT.pushInto(vals,'sd',window.screen.width+'x'+window.screen.height);if(CT_I_FirstPartyJDC){if(window.CT_I_FirstPartyDomain&&window.CT_I_FirstPartyDomain!='')
CT.pushInto(vals,'fp',window.CT_I_FirstPartyDomain);else
CT.pushInto(vals,'fp',1);if(!window.CT_I_FTL||window.CT_I_FTL!='0')CT.pushInto(vals,'ftl',window.CT_I_FTL);var cookie=[];for(var i=0;i<CT.cookies.length;i++){var temp=CT.cookies[i].split(/=/,2);if(CT_I_FirstPartyCookies||temp[0].match(/^Persistent_id_|^Revisit_|^Session_|^CTINC$|^FTL_/))
cookie.push(CT.cookies[i]);}
if(CT_I_REVISIT){var id=CT_I_Datasets[0];cookie.push('Revisit_'+id+'=1');}
CT.pushInto(vals,'c',cookie.join('; '));CT.pushInto(vals,'st','1stParty');}else if(CT_I_FirstPartyCookies)
CT.pushInto(vals,'c',document.cookie);if(CT_I_SET_ORIGIN){CT.pushInto(vals,'setOrigin',1);CT_I_SET_ORIGIN=false;}
if(CT_I_SET_REPEAT){CT.pushInto(vals,'setRepeat',1);CT_I_SET_REPEAT=false;}
CT.addToQueue(window.CT_I_Protocol+server,vals,onCompletion);}
CT.addToQueue=function(url,vals,onCompletion){CT.Queue.calls.push({url:url,vals:vals,onCompletion:onCompletion});CT.Queue.process();}
CT.relocate=function(url,target){if(!/liveperson\.net/.test(url)){if(target=='')
window.location.href=url;else
window.open(url,target);}
return false;}
function CT_ProcClick(evt){var url;var wait;var elem;var targetWindowName='';var usingOnClick=false;evt=(evt)?evt:((window.event)?event:null);var leftClick=CT.isIE||evt.which==1;if(evt&&leftClick){elem=(evt.target)?evt.target:((evt.srcElement)?evt.srcElement:null);while(elem){url='';switch(elem.tagName){case'A':case'AREA':if(typeof(elem.onclick)=='function')
usingOnClick=true;url=elem.href;targetWindowName=elem.target;break;case'INPUT':if(elem.form){elem=elem.form;url=elem.action;if(url=='')
url=window.location.href;}else{url='';}
break;}
switch(elem.tagName){case'A':case'AREA':if(url!=''){var callType='';if(!CT_LocalLink(url))
callType='EXIT';else if(CT_TrackFileExtension(url))
callType='GET';if(callType!=''){if(targetWindowName==''&&usingOnClick==false){CT_RecordView(url,callType,null,null,window.location.href,function(){window.location.href=url;});}else{CT_RecordView(url,callType,null,null,window.location.href);}}}
elem=0;break;default:elem=(elem.parentElement)?elem.parentElement:elem.parentNode;break;}}}}
function CT_TrackFileExtension(link){link=link.split(/\?/)[0];link=link.toLowerCase();var l1=link.length;for(var index=0;index<CT_I_OtherFileExtensionsToReport.length;index++)
if(CT_I_OtherFileExtensionsToReport[index]!=''&&link.substring(l1-CT_I_OtherFileExtensionsToReport[index].length-1)=='.'+CT_I_OtherFileExtensionsToReport[index].toLowerCase())
return true;return false;}
function CT_LocalLink(link){var pieces=link.match(/^https?:\/\/([^\/]+)\//);if(pieces){var l=pieces[1].length;for(var i=0;i<CT_I_LocalLinks.length;i++){if(pieces[1]==CT_I_LocalLinks[i])
return true;}
return false;}
return true;}
CT.renderHiddenField=function(name,value){var newField=document.createElement('input');newField.type='hidden';newField.name=name;newField.value=value;newField.id='id_'+name;return newField;}
CT.encodeHex=function(string){var len=string.length;var output='';for(var i=0;i<len;i++){var c='00'+string.charCodeAt(i).toString(16).toUpperCase();output+=c.substring(c.length-2);}
return output;}
function sleep(delay){var start=new Date().getTime();while(new Date().getTime()<start+delay);}
CT.postHiddenForm=function(obj){var targetUrl=obj.url;var formData=obj.vals;var output=[];var dataLength=targetUrl.length;for(var key in formData){if(typeof(formData[key])=='object'){for(var j=0;j<formData[key].length;j++){var string=key+'='+encodeURIComponent(formData[key][j]);output.push(string);}}}
var url=targetUrl+output.join('&');if((window.navigator.userAgent.match(/MSIE.[67]/)&&url.length>2000&&!(obj.vals.s))||(window.navigator.userAgent.match(/Safari/)&&(obj.vals.s))){var output=[];var onPostComplete=obj.onCompletion;var remotingDiv=CT.getRemotingDiv(targetUrl);CT.Queue.busy=true;for(var key in formData){if(typeof(formData[key])=='object'){for(var j=0;j<formData[key].length;j++){if(key=='x'||key=='X'||key=='U'||key=='c')
output.push(key+'='+encodeURIComponent(formData[key][j]));else{remotingDiv.form.appendChild(CT.renderHiddenField(key,formData[key][j]));dataLength+=(key+'='+encodeURIComponent(formData[key][j])).length+1;}}}}
remotingDiv.form.appendChild(CT.renderHiddenField('JDCDATA',CT.encodeHex(output.join('&'))));dataLength+=('JDCDATA='+CT.encodeHex(output.join('&'))).length+1;remotingDiv.form.submit();remotingDiv.locationChangeTimer=setInterval(function(){var bLocationChanged=false;try{bLocationChanged=("about:blank"!=(CT.isIE?remotingDiv.iframe.document.location.href:remotingDiv.iframe.location));}catch(err){bLocationChanged=true;}
if(bLocationChanged){clearInterval(remotingDiv.locationChangeTimer);if(typeof(onPostComplete)=='function')
onPostComplete();CT.Queue.calls.shift();CT.Queue.busy=false;CT.removeRemotingDiv();CT.Queue.process();}},200);}else{CT.image=new Image();if(window.navigator.userAgent.match(/MSIE.[67]/)&&url.length>2000&&(obj.vals.s)){CT.image.src=url.substring(0,2000);}else{CT.image.src=url;}
sleep(300);CT.Queue.calls.shift();CT.Queue.busy=false;CT.Queue.process();}}
CT.Queue.process=function(){if(!CT.Queue.busy&&CT.Queue.calls.length)
CT.postHiddenForm(CT.Queue.calls[0]);}
CT.getRemotingDiv=function(url){var remotingDiv=CT.setupRemotingDiv();if(!remotingDiv.setup){remotingDiv.setup=true;remotingDiv.innerHTML='<iframe name="remotingFrame" id="remotingFrame" style="border:0;width:0;height:0;"></iframe>';remotingDiv.iframe=frames['remotingFrame'];var form=document.createElement('form');form.style.border='0px';form.style.height='0px';form.style.width='0px';form.style.display='none';form.setAttribute('id','remotingForm');form.target='remotingFrame';form.setAttribute('method','post');form.setAttribute('action',url+(url.indexOf('?')==-1?'?':(url.search(/\?$/)?'':'&'))+'rnd='+Math.random());remotingDiv.form=form;remotingDiv.appendChild(form);}
return remotingDiv;}
CT.pruneTree=function(node){if(node){while(node.hasChildNodes()){CT.pruneTree(node.childNodes[0]);node.removeChild(node.childNodes[0]);}}}
CT.removeRemotingDiv=function(){var remotingDiv=document.getElementById('remotingDiv');if(typeof(remotingDiv)!='undefined'){CT.pruneTree(remotingDiv);remotingDiv.setup=false;}}
CT.setupRemotingDiv=function(){var remotingDiv=document.getElementById('remotingDiv');if(!remotingDiv){remotingDiv=document.createElement('span');remotingDiv.id='remotingDiv';remotingDiv.setup=false;document.body.appendChild(remotingDiv);}
return remotingDiv;}
CT.generateUniqueKey=function(){var key='0000'+parseInt((new Date).getTime()+''+(Math.floor(Math.random())%10)).toString(16).toUpperCase();return key.substring(key.length-12);}
CT.setCookie=function(name,value,domain,expires){var string=name+'='+value+'; domain='+domain+'; path=/';if(typeof(expires)!='undefined')
string+='; expires='+expires;document.cookie=string;for(var i=0;i<CT.cookies.length;i++){var vals=CT.cookies[i].split(/=/,2);if(vals[0]==name){CT.cookies[i]=name+'='+value;return;}}
CT.cookies.push(name+'='+value);}
CT.readCookie=function(name){for(var i=0;i<CT.cookies.length;i++){var vals=CT.cookies[i].split(/=/,2);if(vals[0]==name){return vals[1];}}
return null;}
CT.tenYearsExpiration=function(){var expires=new Date();expires.setFullYear(expires.getFullYear()+10);return expires;}
CT.setCookies=function(request){var sessionStarted;var id=CT_I_Datasets[0];var unique=CT.generateUniqueKey();var Persistent='Persistent_id_'+id;var Session='Session_'+id;var expires=CT.tenYearsExpiration();var startTime=Math.floor((new Date).getTime()/1000);var fields;var persistentValues=new Array();if(CT.readCookie(Persistent)==null){persistentValues[0]=unique;persistentValues[1]=startTime;CT_I_SET_ORIGIN=true;CT_I_SET_REPEAT=true;CT_I_REVISIT=false;}else{persistentValues=CT.readCookie(Persistent).split(/:/);sessionStarted=startTime-CTC_PREVIOUS_OFFSET;if(persistentValues[1]<sessionStarted){persistentValues[1]=startTime;CT_I_SET_REPEAT=true;}
CT_I_REVISIT=true;}
persistentValues=CT.saveMarketingParams(persistentValues);CT.setCookie(Persistent,persistentValues.join(':'),CT_I_FirstPartyDomain,expires.toGMTString());if(CT.readCookie(Session)==null)
CT.setCookie(Session,unique,CT_I_FirstPartyDomain);if(!window.CT_I_FTL||window.CT_I_FTL!='0')
{var params=request.split(/&|\?/);var hq_e,hq_m,hq_l,hq_v;for(n=0;n<params.length;n++)
{if(!hq_e)hq_e=params[n].match('^(hq_e|emc)=(.*)$');if(hq_e)
{if(!hq_m)hq_m=params[n].match('^(hq_m|m)=(.*)$');if(!hq_l)hq_l=params[n].match('^(hq_l|l)=(.*)$');if(!hq_v)hq_v=params[n].match('^(hq_v|v)=(.*)$');}}
if(hq_e)
{var value=hq_e[2]+':';if(hq_m)value=value+hq_m[2];value=value+':';if(hq_l)value=value+hq_l[2];value=value+':';if(hq_v)value=value+hq_v[2];CT.setCookie('FTL_'+CT_I_Datasets[0],value,CT_I_FirstPartyDomain,expires.toGMTString());}}}
CT.renderMarketingParams=function(){var list=[];if(CT.marketingParams.gotParams)
list.push(escape('SC=1'));if(CT.mp.ADGF){list.push(escape('AF='+CT.mp.ADGF+':'+CT.mp.CRTF));list.push(escape('KF='+CT.mp.ADGF+':'+CT.mp.KWDF));list.push(escape('PF='+(CT.mp.NWKF.toLowerCase()=='search'?'s':'c')+CT.mp.PLCF));list.push(escape('AL='+CT.mp.ADGL+':'+CT.mp.CRTL));list.push(escape('KL='+CT.mp.ADGL+':'+CT.mp.KWDL));list.push(escape('PL='+(CT.mp.NWKL.toLowerCase()=='search'?'s':'c')+CT.mp.PLCL));}
return list.join('&');}
CT.saveMarketingParams=function(incoming){var mp,temp1,n1,l1,len1;mp=new Object();if(incoming.length>2){temp1=incoming[2].split(/&/);len1=temp1.length;for(n1=0;n1<len1;n1++){l1=unescape(temp1[n1]).split(/=/,2);mp[l1[0]]=l1[1];}}
if(CT.marketingParams.gotParams){if(!('ADGF'in mp)){mp.ADGF=CT.marketingParams['mmcadgid'];mp.CRTF=CT.marketingParams['mmccrtid'];mp.KWDF=CT.marketingParams['mmckwdid'];mp.PLCF=CT.marketingParams['mmcplc'];mp.NWKF=CT.marketingParams['mmcnwk'];}
mp.ADGL=CT.marketingParams['mmcadgid'];mp.CRTL=CT.marketingParams['mmccrtid'];mp.KWDL=CT.marketingParams['mmckwdid'];mp.PLCL=CT.marketingParams['mmcplc'];mp.NWKL=CT.marketingParams['mmcnwk'];temp1=[escape('ADGF='+mp.ADGF),escape('CRTF='+mp.CRTF),escape('KWDF='+mp.KWDF),escape('PLCF='+mp.PLCF),escape('NWKF='+mp.NWKF),escape('ADGL='+mp.ADGL),escape('CRTL='+mp.CRTL),escape('KWDL='+mp.KWDL),escape('PLCL='+mp.PLCL),escape('NWKL='+mp.NWKL)];incoming[2]=temp1.join('&');}
CT.mp=mp;return incoming;}
CT.onLoadHandler=function(e){CT.setupRemotingDiv();CT_RecordView();if(CT.onLoadOld!=undefined)
CT.onLoadOld();}
if(CT_I_EnableExitTracking){if(document.addEventListener)
document.addEventListener('click',CT_ProcClick,false);else
document.attachEvent('onclick',CT_ProcClick);}
CT.readCookies();CT.onLoadOld=window.onload;window.onload=CT.onLoadHandler;}