function fixLeft(){var a=document.getElementById("menu").offsetHeight;document.getElementById("left").style.paddingTop=a+"px"}function fixRight(){document.getElementById("right").style.height=document.getElementById("rightcontent").getElementsByTagName("DIV")[0].offsetHeight+"px"}function setPageHeight(){document.getElementById("inner").style.height="100%";var a=(document.documentElement?document.documentElement:document.body).scrollHeight;if(a<document.body.scrollHeight){a=document.body.scrollHeight}document.getElementById("inner").style.height=a+"px"}AddToInitArray(setPageHeight);window.onresize=setPageHeight;var photoArray;function getPhoto(a){document.getElementById("photo").src=a||photoArray[Math.floor(Math.random()*photoArray.length)]}AddToInitArray(function(){var a=new swfir();a.specify("src","/css/canada/swfir.swf");a.specify("rotate","5");a.specify("border-width","5");a.specify("border-color","fff");a.specify("border-radius","10");a.specify("wmode","transparent");a.specify("shadow-blur","5");a.specify("shadow-offset","5");a.specify("shadow-angle","45");a.specify("shadow-alpha","80");a.specify("shadow-blur-x","5");a.specify("shadow-blur-y","5");a.specify("shadow-strength","4");a.specify("shadow-color","000");a.swap("#photo");document.getElementById("photo").style.visibility="visible"});