var _loader_image='http://apps.acu.edu.au/~trevorg/stud_det/js/ajax-loader.gif';var _loader_gif=_loader_image;var _shadow_gif='http://apps.acu.edu.au/~trevorg/stud_det/js/dropshad2.gif';var ie=(navigator.userAgent.indexOf("MSIE")>=0)?true:false;var req='';function window_size()
{var myWidth=0,myHeight=0;if(typeof(window.innerWidth)=='number')
{myWidth=window.innerWidth;myHeight=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){myWidth=document.documentElement.clientWidth;myHeight=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){myWidth=document.body.clientWidth;myHeight=document.body.clientHeight;}
var temp=getScrollXY();var screenT=temp[1];var screenL=temp[0];return[myWidth,myHeight,screenL,screenT];};function getScrollXY()
{var scrOfX=0,scrOfY=0;if(typeof(window.pageYOffset)=='number'){scrOfY=window.pageYOffset;scrOfX=window.pageXOffset;}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;scrOfX=document.body.scrollLeft;}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;scrOfX=document.documentElement.scrollLeft;}
return[scrOfX,scrOfY];};function findPos(obj)
{var curleft=0;var curtop=0;if(obj.offsetParent)
{curleft=obj.offsetLeft;curtop=obj.offsetTop;while(obj=obj.offsetParent)
{curleft+=obj.offsetLeft;curtop+=obj.offsetTop;};};return[curleft,curtop];};function make_clear(thething,opa)
{if(ie)
{var ieupto=opa*100;try
{thething.filters.item("DXImageTransform.Microsoft.Alpha").opacity=ieupto;}catch(e){thething.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity='+ieupto+')';};}
else
{thething.style.opacity=opa;};};function make_thing(_thing,_id,_name,_class,_htm)
{_thing=document.createElement(_thing);if(_class!=''&&_class!=null)
{_thing.setAttribute(ie?'className':'class',_class);}
if(_name!=''&&_name!=null)
{_thing.setAttribute('name',_name);}
if(_id!=''&&_id!=null)
{_thing.setAttribute('id',_id);}
if(_htm!=''&&_htm!=null)
{_thing.innerHTML=_htm;}
return(_thing);};function add_style(_div,_w,_h,_p,_t,_l,_b,_m)
{if(_w)
{_div.style.width=_w+'px';};if(_h)
{_div.style.height=_h+'px';};if(_p)
{_div.style.position=_p;};if(_t!=undefined&&_t!='')
{_div.style.top=_t+'px';};if(_l!=undefined&&_l!='')
{_div.style.left=_l+'px';};if(_b)
{_div.style.background=_b;};if(_m)
{_div.style.margin=_m;};};function create_drop(_elm,_wide,_high,_offX,_offY,_steps,_im)
{if(document.getElementById(_elm))
{var _elmOb=document.getElementById(_elm);if(document.getElementById('hold_shad_'+_elmOb.getAttribute('id')))
{document.getElementById('hold_shad_'+_elmOb.getAttribute('id')).parentNode.removeChild(document.getElementById('hold_shad_'+_elmOb.getAttribute('id')));}
var _div_name='hold_shad_'+_elmOb.getAttribute('id');_steps=!_steps?10:_steps;_wide=!_wide?_elmOb.offsetWidth+_steps:_wide;_high=!_high?_elmOb.offsetHeight+_steps:_high;_offX=!_offX?0:_offX;_offY=!_offY?0:_offY;_im=!_im?_shadow_gif:_im;var adiv=make_thing('div',_div_name);adiv.style.border='0';var _i=0;var _l=_steps;for(_i=0;_i<_l;_i++)
{var ndiv=make_thing('div');var _off=_i*2;var nimg=make_thing('img');nimg.src=_im;nimg.style.width=(_wide-_off)+'px';nimg.style.height=(_high-_off)+'px';ndiv.appendChild(nimg);add_style(ndiv,(_wide-_off),(_high-_off),'absolute',(_i-1),(_i-1));make_clear(ndiv,0.02);adiv.appendChild(ndiv);};_offX+=_elmOb.offsetLeft-10;_offY+=_elmOb.offsetTop-6;add_style(adiv,_wide,_high,'absolute',_offY,_offX);_elmOb.parentNode.insertBefore(adiv,_elmOb);_elmOb.styleposition='relative';};};function _has_shad(_id,_wide,_high)
{if(document.getElementById(_id))
{var _elm=document.getElementById(_id);var _elmW=_wide?_wide:_elm.offsetWidth;var _elmH=_high?_high:_elm.offsetHeight;_do_corner(_elm,2,_elmW,0);_do_side(_elm,11,_elmW,1,_elmH-11,1);_do_corner(_elm,_elmH,_elmW,1);_do_side(_elm,_elmH,11,2,1,_elmW-11);_do_corner(_elm,_elmH,1,3);};function _do_side(_to,_start,_left,_dir,_h,_w)
{var i=0;_start=ie?_start-1:_start;switch(_dir)
{case 1:var _ll=1;var _ss=0;break;case 2:var _ss=1;var _ll=0;break;};for(i=0;i<9;i++)
{var _inner=make_thing('div');var _afade=((9-i)/10)/1.2;add_style(_inner,_w,_h,'absolute',(_start+i*_ss),(_left+i*_ll),'#000000',0);_inner.style.fontSize='1px';make_clear(_inner,_afade);_to.appendChild(_inner);};};function _do_corner(_to,_start,_left,_dir)
{var _matrix=new Array(new Array(1,1,0,0,0,0,0,0,0),new Array(2,2,1,1,0,0,0,0,0),new Array(3,3,2,2,1,0,0,0,0),new Array(4,4,3,3,2,1,0,0,0),new Array(5,5,4,4,3,2,1,0,0),new Array(6,6,5,4,3,2,1,0,0),new Array(7,7,6,5,4,3,2,1,0),new Array(8,8,7,6,5,4,3,2,1),new Array(9,8,7,6,5,4,3,2,1));var _i=0;var _inner=0;var _long=_matrix.length;var _long1=_matrix[0].length;var _target=_to;var _step1=1;var _step2=1;_start=!_start?0:_start;_left=!_left?0:_left;_start=ie?_start-1:_start;switch(_dir)
{case 0:_step1=1;_step2=1;break;case 1:_step1=-1;_start+=_matrix[0].length-1;_step2=1;break;case 2:_step1=1;_step2=-1;_left+=_matrix.length;break;case 3:_step1=-1;_start+=_matrix[0].length-1;_step2=-1;_left+=_matrix.length;break;default:_step1=1;_step2=1;break;};for(_i=0;_i<_long;_i++)
{for(_inner=0;_inner<_long1;_inner++)
{var opa=_matrix[_i][_inner];if(opa>0)
{opa=!ie?(opa/10)/1.2:(opa/10)/1.5;var _div=make_thing('div');add_style(_div,1,1,'absolute',(_i*_step1)+_start,(_inner*_step2)+_left,'#000000',0);_div.style.fontSize='1px';make_clear(_div,opa);_target.appendChild(_div);};};_inner=0;};};};function addListener(element,type,expression,bubbling)
{bubbling=bubbling||false;if(window.addEventListener)
{element.addEventListener(type,expression,bubbling);return true;}
else if(window.attachEvent)
{element.attachEvent('on'+type,expression);return true;}
else
{return false;};};function quickRequest(_url,_meth,_do,_dam,_bits,_ret)
{if(_ret)
{var ret=true;}
else
{var ret=false;}
if(window.XMLHttpRequest)
{req=new XMLHttpRequest();req.onreadystatechange=function(){dealWithIt(_do,_dam)};req.open(_meth,_url,ret);}
else if(window.ActiveXObject)
{req=new ActiveXObject("Microsoft.XMLHTTP");if(req)
{req.onreadystatechange=function(){dealWithIt(_do,_dam)};req.open(meth,_url,ret);};};if(_meth=='post')
{req.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');};req.send(_bits);};function dealWithIt(_do,_dam)
{if(req.readyState==4)
{if(req.status==200)
{if(req.responseText)
{var jsondata=eval('('+req.responseText+')');_do(jsondata);}
else
{_dam('Error with returned data possibley wrong format ie html');}}
else
{var info="Ajax Error : "+req.status;_dam(info);};};};function do_tab(_box,_breaker,_offX,_offY)
{var _box=!_box?'news_box':_box;var _breaker=!_breaker?'h2':_breaker;var _collect=new Array();var _news=document.getElementById(_box);var _current=0;var _h=_news.getElementsByTagName(_breaker);var _cdiv='';var bname='cover_up_'+_box;_offX=!_offX?-4:_offX;_offY=!_offY?2:_offY;if(_news)
{var _i=0;var _l=_h.length;var _s=0;var _cl='inner';for(_i=0;_i<_l;_i++)
{if(_i>0)
{var nname=_h[_i].getElementsByTagName('a')[0].innerHTML;_h[_i].innerHTML=nname;_collect[_i]=_news.getElementsByTagName('div')[_i];}
else
{_collect[_i]=_news.getElementsByTagName('div')[_i];};_h[_i].onmouseover=_overTab;_h[_i].onmouseout=_outTab;_h[_i].onclick=_click;}
_cdiv=make_thing('div',bname);add_style(_cdiv,_h[0].offsetWidth,5,'absolute',_collect[0].offsetTop-4,15,'#FFFFFF');_cdiv.style.fontSize='1px';_cdiv.style.border='0';_news.appendChild(_cdiv);toggle();}
function _overTab(e)
{e=(e)?e:event;var el=e.target||e.srcElement;var _id=el.getAttribute('id');while(!el.getAttribute('id'))
{el=el.parentNode;};var _id=el.getAttribute('id');var _cls=el.getAttribute(ie?'className':'class');if(_cls!='selected')
{el.setAttribute((ie?'className':'class'),_cls+' over');el.style.cursor='pointer';}
else
{el.style.cursor='default';};};function _outTab(e)
{e=(e)?e:event;var el=e.target||e.srcElement;var _id=el.getAttribute('id');while(!el.getAttribute('id'))
{el=el.parentNode;}
var _id=el.getAttribute('id');var _cls=el.getAttribute(ie?'className':'class');if(_cls!='selected')
{el.setAttribute((ie?'className':'class'),'notselected');el.style.cursor='default';};};function _click(e)
{e=(e)?e:event;var el=e.target||e.srcElement;while(!el.getAttribute('id'))
{el=el.parentNode;}
var _id=el.getAttribute('id');var ti=0;var tl=_h.length;var _oldcur=_h[_current].getAttribute('id');var _oldbox=_collect[_current].getAttribute('id');if(_id!=_oldcur)
{if(document.getElementById('hold_shad_'+_oldcur))
{document.getElementById('hold_shad_'+_oldcur).parentNode.removeChild(document.getElementById('hold_shad_'+_oldcur));document.getElementById('hold_shad_'+_oldbox).parentNode.removeChild(document.getElementById('hold_shad_'+_oldbox));}
for(ti=0;ti<tl;ti++)
{if(_id==_h[ti].getAttribute('id'))
{_current=ti;ti=tl;};};toggle();}};function toggle()
{_cdiv=document.getElementById(bname);var _i=0;var _l=_h.length;for(_i=0;_i<_l;_i++)
{if(_i==_current)
{_collect[_i].style.display='block';_h[_i].setAttribute((ie?'className':'class'),'selected');_cdiv.style.left=_h[_i].offsetLeft+1+'px';_cdiv.style.width=_h[_i].offsetWidth-3+'px';}
else
{_collect[_i].style.display='none';_h[_i].setAttribute((ie?'className':'class'),'notselected');};};};};function asset_rotation(__duration,__feature,__nav)
{var thumb=!__nav?document.getElementById('image_table'):document.getElementById(__nav);thumb.style.overflow='hidden';var _a=thumb.getElementsByTagName('a');var _l=_a.length;var i=0;var _feature=!__feature?document.getElementById('feature'):document.getElementById(__feature);var _im=_feature.getElementsByTagName('img')[0];_im.setAttribute('title','');var the_list=new Array();var _current_image=0;var _new_image=0;var _preim=new Array();var _preimtemp=1;var ie=(navigator.userAgent.indexOf("MSIE")>=0)?true:false;var _int_val='';var _int_load='';var _int_scroll='';var _direction=false;var upto=1;var _duration=!__duration||(__duration*1)<=0?15:(__duration*1);var _is_fade=false;var _step=8;var _salt=0.05;var _current_scroll=0;var _scroll_wide=879;var _list_wide=_scroll_wide;var _thumb_total=10;var _current_x=0;var _direction2=false;function _init()
{for(i=0;i<_l;i++)
{var _rel=_a[i].getAttribute('rel');var _href=_a[i].getAttribute('href');var _target=_a[i].getAttribute('target');var _alt=_a[i].getAttribute('alt');the_list[i]=new Array(_rel,_href,_alt,_target);_a[i].setAttribute('id',i);_a[i].onclick=getthat;_a[i].onmouseover=function(){this.style.cursor='pointer';}
_a[i].onmouseout=function(){this.style.cursor='default';}
_a[i].removeAttribute('href');};_preim[_current_image]='x';_preimtemp=1;var tmp=new Image();tmp.src=the_list[1][0];addListener(tmp,'load',jit_trap);do_nav();_int_load=setTimeout(change_feature,_duration*1000);_scroll_wide=thumb.offsetWidth;_list_wide=thumb.getElementsByTagName('table')[0].offsetWidth;_thumb_total=Math.floor(_scroll_wide/thumb.getElementsByTagName('td')[0].offsetWidth);if(the_list.length>_thumb_total)
{var _ul=thumb.parentNode.getElementsByTagName('li');_ul[0].onclick=prev_but;_ul[0].onmouseover=function(){this.style.cursor='pointer';};_ul[0].onmouseout=function(){this.style.cursor='default';};_ul[_ul.length-1].onclick=next_but;_ul[_ul.length-1].onmouseover=function(){this.style.cursor='pointer';};_ul[_ul.length-1].onmouseout=function(){this.style.cursor='default';};};}
function do_nav()
{_a[_current_image].setAttribute((ie?'className':'class'),'norm');_a[_new_image].setAttribute((ie?'className':'class'),'selected');_current_image=_new_image;}
function getthat(e)
{if(_int_val){clearInterval(_int_val);};if(_int_load){clearTimeout(_int_load);};e=(e)?e:event;var el=e.target||e.srcElement;while(!el.getAttribute('id'))
{el=el.parentNode;}
var _id=el.getAttribute('id');_new_image=_id;if(_is_fade)
{_im=_feature.getElementsByTagName('img')[0];make_clear(_im,1);_is_fade=false;}
make_current(_id);_int_load=setTimeout(change_feature,_duration*1000);return(false);}
function jit_trap()
{_preim[_preimtemp]='x';}
function scroll_trigger(_id)
{var curtab=thumb.getElementsByTagName('table')[0].offsetLeft;_step=5;var _td=thumb.getElementsByTagName('td')[_id];var ikl=(-(_scroll_wide)<-(_list_wide-_scroll_wide))?-(_list_wide-_scroll_wide):-(_scroll_wide);if(_td.offsetLeft>_scroll_wide)
{_direction2=true;if(curtab-_td.offsetLeft>(-_list_wide+_scroll_wide))
{_current_x=curtab-_td.offsetLeft;}
else
{_current_x=-_list_wide+_scroll_wide;}}
else if(_td.offsetLeft<0)
{_direction2=false;_current_x=((curtab-_td.offsetLeft)<=0)?curtab-_td.offsetLeft:0;}
move_nav();}
function make_current(_id)
{if(_id%_thumb_total==0)
{scroll_trigger(_id);}
do_nav();_im.src=the_list[_id][0];_im.setAttribute('alt',the_list[_id][2]);var _ima=_im.parentNode;_ima.href=the_list[_id][1];if(!_preim[_id]&&!ie)
{if(document.getElementById('loader'))
{_feature.removeChild(document.getElementById('loader'));}
var _loader=make_thing('div','loader');var lim=make_thing('img');lim.src=_loader_gif;_loader.appendChild(lim);_loader.style.position='absolute';var www=new Array();var wwhere=findPos(_im);www[1]=wwhere[1];wwhere=findPos(thumb.parentNode);www[0]=wwhere[0];_loader.style.left=www[0]+'px';_loader.style.top=www[1]+'px';_loader.style.margin='0';_loader.style.width=_im.offsetWidth+'px';_loader.style.height=_im.offsetHeight+'px';_loader.style.background='#FFFFFF';_feature.appendChild(_loader);var tmp=new Image();tmp.src=the_list[_id][0];addListener(tmp,'load',finish_current);}}
function finish_current()
{_preim[_current_image]='x';document.getElementById('loader').parentNode.removeChild(document.getElementById('loader'));}
function fader()
{if(_im)
{upto=_direction==true?(upto+0.1):(upto-0.1);make_clear(_im,upto);if(!_direction&&upto<=0.1)
{_direction=true;make_current(_new_image);}
else if(_direction&&upto>=1)
{_is_fade=false;clearInterval(_int_val);var nn=((_current_image*1)+1>=the_list.length)?0:((_current_image*1)+1);if(!_preim[nn])
{_preimtemp=nn;var tmp=new Image();tmp.src=the_list[nn][0];addListener(tmp,'load',jit_trap);}
_int_load=setTimeout(change_feature,_duration*1000);}}}
function change_feature()
{clearTimeout(_int_load);clearInterval(_int_val);_new_image=(_current_image*1)+1;if(_new_image>=the_list.length)
{_new_image=0;}
_direction=false;upto=1;_is_fade=true;_int_val=setInterval(fader,33);}
function move_nav()
{if(thumb)
{var tab=thumb.getElementsByTagName('table')[0];_step=_step+(_step*_salt);if(_direction2)
{var where=_current_scroll-Math.floor(_step);_current_scroll=where;tab.style.margin='0 0 0 '+where+'px';if(_current_scroll<_current_x)
{_current_scroll=_current_x;tab.style.margin='0 0 0 '+_current_scroll+'px';}
else
{_int_scroll=setTimeout(move_nav,2);};}
else
{var where=_current_scroll+Math.floor(_step);tab.style.margin='0 0 0 '+where+'px';_current_scroll=where;if(_current_scroll>_current_x)
{_current_scroll=_current_x;tab.style.margin='0 0 0 '+_current_scroll+'px';}
else
{_int_scroll=setTimeout(move_nav,2);};};};};function next_but()
{_direction2=true;_step=5;_current_x=((_current_x-_scroll_wide)>-(_list_wide-_scroll_wide))?_current_x-_scroll_wide:-(_list_wide-_scroll_wide);move_nav();};function prev_but()
{_direction2=false;_step=5;_current_x=((_current_x+_scroll_wide)>0)?0:_current_x+_scroll_wide;move_nav();};_init();};function pop_up(_mark,_alt)
{var req;var ourX=0;var ourY=0;var _drag_int;var tempX=0;var tempY=0;var offsetX=0;var offsetY=0;var screenW=0;var screenH=0;var screenT=0;var screenL=0;var cause='';var aimat='';var ie_hack='';var iecount=0;var thep='';var thet='';var _int_fake='';var _steps=20;var _kicker=true;switch(document.location.href.split('/')[2])
{case'localhost:8888':var _make_local='http://localhost:8888/acustaff/passon.php';var _check_local='http://localhost:8888';break;case'localhost':var _make_local='http://localhost/acustaff/passon.php';var _check_local='http://localhost';break;case'www.acu.edu.au':var _make_local='http://www.acu.edu.au/nested_content/javascript/passon/';var _check_local='http://www.acu.edu.au/';break;case'my.acu.edu.au':var _make_local='http://my.acu.edu.au/nested_content/javascript/passon/';var _check_local='http://my.acu.edu.au/';break;case'apps.acu.edu.au':var _make_local='http://apps.acu.edu.au/~trevorg/acustaff/passon.php';var _check_local='http://apps.acu.edu.au';break;}
var _our_wide=0;var _our_high=0;var _content_div='';function make_win(e)
{if(document.getElementById('pop_up'))
{document.getElementById('pop_up').parentNode.removeChild(document.getElementById('pop_up'));};cause='';document.onmousemove=getMouseXY;window_size();e=(e)?e:event;var el=e.target||e.srcElement;while(!el.getAttribute('pop_up'))
{el=el.parentNode;};var __url=check_url(el.getAttribute('pop_up'));var _name=el.getAttribute('title');var _par=document.getElementsByTagName('body')[0];var img=make_thing('img','');img.src=_loader_gif;img.style.width='32px';img.style.height='32px';if(!aimat||!document.getElementById(aimat))
{var wide=screenL+(screenW/2)-225;var high=screenT+(screenH/2)-150;var _newdiv=make_thing('div','pop_up','','');_newdiv.style.position='absolute';_newdiv.style.top='-999px';_newdiv.style.left='-999px'
if(_our_wide)
{_newdiv.style.width=_our_wide+'px';};if(_our_high)
{_newdiv.style.height=_our_high+'px';};var _tiny=make_thing('div','has_shad');_tiny.style.position='relative';make_clear(_tiny,0.4);_newdiv.appendChild(_tiny);var _h2=make_thing('h1','pop_name','','',' '+_name);_h2.onmousedown=set_drag;_h2.onmouseup=stop_drag;_newdiv.appendChild(_h2);_newdiv.onmouseout=stop_drag;var _x=make_thing('div','thex');var _a=make_thing('a','','','','X');_a.onclick=close_it;_a.onmouseover=function(){this.style.cursor='pointer';};_a.onmouseout=function(){this.style.cursor='default';};_x.appendChild(_a);_newdiv.appendChild(_x);var _content=make_thing('div','pop_cont_pop_up','','','Please Wait...');_content.style.display='block';_newdiv.appendChild(_content);_par.appendChild(_newdiv);_newdiv=document.getElementById('pop_up');var aspan=_newdiv.getElementsByTagName('h1')[0];if(cause&&!ie)
{aspan.style.width=(_newdiv.offsetWidth-10)+'px';};wide=screenL+(screenW/2)-(_newdiv.offsetWidth/2);high=screenT+(screenH/2)-(_newdiv.offsetHeight/1.9);high=high<screenT+20?screenT+20:high;wide=wide<0?0:wide;pop_ani(el,new Array(wide,high,_newdiv.offsetWidth,_newdiv.offsetHeight));if(!ie)
{_has_shad('has_shad',_newdiv.offsetWidth-1,_newdiv.offsetHeight-1);}
else
{_has_shad('has_shad',_newdiv.offsetWidth-2,_newdiv.offsetHeight-2);};var _pframe='pop_frame';var cls='pop_frame';}
else
{var _newdiv=document.getElementById(aimat);_newdiv.innerHTML='';var _new_cont=make_thing('div',aimat+'content','','','Please Wait...');_new_cont.display='block';_newdiv.appendChild(_new_cont);var _pframe='pop_frame_'+aimat;var cls='';};if(document.getElementById(_pframe))
{document.getElementById(_pframe).parentNode.removeChild(document.getElementById(_pframe));};var _iframe=make_thing('iframe',_pframe,cls);_iframe.setAttribute('id',_pframe);_iframe.style.display='none';_iframe.src=__url;if(ie)
{_iframe.attachEvent("onload",caustic);}
else
{_iframe.onload=caustic;};_iframe.style.width=(_newdiv.offsetWidth-2)-2+'px';if(aimat)
{_iframe.style.height=(_newdiv.offsetHeight-2)+'px';}
else
{_iframe.style.height=(_newdiv.offsetHeight-aspan.offsetHeight)-2+'px';};_iframe.style.border='0';_newdiv.appendChild(_iframe);return(false);};function check_url(__url)
{var _urlcheck=__url.split('?')[1];var _hhh=new RegExp('height=');var _www=new RegExp('width=');var _ddd=new RegExp('div=');var _rrr=new RegExp('replace=');var _kkk=new RegExp('kicker=');_urlcheck=_urlcheck.split('&');if(_urlcheck.length>1)
{var _c=0;var _l=_urlcheck.length;for(_c=0;_c<_l;_c++)
{if(_urlcheck[_c].match(_hhh))
{_urlcheck[_c]=_urlcheck[_c].replace(_hhh,'');_our_high=_urlcheck[_c];}
else if(_urlcheck[_c].match(_www))
{_urlcheck[_c]=_urlcheck[_c].replace(_www,'');_our_wide=_urlcheck[_c];}
else if(_urlcheck[_c].match(_ddd))
{_urlcheck[_c]=_urlcheck[_c].replace(_ddd,'');cause=_urlcheck[_c];var inref=__url.split(_check_local);if(inref.length!=2)
{__url=_make_local+'?to='+escape(__url);};}
else if(_urlcheck[_c].match(_rrr))
{_urlcheck[_c]=_urlcheck[_c].replace(_rrr,'');if(document.getElementById(_urlcheck[_c]))
{aimat=_urlcheck[_c];};}
else if(_urlcheck[_c].match(_kkk))
{_urlcheck[_c]=_urlcheck[_c].replace(_kkk,'');if(document.getElementById(_urlcheck[_c]))
{_kicker=_urlcheck[_c]==0?false:true;};};};};return(__url);};function pop_ani(el,targs)
{thep=findPos(el);thet=targs;var pop_fake=make_thing('div','pop_up_fake','','',' ');pop_fake.style.position='absolute';pop_fake.style.top=thep[0]+'px';pop_fake.style.left=thep[1]+'px';thep[2]=((thep[0]-thet[0])/_steps)*2;thep[3]=((thep[1]-thet[1])/_steps)*2;thep[4]=0.1;thep[5]=0.1;thep[6]=0;thep[7]=pop_fake.offsetWidth;thep[8]=pop_fake.offsetHeight;thep[9]=((thet[2]-thep[7])/_steps)*2;thep[10]=((thet[3]-thep[8])/_steps)*2;make_clear(pop_fake,thep[2]);var bod=document.getElementsByTagName('body')[0];bod.appendChild(pop_fake);_int_fake=setInterval(fake_move,33);};function fake_move()
{var pop_fake=document.getElementById('pop_up_fake');thep[0]-=thep[2];thep[1]-=thep[3];thep[4]+=thep[5];thep[7]+=thep[9];thep[8]+=thep[10];pop_fake.style.top=thep[1]+'px';pop_fake.style.left=thep[0]+'px';pop_fake.style.width=thep[7]+'px';pop_fake.style.height=thep[8]+'px';make_clear(pop_fake,thep[4]);thep[6]++;if(thep[6]==10)
{clearInterval(_int_fake);var _newdiv=document.getElementById('pop_up');_newdiv.style.top=thep[1]+'px';_newdiv.style.left=thep[0]+'px';pop_fake.parentNode.removeChild(pop_fake);};};function close_it()
{fader();};function set_drag()
{var el=document.getElementById('pop_up');var _arr=findPos(el);offsetX=tempX-_arr[0];offsetY=tempY-_arr[1];_drag_int=setInterval(do_drag,3);};function stop_drag()
{clearInterval(_drag_int);};function do_drag()
{var posX=tempX-offsetX;var posY=tempY-offsetY;var el=document.getElementById('pop_up');el.style.top=posY+'px';el.style.left=posX+'px';};function caustic(e)
{e=(e)?e:event;var el=e.target||e.srcElement;while(!el.getAttribute('id'))
{el=el.parentNode;};var frmid=el.getAttribute('id');if(ie)
{var iframer=window.frames[frmid].document;var _bod=iframer.getElementsByTagName('body')[0];}
else
{var iframer=document.getElementById(frmid).contentWindow.document;var _bod=iframer.getElementsByTagName('body')[0];};if(cause)
{var _oldelm=iframer.getElementById(cause);}
else
{var _oldelm=_bod;};if(iframer)
{if(_bod&&_oldelm&&_bod!=_oldelm)
{var ie_arr=_bod.getElementsByTagName('*');while(ie_arr.length>0)
{for(var i=0;i<ie_arr.length;i++)
{ie_arr[i].parentNode.removeChild(ie_arr[i]);};ie_arr=_bod.getElementsByTagName('*');};_bod.appendChild(_oldelm);};var iff=document.getElementById(frmid);iff.style.display='block';if(frmid=='pop_frame')
{document.getElementById('pop_cont_pop_up').style.display='none';}
else
{document.getElementById(aimat+'content').style.display='none';};aimat='';if(_kicker)
{var _fa=iframer.getElementsByTagName('a');var _ff=iframer.getElementsByTagName('form');var arr=new Array(_fa,_ff);var _ii=0;var _aa=0;for(_ii=0;_ii<arr.length;_ii++)
{_aa=0;for(_aa=0;_aa<arr[_ii].length;_aa++)
{arr[_ii][_aa].setAttribute('target','_parent');};};};};};function show_load()
{if(document.getElementById('loader-image'))
{var lm=document.getElementById('loader-image');var iff=document.getElementById('pop_frame');lm.style.display='block';iff.style.display='none';};};function window_size()
{var myWidth=0,myHeight=0;if(typeof(window.innerWidth)=='number')
{myWidth=window.innerWidth;myHeight=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){myWidth=document.documentElement.clientWidth;myHeight=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){myWidth=document.body.clientWidth;myHeight=document.body.clientHeight;};screenW=myWidth;screenH=myHeight;var temp=getScrollXY();screenT=temp[1];screenL=temp[0];}
function getMouseXY(e)
{if(ie)
{var sSide=document.documentElement?document.documentElement.scrollLeft:document.body.scrollLeft;var sTop=document.documentElement?document.documentElement.scrollTop:document.body.scrollTop;tempX=event.clientX+sSide;tempY=event.clientY+sTop;}
else
{tempX=e.pageX;tempY=e.pageY;};if(tempX<0)
{tempX=0;};if(tempY<0)
{tempY=0;};};var upto=1;function fader()
{if(document.getElementById('pop_up'))
{upto-=0.1;var _li1=document.getElementById('pop_up');make_clear(_li1,upto);if(upto<=0.1)
{upto=1;_li1.parentNode.removeChild(_li1);}
else
{fadetimer=setTimeout(fader,33);};};}
function __init()
{var _aa=document.getElementsByTagName('a');var _long=_aa.length;if(_long>0)
{var _i=0;var _regMark=new RegExp(_mark);for(_i=0;_i<_long;_i++)
{if(_aa[_i].getAttribute((ie?'className':'class'))=='thickbox')
{var hr=_aa[_i].getAttribute('href');if(_alt&&_mark)
{hr=hr.replace(_regMark,_alt+_mark);};_aa[_i].setAttribute('pop_up',hr);_aa[_i].removeAttribute('href');_aa[_i].onmouseover=function(){this.style.cursor='pointer';this.setAttribute(ie?'className':'class','over_thing');};_aa[_i].onmouseout=function(){this.style.cursor='default';this.setAttribute(ie?'className':'class','up_thing');};_aa[_i].setAttribute(ie?'className':'class','up_thing');_aa[_i].onclick=make_win;if(!_aa[_i].getAttribute('title'))
{_aa[_i].setAttribute('title','ACU National');};if(!_aa[_i].getAttribute('id'))
{_aa[_i].setAttribute('id','ACU__'+_i);};};};};};__init();};function _shadows(_type,_cls,_offX,_offY,_step)
{_offX=!_offX?0:_offX;_offY=!_offY?0:_offY;_step=!_step?10:_step;var _type=!_type?'div':_type;var _cls=!_cls?'shadow':_cls;var _lst=document.getElementsByTagName(_type);var _i=0;var _il=_lst.length;var _do=new Array();var _m=0;for(_i=0;_i<_il;_i++)
{if(_lst[_i].getAttribute((ie?'className':'class'))&&_lst[_i].getAttribute((ie?'className':'class'))==_cls)
{if(!_lst[_i].getAttribute('id'))
{_lst[_i].setAttribute('id','shadow_element_'+_i);var _id='shadow_element_'+_i;}
else
{var _id=_lst[_i].getAttribute('id');};_do[_m]=_id;_lst[_i].style.position='relative';_m++;};};_i=0;_il=_do.length;for(_i=0;_i<_il;_i++)
{create_drop(_do[_i],'','',_offX,_offY,_step);};};function suggest(_c1,_c2,_c3)
{_c3=!_c3?'img':_c3;var _im=document.getElementsByTagName(_c3);_c1=!_c1?'margin-left_small':_c1;_c2=!_c2?'pop_sug':_c2;if(_im.length>0)
{var _i=0;var _l=_im.length;for(_i=0;_i<_l;_i++)
{if(_im[_i].getAttribute((ie?'className':'class')))
{var _cls=_im[_i].getAttribute((ie?'className':'class'));if(_cls==_c1)
{_im[_i].onmouseover=_over;_im[_i].onmouseout=_out;_im[_i].setAttribute('rel',_im[_i].getAttribute('title'));_im[_i].removeAttribute('title');};};};};function _over(e)
{e=(e)?e:event;var el=e.target||e.srcElement;if(document.getElementById('pop_sug_div'))
{document.getElementById('pop_sug_div_p').parentNode.removeChild(document.getElementById('pop_sug_div_p'));};var _ll=findPos(el);_ll[0]+=(el.offsetWidth+5);quick_pop(_c2,el.getAttribute('rel'),_ll[0],_ll[1]);};function _out(e)
{if(document.getElementById('pop_sug_div'))
{document.getElementById('pop_sug_div_p').parentNode.removeChild(document.getElementById('pop_sug_div_p'));};};};function quick_pop(_c,_rel,_l,_t,_b)
{var _div=make_thing('div','pop_sug_div_p','');var _div1=make_thing('div','pop_sug_div_shad');_div1.style.position='absolute';_div.appendChild(_div1);var _div2=make_thing('div','pop_sug_div','',_c,_rel);_div2.style.position='relative';var _div4=make_thing('div','the_x','','the_x','<strong>X</strong>');_div4.style.position='absolute';_div4.style.top='0px';_div4.style.right='2px';if(_b)
{_div4.onclick=_b;}
else
{_div4.onclick=close_pop;};_div2.appendChild(_div4);_div.appendChild(_div2);document.getElementsByTagName('body')[0].appendChild(_div);_div=document.getElementById('pop_sug_div_p');_div.style.position='absolute';if(_t!=''&&_l!='')
{_div.style.top=_t+'px';_div.style.left=_l+'px';}
else
{var mmm=window_size();_l=(mmm[0]/2)-(_div.offsetWidth/2)+mmm[2];_t=(mmm[1]/2)-(_div.offsetHeight/2)+mmm[3];_div.style.top=_t+'px';_div.style.left=_l+'px';}
create_drop('pop_sug_div_shad',document.getElementById('pop_sug_div').offsetWidth+14,document.getElementById('pop_sug_div').offsetHeight+14,7,3,18);function close_pop()
{if(document.getElementById('pop_sug_div_p'))
{document.getElementById('pop_sug_div_p').parentNode.removeChild(document.getElementById('pop_sug_div_p'));};};};function do_form(theform,thebutton)
{if(!document.getElementById||!document.getElementsByTagName||!document.createElement||!document.getElementById(theform)){return;};thebuton=!thebutton?'':thebutton;var arr=[];var container=document.getElementById(theform);var arri=container.getElementsByTagName('input');var arrt=container.getElementsByTagName('textarea');var arrs=container.getElementsByTagName('select');arr=arr.concat(arri,arrt,arrs);if(arr[0].length==0&&arr[1].length==0&&arr[2].length==0){return;};var subbut=false;var subbutjs=false;for(var i=0;i<arr.length;i++)
{for(var j=0,jLen=arr[i].length;j<jLen;j++)
{var rec=arr[i][j].getAttribute('title');var fmt=arr[i][j].getAttribute('accept');if(rec||fmt)
{arr[i][j].onfocus=the_call;}
else
{arr[i][j].onfocus=the_clear;};};};if(thebutton&&document.getElementById(thebutton))
{var but1=document.getElementById(thebutton);var thing=but1.value;var thebut=document.createElement('input');thebut.setAttribute('id','submit2');thebut.setAttribute('type','button');thebut.setAttribute('value',thing);thebut.onclick=validateIt;thebut.onfocus=the_clear;but1.parentNode.insertBefore(thebut,but1);but1.parentNode.removeChild(but1);};function the_call(e)
{e=(e)?e:event;var el=e.target||e.srcElement;var thetype=el.type;var rec='required';var fmt=el.getAttribute('accept')!=null?el.getAttribute('accept'):'';if(rec==el.getAttribute('title'))
{fmt='<strong>Required</strong><br />'+fmt;};if(document.getElementById('pop_sug_div'))
{document.getElementById('pop_sug_div_p').parentNode.removeChild(document.getElementById('pop_sug_div_p'));};var _ll=findPos(el);_ll[0]+=(el.offsetWidth+5);quick_pop('pop_sug',fmt,_ll[0],_ll[1],this.the_clear);};function the_clear()
{if(document.getElementById('pop_sug_div'))
{document.getElementById('pop_sug_div_p').parentNode.removeChild(document.getElementById('pop_sug_div_p'));};};function validateIt()
{var container=document.getElementById(theform);var arr=[];var arri=container.getElementsByTagName('input');var arrt=container.getElementsByTagName('textarea');var arrs=container.getElementsByTagName('select');arr=arr.concat(arri,arrt,arrs);for(var i=0;i<arr.length;i++)
{for(var j=0,jLen=arr[i].length;j<jLen;j++)
{var rec=arr[i][j].getAttribute('title');var fmt=arr[i][j].getAttribute('accept');var thetype=arr[i][j].type;if(rec)
{var temp=false;switch(thetype)
{case'text':case'textarea':case'password':temp=arr[i][j].value;break;case'checkbox':case'radio':temp=arr[i][j].checked;break;case'select-one':case'select':var number=arr[i][j].options[arr[i][j].selectedIndex].value;temp=number!=-1?true:false;break;};if(!temp)
{var tempname=arr[i][j].getAttribute('id');arr[i][j].focus();return;};};};};document.forms[theform].submit();};};function logform()
{var _frm=document.getElementById('login_box').getElementsByTagName('form')[0];_frm.onsubmit=_kicker;function _kicker()
{var _sel=_frm.getElementsByTagName('select')[0];if(_sel.selectedIndex>0){location=_sel.options[_sel.selectedIndex].value;}
else
{alert(_sel.options[_sel.selectedIndex].value);};return(false);};};function toggle_input(_field,_value,_size)
{_size=_size!=undefined?_size:false;function search_value()
{if(document.getElementById(_field))
{var qu=document.getElementById(_field);qu.value=_value;qu.onfocus=get_that;qu.onblur=get_that;};};function get_that(e)
{e=(e)?e:event;var el=e.target||e.srcElement;var val=el.value;if(val=='')
{el.value=_value;if(_size)
{el.size=21;};}
else if(val==_value)
{el.value='';if(_size)
{el.size=30;};};};search_value();};function broken_links()
{var _broken=new Array();var _page_name=document.location.href;var _url=_page_name.split('/');var _realurl='http://'+_url[2];var a=0;var req;var _meta=document.getElementsByTagName('meta');var _i=0;var _l=_meta.length;var _nn='';var _asset='';var _user='';while(_i<_l)
{_nn=_meta[_i].getAttribute('name');if(_nn=='ID')
{_asset=_meta[_i].getAttribute('content');}
else if(_nn=='DC.Contributor')
{_user=_meta[_i].getAttribute('content');};if(_asset&&_user)
{_i=_l;}
else
{_i++;};};switch(_realurl)
{case'http://localhost:8888':_realurl+='/apps/emailcatch.php';break;case'http://localhost':_realurl+='/apps/emailcatch.php';break;case'http://www.acu.edu.au':case'http://my.acu.edu.au':_realurl+='/nested_content/javascript/broken/emailcatch/';break;case'http://apps.acu.edu.au':_realurl+='/~trevorg/apps/emailcatch.php';break;}
function search_links()
{var _body=document.getElementsByTagName('body')[0];var _a=_body.getElementsByTagName('a');if(_a.length>0)
{var i=0;var _count=0;var _regX=new RegExp(_page_name,"ig");var _regN=new RegExp('www[23]','ig');var _regM=new RegExp('my.acu.edu.au/student','ig');for(i=0;i<_a.length;i++)
{var ref=_a[i].href;var aref=ref.replace(_regX,'');if(aref.substr(0,3)=='?a=')
{_broken[_count]=escape(aref);_count++;};if(ref.match(_regN)||ref.match(_regM))
{_broken[_count]=escape(ref);_count++;};};if(_broken.length>0)
{report_links();};};};function report_links()
{_page_name=escape(_page_name);_realurl+='?input='+_page_name+'~'+_asset+'~'+escape(_user);quickRequest(_realurl,'post',_do,_do,'thelist='+_broken.join('~'),false);};function _do(info)
{};search_links();};