maui online
function isCheckedOnOff(InputName)
{
if(document.getElementById(InputName).checked == true)
document.getElementById(InputName).checked = false;
else
document.getElementById(InputName).checked = true;
}
function openCloseTabs(element){
if(document.getElementById(element).style.display == ‘none’){
document.getElementById(element).style.display = ‘block’;
}else{
document.getElementById(element).style.display = ‘none’;
}
}
function PopWindow(mypage, myname, w, h, scroll)
{
var winl = (screen.width – w) / 2;
var wint = (screen.height – h) / 2;
/* winprops = ‘height=’+h+’,width=’+w+’,top=’+wint+’,left=’+winl+’,scrollbars=’+scroll+’,resizable,status’ */
winprops = ‘height=’+h+’,width=’+w+’,top=’+120+’,left=’+winl+’,scrollbars=’+scroll+’,resizable,status=no,toolbar=no,menubar=no’;
win = window.open(mypage, myname, winprops)
/* if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } */
}
function hideTabContent(element){
for(var x=1;x<30;x++){
if(document.getElementById(element+'_'+x) != null){
document.getElementById(element+'_'+x).style.display = 'none';
}
}
}
function showTabContent(tab,tabId,element,id){
hideTabContent(element);
changeTabBack(tab);
if(document.getElementById(element+'_'+id) != null){
document.getElementById(element+'_'+id).style.display = 'block';
}
if(document.getElementById(tab+'_'+tabId) != null){
document.getElementById(tab+'_'+tabId).style.backgroundImage = 'url(/images/tab_selected_back.jpg)';
document.getElementById(tab+'_'+tabId).style.color = '#407740';
document.getElementById(tab+'_'+tabId).style.fontWeight = 'bold';
}
}
function changeTabBack(element){
for(var x=1;x<30;x++){
if(document.getElementById(element+'_'+x) != null){
document.getElementById(element+'_'+x).style.backgroundImage = 'url(/images/tab_unselected_back.jpg)';
document.getElementById(element+'_'+x).style.color = '#666666';
document.getElementById(element+'_'+x).style.fontWeight = 'normal';
}
}
}
function hideTabContentCal(element){
for(var x=1;x<30;x++){
if(document.getElementById(element+'_'+x) != null){
document.getElementById(element+'_'+x).style.display = 'none';
}
}
}
function showTabContentCal(tab,tabId,element,id){
hideTabContentCal(element);
changeTabBackCal(tab);
if(document.getElementById(element+'_'+id) != null){
document.getElementById(element+'_'+id).style.display = 'block';
}
if(document.getElementById(tab+'_'+tabId) != null){
document.getElementById(tab+'_'+tabId).className = 'selectedtabCal';
}
}
function changeTabBackCal(element){
for(var x=1;x<30;x++){
if(document.getElementById(element+'_'+x) != null){
document.getElementById(element+'_'+x).className = 'unselectedtabCal';
}
}
}
function hideTabContentblogs(element){
for(var x=1;x<30;x++){
if(document.getElementById(element+'_'+x) != null){
document.getElementById(element+'_'+x).style.display = 'none';
}
}
}
function showTabContentblogs(tab,tabId,element,id){
hideTabContentblogs(element);
changeTabBackblogs(tab);
if(document.getElementById(element+'_'+id) != null){
document.getElementById(element+'_'+id).style.display = 'block';
}
if(document.getElementById(tab+'_'+tabId) != null){
document.getElementById(tab+'_'+tabId).className = 'selectedtabblogs';
}
}
function changeTabBackblogs(element){
for(var x=1;x document.body.parentNode.scrollHeight) && (viewportheight > document.body.parentNode.clientHeight)) {
blanket_height = viewportheight;
} else {
if (document.body.parentNode.clientHeight > document.body.parentNode.scrollHeight) {
blanket_height = document.body.parentNode.clientHeight;
} else {
blanket_height = document.body.parentNode.scrollHeight;
}
}
var blanket = document.getElementById(‘blanket’);
blanket.style.height = blanket_height + ‘px’;
var popUpDiv = document.getElementById(popUpDivVar);
popUpDiv_height=blanket_height/2-150;
popUpDiv.style.top = 10 + ‘%’;
}
function window_pos(popUpDivVar) {
if (typeof window.innerWidth != ‘undefined’) {
viewportwidth = window.innerHeight;
} else {
viewportwidth = document.documentElement.clientHeight;
}
if ((viewportwidth > document.body.parentNode.scrollWidth) && (viewportwidth > document.body.parentNode.clientWidth)) {
window_width = viewportwidth;
} else {
if (document.body.parentNode.clientWidth > document.body.parentNode.scrollWidth) {
window_width = document.body.parentNode.clientWidth;
} else {
window_width = document.body.parentNode.scrollWidth;
}
}
var popUpDiv = document.getElementById(popUpDivVar);
window_width=window_width/2-150;
popUpDiv.style.left = 20 + ‘%’;
}
function popup(windowname) {
blanket_size(windowname);
window_pos(windowname);
toggle(‘blanket’);
toggle(windowname);
}
GS_googleAddAdSenseService(“ca-pub-0279219903859783”);
GS_googleEnableAllServices();
GA_googleAddAttr(“SiteID”, “MNMH”);
GA_googleAddAttr(“MSection”, “extras”);
GA_googleAddAttr(“SubSection”, “digital_subscriptions”);
GA_googleAddAttr(“SLevel_1”, “extras”);
GA_googleAddAttr(“SLevel_2”, “digital_subscriptions”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_x94_0x0”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_x95_74x60”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_x40_234x60”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_x41_234x60”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_x42_234x60”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_Top_728x90”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_Middle_300x250”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_Left_160x600”);
GA_googleAddSlot(“ca-pub-0279219903859783”, “CMSv2_Bottom_728x90”);
GA_googleFetchAds();
MediaPass.init(3029, { asset:3169 });

var xmlhttp;
function getBreaking() {
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null) {
alert (“Sorry, but I couldn’t create an XMLHttpRequest”);
return;
}
var url=”/cached/layout.breakingNews.html”;
url += ‘?sid=’+Math.random();
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open(‘GET’,url,true);
xmlhttp.send(null);
}
function GetXmlHttpObject() {
if (window.XMLHttpRequest) {
/* code for IE7+, Firefox, Chrome, Opera, Safari */
return new XMLHttpRequest();
}
if (window.ActiveXObject) {
/* code for IE6, IE5 */
return new ActiveXObject(‘Microsoft.XMLHTTP’);
}
return null;
}
function stateChanged() {
if (xmlhttp.readyState==4) {
if (xmlhttp.status == 200) {
document.getElementById(‘breakingNewsAjax’).innerHTML = ”;
document.getElementById(‘breakingNewsAjax’).innerHTML=xmlhttp.responseText;
}
}
}
getBreaking();
GA_googleFillSlot(“CMSv2_Left_160x600”); |
Get It AllGet more of the great stories and other content on mauinews.com by signing up for a digital subscription. Digital Subscribers receive:
Affordable digital only rates allow you to enjoy the full Maui News any time, any place on any device. The Maui News, get it all with a digital subscription. Use the form below, sign up today. Get the newspaper? Get it all for free!If you are a print subscriber, you can get it all at no additional cost. Simply click the ‘Are you a Print Subscriber’ link on the form below, validate your subscription information, and create your FREE account with MediaPass.
You are logged in and ready to use your Digital Subscription Package!
![]() ![]() ![]() |
GA_googleFillSlot(“CMSv2_x95_74x60”); var xmlhttpSearch = false; function getSearchXML() { if (xmlhttpSearch) { function GetXmlHttpObjectSearch() { function setheadingsArray() { function searchBoxSuggest() { for (var i=0; i<headingsArray.length; i++) { if (thisHeading.toLowerCase().indexOf(str.toLowerCase()) == 0) { } function onBlurSearchSuggestions() { function onBlurSearchResults() { function hideSearchSuggestions() { document.onclick = onBlurSearchResults; function makeSearchChoice(chosen,urlTitle) { in:
News, Blogs & Events function changeSearch(chosen) { if ( 0 == 0 ) { } function getQuerystring(key, default_) { if (getQuerystring('keywords')) { var findFuseaction = "search.results" ; if ( document.getElementById(‘StartDate’) ) { if ( document.getElementById(‘EndDate’) ) { ![]() ![]() ![]() GA_googleFillSlot(“CMSv2_Middle_300x250”); GA_googleFillSlot(“CMSv2_x40_234x60”); GA_googleFillSlot(“CMSv2_x41_234x60”); GA_googleFillSlot(“CMSv2_x42_234x60”); if (typeof jQuery == ‘undefined’) { var feedSrc = escape(“http://pipes.yahoo.com/pipes/pipe.run?_id=06e0295c8b1ca8041acbe19de92d5d7f&_render=rss”); /* Parse feed */ if ( !feeds.entries.length ) { return false; } else { /* create smugmug listings */ var container = document.getElementById("header"); var smugmug = document.getElementById("smugmugDisplay"); var searchTermStart = " var smugHTML = ‘no’; if ( smugContent.indexOf(searchTermStart) != -1 ) { var d = document.createElement(‘div’);
![]() |

GA_googleFillSlot(“CMSv2_Bottom_728x90”);
GA_googleFillSlot(“CMSv2_x94_0x0”);
_uacct = “UA-2001981-1”;
urchinTracker();