Sunday, August 14, 2022
spot_imgspot_img
HomeFranchise DirectoriesAsian American Hotel Owners Association

Asian American Hotel Owners Association

[]
AAHOA – Asian American Hotel Owners Association 0) ? window.innerWidth : screen.width;var _rdDeviceHeight = (window.innerHeight > 0) ? window.innerHeight : screen.height;var _rdOrientation = (window.width > window.height) ? ‘landscape’ : ‘portrait’;})(); ]]> AAHOA Banner Ads - Oxford HomepageEmailWebsite Headers - 2021 Regionals

 
 

> 0; // Hack to convert object.length to a UInt32 fromIndex = +fromIndex || 0; if (Math.abs(fromIndex) === Infinity) { fromIndex = 0; } if (fromIndex < 0) { fromIndex += length; if (fromIndex < 0) { fromIndex = 0; } } for (;fromIndex >> 0; if (typeof fun != “function”) { throw new TypeError(); } var res = []; var thisArg = arguments.length >= 2 ? arguments[1] : void 0; for (var i = 0; i >> 0; i–;) { array[i] = obj[i]; } return array; } // attach a click event with ie8 support Element.prototype.clickEvent = function(action) { var thisEl = this; if(window.addEventListener) { thisEl.addEventListener(‘click’, function(ev) { ev.preventDefault(); action(thisEl); }); } else { // ie8 thisEl.attachEvent(‘onclick’, function() { action(thisEl); }); } }; // mobile menu (function() { var menuEl = document.createElement(‘div’), headerEl = document.querySelector(‘.page-header’), parentEl = headerEl.parentNode, els = document.querySelectorAll(‘.mobile-clone’); menuEl.id = ‘mobile-menu’; $$.addClass(menuEl, ‘mobile-toggled’); parentEl.insertBefore(menuEl, headerEl); forEach(els, function(el) { var clone = el.cloneNode(true); menuEl.appendChild(clone); }); })(); // generic toggles // function toggles(el) { var toggleTarget = el.getAttribute(‘data-toggle-target’), targetObject = null; if ( toggleTarget == ‘next’ ) { targetObject = el.nextElementSibling; } else if ( toggleTarget == ‘parentnext’ ) { targetObject = el.parentNode.nextElementSibling; } else if ( toggleTarget == ‘parentparentnext’ ) { targetObject = el.parentNode.parentNode.nextElementSibling; } if ( targetObject ) { $$.toggleClass(targetObject, ‘active’); } else if ( toggleTarget !== null ) { var targetObjects = document.querySelectorAll(toggleTarget); for ( var j = 0; j < targetObjects.length; j++ ) { $$.toggleClass(targetObjects[j], 'active'); } } $$.toggleClass(el, 'active'); } forEach(document.querySelectorAll('.toggle'), function(toggleEl) { if(window.addEventListener) { toggleEl.addEventListener('click', function(ev) { ev.preventDefault(); toggles(this); }); } else { // ie8 toggleEl.attachEvent('onclick', function() { toggles(this); }); } }); // tabs + automation function tabs(tabGroup) { var tabEls = tabGroup.querySelectorAll('.tab'), paneEls = tabGroup.querySelectorAll('.pane'), nextEls = tabGroup.querySelectorAll('.tabs-next'), prevEls = tabGroup.querySelectorAll('.tabs-prev'), panesCount = Math.max(tabEls.length, paneEls.length), slideSpeed = 6000, currentSlide = 0, slideInterval; function changeTo(index) { // changes tabs/panes in current context to specified index // reset state forEach(tabEls, function(tabEl) { $$.removeClass(tabEl, 'active'); $$.removeClass(tabEl, 'next'); $$.removeClass(tabEl, 'prev'); }); forEach(paneEls, function(paneEl) { $$.removeClass(paneEl, 'active'); $$.removeClass(paneEl, 'next'); $$.removeClass(paneEl, 'prev'); }); // current active set forEach(toArray(tabEls).filter(function(a) { return parseInt(a.getAttribute('data-tabs-index')) == index; }), function(a) { $$.addClass(a, 'active'); }); forEach(toArray(paneEls).filter(function(a) { return parseInt(a.getAttribute('data-tabs-index')) == index; }), function(a) { $$.addClass(a, 'active'); }); // set at current index + 1 if ( index < (panesCount - 1) ) { $$.addClass(tabEls[index + 1], 'next'); $$.addClass(paneEls[index + 1], 'next'); } else { $$.addClass(tabEls[0], 'next'); $$.addClass(paneEls[0], 'next'); } // set at current index - 1 if ( index == 0 ) { $$.addClass(tabEls[panesCount - 1], 'prev'); $$.addClass(paneEls[panesCount - 1], 'prev'); } else { $$.addClass(tabEls[index - 1], 'prev'); $$.addClass(paneEls[index - 1], 'prev'); } // carry on currentSlide = index; } function bindTabClick(el, action) { var index = parseInt(el.getAttribute('data-tabs-index')) || 0; function handleClick() { // if the element is active collapse the element // added by ray 03-02-2015 if($$.hasClass(el, 'active')) { var test_els = el.parentNode.querySelectorAll('[data-tabs-index="'+index+'"]'); for(var i = 0; i < test_els.length; i++) { $$.removeClass(test_els[i], 'active'); } return; } if ( $$.hasClass(tabGroup, 'playing') ) { pauseSlideshow(); } if (action == 'next') { if (currentSlide < panesCount - 1) { changeTo(currentSlide + 1); } else { changeTo(0); } } else if (action == 'prev') { if (currentSlide <= 0) { changeTo(panesCount - 1); } else { changeTo(currentSlide - 1); } } else { changeTo(index); } if ( $$.hasClass(tabGroup, 'slideshow') ) { startSlideshow(); } } el.clickEvent(function() { handleClick(); }); } function startSlideshow() { slideInterval = setInterval(switchForward, slideSpeed); $$.addClass(tabGroup, 'playing'); } function pauseSlideshow() { window.clearInterval(slideInterval); $$.removeClass(tabGroup, 'playing'); } function switchForward() { if ( currentSlide < (panesCount - 1) ) { changeTo((currentSlide + 1)); } else { changeTo(0); } } // initialize forEach(tabEls, function(el, i) { el.setAttribute('data-tabs-index', i); bindTabClick(el); }); forEach(paneEls, function(el, i) { el.setAttribute('data-tabs-index', i); }); if (!$$.hasClass(tabGroup, 'accordion-style')) { changeTo(0); } // clone accordion tabs if ($$.hasClass(tabGroup, 'accordion')) { for (var j = 0; j < tabEls.length; j++) { var accTabEl = tabEls[j].cloneNode(true), thisPane = toArray(paneEls).filter(function(paneEl) { return parseInt(paneEl.getAttribute('data-tabs-index')) == j; })[0]; $$.addClass(accTabEl, 'accordion-tab'); thisPane.parentNode.insertBefore(accTabEl, thisPane); bindTabClick(accTabEl); } tabEls = tabGroup.querySelectorAll('.tab'); } // 'next' clicks forEach(nextEls, function(el) { bindTabClick(el, 'next'); }); // 'prev' clicks forEach(prevEls, function(el) { bindTabClick(el, 'prev'); }); // automation if ( $$.hasClass(tabGroup, 'slideshow') ) { startSlideshow(); } } forEach(document.querySelectorAll('.tabs'), function(tabGroup) { tabs(tabGroup); }); // generic cloning // (function() { var els = document.querySelectorAll('.clone'); if (!els) { return; } for (var i = els.length >>> 0; i–;) { var el = els[i], target = document.getElementById(el.getAttribute(‘data-clone-to’)); target.appendChild(el.cloneNode(true)); } })(); // shared height elements // (function() { var heightEls = document.querySelectorAll(‘.shared-height’), heightGroups = [], uniqueHeightGroups = []; // get height groups together for ( var i = 0; i < heightEls.length; i++ ) { heightGroups.push(heightEls[i].getAttribute('data-height-group')); } uniqueHeightGroups = heightGroups.filter(function(val, pos) { return heightGroups.indexOf(val) == pos; }) function evenHeights() { // blank slate for ( var i = 0; i < heightEls.length; i++ ) { heightEls[i].style.minHeight = 'auto'; } // iterate over groups for ( var i = 0; i < uniqueHeightGroups.length; i++ ) { var thisHeight, maxHeight = 1, groupEls = document.querySelectorAll('.shared-height[data-height-group="' + uniqueHeightGroups[i] + '"]'); for ( var j = 0; j maxHeight) { maxHeight = thisHeight; } } for ( var j = 0; j 0) { box.style.minHeight = (height + difference) + 'px'; } }); } window.addEventListener('resize:end', boxHeights); boxHeights(); // align height of boxes function boxtwoHeights() { var boxes = Array.prototype.slice.call(document.querySelectorAll('.box-match-height2'), 0), ref = document.querySelector('.box-match-height-ref2'); if (!ref) return; forEach(boxes, function (box) { box.style.minHeight = 0; var offset = box.getBoundingClientRect().top + (window.pageYOffset || document.scrollTop || 0), height = box.offsetHeight, refOffset = ref.getBoundingClientRect().top + (window.pageYOffset || document.scrollTop || 0), refHeight = ref.offsetHeight, difference = (refOffset + refHeight) - (offset + height); if (difference > 0) { box.style.minHeight = (height + difference) + ‘px’; } }); } window.addEventListener(‘resize:end’, boxtwoHeights); boxtwoHeights(); $$.removeClass(document.documentElement, ‘no-js’); $$.addClass(document.documentElement, ‘js’);]]> 0) { if (event && event.preventDefault) { event.preventDefault(); } else { event.returnValue = false; } window.location = “/search-results?keywords=” + keyword; } }]]>

Previous articleBest Franchises | Franchises For Sale
Next article

Most Popular