var ol_textfont='Arial'; var ol_border='2'; var ol_fgcolor='#ECEFF9'; var ol_textcolor='#333333'; if (unstickClass == undefined) { var unstickClass=false; } function init() { if ($('#topMenu').length != 0) { $.post("/scripts/contentHandler.php", {id: "topMenu"}, function(data){ $('#topMenu').replaceWith(data); }); } if (typeof(gmapType) != "undefined") { drawGmap(); } if (typeof(doAc) != "undefined") { autoComplete(); } } function showHide(contentId,imgId,showClass,hideClass,contentUrl) { curState = $('#' + contentId).css("display"); if (curState == 'block' || curState == 'inline') { state = 'none'; if (imgId !== undefined && showClass !== undefined && hideClass !== undefined) { document.getElementById(imgId).className=hideClass; } } else { state = 'block'; if (imgId !== undefined && showClass !== undefined && hideClass !== undefined) { document.getElementById(imgId).className=showClass; } if (contentUrl !== undefined) { $('#' + contentId).load(contentUrl); } } if (state == 'none') { $('#' + contentId).hide(); } if (state == 'block') { $('#' + contentId).show(); } } function LaunchWindow(page,id,actions) { OpenWin = this.open(page,id,actions); } $(document).ready(init);