/*
HTTP Host: static.ak.fbcdn.net
Generated: March 21st 2010 5:10:38 AM PDT
Machine: 10.16.140.103
Locale: nu_ll
Path: js/8ll5539yej48ww8c.pkg.js
*/

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/8ll5539yej48ww8c.pkg.js"]); }

function getNextFormField(_L0){var i;for(i=0;i<_L0.form.elements.length;i++)if(_L0==_L0.form.elements[i])break;i=(i+1)%_L0.form.elements.length;return (_L0.form.elements[i]);}function autoCompleteDB(){this.aNames=new Array();this.aTitles=new Array();}autoCompleteDB.prototype.assignArray=function(_L0,_L1){this.aNames=_L0;this.aTitles=_L1;};autoCompleteDB.prototype.getMatches=function(str,_L1,_L2,_L3,_L4){var ctr=0;for(var i=0,il=this.aNames.length;i<il;i++){if(this.aNames[i].toLowerCase().indexOf(str.toLowerCase())==0){_L1.push(this.aNames[i]);_L2.push(i);_L3.push(this.aTitles[i]);ctr++;}if(ctr==(_L4-1))break;}};function autoComplete(_L0,_L1,_L2,_L3,_L4,_L5,_L6){this.oText=_L2;this.oDiv=_L3;this.maxSize=_L4;this.cur=-1;this.echange=_L5;this.db=new autoCompleteDB();this.db.assignArray(_L0,_L1);_L2.onkeyup=this.keyUp;_L2.onkeydown=this.keyDown;_L2.onkeypress=this.keyPress;_L2.autoComplete=this;if(_L6)_L2.onblur=this.hideSuggest;}autoComplete.prototype.hideSuggest=function(){if(this.oDiv)this.oDiv.style.visibility="hidden";};autoComplete.prototype.selectText=function(_L0,_L1){if(this.oText.createTextRange){var _L2=this.oText.createTextRange();_L2.moveStart("character",_L0);_L2.moveEnd("character",_L1-this.oText.value.length);_L2.select();}else if(this.oText.setSelectionRange)this.oText.setSelectionRange(_L0,_L1);this.oText.focus();};autoComplete.prototype.textComplete=function(_L0,_L1){if(this.oText.createTextRange||this.oText.setSelectionRange){var _L2=this.oText.value.length;this.change(_L0,_L1);this.selectText(_L2,_L0.length);}};autoComplete.prototype.keyDown=function(_L0){_L0=window.event||_L0;iKeyCode=_L0.keyCode;switch(iKeyCode){case 38:this.autoComplete.moveUp();break;case 40:this.autoComplete.moveDown();break;case 13:this.autoComplete.hideSuggest();getNextFormField(this).focus();return (false);break;}};autoComplete.prototype.keyPress=function(_L0){_L0=window.event||_L0;iKeyCode=_L0.keyCode;switch(iKeyCode){case 13:return (false);break;}};autoComplete.prototype.moveDown=function(){if(this.oDiv.childNodes.length>0&&this.cur<(this.oDiv.childNodes.length-1)){++this.cur;for(var i=0;i<this.oDiv.childNodes.length;i++)if(i==this.cur){CSS.setClass(this.oDiv.childNodes[i],"over");this.change(this.oDiv.childNodes[i].titleStr,this.oDiv.childNodes[i].titleIndex);}else CSS.setClass(this.oDiv.childNodes[i],"");}};autoComplete.prototype.moveUp=function(){if(this.oDiv.childNodes.length>0&&this.cur>0){--this.cur;for(var i=0;i<this.oDiv.childNodes.length;i++)if(i==this.cur){CSS.setClass(this.oDiv.childNodes[i],"over");this.change(this.oDiv.childNodes[i].titleStr,this.oDiv.childNodes[i].titleIndex);}else CSS.setClass(this.oDiv.childNodes[i],"");}};autoComplete.prototype.keyUp=function(_L0){_L0=_L0||window.event;var _L1=_L0.keyCode;if(_L1==8||_L1==46){this.autoComplete.onTextChange(false);}else if(_L1<32||(_L1>=33&&_L1<=46)||(_L1>=112&&_L1<=123)){}else this.autoComplete.onTextChange(true);};autoComplete.prototype.positionSuggest=function(){var _L0=this.oText;var x=0,y=_L0.offsetHeight;while(_L0.offsetParent&&_L0.offsetParent.tagName.toUpperCase()!='BODY'){x+=_L0.offsetLeft;y+=_L0.offsetTop;_L0=_L0.offsetParent;}x+=_L0.offsetLeft;y+=_L0.offsetTop;this.oDiv.style.top=y+"px";this.oDiv.style.left=x+"px";};autoComplete.prototype.onTextChange=function(_L0){var txt=this.oText.value;var _L2=this;var _L3=0;this.cur=-1;if(txt.length>0){while(this.oDiv.hasChildNodes())this.oDiv.removeChild(this.oDiv.firstChild);var _L4=new Array();var _L5=new Array();var _L6=new Array();this.db.getMatches(txt,_L4,_L5,_L6,this.maxSize);if(_L4.length==0){this.hideSuggest();this.change(txt,-1);return;}if(_L0)this.textComplete(_L6[0],_L5[0]);this.positionSuggest();for(var i=0,il=_L4.length;i<il;i++){var _L9=document.createElement('div');this.oDiv.appendChild(_L9);_L9.onmouseover=_L9.onmouseout=_L9.onmousedown=function(_La){_La=window.event||_La;oSrcDiv=_La.target||_La.srcElement;if(_La.type=="mousedown"){_L2.change(this.titleStr,this.titleIndex);_L2.hideSuggest();_L2.oText.blur();}else if(_La.type=="mouseover"){CSS.setClass(this,"over");}else if(_La.type=="mouseout"){CSS.setClass(this,"");}else this.oText.focus();};_L9.innerHTML=_L4[i];_L9.titleStr=_L6[i];_L9.selectedIndex=_L3;_L9.titleIndex=_L5[i];}this.oDiv.style.visibility="visible";}else{this.change(txt,-1);this.oDiv.innerHTML="";this.hideSuggest();}};autoComplete.prototype.change=function(_L0,_L1){this.oText.value=_L0;this.echange(this.oText,_L0,_L1);};
function showCamera(_L0,_L1){hide(ge(_L0));show(ge(_L1));}function enable_save(){var _L0=ge('save_camera_picture');if(_L0.disabled){CSS.toggleClass(_L0,'inputaux_disabled');CSS.toggleClass(_L0,'inputaux');_L0.removeAttribute('disabled');}}function disable_save(){var _L0=ge('save_camera_picture');if(!_L0.getAttribute('disabled')){CSS.toggleClass(_L0,'inputaux_disabled');CSS.toggleClass(_L0,'inputaux');_L0.setAttribute('disabled','disabled');}}function saveCameraPicture(_L0,_L1){var _L2=document[_L0]||window[_L0];_L2.renderPicture(_L1);}function setShowCamera(){AsyncRequest.pingURI('/ajax/camera.php',{"show_cam":true},true);}function setHideCamera(){AsyncRequest.pingURI('/ajax/camera.php',{"hide_cam":true},true);}function setCameraDetected(_L0){AsyncRequest.pingURI('/ajax/camera.php',{"cam_good":true,drivers:_L0||''},true);}function setCameraMaybeDetected(_L0){AsyncRequest.pingURI('/ajax/camera.php',{"cam_maybe":true,drivers:(_L0||[]).join('^^')},true);}function setCameraNotDetected(){AsyncRequest.pingURI('/ajax/camera.php',{"cam_bad":true},true);}
function editor_two_level_change(_L0,_L1,_L2){_L0=ge(_L0);if(_L0.getAttribute("typefor"))subselector=ge(_L0.getAttribute("typefor"));if(_L0&&subselector){subselector.options.length=1;type_value=_L0.options[_L0.selectedIndex].value;if(type_value=="")type_value=-1;index=1;suboptions=_L1[type_value];if(typeof(suboptions)!="undefined")for(var key in suboptions)subselector.options[index++]=new Option(suboptions[key],key);if(_L2)if(_L2[type_value]){subselector.options[0]=new Option(_L2[type_value],"");subselector.options[0].selected=true;}else{subselector.options[0]=new Option("---","");subselector.options[0].selected=true;}subselector.disabled=subselector.options.length<=1;}}function editor_two_level_set_subselector(_L0,_L1){_L0=ge(_L0);if(_L0){opts=_L0.options;for(var _L2=0;_L2<opts.length;_L2++)if((opts[_L2].value==_L1)||(_L1===null&&opts[_L2].value==''))_L0.selectedIndex=_L2;}}function editor_network_change(_L0,_L1,_L2){_L0=ge(_L0);if(_L0&&_L0.value>0){show('display_network_message');}else hide('display_network_message');}function editor_rel_change(_L0,_L1,_L2){_L0=ge(_L0);for(var _L3=2;_L3<=6;_L3++)if(_L3==_L0.value){show(_L1+'_new_partner_'+_L3);}else hide(_L1+'_new_partner_'+_L3);if(_L0&&ge(_L1+'_new_partner'))if((_L0.value>=2)&&(_L0.value<=6)){show(_L1+'_new_partner');editor_rel_anniv_show(_L1);}else{hide(_L1+'_new_partner');editor_rel_anniv_hide(_L1);}if(_L0&&ge(_L1+'_rel_uncancel'))if(_L0.value>=2&&_L0.value<=6){editor_rel_uncancel(_L0,_L1,_L0.value);}else editor_rel_cancel(_L0,_L1);_editor_rel_toggle_awaiting(_L0,_L1,_L2);}function rel_typeahead_onsubmit(){return false;}function rel_typeahead_onselect(_L0){if(!_L0)return;$('new_partner').value=_L0.i;show($('relationship_warning'));set_inner_html($('relationshipee'),htmlize(_L0.t));}function _editor_rel_toggle_awaiting(_L0,_L1,_L2){_L0=ge(_L0);if(_L0&&ge(_L1+'_rel_required'))if(_L0.value==_L2){hide(_L1+'_rel_required');show(_L1+'_rel_awaiting');}else{show(_L1+'_rel_required');hide(_L1+'_rel_awaiting');}}function editor_rel_cancel(_L0,_L1){if(ge(_L1+'_rel_uncancel'))show(_L1+'_rel_uncancel');if(ge(_L1+'_rel_cancel'))hide(_L1+'_rel_cancel');_L0=ge(_L0);if(ge(_L0)&&$(_L0).selectedIndex>1)_editor_rel_set_value(_L0,1);editor_rel_anniv_hide(_L1);}function editor_rel_anniv_show(_L0){if(ge(_L0+'_rel_anniv'))CSS.removeClass(ge(_L0+'_rel_anniv'),'hidden_elem');}function editor_rel_anniv_hide(_L0){if(ge(_L0+'_rel_anniv'))CSS.addClass(ge(_L0+'_rel_anniv'),'hidden_elem');}function editor_rel_cancel_new(_L0,_L1,_L2,_L3,_L4,_L5){hide($('relationship_warning'));$('new_partner').value='';$('relationship_typeahead').typeahead.clear();_editor_rel_set_value($(_L0),_L2);if(ge('anniversary_year')){_L3=_L3?_L3:-1;$('anniversary_year').value=_L3;}if(ge('anniversary_month')){_L4=_L3?_L3:-1;$('anniversary_month').value=_L4;}if(ge('anniversary_day')){_L5=_L3?_L3:-1;$('anniversary_day').value=_L5;}editor_rel_change($(_L0),_L1,_L2);}function editor_rel_uncancel(_L0,_L1,_L2){if(ge(_L1+'_rel_uncancel'))hide(_L1+'_rel_uncancel');if(ge(_L1+'_rel_cancel'))show(_L1+'_rel_cancel');if(_L2==4||_L2==5){hide(_L1+'_rel_with');show(_L1+'_rel_to');}else if(_L2>=2&&_L2<=6){show(_L1+'_rel_with');hide(_L1+'_rel_to');}if(ge(_L0)&&$(_L0).selectedIndex<=1)_editor_rel_set_value(_L0,_L2);editor_rel_anniv_show(_L1);_editor_rel_toggle_awaiting(_L0,_L1,_L2);}function editor_autocomplete_onselect(_L0){var _L1=/(.*)_/.exec(this.obj.name);if(_L1){var _L2=ge(_L1[1]+'_id');if(_L0){_L2.value=_L0.i==null?_L0.t:_L0.i;}else _L2.value=-1;}}function _editor_rel_set_value(_L0,_L1){_L0=ge(_L0);if(_L0){opts=_L0.options;opts_length=opts.length;for(var _L2=0;_L2<opts_length;_L2++)if((opts[_L2].value==_L1)||(_L1===null&&opts[_L2].value==''))_L0.selectedIndex=_L2;}}function enableDisable(_L0,_L1){_L1=ge(_L1);if(_L1){if(_L1.value)_L1.value="";if(_L1.selectedIndex)_L1.selectedIndex=0;}}function show_editor_error(_L0,_L1){$('editor_error_text').innerHTML=_L0;$('editor_error_explanation').innerHTML=_L1;show('error');}function make_explanation_list(_L0,num){var exp='';if(num==1){exp=_tx("{thing-1} word vereis.",{'thing-1':_L0[0]});}else if(num==2){exp=_tx("{thing-1} en {thing-2} word vereis.",{'thing-1':_L0[0],'thing-2':_L0[1]});}else if(num==3){exp=_tx("{thing-1}, {thing-2} en {thing-3} word vereis.",{'thing-1':_L0[0],'thing-2':_L0[1],'thing-3':_L0[2]});}else if(num==4){exp=_tx("{thing-1}, {thing-2}, {thing-3} en {thing-4} word vereis.",{'thing-1':_L0[0],'thing-2':_L0[1],'thing-3':_L0[2],'thing-4':_L0[3]});}else if(num>4)exp=_tx("{thing-1}, {thing-2}, {thing-3} en {num} ander velde word vereis.",{'thing-1':_L0[0],'thing-2':_L0[1],'thing-3':_L0[2],'num':num-3});return exp;}function TimeSpan(_L0,_L1,_L2,_L3){this.get_start_ts=function(){return _L17(_L4,_L5,_L7,_L6,_L8,_L9);};this.get_end_ts=function(){var _L1c=_L17(_L4,_L5,_L7,_L6,_L8,_L9);var _L1d=_L17(_La,_Lb,_Lc,_Ld,_Le,_Lf);if(_L1c>_L1d&&!(_L7&&_Lc)){var _L1e=new Date();_L1e.setTime(_L1d);_L1e.setFullYear(_L1e.getFullYear()+1);return _L1e.getTime();}else return _L1d;};var _L4=$(_L0+'_month');var _L5=$(_L0+'_day');var _L6=$(_L0+'_hour');var _L7=ge(_L0+'_year');var _L8=$(_L0+'_min');var _L9=$(_L0+'_ampm');var _La=$(_L1+'_month');var _Lb=$(_L1+'_day');var _Lc=ge(_L1+'_year');var _Ld=$(_L1+'_hour');var _Le=$(_L1+'_min');var _Lf=$(_L1+'_ampm');var _L10=_L2*60000;var _L11=function(){var _L1c=_Lc.options;var _L1d=[];for(var i=0;i<_L1c.length;i++){var _L1f=_L1c[i];if(_L1f.text!="Year:"&&_L1f.value!="-1")_L1d.push(parseInt(_L1f.value));}_L1d=_L1d.sort();return _L1d[_L1d.length-1];};var _L12=_L11();var _L13=function(){var _L1c=_L17(_L4,_L5,_L7,_L6,_L8,_L9);var _L1d=_L17(_La,_Lb,_Lc,_Ld,_Le,_Lf);_L10=_L1d-_L1c;};var _L14=function(){if(_L3===true)_L16(_L4,_L5,_L7,_L6,_L8,_L9);};var _L15=function(){_L13();};var _L16=function(){var _L1c=_L17(_L4,_L5,_L7,_L6,_L8,_L9);var _L1d=_L1c+_L10;_L18(_L1d,_La,_Lb,_Lc,_Ld,_Le,_Lf);var _L1e=_Lc.options;var _L1f=new Date(_L1d);if(_L1f.getFullYear()>_L12){_L1e.value=_L12;_L15();}};var _L17=function(m,d,y,h,min,ampm){var _L22=new Date();var _L23=_L22.getDate();var _L24=_L22.getMonth();var _L25=_L22.getFullYear();var _L26=m.value-1;var date=d.value;var hour;var _L29=min.value;var year;hour=parseInt(h.value);if(ampm.value!=''){if(hour==12)hour=0;if(ampm.value=='pm')hour=hour+12;}if(!y){if(_L26<_L24){year=_L25+1;}else if(_L26==_L24&&date<_L23){year=_L25+1;}else year=_L25;}else year=y.value;var _L2b=new Date(year,_L26,date,hour,_L29,0,0);var ts=_L2b.getTime();return ts;};var _L18=function(ts,m,d,y,h,min,ampm){var _L23=new Date();_L23.setTime(ts);var _L24=m.value;var _L25=_L23.getMonth()+1;var _L26=_L23.getDate();var _L27=_L23.getHours();var _L28=_L23.getMinutes();var _L29=_L23.getFullYear();var _L2a;if(ampm.value!=''){if(_L27>11){_L2a='pm';if(_L27>12)_L27=_L27-12;}else{if(_L27==0)_L27=12;_L2a='am';}}else _L2a='';if(_L28<10)_L28="0"+_L28;m.value=_L25;d.value=_L26;if(y)y.value=_L29;h.value=_L27;min.value=_L28;ampm.value=_L2a;if(_L24!=_L25)editor_date_month_change(m,d,y?y:false);};var _L19=function(){editor_date_month_change(_L4,_L5,_L7?_L7:false);_L14();_L13();};var _L1a=function(){editor_date_month_change(_La,_Lb,_Lc?_Lc:false);_L15();};var _L1b=function(){_L15();var _L1c=_L17(_L4,_L5,_L7,_L6,_L8,_L9);var _L1d=_L17(_La,_Lb,_Lc,_Ld,_Le,_Lf);if(_L1d<_L1c){var _L1e=12*60*60000;_L1d+=parseInt((_L1c-_L1d+_L1e-1)/_L1e)*_L1e;_L18(_L1d,_La,_Lb,_Lc,_Ld,_Le,_Lf);}};_L4.onchange=_L19;_L5.onchange=_L14;if(_L7)_L7.onchange=_L14;_L6.onchange=_L14;_L8.onchange=_L14;_L9.onchange=_L14;_La.onchange=_L1a;_Lb.onchange=_L15;if(_Lc)_Lc.onchange=_L15;_Ld.onchange=_L1b;_Le.onchange=_L15;_Lf.onchange=_L15;}function editor_date_month_change(_L0,_L1,_L2){var _L0=ge(_L0);var _L1=ge(_L1);var _L2=_L2?ge(_L2):false;var _L3=parseInt(_L1.value);var _L4=false;if(_L2&&_L2.value&&_L2.value!=-1)_L4=_L2.value;var _L5=_month_get_num_days(_L0.value,_L4);var b=_L1.options[0].value==-1?1:0;for(var i=_L1.options.length;i>_L5+b;i--)DOM.remove(_L1.options[i-1]);for(var i=_L1.options.length;i<_L5+b;i++)_L1.options[i]=new Option(i+(b?0:1),i+(b?0:1));if(_L5<_L3){_L1.value=_L1.options.length;if(typeof _L1.onchange==='function')_L1.onchange();}}function _month_get_num_days(_L0,_L1){var _L2;if(_L0==-1)return 31;_L2=new Date(_L1?_L1:1912,_L0,0);return _L2.getDate();}function toggleEndWorkSpan(_L0){if(shown(_L0+'_endspan')){hide(_L0+'_endspan');show(_L0+'_present');}else{show(_L0+'_endspan');hide(_L0+'_present');}}function regionCountryChange(_L0,_L1,_L2,_L3){switch(_L1){case '326':show(_L2);$(_L0).innerHTML=_L3+_tx("Provinsie");break;case '398':show(_L2);$(_L0).innerHTML=_L3+_tx("Staat");break;default:$(_L0).innerHTML=_L3+_tx("Land");hide(_L2);break;}}function regionCountryChange_twoLabels(_L0,_L1,_L2,_L3,_L4){show(_L0);$(_L0).innerHTML=_L4+_tx("Land");switch(_L2){case '326':show(_L3);show(_L1);$(_L1).innerHTML=_L4+_tx("Provinsie");break;case '':case '398':show(_L3);show(_L1);$(_L1).innerHTML=_L4+_tx("Staat");break;default:$(_L1).innerHTML=_L4+_tx("Staat");$(_L3).disabled=true;break;}}function regionCountyChange_setUSifStateChosen(_L0,_L1){region_select=ge(_L1);country_select=ge(_L0);if(region_select.value!=''&&country_select.value=='')country_select.value=398;}function regionCountryChange_restrictions(_L0,_L1){country_select=ge(_L0);if(country_select.value==398){country_select.value='';}else if(country_select.value==326){region_select=ge(_L1);if(region_select.value)country_select.value='';}}function mobile_phone_nag(_L0,obj,_L2){var _L3=false;var _L4=function(){if(_L3)return;for(var i=0;i<_L0.length;i++)if((new RegExp('\\b'+_L0[i]+'\\b','i')).test(obj.value)){_L3=true;(new AsyncRequest()).setURI('/ajax/mobile_phone_nag.php').setHandler(function(_L6){var _L7=_L6.getPayload();if(_L7){var div=document.createElement('div');div.innerHTML=_L7;CSS.setClass(div,'mobile_nag');div.style.display='none';_L2.parentNode.insertBefore(div,_L2);animation(div).blind().show().from('height',0).to('height','auto').go();}}).setReadOnly(true).setOption('suppressErrorHandlerWarning',true).send();break;}};addEventBase(obj,'keyup',_L4);addEventBase(obj,'change',_L4);}function mobile_phone_nag_hide(obj){while(obj.parentNode&&obj.className!='mobile_nag')obj=obj.parentNode;obj.parentNode.removeChild(obj);}
function pictureCheckAgree(_L0){if(document.frm.pic.value)if(document.frm.agree.checked){document.frm.submit();}else{var _L1='<a href="'+_L0+'">'+_tx("Gebruiksvoorwaardes")+'</a>';var str=_tx("Jy moet bevestig dat jy toestemming het om hierdie beeld op te laai en dat dit nie teen ons {tos-link} ingaan nie. ",{'tos-link':_L1});show_editor_error(str,_tx("Klik asseblief in kiesblokkie om te bevestig."));window.location.hash="errors_hash";}}var mouseDown=false;var squarePicture=null;var squareX=null;var squareY=null;var downMouseX;var downMouseY;var newSquarePicturePosX=0;var newSquarePicturePosY=0;var squareDisplaySize;var narrowGive;var squareSwitched=false;var squarePictureLoaded=false;function squarePictureOnLoad(){squarePictureLoaded=true;}function squarePictureSave(){if(squareSwitched==false)return false;$('squareform').submit();}function squarePictureInit(){squarePicture=ge('squarepicture');squareX=ge('squarex');squareY=ge('squarey');halfNarrowGive=narrowGive*-.5;if(squarePicture.height>squarePicture.width){squarePicture.width=squareDisplaySize+narrowGive;newSquarePicturePosX=halfNarrowGive;newSquarePicturePosY=squareDisplaySize*.5-squarePicture.height*.3;if(newSquarePicturePosY>halfNarrowGive)newSquarePicturePosY=halfNarrowGive;}else{squarePicture.height=squareDisplaySize+narrowGive;newSquarePicturePosY=halfNarrowGive;newSquarePicturePosX=(squareDisplaySize-squarePicture.width)*.5;}squarePicture.style.left=newSquarePicturePosX+'px';squarePicture.style.top=newSquarePicturePosY+'px';addEventBase(document.body,'mousemove',squarePictureMouseMove);addEventBase(document.body,'mouseup',squarePictureMouseUp);mouseDown=true;squarePictureMouseUp();squarePictureStart=ge('squarepicturestart');squarePictureStart.style.display='none';squarePicture.style.visibility='visible';}function squarePictureMouseDown(_L0){if(squarePictureLoaded==false)return;if(squareSwitched==false){squarePictureInit();squareSwitched=true;}mouseDown=true;var pos=Vector2.getEventPosition(_L0);downMouseX=pos.x;downMouseY=pos.y;squarePictureMouseMove(_L0);}function squarePictureMouseOver(){if(mouseDown==false)return;squarePictureMouseUp();}function squarePictureMouseUp(){if(mouseDown==false)return;mouseDown=false;squareX.value=parseFloat(-100*newSquarePicturePosX/squarePicture.width);if(squareX.value<.1)squareX.value=0;squareY.value=parseFloat(-100*newSquarePicturePosY/squarePicture.height);if(squareY.value<.1)squareY.value=0;}function squarePictureMouseMove(_L0){if(mouseDown==false)return;var pos=Vector2.getEventPosition(_L0);diffMouseX=pos.x-downMouseX;diffMouseY=pos.y-downMouseY;posX=diffMouseX-parseFloat(squareX.value*squarePicture.width*.01);posY=diffMouseY-parseFloat(squareY.value*squarePicture.height*.01);if(posY>0){posY=0;}else if(posY+squarePicture.height<squareDisplaySize)posY=-1*squarePicture.height+squareDisplaySize;if(posX>0){posX=0;}else if(posX+squarePicture.width<squareDisplaySize)posX=-1*squarePicture.width+squareDisplaySize;newSquarePicturePosX=posX;newSquarePicturePosY=posY;squarePicture.style.left=posX+'px';squarePicture.style.top=posY+'px';}

if (window.Bootloader) { Bootloader.done(["js\/8ll5539yej48ww8c.pkg.js"]); }