Loading...
HomeMy WebLinkAbout021624 🔊  KPTZ Spotlight 📻 February 16-29_ 2024 🎶ALERT: BE CAUTIOUS This email originated outside the organization. Do not open attachments or click on links if you are not expecting them. Leap into the Second Half of February with KPTZ's New Programming and More <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/6ac14f13-6c95-a50b-f122-d41742d17092.jpg> What’s Fresh on the KPTZ Airwaves February 16-29, 2024 NEW SHOWS PREMIERING AND OLD FAVORITES MOVING TO NEW TIMES THE FRONT PORCH <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/d43e7d32-ebf4-6d00-652a-0c40a7b1c050.jpg> Saturday 9:30-11 am Host Eileen Deutsch brings her eclectic mix of great music to KPTZ. Her show, The Front Porch, features folk music in all of its various aspects, including premier selections from the worlds of Americana, bluegrass, contemporary and vintage singer/songwriters, both domestic and abroad. INNA FINE STYLE Saturday 8-9:30 am Start your Saturday morning off Inna Fine Style with DJ Mars for the best in reggae, dub and ska. This show is based on the near-weekly reggae/dub/ska mix he had previously been bringing you on Thursday nights. Inna Fine Style is replacing the venerable “500 Greatest Songs” hosted by DJ Maximus. We thank Maximus for the many years he brought his listeners a deep dive into the rock and roll greats. SOUNDINGS Thursday 6:30-8 pm Host Gary Forbes always has a song knocking around in his head and now he's going to bring them to you! Gary will pull tunes from a variety of traditions- rock, R and B, jazz, and Americana, following his ears on a musical trail through his personal collection, and other sources found on the journey. He hopes you find both old and new favorites along the way. This show will replace The Green Room, but you can still catch DJ Mars playing reggae, dub and ska in his new time slot on Saturdays from 8:00 to 9:30 am. (See above.) THE OVERLOAD Wednesday 3-4 pm With his extensive musical knowledge and eclectic selections, DJ Mateu will start his new show, The Overload, on Wednesday, February 21. Broadway Showtime, which normally airs at this time, will still have its regular airing on Sundays at 1:00 pm. DAILY PROGRAMMING FRIDAY FLOATING BRIDGE with DJ Fishstick 7:30-9:30am THE BUZZY DONAHUE SHOW 9:30-11am Good old Rock and Roll. Turn it up or turn it off. A JOURNEY ALONG THE SILK ROAD Friday 12:15pm and Tuesday 5:20pm Chris Bricker is thrilled to introduce you to Bill Porter, or Red Pine, one of the world’s finest translators of Chinese Poetry and religious texts. Each week, Bill will bring you a series of enticing installments that we’re calling A Journey Along the Silk Road. So sit back and enjoy the Journey and lose yourself in the mystery of the Silk Road! COUNTY CONNECTIONS with host Jim Burke Friday, 12:30-12:55pm Join host Jim Burke and a rotating roster of County Commissioner co-hosts for discussions about what is going on with Jefferson County Government and their work being on behalf of the county. Similar in format to Brewocracy Now! that addresses the City of Port Townsend, County Connections features a different County commissioner each week, along with special guests from County departments or the community. WORDSONGS with DJWAS (Ward Serrill) Friday 1-3pm WordSongs is dedicated to good lyrics, no matter the style. <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/d8142a00-16c9-39cd-0ad7-3ba023bf3542.jpg> ROOTS & TWANG with Karen Anderson – The Truck Driver's Daughter Friday 3-5pm Share the ride with Karen and enjoy her diverse mix of country, western and Americana music, plus many surprises in the mix! In fact, some people call Roots & Twang “the country show for folks who don't like country music.” Tune in. We're sure you'll be informed, delighted and, most of all, entertained. FREESPIN hosted by Ron McElroy Friday 5-7pm Get onboard with FreeSpin host Ron McElroy (aka “Good Rockin’ Daddy”) for a 2-hour ride around the Funky, Bluesy, and Rockin’ neighborhood. We'll visit R & B City, Funkytown, Rock Island, and Bluesville to sample from the diverse menu that is sure to get you movin’ and groovin’. And just for kicks we will periodically dive into New Orleans’ finest funk and the rhythmic beats of Jamaica. FRIDAY NIGHT BLUES with Barney Burke Friday 8-10pm Barney’s been hosting the Friday Night Blues since the launch of KPTZ and he’s always live on the air. He’ll get your feet tappin’ with all kinds of classic blues (and plenty of live tracks) plus a half-dozen soul and R&B tunes. SATURDAY <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/e81ce8df-6576-11d5-3840-93b62b2b7887.jpg> INNA FINE STYLE with DJ Mars Saturday 8-9:30am Start your Saturday morning off Inna Fine Style with DJ Mars for the best in reggae, dub and ska. This show began life as the near-weekly reggae/dub/ska mix he had previously been bringing you on Thursday nights (under the name The Green Room). February 17 The debut show will feature reggae and dub from Augustus Pablo, Lee "Scratch" Perry, King Tubby and more. We'll also hear ska from the great Trojan Records, including classics from Desmond Dekker and The Skatalites, and ska revival artists The Specials, Madness and others. THE FRONT PORCH with Eileen Deutsch Saturday 8:30-11am Starting Saturday, February 3, host Eileen Deutsch will bring her eclectic mix of great music to KPTZ. Her show, The Front Porch, will feature folk music in all of its various aspects including premier selections from the worlds of Americana, bluegrass, contemporary and vintage singer/songwriters, as well as many hybrid variations with elements of folk, both domestic and abroad. When Eileen isn't curating her selections for The Front Porch, you can find her doing plein air art work, caring for her canines, or working on endless projects at her Port Townsend home. She's excited to welcome you to The Front Porch! VORTEX FOUR with Theo Saturday 4-6pm A new Saturday afternoon journey into unusual places and spaces. Says Theo: A receiver must be like a transmitter. In here, there is infinite storage space for refracted light patterns. Meditate on this at second level. THE BLUE ROOM with C-Dub Saturday 11pm-Midnight Only the most premium electronic music from the 90s and into the future on Saturdays, late night. Tune in for downtempo, ambient, house, techno, breaks, dub, and beyond. To learn more, check out this KPTZ interview with C-Dub <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=d9cc6a3690&e=eba4e3a8b6> . SUNDAY <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/65a3e5a5-28e8-7575-8fb5-2132f3fca15d.jpg> PROGRESSIVE TRACKS with Mike “ProgTracks” Pollack Sunday 5-6am and Monday 9-10pm Mike has been playing “All the music your spouse can’t stand” for over 10 years now. You’ll hear what’s new in the world of Progressive Rock, with a touch of Jazz-Rock Fusion, Psych/Space, Avant, and Desert/Doom thrown into his aural stew. Shows often include a “Golden Tracks Album Feature” which highlights classic music turning 50 years old. UNLACED STRINGS with Gail Pruitt Sundays, 10am to noon Gail is back on the air as your producer and host of Unlaced Strings. Join her each Sunday morning now through May as she shares her favorite Classical music and fun facts about the people who create it. COMMUNITY TIDES Alternate weeks from Our Working Waterfront: Tuesdays at 5:30 pm and Sundays at Noon KPTZ’s Chris Bricker and co-host Siobhan Canty, President & CEO of Jefferson Community Foundation, explore new developments and new paradigms, as our vibrant county of innovative and creative citizens continue to do good work. February 20 / 25 This month, the Port Townsend High School Audio Visual Club presented showcases of student work from all Media Lab classes. They’re raising funds for the Audio Visuals Club and their goal of taking a field trip to visit the Los Angeles film and television industry. We have two student guests, both of whom represent the A.V. Club at the High School. Club Vice President Biaani Egeler and Club Treasurer Panya Cao are both in their senior year at the high school. They’ll talk about exciting plans for their gap years before college. Mentoring and cheering the Media Lab on is the magic energy of PTHS Media Lab’s teacher David Egeler, better known around here at KPTZ as DJ David Bonobo. Our young guests tell of their aspirations and how their field trips into the depths of the Hollywood film industry have prompted and supported their career instincts in media and the arts, both in film and photography. OUR WORKING WATERFRONT Alternate weeks from Community Tides: Tuesdays at 5:30 pm and Sundays at Noon KPTZ’s Chris Bricker joins co-hosts Eron Berg, Port of Port Townsend’s Director, and Port Commissioner Pam Petranek to explore people, boats and stories surrounding our Working Waterfront. February 18/ 27 Peter Marsh, journalist and Volunteer Director of Astoria’s Hawthorn Cannery Museum writes, “The Hawaiian Chieftain, a classic sailing ship with a traditional square rig, has been a popular sight on the waters in the Pacific Northwest for almost 30 years. But wherever it went, this unique steel vessel was often overshadowed by its wooden partner Lady Washington—the state of Washington’s official historic tall ship.” We take take a tour of the Chieftain with Arren Day, Lead Shipwright for the Chieftain’s restoration, and one of the twelve partners of the Port Townsend Shipwrights Co-Op. We’ll learn about some of the ship’s history and witness the work an incredible variety of Boatyard artisans are putting into the project. We’ll also find out what may be in store for her once the Hawaiian Chieftain’s owners take her back to her birthplace in Lahaina, Hawaii. CLASS REUNION with DJ host Jerry Osborne Sunday 2-3 pm February 18 1961 Class Reunion February 25 1971 Class Reunion <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/f6732ae2-a5fb-fce0-8ab7-13d7b36434ea.jpg> PUBCRAWL with host Charlie Doyle Sunday 3-5pm Join the God of Celtic Music, Charlie Doyle, for a fast-paced show of Celtic and folk music tunes performed by artists from around the world in a variety of styles. RETRO COCKTAIL HOUR with Darrell Brogdon Sunday 5-7pm An eclectic way to enjoy your Sunday evening. Here you'll find vintage recordings from the dawn of the Hi-Fi Era — imaginative, light-hearted (and sometimes light-headed) pop stylings designed to underscore everything from the backyard barbecue to the high-tech bachelor pad. Darrell Brogdon serves up two hours of incredibly strange music! The Retro Cocktail Hour comes to KPTZ from Kansas Public Radio. CATS IN OUR LAPS with host Phil Andrus Sunday 7-10pm With Cats in Our Laps host Phil Andrus splashing in the waves in La Manzanilla, Jalisco this month, in Cats’ usual time you will hear four editions of Alex Henley’s Tossed Salad Gems, curated and edited by Alex. MONDAY THE JIM B. SHOW Monday 9:30-11am Jim B. provides you with a good dose of rock, pop, folk, country, blues, jazz, woPOP, alternative, shoe gazer, Taylor Swift, Kate Bush, whatever his mood demands to start off your week in a MOOD. <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/0b981bc0-fe2f-fcd6-df48-e4b4650b84de.jpg> ATTENTION, PLEASE! Monday at Noon and 5pm, repeats Saturday at Noon KPTZ News reporters interview and shed light on the people who are change agents in Jefferson County. BOXED CHOCOLATES with The Briceman Monday 1-3pm Join the Briceman for his special music show featuring music from every decade from the 60s thru the 2020s. <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/4df99437-d501-72b8-d7c6-cbb5596de10e.jpg> INTERSTELLAR UNDERWEAR with host DJ Mars Monday 3-5pm Join DJ Mars for a trip around the rock ’n’ roll stars with garage, classic, punk, and psychedelic rock, new wave, and any other cool and captivating space junk he finds. And if you’re into killer kover versions, he’s “Got Ya Covered” with his weekly exploration of this far-out corner of the galaxy. February 19 This week we'll have a musical tribute to the Presidents (of the United States of America) as well as They Might Be Giants' Lincoln – in celebration of Presidents Day! TUESDAY <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/5237ce32-06df-b915-20df-4af315526252.jpg> BOOKLOVERS’ CAFÉ hosted by Cris Wilson Alternate Tuesdays and repeats the following Sunday, both 12:30-1pm February 16 In this reprise airing, once again this tremendous book is Number 1 on the New York Times bestseller list boosted by the movie directed and produced by George Clooney. Cris talked to Daniel James Brown back when the book was new and causing a sensation first in the rowing world and then when everyone recognized the power of an irresistible story about beating the odds and finding hope in desperate times. Here we are again cheering Joe Rantz from Sequim. February 27 Cris welcomes Port Townsend author Adrianne Harun to Booklover's Cafe to talk about her newest novel On the Way to the End of the World. This work of literary fiction has been chosen as the 2024 Port Townsend Community Read. The story is set in a milltown on the peninsula in the Spring of 1963. A small group has accepted President Kennedy's challenge to walk 50 miles in 20 hours. The characters are unique and mostly strangers to one another but as they walk and face unknown threats, they form a community with various gifts to bestow like wish knots along a length of line. The trails and spots are familiar yet not quite as they make their way to the bluff at the End of the World. RHYTHM CONNECTION with host Robert Ambrose Tuesday 1-3pm Rhythm Connection transports listeners to cultures around the world, through incredibly diverse music from the African diaspora. Since its 1993 inception in Alaska, Robert has presented fresh music every week to make you dance or bring you solace, or both. DONN AT NIGHT Tuesday 6:30-8pm <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/cf7ebf3f-5097-4655-756c-f0a4cac25976.jpg> JAZZ NOTES hosted by Bill Mercier Tuesday 8-10pm February 20 We’ll be listening to jazz greats like Dave Brubeck, Chet Baker and Stan Getz as well as lesser known artists like Amit Freedman, Roseanne Vitro and Roberto Gatto. On our “What’s New?” feature this week we’ve got two extended cuts from the recent release A Lovesome Thing by pianist Geri Allen and guitarist Kurt Rosenwinkel. February 27 Bill will be away this week but Donn Trethewey will be filling in with two hours of great tunes. <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/fe3793aa-3be3-1ba8-4c80-30c0c990e8be.jpg> OUR TOWN with host Maryanne McNellis Alternating Tuesdays and repeats the following Sunday, both 12:30-1pm February 20 / 25 Maryanne talks with Bob Wheeler, a leader in the team behind the new Hadlock Sewer System. Right now the entire Hadlock region exists totally on primitive septic tank systems. The new sewer system will be a game changer for the entire Olympic peninsula. Example: Habitat for Humanity owns 17 acres there. Current zoning restricts it to building three houses on that property. With new zoning thanks to a modern sewer system, those same 17 acres could handle up to 200 dwellings. This has major ramifications for housing supply on the peninsula. It should usher in more affordable housing featuring apartments, town homes and other multi-family units. Construction is now well underway and Wheeler estimates completion of PHASE #1of the sewer system by mid 2025. WEDNESDAY MUSIC2DRINKCOFFEE2 with Al Bergstein 8-9:30am Wake up to the sounds of Brazil! Wednesday mornings, Al Bergstein brings us Music2DrinkCoffee2, an acoustic musical tour of Brazil's best choro, samba, bossa, forro, indigenous music and more. Featuring music from Brazil along with Brazilian-influenced musicians from around the world. Al features new work launching each week along with historic versions & background on what you are hearing. With marine weather and occasional guest artists. BRING YOUR RECORDS with host Larry Stein Wednesdays 9:30-11 <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/6ac5e0db-77c1-546f-f697-c451b821927e.jpg> NATURE NOW Wednesday 12:30-1pm, Thursday 5:30-6pm, and Saturdays 12:30-1pm Join the Nature Now team as they explore the wonders and puzzles of the natural world around us. Fascinating topics range broadly from ecology, specific plant or animal species, human interaction with nature, discussion with authors, conservation strategies, and, sometimes, even philosophical questions. Miss a broadcast? In addition to listening to Nature Now programs from the archive on KPTZ, you can also listen to Nature Now as a podcast on your phone. Subscribe to Nature Now in your podcast app and access more than 100 past and current episodes. February 21 Nan Evans talks with Paola Espitia about Water, Wonder and Wellness. THE BUZZY DONAHUE SHOW Wednesday 1-3pm Features new to me music. BROADWAY SHOWTIME hosted by Don White Wednesday 3-4pm and repeats Sundays 1-2pm February 25 More Humorous Songs <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/5c2e61ea-d340-0f6b-68ac-173bcbe4f581.jpg> MUSIC TO MY EARS with Dalana Wednesday 4-5pm with encore Saturday 1-2pm Incredible music you grew up with or grew to love! VINYL VILLAGE with DJ host Jerry Osborne Wednesday 7-8pm February 21 Pot Luck with assorted hits of the 20th Century. February 28 We will spin one hour of all-time Country & Western classics. ROCKET SURGERY with host Charlie Bermant Wednesday 8-10pm THURSDAY <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/f273376c-b93a-d0a2-af74-7b97a1df76cf.jpg> MUSICAL FRUIT with DJ Goodwoman 9:30-11am Musical Fruit is your effervescent morning show for non-linear states of mind. Featuring hep-cat jump blues, rhythm and soul, chanson, rock ‘n’ roll in all its iterations, and stirring tunes of every ilk – guaranteed to be hot-peppered with oddball and worldly commentary. Musical Fruit spotlight-features include: Tarot Time with Mistress Zaena, The French Collection, and a rousing dose of sax education with Let's Talk about Sax. EVERYBODY CAN with host Missy Nielsen Alternating Tuesdays (with reprise the following week on Thursday), 12:10-12:30pm Everybody Can explores the challenges, hopes, and heartwarming moments that inform the volunteers and non-profit organizations in Jefferson and Clallam County. February 15 Coffee Companions, Connections and Cool Spaces. Got a knack for Business? Help Jefferson County thrive! The Team Jefferson Economic Development Council takes a different approach toward economic development serving our community here on the Salish Sea. Good growth happens with good planning and community involvement. Join Missy Nielsen of Everybody Can as she discusses with Executive Director Cindy Brooks and board member Ben Bauermeister and their efforts to encourage and attract the kinds of businesses and services that we need to thrive as a county. February 20 Citizen Scientist - Connecting with the World Around You. As part of the Port Townsend Marine Science Center team, Betsy Carlson oversees the Citizen Science projects. Around the world folks of all ages engage in citizen science – participating in projects in which volunteers and scientists work together to investigate real world concerns, “crowdsourcing” that has the added bonus of giving volunteers a real sense of community. In this reprise airing, Missy Nielsen of Everybody Can discusses with Bets what it means to be a Citizen Scientist and the role of Citizen Science at the Port Townsend Marine Science Center. <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/ebf2b24e-01fb-e909-b191-49fb22c1eb0a.jpg> BREWOCRACY NOW Thursday 12:30-12:55pm PT City Manager John Mauro and KPTZ’s Taylor Clark, along with selected guests will be taking your questions, live! Please email your questions before 12:45 to dj@kptz.org <mailto:dj@kptz.org> . And, in case you can’t tune in live, you can hear the archived podcast later that day at kptz.org <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=876ced834f&e=eba4e3a8b6 > . BLUES JOURNEY Thursday 1-3pm We will hear Blues and blues-related music. We will hear songs which are soulful because music is what feelings sound like. Every other week, there may also be some live Grateful Dead in the second hour. Taylor loves that stuff and he finds the Dead to be soothing – really. MIDLIFE CRISIS DANCE PARTY with Ray Serebrin Thursday 3-5pm On the Midlife Crisis Dance Party we present no content on midlife, crises, or parties. Instead, we offer an exploration of time, magnetism and what happens when tiny robots are set loose in your bloodstream, plus poetry. Stories, The Worst Song of the Week, and diverse music to agitate and convulse dancers, will be also be on offer. No masks, no shirts and no shoes are required. Warning: This show is an acquired taste. Stories from the Midlife Crisis Podcasts are rolled out every Monday on the KPTZ.org home page, and the Complete Archive <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id= 85a7aab371&e=eba4e3a8b6> is found at the KPTZ Podcasts website button. <https://mcusercontent.com/6df05bfd2eaa0ab6bf92aa5cf/images/0d7d3d95-375f-15c2-77c2-578679f838bf.jpg> RÁDIO KILOMBO with hosts DJs David BoNoBo and Brazil Nut Thursday 9-10pm Here you find the Earth’s finest collection of seductive African and Afro-Latin grooves. The selections are three parts club culture, one part roots culture, and all parts positive. Join us for our weekly convocation, hear the story of the rhythms, and let the music stir your soul! THE DUDEBABE RADIO HOUR 10pm-Midnight What is there to do on a Thursday night? Listen to dudebabe radio hour, that’s what! Join me, Rachel, every Thursday from 10pm to midnight for a vast variety of eclectic music, a lot of giggling, as well as local guests. Don't worry. It's totally worth it, no matter how tired you are for work the next day :P LOCAL NEWS PROGRAMMING KPTZ LOCAL NEWS Tuesday through Friday 12 noon and repeating at 5pm The KPTZ’s Local News Crew: Taylor Nations, Jim Burke, Casey Dolan, and Derek Firenze bring you the latest information and commentary. Each of these broadcasts is available shortly afterwards for streaming, at kptz.org <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=fbd9859016&e=eba4e3a8b6> . KPTZ COMMUNITY CALENDAR Monday through Friday 8 am, 12 noon, and at 5pm (Except on Monday at 5:30pm and Friday at 7pm) Tune in for listings of local events. To submit an upcoming event, please email calendar@kptz.org <mailto:calendar@kptz.org> by one week ahead of the scheduled event date. KPTZ ENTERTAINMENT CALENDAR Thursday 8pm and Friday & Saturday 10am and 4pm (and included on Monday-Thursday Community Calendars) Local entertainment event listings are highlighted by Heather Moore. To submit an upcoming event, please send email to entertainment@kptz.org <mailto:entertainment@kptz.org> by one week ahead of the scheduled airdate. KPTZ.ORG WEBSITE FEATURES ARCHIVED MUSIC SHOWS Many KPTZ programs are archived for 2 weeks following their original broadcast date (limited by music licensing regulations), so you can listen on demand. KPTZ Program Archive <https://kptz.us10.list -manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=481b6f60a4&e=eba4e3a8b6> The audio player appears above the specific program information and / or playlist. PODCASTS Did you know that most all of KPTZ's weekly news and public affairs programs, along with special station-produced talk programming, are now available as listen-on-demand podcasts through KPTZ's website? Find your favorite show by clicking the KPTZ Podcasts button at kptz.org <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=d4cf460b77&e=eba4e3a8b6> . <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=c86a3250a0&e=eba4e3a8b6> <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=524729228e&e=eba4e3a8b6> <https://kptz.us10.list-manage.com/track/click?u=6df05bfd2eaa0ab6bf92aa5cf&id=64d44aa61f&e=eba4e3a8b6> Copyright © 2024 KPTZ Radio Port Townsend, All rights reserved. Our mailing address is: KPTZ Radio Port Townsend Box 2091 Port Townsend, Wa 98368 Add us to your address book <https://kptz.us10.list-manage.com/vcard?u=6df05bfd2eaa0ab6bf92aa5cf&id=3097e9ddab> Want to change how you receive these emails? You can update your preferences <https://kptz.us10.list-manage.com/profile?u=6df05bfd2eaa0ab6bf92aa5cf&id=3097e9ddab&e=eba4e3a8b6&c=33a000ee1a> or unsubscribe from this list <https://kptz.us10.list- manage.com/unsubscribe?u=6df05bfd2eaa0ab6bf92aa5cf&id=3097e9ddab&t=b&e=eba4e3a8b6&c=33a000ee1a> . <http://www.mailchimp.com/email-referral/?utm_source=freemium_newsletter&utm_medium=email&utm_campaign=referral_marketing&aid=6df05bfd2eaa0ab6bf92aa5cf&afl=1> <https://kptz.us10.list-manage.com/track/open.php?u=6df05bfd2eaa0ab6bf92aa5cf&id=33a000ee1a&e=eba4e3a8b6> th, strFormat, true) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col2\" value=\"" + dt2dtstr(begin, dtPrevMonth, strFormat, true) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varPreviousMonthSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + prevMonth + "\"></a></td>\n" + "<td tabindex=-1 id=\"MonthYear\" bgcolor=\"#003894\" width=\"731px\" align=\"center\">" + " <font color=\"white\" face=\"tahoma, verdana\" size=\"2\"><nobr>" + arrMonths[dtDefault.getUTCMonth()] + " " + (buddhistCalendar ? dtDefault.getUTCFullYear() + 543 : dtDefault.getUTCFullYear()) + "</nobr></font></td>\n" + "<td tabindex=-1 bgcolor=\"#003894\" bgDefault=\"#003894\" align=\"right\" value=\"" + dt2dtstr(begin, dtNextMonth, strFormat, true) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col6\" value=\"" + dt2dtstr(begin, dtNextMonth, strFormat, true) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varNextMonthSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + nextMonth + "\"></a></td>\n" + "<td tabindex=-1 bgcolor=\"#003894\" bgDefault=\"#003894\" align=\"right\" value=\"" + dt2dtstr(begin, dtNextYear, strFormat, true) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col7\" value=\"" + dt2dtstr(begin, dtNextYear, strFormat, true) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varNextYearSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + nextYear + "\"></a></td>\n</tr>\n" + "</tr></table>\n" + "<table class=\"CalendarDay FullSelect\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" width=\"231px\">" ); var dtCurrentDay = new Date(Date.UTC(dtFirstDay.getUTCFullYear(), dtFirstDay.getUTCMonth(), dtFirstDay.getUTCDate())); // Display weekday titles strBuffer += "<tr>\n"; for (var n = 0; n < 7; n++) strBuffer += " <td tabindex=-1 bgcolor=\"#B5CFF7\">" + "<font color=\"white\" face=\"tahoma, verdana\" size=\"2\">" + arrWeekdays[(nWeekStart + n) % 7] + "</font></td>\n"; // Display calendar table var varRow = 1; varHighlight = varCurDay; strBuffer += "</tr>\n"; while (varRow < 7 && ((dtCurrentDay.getUTCMonth() == dtDefault.getUTCMonth()) || (dtCurrentDay.getUTCMonth() == dtFirstDay.getUTCMonth()))) { // print row heder strBuffer += "<tr>\n"; for (var nCurrentWday = 0; nCurrentWday < 7; nCurrentWday++) { if (dtCurrentDay.getUTCDate() == dtDefault.getUTCDate() && dtCurrentDay.getUTCMonth() == dtDefault.getUTCMonth() // print current date && (varHighlight.length == 0)) varHighlight = "row" + varRow + "col" + (nCurrentWday + 1); if (dtCurrentDay.getUTCDate() == dtToday.getUTCDate() && dtCurrentDay.getUTCMonth() == dtToday.getUTCMonth() && dtCurrentDay.getUTCFullYear() == dtToday.getUTCFullYear()) // display today using a special color strBuffer += " <td tabindex=-1 bgcolor=\"#FDD693\" bgDefault=\"#FDD693\">\n"; else if (dtCurrentDay.getUTCDay() == 0 || dtCurrentDay.getUTCDay() == 6) // weekend day strBuffer += " <td tabindex=-1 bgcolor=\"#F0F0F0\" bgDefault=\"#F0F0F0\">\n"; else // weekday strBuffer += " <td tabindex=-1 bgcolor=\"white\" bgDefault=\"white\">\n"; strBuffer += " <a href=\"#\" tabindex=-1 onClick=\"selectDate('" + dt2dtstr(begin, dtCurrentDay, strFormat, false) + "');\" " + "id=\"row" + varRow + "col" + (nCurrentWday + 1) + "\" ondragstart=\"return false;\">\n"; if (dtCurrentDay.getUTCMonth() == dtDefault.getUTCMonth()) // print days of current month strBuffer += " <font face=\"tahoma, verdana\" size=\"2\" style=\"text-decoration: none;\">"; else // print days of other months strBuffer += " <font color=\"CCCCCC\" face=\"tahoma, verdana\" size=\"2\" style=\"text-decoration: none;\">"; strBuffer += dtCurrentDay.getUTCDate() + "</font>\n </a>\n </td>\n"; dtCurrentDay.setUTCDate(dtCurrentDay.getUTCDate() + 1); } // print row footer strBuffer += "</tr>\n"; varRow++; } // print calendar footer strBuffer += "</table>\n" + "</tr>\n</td></table>" + "<a href=\"#\" onClick=\"javascript:parent.vWinCal.hide();\" style=\"width: 100%; font-size: 11px; text-align: center;\" tabIndex=-1>Close</a>" + "</body></html>"; var nTop = 300; var nLeft = 200; var varRect = null; if (strPositionElement != null) varRect = window.document.getElementById(strPositionElement).getBoundingClientRect(); if (varRect != null) { nTop = window.screenTop + varRect.bottom; nLeft = window.screenLeft + varRect.right; } vWinCal.hide(); var docCal = vWinCal.document; docCal.write(strBuffer); docCal.close(); vWinCal.show(nLeft, nTop, 0, 0); var realWidth = docCal.body.scrollWidth; var realHeight = docCal.body.scrollHeight; vWinCal.hide(); if (varMinWidth == 0) { realWidth += 4; varMinWidth = realWidth; } else if (realWidth < varMinWidth) realWidth = varMinWidth; if (screen.width != 0) { var LRMonitors = Math.floor(nLeft / screen.width); if (nLeft > ((LRMonitors * screen.width) + (screen.width - realWidth))) nLeft = ((LRMonitors * screen.width) + (screen.width - realWidth)); } if (screen.height != 0) { var TDMonitors = Math.floor(nTop / screen.height); if (nTop > ((TDMonitors * screen.height) + (screen.height - realHeight))) nTop = ((TDMonitors * screen.height) + (screen.height - realHeight)); } vWinCal.show(nLeft, nTop, realWidth, realHeight); var vFocus = docCal.getElementById(varHighlight); if ((vFocus == null) && (varHighlight.substr(3, 1) == "6")) { varHighlight = varHighlight.substr(0, 3) + "5" + varHighlight.substr(4); vFocus = docCal.getElementById(varHighlight); } if ((vFocus == null) && (varHighlight.substr(3, 1) == "5")) { varHighlight = varHighlight.substr(0, 3) + "4" + varHighlight.substr(4); vFocus = docCal.getElementById(varHighlight); } if (vFocus != null) vFocus.parentNode.bgColor = "#FFCEDA"; } function show_qura_calendar(begin, strValueElement, strDefault, strFormat, strPositionElement) { var arrMonths = ["محرم", "صف", "ربيع الأول", "ربيع الثاني", "جمادى الأول", "جمادى الآخر أو جمادى الثاني", "رجب", "شعبان", "رمضان", "شوّال", "ذو القعدة", "ذو الحجة"]; var arrWeekdays = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]; var prevMonth = "الشهر السابق"; var prevYear = "السنة السابقة"; var nextMonth = "الشهر القادم"; var nextYear = "السنة القادمة"; var nWeekStart = 0; // day week starts from (normally 0 or 1) baseyear = 1318; strFormat.toUpperCase(); var varElement = window.document.getElementById(strValueElement); if ((varElement != null) && (varElement.disabled == true)) return; if ((strDefault == null) && (varElement != null)) strDefault = varElement.value; var varNextMonthSrc = "..\\lfaux_global\\next.png"; var varNextYearSrc = "..\\lfaux_global\\Next_year.png"; var varPreviousMonthSrc = "..\\lfaux_global\\prev.png"; var varPreviousYearSrc = "..\\lfaux_global\\prev_year.png"; var varElementImg = window.document.getElementById("NextMonth"); if (varElementImg) varNextMonthSrc = varElementImg.src; varElementImg = window.document.getElementById("NextYear"); if (varElementImg) varNextYearSrc = varElementImg.src; varElementImg = window.document.getElementById("PreviousMonth"); if (varElementImg) varPreviousMonthSrc = varElementImg.src; varElementImg = window.document.getElementById("PreviousYear"); if (varElementImg) varPreviousYearSrc = varElementImg.src; var dtDefault = partHijri(window.document.getElementById("HiddenHijri").value, strFormat); temp = partHijri(strDefault, strFormat); var dt = strDefault == "" || temp == null ? dtDefault : temp; var month = dt[0]; var date = dt[1]; var year = dt[2] > 1395 ? dt[2] : 1396; var nTargetDay = date == 30 ? 29 : date; var dtPrevMonth = [month == 1 ? year > 1396 ? 12 : 1 : month - 1, nTargetDay, month == 1 && year > 1396 ? year - 1 : year]; var dtNextMonth = [month == 12 ? 1 : month + 1, nTargetDay, month == 12 ? year + 1 : year]; var dtPrevYear = [month, date == 30 ? 29 : date, year > 1396 ? year - 1 : 1396]; var dtNextYear = [month, date == 30 ? 29 : date, year + 1]; var numdays = daysinmonth[year - baseyear][month - 1][0] ? 30 : 29; var dtFirstDay = [month, 1, year]; var dtLastDay = [month, numdays, year]; var strMonthLink = new String("window.document.getElementById(\'"); strMonthLink += strValueElement.replace(/'/g, "\\\'"); strMonthLink += "\')"; // html generation (feel free to tune it for your particular application) // print calendar header var strBuffer = new String( "<html>\n" + "<head>\n" + " <title>Calendar</title>\n" + " <style>\n" + " .FullSelect a { display: block; width: 100%; text-align: center; text-decoration: none; color: black; padding: 3px; }\n" + " .CalendarDay :hover { background-color: 'navy'; color: 'white'; }\n" + " </style>\n" + " <script language=\"JavaScript\" src=\"master.js\"></script>\n" + " <script language=\"JavaScript\">\n" + " function TheBody_oncontextmenu() {}\n" + " function Body_OnKeyDown() {\n" + " var elem = parent.vWinCal.document.getElementById(parent.varCurDay);\n" + " if (elem == null)\n" + " elem = parent.vWinCal.document.getElementById(parent.varHighlight);\n" + " if (elem != null)\n" + " {\n" + " var key = window.event.keyCode\n" + " var row = new Number(elem.id.substr(3, 1));\n" + " var col = new Number(elem.id.substr(7, 1));\n" + " if ((key == 13) || (key == 32)) // Enter/space\n" + " {\n" + " window.event.cancelBubble = true;\n" + " window.event.returnValue = false;\n" + " if (row > 0)\n" + " elem.click();\n" + " else\n" + " changeMonth(elem.value);\n" + " return;\n" + " }\n" + " if (key == 37) // Left Arrow\n" + " col--;\n" + " else if (key == 39) // Right Arrow\n" + " col++;\n" + " else if (key == 38) // Up Arrow\n" + " row--;\n" + " else if (key == 40) // Down Arrow\n" + " row++;\n" + " else\n" + " return;\n" + " if (row == 0)\n" + " {\n" + " if ((col == 3) || (col == 4))\n" + " col = (key == 39) ? 6 : 2;\n" + " else if (col == 5)\n" + " col = (key == 37) ? 2 : 6;\n" + " }\n" + " var strNewElem = new String(\"row\" + row + \"col\" + col);\n" + " var elemNew = parent.vWinCal.document.getElementById(strNewElem);\n" + " if (elemNew != null)\n" + " {\n" + " elem.parentNode.bgColor = elem.parentNode.bgDefault;\n" + " elemNew.parentNode.bgColor = \"#FFB6C1\";\n" + " parent.varCurDay = strNewElem;\n" + " }\n" + " window.event.cancelBubble = true;\n" + " window.event.returnValue = false;\n" + " }\n" + " };\n" + " function selectDate(strDate)\n" + " {\n" + " var dtElement = parent.document.getElementById('" + strValueElement + "');\n" + " var nInsertStartPos = dtElement.nInsertStartPos;\n" + " var nInsertEndPos = dtElement.nInsertEndPos;\n" + " if (nInsertStartPos == undefined || nInsertEndPos == undefined)" + " {\n" + " dtElement.value = strDate;\n" + " }\n" + " else\n" + " {\n" + " var strInnerText = dtElement.value;\n" + " var strOutputText = new String('');\n" + " strOutputText += strInnerText.substring(0, nInsertStartPos);\n" + " strOutputText += strDate;\n" + " strOutputText += strInnerText.substring(nInsertEndPos);\n" + " dtElement.value = strOutputText;\n" + " }\n" + " parent.document.getElementById('" + strValueElement + "').blur();\n" + " parent.document.getElementById('" + strValueElement + "').focus();\n" + " parent.vWinCal.hide();\n" + " }\n" + " function changeMonth(strMonth)\n" + " {\n" + " parent.show_qura_calendar(" + begin + ", '" + strValueElement + "', strMonth,\n" + " '" + strFormat + "', '" + strPositionElement + "');\n" + " }\n" + " </script>\n" + "</head>\n" + "<body bgcolor=\"White\" onKeyDown=\"Body_OnKeyDown()\" " + " style=\"border:solid 1; overflow:hidden; margin-bottom:2px margin-top:2px margin-left:2px margin-right:2px\" " + " onContextMenu=\"TheBody_oncontextmenu()\">\n" + "<table class=\"clsOTable\" cellspacing=\"0\" border=\"0\" width=\"100%\">\n" + "<tr><td tabindex=-1 bgcolor=\"#4682B4\">\n" + "<table class=\"FullSelect\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" width=\"100%\">\n" + "<tr>\n" + "<td tabindex=-1 bgcolor=\"#003894\" bgDefault=\"#003894\" value=\"" + Hijri2str(begin, dtPrevYear, strFormat) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col1\" value=\"" + Hijri2str(begin, dtPrevYear, strFormat) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varPreviousYearSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + prevYear + "\"></a></td>\n" + "<td tabindex=-1 bgcolor=\"#003894\" bgDefault=\"#003894\" value=\"" + Hijri2str(begin, dtPrevMonth, strFormat) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col2\" value=\"" + Hijri2str(begin, dtPrevMonth, strFormat) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varPreviousMonthSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + prevMonth + "\"></a></td>\n" + "<td tabindex=-1 id=\"MonthYear\" bgcolor=\"#003894\" width=731 align=\"center\">" + " <font color=\"white\" face=\"tahoma, verdana\" size=\"2\"><nobr>" + month + " " + year + "</nobr></font></td>\n" + "<td tabindex=-1 bgcolor=\"#003894\" bgDefault=\"#003894\" align=\"right\" value=\"" + Hijri2str(begin, dtNextMonth, strFormat) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col6\" value=\"" + Hijri2str(begin, dtNextMonth, strFormat) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varNextMonthSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + nextMonth + "\"></a></td>\n" + "<td tabindex=-1 bgcolor=\"#003894\" bgDefault=\"#003894\" align=\"right\" value=\"" + Hijri2str(begin, dtNextYear, strFormat) + "\">" + " <a href=\"#\" tabindex=-1 id=\"row0col7\" value=\"" + Hijri2str(begin, dtNextYear, strFormat) + "\" " + " onclick=\"changeMonth(window.event.srcElement.parentNode.value);\" ondragstart=\"return false;\">" + " <img src=\"" + varNextYearSrc + "\" width=\"16\" height=\"16\" border=\"0\"" + " tabindex=-1 alt=\"" + nextYear + "\"></a></td>\n</tr>\n" + "</tr></table>\n" + "<table class=\"CalendarDay FullSelect\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" width=\"100%\">" ); var dtCurrentDay = [month, 1, year]; // Display weekday titles strBuffer += "<tr>\n"; for (var n = 0; n < 7; n++) strBuffer += " <td tabindex=-1 bgcolor=\"#B5CFF7\">" + "<font color=\"white\" face=\"tahoma, verdana\" size=\"2\">" + arrWeekdays[(nWeekStart + n) % 7] + "</font></td>\n"; // Display calendar table var varRow = 1; varHighlight = varCurDay; strBuffer += "</tr>\n"; var flag = true; while (varRow < 7 && dtCurrentDay[1] <= numdays) { // print row heder strBuffer += "<tr>\n"; var nCurrentWday = 0; if (flag) { for (; nCurrentWday < daysinmonth[year - baseyear][month - 1][1]; nCurrentWday++) { if (nCurrentWday == 5 || nCurrentWday == 6) // weekend day strBuffer += " <td tabindex=-1 bgcolor=\"#F0F0F0\" bgDefault=\"#F0F0F0\" align=\"right\">"; else // weekday strBuffer += " <td tabindex=-1 bgcolor=\"white\" bgDefault=\"white\" align=\"right\">"; strBuffer += "<a href=\"#\" tabindex=-1 onClick=\"selectDate('" + Hijri2str(begin, dtCurrentDay, strFormat) + "');\" " + "id=\"row" + varRow + "col" + (nCurrentWday + 1) + "\" ondragstart=\"return false;\">\n"; strBuffer += "<font color=\"black\" face=\"tahoma, verdana\" size=\"2\" style=\"text-decoration: none;\">"; strBuffer += "&nbsp;</font></a></td>\n"; } flag = false; } for (; nCurrentWday < 7 && dtCurrentDay[1] <= numdays; nCurrentWday++) { if (dtCurrentDay[1] == date && dtCurrentDay[0] == month // print current date && (varHighlight.length == 0)) varHighlight = "row" + varRow + "col" + (nCurrentWday + 1); if (dtCurrentDay[1] == dtDefault[1] && dtCurrentDay[0] == dtDefault[0] && dtCurrentDay[2] == dtDefault[2]) // display today using a special color strBuffer += " <td tabindex=-1 bgcolor=\"#FDD693\" bgDefault=\"#FDD693\" align=\"right\">"; else if (nCurrentWday == 5 || nCurrentWday == 6) // weekend day strBuffer += " <td tabindex=-1 bgcolor=\"#F0F0F0\" bgDefault=\"#F0F0F0\" align=\"right\">"; else // weekday strBuffer += " <td tabindex=-1 bgcolor=\"white\" bgDefault=\"white\" align=\"right\">"; strBuffer += "<a href=\"#\" tabindex=-1 onClick=\"selectDate('" + Hijri2str(begin, dtCurrentDay, strFormat) + "');\" " + "id=\"row" + varRow + "col" + (nCurrentWday + 1) + "\" ondragstart=\"return false;\">\n"; strBuffer += "<font face=\"tahoma, verdana\" size=\"2\" style=\"text-decoration: none;\">"; strBuffer += dtCurrentDay[1] + "</font></a></td>\n"; dtCurrentDay[1]++; } // print row footer strBuffer += "</tr>\n"; varRow++; } // print calendar footer strBuffer += "</table>\n" + "</tr>\n</td></table>" + "<a href=\"#\" onClick=\"javascript:parent.vWinCal.hide();\" style=\"width: 100%; font-size: 11px; text-align: center;\" tabIndex=-1>Close</a>" + "</body></html>"; var nTop = 300; var nLeft = 200; var varRect = null; if (strPositionElement != null) varRect = window.document.getElementById(strPositionElement).getBoundingClientRect(); if (varRect != null) { nTop = window.screenTop + varRect.bottom; nLeft = window.screenLeft + varRect.right; } vWinCal.hide(); var docCal = vWinCal.document; docCal.write(strBuffer); docCal.close(); vWinCal.show(nLeft, nTop, 0, 0); var realWidth = docCal.body.scrollWidth; var realHeight = docCal.body.scrollHeight; vWinCal.hide(); if (varMinWidth == 0) { realWidth += 47; varMinWidth = realWidth; } else if (realWidth < varMinWidth) realWidth = varMinWidth; vWinCal.show(nLeft, nTop, realWidth, realHeight); var vFocus = docCal.getElementById(varHighlight); if ((vFocus == null) && (varHighlight.substr(3, 1) == "6")) { varHighlight = varHighlight.substr(0, 3) + "5" + varHighlight.substr(4); vFocus = docCal.getElementById(varHighlight); } if ((vFocus == null) && (varHighlight.substr(3, 1) == "5")) { varHighlight = varHighlight.substr(0, 3) + "4" + varHighlight.substr(4); vFocus = docCal.getElementById(varHighlight); } if (vFocus != null) vFocus.parentNode.bgColor = "#FFCEDA"; } function isDateString(strDatetime, strFormat) { var reDate = /^(\d+)[\/-](\d+)[\/-](\d+)/; var strRegEx = "^(\\d+)[-\\/." + strFormat.charAt(3); strRegEx += "](\\d+)[-\\/." + strFormat.charAt(3); strRegEx += "](\\d+)"; reDate = new RegExp(strRegEx); if (!reDate.exec(strDatetime)) return false; return true; } // datetime parsing and formatting routimes. modify them if you wish other datetime format function str2dt(strDatetime, strFormat) { if (!isDateString(strDatetime, strFormat)) return new Date(); // We don't care about errors here - just default to the current date var n, day, month, year; var values = new Array(RegExp.$1, RegExp.$2, RegExp.$3); for (n = 0; n < 3; n++) { var cFormat = strFormat.charAt(n); if (cFormat == 'D') day = values[n]; else if (cFormat == 'M') month = values[n]; else if (cFormat == 'Y') year = values[n]; } if (year < 50) year = "20" + year; else if (year < 100) year = "19" + year; return (new Date(year, month - 1, day, 0, 0, 0)); } function dt2dtstr(begin, dtValue, strFormat, localtime, keepgregorian) { var dtValue2 = new Date(dtValue); if (dtValue2 == null) dtValue2 = new Date(); if (keepgregorian == null) keepgregorian = false; var strDate = new String(""); var strSep = strFormat.charAt(3); for (n = 0; n < 3; n++) { var cFormat = strFormat.charAt(n); if (cFormat == 'D') { if (localtime) strDate += dtValue2.getDate(); else strDate += dtValue2.getUTCDate(); } else if (cFormat == 'M') { if (localtime) strDate += (dtValue2.getMonth() + 1); else strDate += (dtValue2.getUTCMonth() + 1); } else if (cFormat == 'Y') { var year; if (localtime) year = dtValue2.getFullYear(); else year = dtValue2.getUTCFullYear(); if (buddhistCalendar && !keepgregorian) year += 543; strDate += year; } if (n < 2) strDate = strDate + strSep; } if (begin == null || varDateOnly) return strDate; var dtTime = new Date(); if (begin) dtTime.setHours(0, 0, 0); else dtTime.setHours(23, 59, 59); return strDate + " " + dtTime.toLocaleTimeString(); } function Hijri2str(begin, Hijri, dtformat) { var dtValue = new Date(); str = ""; for (i = 0; i < 3; i++) { if (dtformat.charAt(i) == "M") str += Hijri[0]; else if (dtformat.charAt(i) == "D") str += Hijri[1]; else str += Hijri[2]; if (i < 2) str += dtformat.charAt(3); } if (begin == null) return str else if (begin) dtValue.setHours(0, 0, 0); else dtValue.setHours(23, 59, 59); if (varDateOnly) return str; else return str + " " + dtValue.toLocaleTimeString(); } function partHijri(str, dtformat) { var s1 = ""; var s2 = ""; var s3 = ""; var i; var start = 0; for (i = 0; str.charAt(i) != dtformat.charAt(3) && i < 12; i++) { if (!(i == start && str.charAt(i) == '0')) s1 += str.charAt(i); } i++; start = i; for (; str.charAt(i) != dtformat.charAt(3) && i < 12; i++) { if (!(i == start && str.charAt(i) == '0')) s2 += str.charAt(i); } i++; start = i; for (; str.charAt(i) != " " && i < 12; i++) { if (!(i == start && str.charAt(i) == '0')) s3 += str.charAt(i); } if (dtformat.charAt(0) == 'D') d = s1; else if (dtformat.charAt(1) == 'D') d = s2; else d = s3; if (dtformat.charAt(0) == 'M') m = s1; else if (dtformat.charAt(1) == 'M') m = s2; else m = s3; if (dtformat.charAt(0) == 'Y') y = s1; else if (dtformat.charAt(1) == 'Y') y = s2; else y = s3; m = parseInt(m); d = parseInt(d); y = parseInt(y); if ((!m && m != 0) || !y || !d) return null; return [m, d, y]; } function HideHijriCalendars() { if (window.document.getElementById("Hijri").value == 2) { var calendars = window.document.getElementsByTagName("*"); for (var i = 0; i < calendars.length; i++) if (calendars[i].className.indexOf("cal") != -1) calendars[i].style.display = "none"; } } function SetTimeFormat(bDateOnly) { varDateOnly = bDateOnly; }