var divid="frame_image";var imageid="frame_image_content";var total_imgs=4;var imgpos=0;var isIE6=false;var isIE7=false;var isSafari=false;var isGecko=false;var isOpera=false;var g_PopupIFrame;if(document.all&&!document.fireEvent&&!window.opera){var isIE6=true;}if(document.all&&document.fireEvent&&!document.createComment){var isIE6=true;}if(document.compatMode&&document.all){var isIE6=true;}if(document.documentElement&&typeof document.documentElement.style.maxHeight!="undefined"&&!isSafari&&!isGecko&&!isOpera){var isIE7=true;}if(!document.doctype&&!isIE6&&!isIE7){var isSafari=true;}if(window.Iterator||Array.every||(window.getComputedStyle&&!window.opera)){isGecko=true;}if(window.opera){var isOpera=true;}function $c(_1){var _2=[];for(i=0;el=_1[i];i++){_2.push(el);}return _2;}function $(){if(arguments.length==1){return get$(arguments[0]);}var _3=[];$c(arguments).each(function(el){_3.push(get$(el));});return _3;function get$(el){if(typeof el=="string"){el=document.getElementById(el);}return el;}}function opac(_6){var _7=$(imageid).style;_7.opacity=(_6/100);_7.MozOpacity=(_6/100);_7.KhtmlOpacity=(_6/100);_7.filter="alpha(opacity="+_6+")";}function changeImage(){var _8=10;var _9=0;imgpos++;if(imgpos>total_imgs){imgpos=0;}$(divid).style.backgroundImage="url("+$(imageid).src+")";opac(0,imageid);$(imageid).src="/layout/carousel_"+imgpos+".jpg";for(i=0;i<=100;i++){setTimeout("opac("+i+")",(_9*_8));_9++;}setTimeout("changeImage()",5000);}function getScreenDims(_a){var x1,y1,x2,y2;var _c=new Array();if(self.innerHeight){x1=self.innerWidth;y1=self.innerHeight;}else{if(document.documentElement&&document.documentElement.clientHeight){x1=document.documentElement.clientWidth;y1=document.documentElement.clientHeight;}else{if(document.body){x1=document.body.clientWidth;y1=document.body.clientHeight;}}}if(!_a){var _d=document.body.scrollHeight;var _e=document.body.offsetHeight;if(_d>_e){x2=document.body.scrollWidth;y2=document.body.scrollHeight;}else{x2=document.body.offsetWidth;y2=document.body.offsetHeight;}}else{x2=0;y2=0;}w=(x1>x2)?x1:x2;h=(y1>y2)?y1:y2;_c["w"]=w;_c["h"]=h;return _c;}function setOverlay(_f){if(_f){var _10=getScreenDims(false);$("overlay").style.height=_10["h"]+"px";$("overlay").style.visibility="visible";}else{$("overlay").style.visibility="hidden";}}function clearOverlay(){hideDialog(true);setOverlay(false);}function setDialog(_11){}function displayImage(img,w,h){var _15=getScreenDims(true);setOverlay(true);$("preloader").style.width=w+"px";$("preloader").style.height=h+"px";$("preloader").style.visibility="visible";w+=40;h+=40;$("image_popup").style.background="";if((isIE6||isIE7)&&eval("document.getElementById('dir')")){$("dir").style.visibility="hidden";}$("image_popup").style.visibility=($("image_popup").style.visibility=="visible")?"hidden":"visible";$("image_popup").style.width=w+"px";$("image_popup").style.height=h+"px";var _16=w;var _17=h;$("top_row").style.width=(w-10)+"px";$("bottom_row").style.width=(w-10)+"px";imagePreload("image_popup","/images/"+img);h=((parseInt(_15["h"])/2)-(parseInt(h)/2));w=((parseInt(_15["w"])/2)-(parseInt(w)/2));if(self.pageYOffset){h+=self.pageYOffset;}else{if(document.documentElement&&document.documentElement.scrollTop){h+=document.documentElement.scrollTop;}else{if(document.body){h+=document.body.scrollTop;}}}$("image_popup").style.top=h+"px";$("image_popup").style.left=w+"px";return false;}function imagePreload(id,img){objImage=new Image();objImage.onload=function(_1a){$(id).style.background="url("+img+") 50% 50% no-repeat";$("preloader").style.visibility="hidden";return true;};objImage.src=img;}function hideDialog(_1b){$("preloader").style.visibility="hidden";if((isIE6||isIE7)&&eval("document.getElementById('dir')")){$("dir").style.visibility="visible";}$("image_popup").style.visibility="hidden";}function clearOverlayTimeout(s){if(typeof (s)=="undefined"||s<0){s=1500;}setTimeout("clearOverlay()",s);}function fixIEFrame(){if(document.compatMode&&document.all){for(x=0;x<20;x++){$("left_column").innerHTML+="";$("right_column").innerHTML+="";$("top_row").innerHTML+="";$("bottom_row").innerHTML+="";}$("left_column").style.background="";$("right_column").style.background="";$("top_row").style.background="";$("bottom_row").style.background="";}}var imageTooltipTimeout="";function imageTooltip(id,_1e){imageTooltipTimeout=setTimeout("showImageTooltip('"+id+"','"+_1e+"')",800);}function clearImageTooltipTimeout(){clearTimeout(imageTooltipTimeout);}function hideImageTooltip(){clearImageTooltipTimeout();$("image_tooltip").innerHTML="";if((isIE6||isIE7)&&eval("document.getElementById('dir')")){if($("image_popup").style.visibility!="visible"){$("dir").style.visibility="visible";}}$("image_tooltip").style.visibility="hidden";}function showImageTooltip(id,_20){$("image_tooltip").style.overflow="hidden";$("image_tooltip").innerHTML=id;var top=$(id).offsetTop-170;$("image_tooltip").style.top=top+"px";window.status=top;var _22=$(id).offsetLeft-70;$("image_tooltip").style.left=_22+"px";if((isIE6||isIE7)&&eval("document.getElementById('dir')")){$("dir").style.visibility="hidden";}$("image_tooltip").style.visibility="visible";}function setIFrame(_23){_23.style.visibility="visible";}
function contact_link() {
var who = "comments";
var url = "brianburton.org";
var ins1 = 'mai';
var ins2 = 'lto:';
text = who + '@' + url;
window.location.href=ins1+ins2+text;
}