function loadImages(){var d=0;var e="Добро пожаловать на домашнюю страничку Andy";var b=60;var c=0;while(c++<140){e=" "+e}function a(){window.status=e.substring(d++,e.length);if(d==e.length){d=0}setTimeout("Scroller()",b)}a()}function flipBox(b){var a;if(document.images["b_"+b].src.indexOf("_on")==-1){a=document.images["b_"+b].src.replace("_off","_on");document.getElementById("box_"+b).style.display="none";document.images["b_"+b].src=a}else{a=document.images["b_"+b].src.replace("_on","_off");document.getElementById("box_"+b).style.display="block";document.images["b_"+b].src=a}}function addText(h,n,m,e){if(document.selection){var g=document.selection.createRange().text;document.forms[e].elements[h].focus();var b=document.selection.createRange();b.text=n+g+m;return}else{if((typeof document.forms[e].elements[h].selectionStart)!="undefined"){var j=document.forms[e].elements[h];var d=j.textLength;var a=j.selectionStart;var f=j.selectionEnd;var c=j.scrollTop;var l=(j.value).substring(0,a);var k=(j.value).substring(a,f);var i=(j.value).substring(f,d);j.value=l+n+k+m+i;j.selectionStart=l.length;j.selectionEnd=l.length+k.length+n.length+m.length;j.scrollTop=c;j.focus();return}else{insertText(h,n+m,e)}}}function insertText(f,h,d){if(document.forms[d].elements[f].createTextRange){document.forms[d].elements[f].focus();document.selection.createRange().duplicate().text=h}else{if((typeof document.forms[d].elements[f].selectionStart)!="undefined"){var a=document.forms[d].elements[f];var g=a.selectionEnd;var e=a.value.length;var c=a.value.substring(0,g);var i=a.value.substring(g,e);var b=a.scrollTop;a.value=c+h+i;a.selectionStart=c.length+h.length;a.selectionEnd=c.length+h.length;a.scrollTop=b;a.focus()}else{document.forms[d].elements[f].value+=h;document.forms[d].elements[f].focus()}}}function storeCaret(a){if(a.createTextRange){a.caretPos=document.selection.createRange().duplicate()}}function imgFit(b,a){if(typeof b.naturalWidth=="undefined"){b.naturalHeight=b.height;b.naturalWidth=b.width}if(b.width>a){b.height=Math.round(((a)/b.width)*b.height);b.width=a;b.title="Click image to view full size";b.style.cursor="move"}else{if(b.width==a&&b.width<b.naturalWidth){b.height=b.naturalHeight;b.width=b.naturalWidth;b.title="Click to fit in the browser window"}}}function show_hide(a){a.style.display=a.style.display=="none"?"block":"none"};