function setWMode(){for(var ems=document.embeds,i=0,em;em=ems[i];i++){em.setAttribute('wmode','transparent');var nx=em.nextSibling,pn=em.parentNode;pn.removeChild(em);pn.insertBefore(em,nx);};};function resizeElement(o,reqWidth){var thisWidth=$(o).width();var thisHeight=$(o).height();if(thisWidth>reqWidth){var wDiff=thisWidth-reqWidth;var newWidth=reqWidth+'px';var newHeight=thisHeight-wDiff+'px';$(o).css('width',newWidth);$(o).css('height',newHeight);};};function resizeEmbed(reqWidth){$("embed").each(function(){resizeElement(this,reqWidth);});$("object").each(function(){resizeElement(this,reqWidth);});};function setLinkTargets(){$(".bigbody a").each(function(i){var c=$(this).attr("href");if(c.match(/austinchronicle/)||c.match(/gyrobase/)||c.match(/binary/)){}else{var t=$(this).attr("target");if(t.match(/_blank/)||t.match(/_parent/)||t.match(/_top/)||t.match(/_new/)){}else{$(this).attr("target","_blank");}};});};