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);
}

Digital Subscriptions – Mauinews.com | News, Sports, Jobs, Visitor’s Information – The Maui News

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 });


Sign In |

Create an Account |


Welcome, . My Account |
Logout |

Subscribe | Submit News | Vac Rental |
E-Edition |

Home

RSS

var searchTerm = “DNAME=” ;
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(searchTerm);
if (offset != -1) {
offset += searchTerm.length;
var stopTerm = ‘;’;
var stopPoint = document.cookie.indexOf(stopTerm, offset);
if ( stopPoint == -1 ) {
stopPoint = document.cookie.length;
}
var accountUsername = document.cookie.substring(offset,stopPoint);
/* additional check for cookie difference between browsers */
if ( unescape(document.cookie.substring(offset,offset+1)) != ‘;’ ) {
showMember(accountUsername);
} else {
showGuest();
}
} else {
showGuest();
}
} else {
showGuest();
}
function showMember(accountUsername) {
document.getElementById(‘visitorNav’).style.display = ‘none’;
document.getElementById(‘memberNav’).style.display = ”;
document.getElementById(‘displayUsername’).innerHTML = accountUsername;
}
function showGuest() {
document.getElementById(‘visitorNav’).style.display = ”;
document.getElementById(‘memberNav’).style.display = ‘none’;
document.getElementById(‘displayUsername’).innerHTML = ”;
}

GA_googleFillSlot(“CMSv2_Top_728x90”);

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”);

 
 
 


#mp ul {margin:0px; font-weight:bold; padding-left:15px;} #mp li {color:#333; list-style:square; text-indent:0px; padding:2px;} #mp li:hover {color:#333;}


Get It All

Get more of the great stories and other content on mauinews.com by signing up for a digital subscription. Digital Subscribers receive:

  • Full access to the mauinews.com website.
  • A daily electronic-edition of the Maui News paper, viewable in a browser or using an app on your favorite tablet or smartphone!

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;
var headingsArray = new Array();
var headingsIDArray = new Array();

function getSearchXML() {
xmlhttpSearch=GetXmlHttpObjectSearch();
if (xmlhttpSearch==null) {
alert (“Sorry, but I couldn’t create an XMLHttpRequest”);
}

if (xmlhttpSearch) {
xmlhttpSearch.onreadystatechange = setheadingsArray;
xmlhttpSearch.open(“GET”, “/shared/localSearch/headings.xml”, true);
xmlhttpSearch.send(null);
}
else {
alert(“Sorry, but I couldn’t create an XMLHttpRequest”);
}

function GetXmlHttpObjectSearch() {
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 setheadingsArray() {
if (xmlhttpSearch.readyState == 4) {
if (xmlhttpSearch.status == 200) {
if (xmlhttpSearch.responseXML) {
var allHeadingss = xmlhttpSearch.responseXML.getElementsByTagName(“item”);
for (var i=0; i<allHeadingss.length; i++) {
headingsArray[i] = allHeadingss[i].getElementsByTagName("headingName")[0].firstChild;
headingsIDArray[i] = allHeadingss[i].getElementsByTagName("localSearchHeadingID")[0].firstChild;
}
searchBoxSuggest();
}
}
}
}

function searchBoxSuggest() {
if ( !headingsArray.length ) {
getSearchXML();
}
var str = document.getElementById("searchBox").value;
if (str != "") {
document.getElementById("popupsSearch").innerHTML = "";
document.getElementById("popupsSearch").style.display = '';

for (var i=0; i<headingsArray.length; i++) {
var thisHeading = headingsArray[i].nodeValue;

if (thisHeading.toLowerCase().indexOf(str.toLowerCase()) == 0) {
var thisHeadingID = headingsIDArray[i].nodeValue;
var tempDiv = document.createElement("div");
var titleURL = thisHeading.replace(/\&/g,'&');
var titleURL = titleURL.replace(/[^0-9a-zA-Z]/g,'-');
tempDiv.innerHTML = thisHeading;
tempDiv.onclick = new Function('makeSearchChoice('+thisHeadingID+',this.innerHTML)');
/*tempDiv.onclick = function (){var titleURL = thisCurrentHeading.replace(/\&/g,'&'); var titleURL = titleURL.replace(/[^0-9a-zA-Z]/g,'-'); window.location="/page/local.headDetail/id/" + thisHeadingID + "/" + titleURL + ".html";}; */
tempDiv.className = "suggestionsSearch";
tempDiv.style.cursor = "pointer";
document.getElementById("popupsSearch").appendChild(tempDiv);
document.getElementById("popupsSearch").style.backgroundColor='#fff';
document.getElementById("popupsSearch").style.border="1px solid #999";
document.getElementById("popupsSearch").style.height="250px";
}
}
if ( document.getElementById("popupsSearch").innerHTML.length == 0 ) {
document.getElementById("popupsSearch").style.display = 'none';
}
} else {
document.getElementById("popupsSearch").innerHTML = "";
document.getElementById("popupsSearch").style.display = "none";
}

}

function onBlurSearchSuggestions() {
if ( document.activeElement != document.getElementById("popupsSearch") ) {
var delay = 250;
setTimeout('hideSearchSuggestions()', delay);
}
}

function onBlurSearchResults() {
if ( document.activeElement != document.getElementById("searchBox") ) {
var delay = 250;
setTimeout('hideSearchSuggestions()', delay);
}
}

function hideSearchSuggestions() {
document.getElementById('popupsSearch').innerHTML = "";
document.getElementById('popupsSearch').style.display = 'none';
}

document.onclick = onBlurSearchResults;

function makeSearchChoice(chosen,urlTitle) {
/* added catch to remove category name from search term */
if ( urlTitle.toLowerCase().search('‘) != -1 ) {
var endPoint = urlTitle.toLowerCase().search(‘
‘);
var urlTitle = urlTitle.substr(0, endPoint-1);
}
/*var thisDiv = (evt) ? evt.target : window.event.srcElement; */
document.getElementById(“popupsSearch”).innerHTML = “”;
/*var titleURL = urlTitle.replace(/\&/g,’&’);
var titleURL = titleURL.replace(/[^0-9a-zA-Z]/g,’-‘);
window.location=”/page/local.headDetail/id/” + chosen + “/” + titleURL + “.html”;*/
window.location=”/page/local.searchBoxCatchAutocomplete/id/” + chosen + “/text/” + urlTitle;
document.getElementById(“popupsSearch”).style.display = “none”;
/*document.getElementById(‘searchBox’).value = thisDiv.innerHTML.replace(/\&/g,’&’); */
/*document.getElementById(“popupsSearch”).innerHTML = “”; */
}

 
 

 

I am looking for:

I am looking for:

I am looking for:

in:

News, Blogs & Events
Web

function changeSearch(chosen) {
if (chosen == ‘site’) {
document.getElementById(‘searchHeaderClass’).className = ‘cBdrHdr’;
document.getElementById(‘searchHeaderTitle’).innerHTML = ‘News, Blogs & Events’;
document.getElementById(‘frmSiteSearch’).style.display = ”;
document.getElementById(‘frmWebSearch’).style.display = ‘none’;
document.getElementById(‘frmEzSearch’).style.display = ‘none’;
if ( document.getElementById(‘webSearchBox’).value.length ) {
document.getElementById(‘siteSearchBox’).value = document.getElementById(‘webSearchBox’).value;
document.getElementById(‘webSearchBox’).value = ”;
}
if ( document.getElementById(‘ezSearchBox’).value.length ) {
document.getElementById(‘siteSearchBox’).value = document.getElementById(‘ezSearchBox’).value;
document.getElementById(‘ezSearchBox’).value = ”;
}
}
if (chosen == ‘web’) {
document.getElementById(‘searchHeaderClass’).className = ‘cBdrHdr’;
document.getElementById(‘searchHeaderTitle’).innerHTML = ‘Web Search’;
document.getElementById(‘frmSiteSearch’).style.display = ‘none’;
document.getElementById(‘frmWebSearch’).style.display = ”;
document.getElementById(‘frmEzSearch’).style.display = ‘none’;
if ( document.getElementById(‘siteSearchBox’).value.length ) {
document.getElementById(‘webSearchBox’).value = document.getElementById(‘siteSearchBox’).value;
document.getElementById(‘siteSearchBox’).value = ”;
}
if ( document.getElementById(‘ezSearchBox’).value.length ) {
document.getElementById(‘webSearchBox’).value = document.getElementById(‘ezSearchBox’).value;
document.getElementById(‘ezSearchBox’).value = ”;
}
}
if (chosen == ‘ez’) {
document.getElementById(‘searchHeaderClass’).className = ‘cBdrHdr’;
document.getElementById(‘searchHeaderTitle’).innerHTML = ‘EZToUse.com’;
document.getElementById(‘frmSiteSearch’).style.display = ‘none’;
document.getElementById(‘frmWebSearch’).style.display = ‘none’;
document.getElementById(‘frmEzSearch’).style.display = ”;
if ( document.getElementById(‘siteSearchBox’).value.length ) {
document.getElementById(‘ezSearchBox’).value = document.getElementById(‘siteSearchBox’).value;
document.getElementById(‘siteSearchBox’).value = ”;
}
if ( document.getElementById(‘webSearchBox’).value.length ) {
document.getElementById(‘ezSearchBox’).value = document.getElementById(‘webSearchBox’).value;
document.getElementById(‘webSearchBox’).value = ”;
}
}
}

if ( 0 == 0 ) {
changeSearch(‘site’);
document.getElementById(‘btnSite’).checked = true;
if ( 49 == 0 ) {
document.getElementById(‘btnEz’).style.display = ‘none’;
document.getElementById(‘btnEzLabel’).style.display = ‘none’;
}

}

function getQuerystring(key, default_) {
if (default_==null) {
default_=””;
}
var search = unescape(location.search);
if (search == “”) {
return default_;
}
search = search.substr(1);
var params = search.split(“&”);
for (var i = 0; i < params.length; i++) {
var pairs = params[i].split("=");
if(pairs[0] == key) {
if ( pairs[0] == 'keywords' && pairs[1].length == 0 ) {
pairs[1] = ' ';
}
return pairs[1];
}
}
return default_;
}

if (getQuerystring('keywords')) {
changeSearch('site');
document.getElementById('siteSearchBox').value = getQuerystring('keywords').replace(/\+/g," ").replace(/%2B/g," ");
document.getElementById('btnSite').checked = true;
}
if (getQuerystring('q')) {
changeSearch('web');
document.getElementById('webSearchBox').value = getQuerystring('q').replace(/\+/g," ").replace(/%2B/g," ");
document.getElementById('btnWeb').checked = true;
}
if (getQuerystring('StartDate')) {
document.getElementById('StartDate').value = getQuerystring('StartDate');
}
if (getQuerystring('EndDate')) {
document.getElementById('EndDate').value = getQuerystring('EndDate');
}

var findFuseaction = "search.results" ;
fuseactionFound = window.location.href.indexOf(findFuseaction);
if (fuseactionFound != -1) {
if (document.getElementById('searchDateRange')){
document.getElementById('searchDateRange').style.display = '';
}
} else {
if (document.getElementById('searchDateRange')){
document.getElementById('searchDateRange').style.display = 'none';
}
}

if ( document.getElementById(‘StartDate’) ) {
/* create calendar object(s) just after form tag closed */
/* specify form element as the only parameter (document.forms[‘formname’].elements[‘inputname’]); */
/* note: you can have as many calendar objects as you need for your application */
var StartDate = new calendar2(document.getElementById(‘StartDate’));
StartDate.year_scroll = true;
StartDate.time_comp = false;
}

if ( document.getElementById(‘EndDate’) ) {
/* create calendar object(s) just after form tag closed */
/* specify form element as the only parameter (document.forms[‘formname’].elements[‘inputname’]); */
/* note: you can have as many calendar objects as you need for your application */
var EndDate = new calendar2(document.getElementById(‘EndDate’));
EndDate.year_scroll = true;
EndDate.time_comp = false;
}

GA_googleFillSlot(“CMSv2_Middle_300x250”);

GA_googleFillSlot(“CMSv2_x40_234x60”);

GA_googleFillSlot(“CMSv2_x41_234x60”);

GA_googleFillSlot(“CMSv2_x42_234x60”);

if (typeof jQuery == ‘undefined’) {
document.write(”);
}

var feedSrc = escape(“http://pipes.yahoo.com/pipes/pipe.run?_id=06e0295c8b1ca8041acbe19de92d5d7f&_render=rss”);

/* Parse feed */
$.jGFeed(feedSrc,
function(feeds){
/* Check for errors */
if(!feeds){
/* there was an error */
return false;
}

if ( !feeds.entries.length ) {

return false;

} else {

/* create smugmug listings */
for(var i=0; i<4; i++){
var entry = feeds.entries[i];

var container = document.getElementById("header");

var smugmug = document.getElementById("smugmugDisplay");

var searchTermStart = "” ;

var smugHTML = ‘no’;
var smugContent = entry.content;

if ( smugContent.indexOf(searchTermStart) != -1 ) {
var startPoint = smugContent.indexOf(searchTermStart);
var endPoint = smugContent.indexOf(searchTermEnd, startPoint);
var imgLink = smugContent.substring(startPoint,endPoint+1);
imgLink = imgLink.replace(/height=\”.+\”/, ‘height=”50″‘);
imgLink = imgLink.replace(/width=\”.+\”/, ‘width=”50″‘);
smugHTML = ‘‘;
smugHTML += imgLink;
smugHTML += ‘
‘;
smugHTML += ‘‘;
smugHTML += entry.title;
smugHTML += ‘
‘;
} else {
smugHTML = ‘oops’;
}

var d = document.createElement(‘div’);
d.className = ‘photoTn’;
d.innerHTML = smugHTML;
smugmug.appendChild(d);
}
}
}, 300);

 
 

CU Galleries

View All Galleries »

 
 

GA_googleFillSlot(“CMSv2_Bottom_728x90”);

GA_googleFillSlot(“CMSv2_x94_0x0”);

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