
function init(){resizeColumns()
window.onresize=function(){resizeColumns()}}
function resizeColumns(){var leftColumn=document.getElementById("content_left")
var rightColumn=document.getElementById("content_right")
var leftVisualPadding=document.getElementById("left-visualPadding")
var rightVisualPadding=document.getElementById("right-visualPadding")
leftVisualPadding.style.height="auto"
rightVisualPadding.style.height="auto"
var maxHeight=Math.max(leftColumn.offsetHeight,rightColumn.offsetHeight)
var IE_left=0
var IE_right=0
if(msieversion()==6){IE_left=19}
leftVisualPadding.style.height=(maxHeight-leftColumn.offsetHeight+IE_left)+"px"
rightVisualPadding.style.height=(maxHeight-rightColumn.offsetHeight+IE_right)+"px"}
function msieversion(){var ua=window.navigator.userAgent
var msie=ua.indexOf("MSIE ")
if(msie>0)
return parseInt(ua.substring(msie+5,ua.indexOf(".",msie)))
else
return 0}
function writeDebug(theText,popAlert){var theDebugId="debugwindow"
var theDebugWindow=document.getElementById(theDebugId)
if(!theDebugWindow){theDebugWindow=document.body.appendChild(document.createElement("div"))
theDebugWindow.id=theDebugId
theDebugWindow.style.position="absolute"
theDebugWindow.style.background="#ffffcc"
theDebugWindow.style.borderWidth="1px"
theDebugWindow.style.borderColor="#ff6633"
theDebugWindow.style.borderStyle="solid"
theDebugWindow.style.fontSize="15px"
theDebugWindow.style.zIndex="999"
theDebugWindow.style.top="10px"
theDebugWindow.style.right="10px"
theDebugWindow.style.padding="10px"
theDebugWindow.style.width="33%"}
theDiv=document.createElement("div")
theDiv.innerHTML=theText
theDebugWindow.appendChild(theDiv)
if(popAlert){alert(theText)}}
