﻿var mytarget;
var mysub;
var mystylesheet;

var locked = false;

var sound_on = true;

var mp3=2;


function player(url) {
  if(document.getElementById){window.open(url,"player","scrollbars=no,resizable=no,width=190,height=250");} else {
      return false;
  }
}

//PRELOAD IMAGES
if (document.images)
{
  home1= new Image(998,590); 
  home1.src="http://www.maorimedia.co.nz/img/homepage/bg-page-bottom.gif"; 

  home2= new Image(998,590); 
  home2.src="http://www.maorimedia.co.nz/img/homepage/bg-page-top.gif"; 

  work1= new Image(998,590); 
  work1.src="http://www.maorimedia.co.nz/img/why-work-with-us/bg-page-bottom.gif"; 

  work2= new Image(998,590); 
  work2.src="http://www.maorimedia.co.nz/img/why-work-with-us/bg-page-top.gif"; 
  
  services1= new Image(998,590); 
  services1.src="http://www.maorimedia.co.nz/img/services/bg-page-bottom.gif"; 

  services2= new Image(998,590); 
  services2.src="http://www.maorimedia.co.nz/img/services/bg-page-top.gif"; 
  
  radio1= new Image(998,590); 
  radio1.src="http://www.maorimedia.co.nz/img/why-maori-radio/bg-page-bottom.gif"; 

  radio2= new Image(998,590); 
  radio2.src="http://www.maorimedia.co.nz/img/why-maori-radio/bg-page-top.gif"; 
  
  publications1= new Image(998,590); 
  publications1.src="http://www.maorimedia.co.nz/img/publications/bg-page-bottom.gif"; 

  publications2= new Image(998,590); 
  publications2.src="http://www.maorimedia.co.nz/img/publications/bg-page-top.gif";   
  
  resources1= new Image(998,590); 
  resources1.src="http://www.maorimedia.co.nz/img/resources/bg-page-bottom.gif"; 

  resources2= new Image(998,590); 
  resources2.src="http://www.maorimedia.co.nz/img/resources/bg-page-top.gif";     

  news1= new Image(998,590); 
  news1.src="http://www.maorimedia.co.nz/img/news/bg-page-bottom.gif"; 

  news2= new Image(998,590); 
  news2.src="http://www.maorimedia.co.nz/img/news/bg-page-top.gif";   
  
  contact1= new Image(998,590); 
  contact1.src="http://www.maorimedia.co.nz/img/contact-us/bg-page-bottom.gif"; 

  contact2= new Image(998,590); 
  contact2.src="http://www.maorimedia.co.nz/img/contact-us/bg-page-top.gif";     

  logo1= new Image(998,590); 
  logo1.src="http://www.maorimedia.co.nz/img/logo/bg-page-bottom.gif"; 

  logo2= new Image(998,590); 
  logo2.src="http://www.maorimedia.co.nz/img/logo/bg-page-top.gif";   
  
  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/mana.jpg";
  
  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/nga-kohinga.jpg";
  
  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/pipiwharauroa.jpg";
  
  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/pu-kaea.jpg";  
  
  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/tu-mai.jpg";
  
  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/te-karaka.jpg";  

  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/spasifik.jpg";  

  pub1= new Image();
  pub1.src="http://www.maorimedia.co.nz/img/publications/spasifik2.jpg";  

  snd2 = new Image();
  snd2.src = "http://www.maorimedia.co.nz/mp3/2.wav";

  snd3 = new Image();
  snd3.src = "http://www.maorimedia.co.nz/mp3/3.wav";

  snd4 = new Image();
  snd4.src = "http://www.maorimedia.co.nz/mp3/4.wav";

  snd5 = new Image();
  snd5.src = "http://www.maorimedia.co.nz/mp3/5.wav";

  snd6 = new Image();
  snd6.src = "http://www.maorimedia.co.nz/mp3/6.wav";

  sndpoi1 = new Image();
  sndpoi1.src = "http://www.maorimedia.co.nz/mp3/poi1.wav";

  sndpoi2 = new Image();
  sndpoi2.src = "http://www.maorimedia.co.nz/mp3/poi2.wav";

}



function pageLoad(target, title, stylesheet, subpage, item) {

	if(locked==false) {
	             
                                if(subpage && (target=="testimonials" || target=="radio_map" || target=="links" || target=="news")) { s= "poi1"; delay="10";  }

                                else if(subpage && (target=="why_work_with_us" || target=="why_maori_radio" || target=="downloads")) { s = "poi2"; delay="10"; }

                                 
                                else { 
                                        delay = "1000";
                                        mp3 = mp3 + 1;
                                        if(mp3 == 7) { mp3 = 2; }
                                        s = mp3;
                                }

	   	if(sound_on) { 


                                      setTimeout("document.all['BGSOUND_ID'].src='mp3/" + s + ".wav'", delay);  
         
                }
	
		disableLinks();

		navx = 20;
		navy = 0;

		

		if(target == 'maori_publications') {

navx = 694;
navy = 397;


mysub = '<div id="link-box"></div><div id="thumbnail-box" style="opacity:0; filter:alpha(opacity=0);"><div id="thumbnail1"><a href="http://www.manaonline.co.nz/" title="External link to Mana magazine - opens in a new browser window" target="_blank"><img src="/img/publications/mana.jpg" alt="Mana" width="100" height="128"></a></div><div id="thumbnail2"><a href="http://www.radiongatiporou.co.nz/NgaKohinga.aspx" title="External link to Ng&#257; Kohinga - opens in a new browser window" target="_blank"><img src="/img/publications/nga-kohinga.jpg" alt="Ng&#257; Kohinga" width="100" height="142"></a></div><div id="thumbnail6"><img src="/img/publications/pipiwharauroa.jpg" alt="Pipiwharauroa" width="100" height="130"></div><div id="thumbnail4"><a href="http://www.pukaea.co.nz/" title="Extrenal link to P&#363; K&#257;ea - opens in a new browser window" target="_blank"><img src="/img/publications/pu-kaea.jpg" alt="P&#363; K&#257;ea" width="100" height="144"></a></div><div id="thumbnail5"><a href="http://www.ngaitahu.iwi.nz/News%20and%20Publications/Publications/Te%20Karaka" title="External link to Te Karaka - opens in a new browser window" target="_blank"><img src="/img/publications/te-karaka.jpg" alt="Te Karaka" width="100" height="126"></a></div><div id="thumbnail3"><a href="http://www.tumaimagazine.com/" title="External link to T&#363; Mai magazine - opens in a new browser window" target="_blank"><img src="/img/publications/tu-mai.jpg" alt="T&#363; Mai" width="100" height="130"></a></div><div id="thumbnail7"><a href="http://www.SPASIFIKmag.com" title="External link to SPASIFIK magazine - opens in a new browser window" target="_blank"><img src="/img/publications/spasifik.jpg" alt="SPASIFIK" width="100" height="141"></a></div></div>';
mycontent = "<div id=\"content-box\" style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Maori publications</h1><ul>    <li><a href=\"mailto:katherine@mana.co.nz?subject=Mana\">Mana</a>, Auckland (National)</li>    <li><a href=\"mailto:mmu@radiongatiporou.co.nz?subject=Nga%20Kohinga\">Ng&#257; Kohinga</a>, Ruatoria (Ngati Porou)</li>    <li><a href=\"mailto:pipiwharauroa@ta-pte.org.nz?subject=Pipiwharauroa\">P&#299;p&#299;wharauroa</a>, Gisborne (Turanganui)</li>    <li><a href=\"mailto:sunfm@xtra.co.nz?subject=Pu%20Kaea\">P&#363; K&#257;ea</a>, Whakatane (Mataatua)</li>    <li><a href=\"mailto:tekaraka@ngaitahu.iwi.nz?subject=Te%20Karaka\">Te Karaka</a>, Christchurch (Ngai Tahu)</li>    <li><a href=\"mailto:advertising@tumai.co.nz?subject=Tu%20Mai\">T&#363; Mai</a>, Hamilton (National)</li>    <li><a href=\"mailto:qiane@spasifik.co.nz\">SPASIFIK</a>, Auckland (National)</li></ul></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"><p>Established primarily to service the Maori market, these publications are driven by tribal issues and concerns, and cover issues from a Maori perspective.</p></div><div id=\"content-box3\" style=\"opacity:0; filter:alpha(opacity=0);\"><p>Maori publications are specifically targeted, and while print runs may not be as high as mainstream, they are well circulated within Maori families with an exceptionally high pass-on rate.</p></div>";
title = "Maori Media Network - Maori Magazines & Publications - Mana, Tu Mai, Te Karaka, Spasifik, Nga Kohinga, Pipiwharauroa, Pu Kaea";
}




		else if(target == 'why_work_with_us') {

navy = 170;

mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);"><a class="arrow" onclick="return pageLoad(\'testimonials\', \'Testimonials\', \'why-work-with-us\', true);" href="testimonials.php">Testimonials</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Why work with us?</h1><p><strong>Save Time</strong> &ndash; Whether you need advertising placement on&nbsp;six stations or all of the 22 stations that we represent, full ad production, translation, a Maori music bed &ndash; it takes just one call to Maori Media Network to deal with it all.</p><p><strong>Get Results</strong> &ndash; Our experience in designing focused campaigns in Maori and English ensures you reach a Maori audience in the most effective and appropriate way for the best possible outcome.</p><p><strong>Maximise Value</strong> &ndash; Close relationships with member stations keep us up-to-date with programming, and help us to identify added value opportunities for your campaign.</p><p><strong>Gain Insights</strong> &ndash; Access information to help you better understand the audience. Find out why so many Maori tune-in to Iwi Radio, where and who they are.</p><p><strong>Quality Assured</strong> &ndash; Experience and expertise at every level. We use only licensed translators and our Account Managers have a combined experience of 24 years in the media industry.</p><p><strong>Book with Confidence</strong> &ndash; We are accountable. All stations provide us with affidavits for every campaign.</p><p><strong>Quick Turnaround</strong> &ndash; We understand &ldquo;urgent&rdquo; and pride ourselves on getting the job done quickly and efficiently &ndash; without compromising quality.</p><p><strong>Satisfaction</strong> &ndash; Become one of our many satisfied clients who come back again and again. See our Testimonials page for more on what they have to say.</p><p><strong>We&rsquo;re Approachable</strong> &ndash; If you don&rsquo;t know your&nbsp;&quot;keke&quot; from your&nbsp;&quot;k&#275;k&#275;&quot; &ndash; we can guide you through! We are dedicated to ensuring your experience with Maori Media Network is pleasant, painless, and productive.</p></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Work with Maori Media Network to save time, get results, maximise value, & gain insights";
}




		else if(target == 'testimonials') {


mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);"><a class="arrow" onclick="return pageLoad(\'why_work_with_us\', \'Why work with us?\', \'why-work-with-us\', true);" href="why-work-with-us.php">Why work with us?</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Testimonials</h1><ul>    <li>&quot;Extremely efficient and professional... Nga mihi nui ki a korua mo ta korua mahi whakahirahira rawa atu!...&quot; (NZ Fire Service)&nbsp;</li>    <li>&quot;Thank you for your excellent service, which made our recent Iwi radio talkbacks such a success ...The advertising campaign you undertook for us ensured that our talkback reached a wide audience... It was a pleasure to work with you...&quot; (Crown Forestry Rental Trust)&nbsp;</li>    <li>&quot;Account Managers are efficient and deliver a professional service. We receive excellent advice and feedback about schedule and placement...&quot; (Maori Television)&nbsp;</li>    <li>&quot;Placement and number of spots was value for $... Great production quality... Maori Media Network always meet tight deadlines without compromising on quality. Quick, efficient turnaround ...&quot; (Creative NZ)&nbsp;</li>    <li>&quot;Maori Media Network is offering a professional media service, with a real dedication to customer service. They work hard to add value to the planning process and they provide real assistance in turning around campaigns in a rush ...&quot; (Graham Strategic)&nbsp;</li>    <li>&quot;Maori Media Network provided Learning Media with a tailor-made promotional campaign within budget and that exceeded our expectations. Advertising on Maori Radio gave us direct contact with local communities... Bonus ads and air-time due to booking with Maori Media Network were added value&quot; (Learning Media Ltd)&nbsp;</li>    <li>&quot;Maori Media assisted us to achieve one of our main goals &ndash; to get the best people for the jobs ... 30% of whom were Maori&quot; (Department For Courts)</li></ul></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Maori Media Network Testimonials from satisfied clients";

navy = 170;

		}




		else if(target == 'why_maori_radio') {

navx = 875;
navy = 385;


mysub = '<div id="link-box"></div><div id="thumbnail-box"></div>';
//mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);"><a class="arrow" onclick="return pageLoad(\'radio_map\', \'Radio map\', \'why-maori-radio-map\', true);" href="radio-map.php">Radio map</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Why Maori Radio</h1><ul>    <li>Results from Massey University&rsquo;s last Maori Radio survey show that 53% of the Maori population listen to Maori radio. This translates to approx 279,965 Maori listeners nationwide.</li>    <li>Maori Radio caters for the whole whanau, providing various functions including community/information, entertainment, and education.</li>    <li>Of particular importance to many listeners is the broadcast of linguistic features unique to their region; dialect and style, words and proverbs, idioms and phrases.</li>    <li>A number of stations overlap allowing access to more than one station. The major determining factor in deciding which station listeners in these areas tune into is tribal affiliation.</li>    <li>The majority of Maori Radio listeners are not fluent in Te Reo Maori. Maori Radio, therefore, caters for a range of competency levels and incorporates programming in both Maori and English.</li>    <li>Radio personnel identify with their listeners and lifestyles, and are often well known, with local profiles. These factors contribute to stations&rsquo; community presence and make them approachable and Maori friendly.</li>    <li>Stations often broadcast live from local marae, hui, and events. Listeners are kept up-to-date with what&rsquo;s happening in their tribal area, including essential Maori messages, eg: tangihanga, panui, etc.</li>    <li>The community function of Maori Radio is acknowledged as a major factor for listeners tuning in. This important communication role is often performed exclusively by Maori radio, and in many areas the station is the biggest Maori communication medium.</li>    <li>Maori listeners are passionate about their stations. Many consider the stations to be &ldquo;life lines&rdquo; that keep them in touch with the Maori world.</li></ul></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Maori Media Network - Maori Radio Listenership";
}	





		else if(target == 'links') {
		

mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);"><a class="arrow" onclick="return pageLoad(\'resources\', \'Downloads\', \'resources\', true);" href="resources.php">Downloads</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Links</h1><ul>    <li><a target=\"_blank\" href=\"http://www.maoritelevision.com\">M&#257;ori Television</a></li>    <li><a target=\"_blank\" href=\"http://www.tmp.govt.nz\">Te M&#257;ngai P&#257;ho [M&#257;ori Broadcasting Funding Agency]</a></li>    <li><a target=\"_blank\" href=\"http://www.tetaurawhiri.govt.nz\">Te Taura Whiri i te Reo M&#257;ori [The M&#257;ori Language Commission]</a></li>    <li><a target=\"_blank\" href=\"http://www.koreromaori.co.nz\">K&#333;rero M&#257;ori</a></li>    <li><a onclick=\"return pageLoad('maori_publications', 'Maori publications', 'publications');\" href=\"/maori_publications\">Maori publications</a></li></ul></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Maori Media Network Links";

navy = 385;

		}




		else if(target == 'radio_map') {


mysub = '<div id="link-box"></div><div id="thumbnail-box"></div>';
//mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);"><a class="arrow" onclick="return pageLoad(\'why_maori_radio\', \'Why Maori radio?\', \'why-maori-radio\', false);" href="why-maori-radio.php">Why Maori radio?</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1></h1></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"><dl id=\"imap\"><dt>Listen online </dt><dd id=\"awa\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/awa-fm.aspx?id=4D54CB2B-E5A8-4904-B5E9-6D8D5E54A2C5');\" id=\"link_awa\"><span>Whanganui<br />AWA FM</span></a> </dd><dd id=\"kiaora\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/kia-ora-fm.aspx?id=E00C69DE-3406-4BD1-AF30-D46068152D35');\" id=\"link_kiaora\"><span>Palmerston North<br />KIA ORA FM</span></a> </dd><dd id=\"moana\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/moana-am.aspx?id=D46D5EE5-7477-4F0D-8504-02006EC395A7');\" id=\"link_moana\"><span>Tauranga<br />MOANA AM<br />&amp; TAHI FM [Rangatahi, non-streaming]</span></a> </dd><dd id=\"ngaiwi\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/ng&#257;-iwi-fm.aspx?id=B94723BC-0D0A-4983-9126-5F71B4EFB09D');\" id=\"link_ngaiwi\"><span>Paeroa<br />NGA IWI FM</span></a> </dd><dd id=\"ngatihine\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/radio-ng&#257;ti-hine.aspx?id=828426A9-8BE7-4C25-948A-C1908DCE94FC');\" id=\"link_ngatihine\"><span>Whangarei<br />NGATI HINE FM</span></a> </dd><dd id=\"pumanawa\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/p&#363;manawa-fm.aspx?id=70757526-5BC3-4EB7-898A-8213899E189B');\" id=\"link_pumanawa\"><span>Rotorua<br />PUMANAWA FM</span></a> </dd><dd id=\"kahungunu\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/radio-kahungunu.aspx?id=D693F1AE-5AB8-417E-B867-D7F93F51C6DD');\" id=\"link_kahungunu\"><span>Hastings<br />RADIO KAHUNGUNU</span></a> </dd><dd id=\"maniapoto\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/maniapoto-fm.aspx?id=8B497E54-DF44-4B90-B3F5-1510DB2B6FCF');\" id=\"link_maniapoto\"><span>Te Kuiti<br />RADIO MANIAPOTO</span></a> </dd><dd id=\"ngatiporou\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/radio-ng&#257;ti-porou.aspx?id=9847617F-5B71-4E2F-8A25-20A10BAA9DC5');\" id=\"link_ngatiporou\"><span>Ruatoria/East Coast<br />RADIO NGATI POROU</span></a> </dd><dd id=\"waatea\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/radio-waatea.aspx?id=B2313A3F-64F5-4215-8525-91BF4E460223');\" id=\"link_waatea\"><span>Auckland<br />RADIO WAATEA</span></a> </dd><dd id=\"raukawa\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/raukawa-fm.aspx?id=A9F23916-E492-40F0-893F-F507D4398FE9');\" id=\"link_raukawa\"><span>Tokoroa<br />RAUKAWA FM</span></a> </dd><dd id=\"sun\"><a href=\"#nogo\" onclick=\"player('http://www.irirangi.net/listen-online/te-reo-irirangi-o-te-manuka-tutahi.aspx?id=A5D0ABEC-0E11-44CD-BCFE-F6807A1E3959');\" id=\"link_sun\"><span>Whakatane<br />SUN FM</span></a> </dd><dd id=\"tahuchch\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/tahu-fm.aspx?id=EE60E1A7-7E51-4F2A-8B7E-312A3E8E68AB');\" id=\"link_tahuchch\"><span>Christchurch<br />TAHU FM</span></a> </dd><dd id=\"tahudun\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/tahu-fm.aspx?id=EE60E1A7-7E51-4F2A-8B7E-312A3E8E68AB');\" id=\"link_tahudun\"><span>Dunedin<br />TAHU FM</span></a> </dd><dd id=\"tahuinv\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/tahu-fm.aspx?id=EE60E1A7-7E51-4F2A-8B7E-312A3E8E68AB');\" id=\"link_tahuinv\"><span>Invercargill<br />TAHU FM</span></a> </dd><dd id=\"tahukai\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/tahu-fm.aspx?id=EE60E1A7-7E51-4F2A-8B7E-312A3E8E68AB');\" id=\"link_tahukai\"><span>Kaikoura<br />TAHU FM</span></a> <!--<dd id=\"tahutim\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/tahu-fm.aspx?id=EE60E1A7-7E51-4F2A-8B7E-312A3E8E68AB');\" id=\"link_tahutim\"><span>Timaru<br />TAHU FM</span></a> </dd><dd id=\"tahuhok\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/tahu-fm.aspx?id=EE60E1A7-7E51-4F2A-8B7E-312A3E8E68AB');\" id=\"link_tahuhok\"><span>Hokitika<br />TAHU FM</span></a> </dd>--></dd><dd id=\"tainui\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/radio-tainui.aspx?id=061A78C2-238A-4455-BEEC-4DD2E31DE69D');\" id=\"link_tainui\"><span>Ngaruawahia<br />TAINUI FM</span></a> </dd><dd id=\"tautoko\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/radio-tautoko.aspx?id=6CB8B840-6535-4392-84FE-AE6CA868E44C');\" id=\"link_tautoko\"><span>Mangamuka Bridge<br />TAUTOKO FM</span></a> </dd><dd id=\"tehiku\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/te-hiku-o-te-ika.aspx?id=66DE35A4-DECE-47EE-827A-287BB0FB819C');\" id=\"link_tehiku\"><span>Kaitaia<br />TE HIKU O TE IKA<br />&amp; TAI FM [Rangatahi, non-streaming]</span></a> </dd><dd id=\"tekorimako\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/te-korimako-o-taranaki.aspx?id=2170A007-A89E-424C-A15B-CBD377316C00');\" id=\"link_tekorimako\"><span>New Plymouth<br />TE KORIMAKO O TARANAKI</span></a> </dd><dd id=\"teupoko\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/te-upoko-o-te-ika.aspx?id=67F33876-6044-4C51-9654-A306E06AFBB0');\" id=\"link_teupoko\"><span>Wellington<br />TE UPOKO O TE IKA</span></a> </dd><dd id=\"turanga\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/t&#363;ranga-fm.aspx?id=8AD7E1A3-66E5-422E-8BD6-CB728EC4BA9B');\" id=\"link_turanga\"><span>Gisborne<br />TURANGA FM</span></a> </dd><dd id=\"tuwharetoa\"><a href=\"#nogo\" onclick=\"player('http://irirangi.net/listen-online/t&#363;wharetoa-fm.aspx?id=F871AFB4-5DB7-4EE7-AB0E-3B3037886DD2');\" id=\"link_tuwharetoa\"><span>Turangi<br />TUWHARETOA FM</span></a> </dd></dl></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Listen online";
		
navx = 875;
navy = 385;

		}




		else if(target == 'resources') {


mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);"><a class="arrow" onclick="return pageLoad(\'links\', \'Links\', \'resources\', true);" href="resources.php">Links</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Resources</h1><ul>    <li><a target=\"_blank\" href=\"http://www.maorimedia.co.nz/MMN_Media_Kit_2010.pdf\">MMN Media Kit</a> (pdf, 646 KB)</li>    <li><a target=\"_blank\" href=\"http://www.maorimedia.co.nz/Iwi_Radio_Coverage.pdf\">Iwi Radio Coverage</a> (pdf, 193 KB)</li>    <li><a target=\"_blank\" href=\"http://www.maorimedia.co.nz/StnStings30secs.mp3\">StnStings30secs</a>&nbsp;(mp3, 502 KB)</li>    <li><a target=\"_blank\" href=\"http://www.maorimedia.co.nz/PromoAds45secs.mp3\">PromoAds45secs</a>&nbsp;(mp3, 704 KB)</li></ul></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Maori Media Network - Media Kit, Maori Radio Coverage, Promo Ads and Links";

navx = 875;
navy = 385;

		}	





		else if(target == 'home') {


mysub = '<div id="link-box" style="opacity:0; filter:alpha(opacity=0);""><a href="why-work-with-us.html"  onclick="return pageLoad(\'why_work_with_us\', \'Why work with us?\', \'why-work-with-us\', false);" title="Why work with us" class="arrow">Why work with us</a><br> <br> <a href="why-maori-radio.html" onclick="pageLoad(\'why_maori_radio\', \'Why Maori radio?\', \'why-maori-radio\', false); return false;" title="Why M&#257;ori radio" class="arrow">Why M&#257;ori radio</a><br> <br> <a href="radio-map.html" onclick="pageLoad(\'radio_map\', \'Listen online\', \'radio-map\', false); return false;" title="Listen online" class="arrow">Listen online</a></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\"  style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Home</h1><p>Welcome to the website&nbsp;of Maori Media Network Ltd where you will find information on the unique services we can offer you and your organisation. Maori Media Network Ltd is a national advertising bureau,&nbsp;specialising exclusively in Maori media/radio/publications and communications targeting iwi Maori.&nbsp;A&nbsp;one-stop-shop solution for agencies, clients, and advertisers who need to reach a Maori audience!</p></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"></div><div id=\"content-box3\"  style=\"opacity:0; filter:alpha(opacity=0);\"></div>";
title = "Maori Media Network - National advertising bureau specialising in Maori media, radio, publications and communications";
			
navy = 392;

		}	






		else if(target == 'services') {

mysub = '<div id="link-box"></div><div id="thumbnail-box"></div>';
mycontent = "<div id=\"content-box\" style=\"opacity:0; filter:alpha(opacity=0);\"><h1>Services</h1><p><strong>Media Planning</strong> &ndash; Use our expert knowledge of Maori Radio to provide you with a no-obligation proposal for the ideal placement of your campaign. We can advise on the best time zones to use, the most appropriate ad format, number of ad placements required, which stations you&rsquo;ll need and the programmes which best suit your audience.</p></div><div id=\"content-box2\" style=\"opacity:0; filter:alpha(opacity=0);\"><p><strong>Media Placement</strong> - MMN is a centralized booking agency for 22 Maori Radio stations throughout Aotearoa. A single point of contact for the whole network. Ask us about booking M&#257;ori print publications too.</p></div><div id=\"content-box3\" style=\"opacity:0; filter:alpha(opacity=0);\"><p><strong>Bi-lingual Voice Talent </strong>&ndash; Fluent Maori and English voice talent across a range of ages and delivery styles can be matched to your requirements, ensuring your campaign connects with just the right audience</p><p><strong>Translation</strong> &ndash; For translation of the highest standard we use only licensed translators and interpreters. Whether you want a literal word-for-word translation or an interpretation of the essence of your message - we can deliver. Our rates are reasonable and our turn-around prompt.</p><p><strong>Maori Music/Sound Beds</strong> &ndash; To give your campaign the right &ldquo;flavour&rdquo; we can negotiate rights for use of Maori music from a network of local Maori musicians, recording artists, and producers.</p><p><strong>Audio Production</strong> &ndash; We offer reasonably priced studios/sound engineers producing quality work (in tight time frames if required).</p></div>";
title = "Maori Media Network Services - Media Planning, Advertising Placement, Translation, Ad Production";

navy = 180;

		}





		else if(target == "news") {


if(item=="1") {
   mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h2>Feature Film Development Funding</h2><p class=\"date\">27 Jan 2010</p><p>Te Paepae Ataata Charitable Trust is currently inviting applications for funding from Maori writers and film-makers to write and develop feature films.</p><p>The closing date for&nbsp;applications is&nbsp;<strong>Sunday 31st January 2010</strong>. Further application rounds will be held in April, July and October of this year.</p><p>Applicants may apply for funding towards the cost of a mentor or other third party additional costs to assist in the development of a project. The level of funding will be determined by Te Paepae Ataata.</p><p>The Paepae are Ainsley Gardiner, Rawiri Paratene, Tainui Stephens, Merata Mita, and Kathryn Akuhata-Brown.</p><p>For more info visit <a href=\"http://www.paepae.co.nz\">www.paepae.co.nz</a> or contact Renee Mark, phone: 027 2244541, email: <a href=\"mailto:renee@paepae.co.nz?subject=Query%20ex%20www.maorimedia.co.nz%20re%20Feature%20Film%20Development%20Funding\">renee@paepae.co.nz</a>.</p><p><em><strong>Background</strong></em></p><p>Te Paepae Ataata is an Incorporated Charitable Trust that has been operating since 2008. The purposes of Te Paepae Ataata are to:</p><p>-&nbsp; Identify and support Maori film-makers<br />-&nbsp; Nurture Maori cinema<br />-&nbsp; Develop select scripts to production readiness<br />-&nbsp; Celebrate the film voice of tangata whenua</p><p><em>Kia poipoia ko te ao kiriata Maori. Kia penapenahia ko nga hotuhi kia puawai mai. Kia hari i roto i te reo kiriata o te tangata whenua.</em></p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
   mysub = "<div id=\"link-box\"> &nbsp; <a href=\"#\" onclick=\"return pageLoad('news', 'News', 'news', true, 1 +1);\" >next &raquo;</a></div><div id=\"thumbnail-box\"></div>";
title = "";}

if(item=="2") {
   mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h2>Maori Television Honours Sir Howard Morrison</h2><p class=\"date\">28 Sep 2009</p><p>Maori Television will pay tribute to renowned New Zealand musician and entertainer Sir Howard Morrison with special television coverage on the day of his Rotorua tangihanga - Tuesday 29th September 2009.</p><p>A live broadcast from Te Papaiouru Marae at Ohinemutu will go to air from 9am to 1pm, and will be followed by the channel's three part documentary series - <strong>&quot;Sir Howard Morrison: He Kotuku Rerenga Tahi&quot;</strong> - which premiered in December 2008. Two of the three hour-long episodes will screen from 1pm to 3pm with the third and final part at 8.30pm. Maori TV's daily news programme &quot;Te Kaea&quot; will also have special coverage at 7.30pm (and with English subtitles at 11pm).</p><p><img alt=\"\" width=\"165\" height=\"92\" src=\"/system/userfiles/sirhowardmorrison(2).jpg\" /></p><p><em>&quot;The saying 'He kotuku rerenga tahi' refers to the white heron as the bird of single flight, a sight seen perhaps only once in a lifetime&quot;</em> says Maori Television Chief Executive Jim Mather. <em>&quot;Sir Howard epitomizes this pepeha - an iconic New Zealander who bridged the gap across generations as one of our most successful and best loved entertainers. Our condolences go out to the Morrison whanau at this time.&quot;</em></p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
   mysub = "<div id=\"link-box\"><a href=\"#\"onclick=\"return pageLoad('news', 'News', 'news', true, 2 -1);\">&laquo; prev</a> &nbsp; &nbsp; <a href=\"#\" onclick=\"return pageLoad('news', 'News', 'news', true, 2 +1);\" >next &raquo;</a></div><div id=\"thumbnail-box\"></div>";
title = "Maori Media Network News - Maori Television Honours Sir Howard Morrison";}

if(item=="3") {
   mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h2>National M&#257;ori Flag Consultation</h2><p class=\"date\">12 Aug 2009</p><p>Feedback is being sought to identify a preferred&nbsp;national M&#257;ori flag to represent M&#257;ori, and occasions on which a national M&#257;ori flag should be flown.</p><p>Twenty-one consultation hui have been held throughout the country to ensure feedback is received from individuals and communities. M&#257;ori can also have their say by completing an <a href=\"http://www.tpk.govt.nz/en/consultation/maoriflag/submission/\">online submission form</a> or writing to the Minister of Maori Affairs with their preferences to: <em>National M&#257;ori Flag Consultation, Te Puni K&#333;kiri, PO Box 3943, Wellington 6140,</em> or via email: <a href=\"mailto:maoriflag@tpk.govt.nz?subject=National%20Maori%20Flag%20Consultation\">maoriflag@tpk.govt.nz</a></p><p><strong>The final date for all submissions is 5pm on Friday 28 August 2009.</strong> For more information and full details regarding the four flag options&nbsp;go to <a href=\"http://www.tpk.govt.nz/maoriflag\">www.tpk.govt.nz/maoriflag</a></p><p><em><span style=\"font-size: 8pt\"><em>National Flag of New Zealand (Flag of the Independent Tribes)</em></span></em></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=\"http://www.tpk.govt.nz/en/consultation/maoriflag/indtribes/\"><img border=\"1\" alt=\"\" width=\"160\" height=\"101\" src=\"/system/userfiles/1 Ntnl Flag of NZ - Flag of the Indepndnt Tribes(2).jpg\" /></a></p><p><em><span style=\"font-size: 8pt\"><em>The New Zealand Flag</em></span></em></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=\"http://www.tpk.govt.nz/en/consultation/maoriflag/nzflag/\"><img border=\"1\" alt=\"New Zealand Flag\" width=\"160\" height=\"80\" src=\"/system/userfiles/2 NZ Flag.jpg\" /></a></p><p><em><span style=\"font-size: 8pt\"><em>The New Zealand Red Ensign</em></span></em></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=\"http://www.tpk.govt.nz/en/consultation/maoriflag/redensign/\"><img border=\"1\" alt=\"The New Zealand Red Ensign\" width=\"160\" height=\"80\" src=\"/system/userfiles/3 The NZ Red Ensign Flag.jpg\" /></a>&nbsp;</p><p><em><span style=\"font-size: 8pt\"><em>The M&#257;ori Flag (Tino Rangatiratanga Flag)</em></span></em></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=\"http://www.tpk.govt.nz/en/consultation/maoriflag/tinorangatiratanga/\"><img border=\"1\" alt=\"\" width=\"162\" height=\"90\" src=\"/system/userfiles/4 The Maori Flag - Tino Rangatiratanga Flag(2).jpg\" /></a></p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
   mysub = "<div id=\"link-box\"><a href=\"#\"onclick=\"return pageLoad('news', 'News', 'news', true, 3 -1);\">&laquo; prev</a> &nbsp; &nbsp; <a href=\"#\" onclick=\"return pageLoad('news', 'News', 'news', true, 3 +1);\" >next &raquo;</a></div><div id=\"thumbnail-box\"></div>";
title = "Maori Media Network News - National Maori Flag Consultation";}

if(item=="4") {
   mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h2>Te Wiki o te Reo M&#257;ori 2009</h2><p class=\"date\">27 Jul 2009</p><p>This year M&#257;ori Language Week is being held from 27 July to 2 August 2009, and the theme is &quot;Te Reo i te Hapori&quot; - &quot;M&#257;ori Language in the Community&quot;. M&#257;ori Language Week is a great opportunity for all New Zealanders to celebrate Te Reo M&#257;ori and &quot;give it a go&quot; to learn and use more M&#257;ori phrases every day.</p><p><img alt=\"\" width=\"180\" height=\"140\" src=\"/system/userfiles/2009MLWeek2.jpg\" /></p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
   mysub = "<div id=\"link-box\"><a href=\"#\"onclick=\"return pageLoad('news', 'News', 'news', true, 4 -1);\">&laquo; prev</a> &nbsp; &nbsp; <a href=\"#\" onclick=\"return pageLoad('news', 'News', 'news', true, 4 +1);\" >next &raquo;</a></div><div id=\"thumbnail-box\"></div>";
title = "Maori Media Network News - Maori Language Week";}

if(item=="5") {
   mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h2>Kaum&#257;tua Kapa Haka at Te Papa 11-12 July 2009</h2><p class=\"date\">30 Jun 2009</p><p>Kaum&#257;tua kapa haka groups from around the North Island will perform classic waiata on stage in Wellington on 11-12 July 2009 at Te Papa to close its Matariki Festival.</p><p>Sing along to popular tunes by iconic composers such as Tuini Ngawai, Sir Apirana Ngata and Kohine Ponika, and witness the grace, elegance and humour of some of the country's most seasoned performers. Entry is free.</p><p>If you can't make it to Te Papa, you can still watch the celebrations live online at <a href=\"http://www.tepapa.govt.nz/kapahaka\">www.tepapa.govt.nz/kapahaka</a></p><p>The eight groups performing are: Auckland Anglican M&#257;ori Club <em>(Auckland),</em> Te Wh&#257;nau a Kohine Ponika <em>(Auckland/Bay of Plenty),</em> He Kura ki Waikato <em>(Waikato),</em> Te Hokowhitu a T&#363; <em>(Gisborne),</em> Taranaki ki te Tonga<em> (South Taranaki),</em> Ng&#257;ti Kahungunu <em>(Hawkes Bay-Wairarapa),</em> Te R&#333;p&#363; Tahiwi a Te Whanganui-a-Tara <em>(Wellington-based),</em> Te W&#299;w&#299; N&#257;ti <em>(Wellington-based).</em></p><p>For more information about senior M&#257;ori performing arts go to <a href=\"http://www.kaumatuakapahaka.com\">www.kaumatuakapahaka.com</a></p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
   mysub = "<div id=\"link-box\"><a href=\"#\"onclick=\"return pageLoad('news', 'News', 'news', true, 5 -1);\">&laquo; prev</a> &nbsp; &nbsp; <a href=\"#\" onclick=\"return pageLoad('news', 'News', 'news', true, 5 +1);\" >next &raquo;</a></div><div id=\"thumbnail-box\"></div>";
title = "Maori Media Network News - Kaumatua Kapahaka at Te Papa";}

if(item=="6") {
   mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h2>2009 Pikihuia Awards</h2><p class=\"date\">23 Apr 2009</p><p><em>Have you got a story to tell? Or a movie running around in your head?</em></p><p>Get it down on paper now and enter this year's Pikihuia Awards for Maori Writers.</p><p>It's easy - just go to <a href=\"http://www.huia.co.nz\">www.huia.co.nz</a> and download your entry form.</p><p>The Maori Literature Trust and Huia Publishers are running this FREE writing competition to get our Maori stories out to Aotearoa and the world!</p><p>This is your chance to win cash prizes and to get published - so what's stopping you?!</p><p>Entries close 15th May 2009.</p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
   mysub = "<div id=\"link-box\"><a href=\"#\"onclick=\"return pageLoad('news', 'News', 'news', true, 6 -1);\">&laquo; prev</a> &nbsp; </div><div id=\"thumbnail-box\"></div>";
title = "Maori Media Network News - Pikihuia Awards";}

navx=885;
navy = 385;

		}





		else if(target == "contact_us") {


mysub = "<div id=\"link-box\"></div><div id=\"thumbnail-box\"></div>";
mycontent = "<div id=\"content-box\" style=\"opacity:0;filter:alpha(opacity=0);\"><h1>Contact Us</h1><p><strong>MAORI MEDIA NETWORK LTD</strong><br />Ground Floor, PSA House, 11 Aurora Terrace, Wellington<br />PO Box 2705&nbsp;, Wellington 6140<br />Phone:&nbsp;<skype:span class=\"skype_tb_injection\" id=\"softomate_highlight_0\" title=\"Call this phone number in New Zealand with Skype: +6444963330\" iamrtl=\"0\" context=\"04 4963330\" durex=\"1128\" onmouseout=\"javascript:skype_tb_imgOnOff(this,0,'0',true,16,'');\" onclick=\"javascript:doRunCMD('call','0',null,0);return skype_tb_stopEvents();\" onmouseover=\"javascript:skype_tb_imgOnOff(this,1,'0',true,16,'');\" onmousedown=\"javascript:skype_tb_imgOnOff(this,2,'0',true,16,'');return skype_tb_stopEvents();\" oncontextmenu=\"javascript:skype_tb_SwitchDrop(this,'0','sms=0');return skype_tb_stopEvents();\" onmouseup=\"javascript:skype_tb_imgOnOff(this,1,'0',true,16,'');return skype_tb_stopEvents();\"><skype:span class=\"skype_tb_imgA\" id=\"skype_tb_droppart_0\" title=\"Change country code ...\" style=\"background-image: url(c:\DOCUME~1\client\LOCALS~1\Temp\__SkypeIEToolbar_Cache\e70d95847a8f5723cfca6b3fd9946506\static\inactive_a.compat.flex.w16.gif)\" onmouseout=\"javascript:doSkypeFlag(this,'0',0,1,16);\" onclick=\"javascript:doHandleChdial(this,1,'0',1);return skype_tb_stopEvents();\" onmouseover=\"javascript:doSkypeFlag(this,'0',1,1,16);\" onmousedown=\"javascript:doSkypeFlag(this,'0',2,1,16);return skype_tb_stopEvents();\" onmouseup=\"javascript:doSkypeFlag(this,'0',1,1,16);return skype_tb_stopEvents();\"><skype:span class=\"skype_tb_imgFlag\" id=\"skype_tb_img_f0\" style=\"background-image: url(c:\DOCUME~1\client\LOCALS~1\Temp\__SkypeIEToolbar_Cache\e70d95847a8f5723cfca6b3fd9946506\static\famfamfam/NZ.gif)\"></skype:span></skype:span><skype:span class=\"skype_tb_imgS\" id=\"skype_tb_img_s0\"></skype:span><skype:span class=\"skype_tb_injectionIn\" id=\"skype_tb_text0\"><skype:span class=\"skype_tb_innerText\" id=\"skype_tb_innerText0\">04&nbsp;4963330</skype:span></skype:span><skype:span class=\"skype_tb_imgR\" id=\"skype_tb_img_r0\"></skype:span></skype:span>, Fax:&nbsp;04 4963332&nbsp;<br />Email: <a href=\"mailto:info@maorimedia.co.nz?subject=Info%20required%2Fwebsite%20query\">info@maorimedia.co. nz</a><br />Website:&nbsp;<a href=\"http://www.maorimedia.co.nz\">www.maorimedia.co.nz</a></p><p><strong>For more info, media advice, or an obligation-free quote please don't hesitate to contact us!</strong></p><p><strong><img height=\"126\" alt=\"\" width=\"223\" src=\"/userfiles/Image/TeresaJacqui_2c.jpg\" /></strong></p><p>(Left) Teresa McGregor, Ngati Raukawa - Account Manager<br />Mobile: <skype:span class=\"skype_tb_injection\" id=\"softomate_highlight_2\" title=\"Call this phone number in New Zealand with Skype: +64272075016\" iamrtl=\"0\" context=\"027 2075016\" durex=\"1128\" onmouseout=\"javascript:skype_tb_imgOnOff(this,0,'2',true,16,'');\" onclick=\"javascript:doRunCMD('call','2',null,0);return skype_tb_stopEvents();\" onmouseover=\"javascript:skype_tb_imgOnOff(this,1,'2',true,16,'');\" onmousedown=\"javascript:skype_tb_imgOnOff(this,2,'2',true,16,'');return skype_tb_stopEvents();\" oncontextmenu=\"javascript:skype_tb_SwitchDrop(this,'2','sms=1');return skype_tb_stopEvents();\" onmouseup=\"javascript:skype_tb_imgOnOff(this,1,'2',true,16,'');return skype_tb_stopEvents();\"><skype:span class=\"skype_tb_imgA\" id=\"skype_tb_droppart_2\" title=\"Change country code ...\" style=\"background-image: url(c:\DOCUME~1\client\LOCALS~1\Temp\__SkypeIEToolbar_Cache\e70d95847a8f5723cfca6b3fd9946506\static\inactive_a.compat.flex.w16.gif)\" onmouseout=\"javascript:doSkypeFlag(this,'2',0,1,16);\" onclick=\"javascript:doHandleChdial(this,1,'2',1);return skype_tb_stopEvents();\" onmouseover=\"javascript:doSkypeFlag(this,'2',1,1,16);\" onmousedown=\"javascript:doSkypeFlag(this,'2',2,1,16);return skype_tb_stopEvents();\" onmouseup=\"javascript:doSkypeFlag(this,'2',1,1,16);return skype_tb_stopEvents();\"><skype:span class=\"skype_tb_imgFlag\" id=\"skype_tb_img_f2\" style=\"background-image: url(c:\DOCUME~1\client\LOCALS~1\Temp\__SkypeIEToolbar_Cache\e70d95847a8f5723cfca6b3fd9946506\static\famfamfam/NZ.gif)\"></skype:span></skype:span><skype:span class=\"skype_tb_imgS\" id=\"skype_tb_img_s2\"></skype:span><skype:span class=\"skype_tb_injectionIn\" id=\"skype_tb_text2\"><skype:span class=\"skype_tb_innerText\" id=\"skype_tb_innerText2\">027&nbsp;2075016</skype:span></skype:span><skype:span class=\"skype_tb_imgR\" id=\"skype_tb_img_r2\"></skype:span></skype:span>, Email: <a href=\"mailto:tmcgregor@maorimedia.co.nz?subject=Info%20required%2Fwebsite%20query\">tmcgregor@maorimedia.co.nz</a></p><p>(Right) Jacqui McVie - Account Manager<br />Mobile: <skype:span class=\"skype_tb_injection\" id=\"softomate_highlight_3\" title=\"Call this phone number in New Zealand with Skype: +64272493766\" iamrtl=\"0\" context=\"027 2493766\" durex=\"1128\" onmouseout=\"javascript:skype_tb_imgOnOff(this,0,'3',true,16,'');\" onclick=\"javascript:doRunCMD('call','3',null,0);return skype_tb_stopEvents();\" onmouseover=\"javascript:skype_tb_imgOnOff(this,1,'3',true,16,'');\" onmousedown=\"javascript:skype_tb_imgOnOff(this,2,'3',true,16,'');return skype_tb_stopEvents();\" oncontextmenu=\"javascript:skype_tb_SwitchDrop(this,'3','sms=1');return skype_tb_stopEvents();\" onmouseup=\"javascript:skype_tb_imgOnOff(this,1,'3',true,16,'');return skype_tb_stopEvents();\"><skype:span class=\"skype_tb_imgA\" id=\"skype_tb_droppart_3\" title=\"Change country code ...\" style=\"background-image: url(c:\DOCUME~1\client\LOCALS~1\Temp\__SkypeIEToolbar_Cache\e70d95847a8f5723cfca6b3fd9946506\static\inactive_a.compat.flex.w16.gif)\" onmouseout=\"javascript:doSkypeFlag(this,'3',0,1,16);\" onclick=\"javascript:doHandleChdial(this,1,'3',1);return skype_tb_stopEvents();\" onmouseover=\"javascript:doSkypeFlag(this,'3',1,1,16);\" onmousedown=\"javascript:doSkypeFlag(this,'3',2,1,16);return skype_tb_stopEvents();\" onmouseup=\"javascript:doSkypeFlag(this,'3',1,1,16);return skype_tb_stopEvents();\"><skype:span class=\"skype_tb_imgFlag\" id=\"skype_tb_img_f3\" style=\"background-image: url(c:\DOCUME~1\client\LOCALS~1\Temp\__SkypeIEToolbar_Cache\e70d95847a8f5723cfca6b3fd9946506\static\famfamfam/NZ.gif)\"></skype:span></skype:span><skype:span class=\"skype_tb_imgS\" id=\"skype_tb_img_s3\"></skype:span><skype:span class=\"skype_tb_injectionIn\" id=\"skype_tb_text3\"><skype:span class=\"skype_tb_innerText\" id=\"skype_tb_innerText3\">027&nbsp;2493766</skype:span></skype:span><skype:span class=\"skype_tb_imgR\" id=\"skype_tb_img_r3\"></skype:span></skype:span>, Email: <a href=\"mailto:jmcvie@maorimedia.co.nz?subject=Info%20required%2Fwebsite%20query\">jmcvie@maorimedia.co.nz</a></p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
title = "Contact Maori Media Network for media advice or an obligation free quote";

navx = 890;
navy = 0;


		}






		else if(target == "our_logo") {


mysub = "<div id=\"link-box\"></div><div id=\"thumbnail-box\"></div>";
mycontent = "<div id=\"content-box\"  style=\"opacity:0;filter:alpha(opacity=0);\"><h1>Our Logo</h1><p><strong>Maori Media Network&rsquo;s logo is a contemporary representation of the Putaatara (conch shell), historically used as a communication device among Maori.</strong></p><p>The image was designed to depict both kotahitanga (unity) as well as individuality and diversity of Iwi.</p><p>This forms from the centre of the koru, flowing out to the different paths or frequencies. The subtle image of the fern can also be seen.</p><p>Natural colours of the sea and earth have been chosen as essential elements which bind the whenua (land).</p></div><div id=\"content-box2\"></div><div id=\"content-box3\"></div>";
title = "Maori Media Network Logo";

navy = 385;

		}




		mytarget = target;
		mystylesheet = stylesheet;
		mytitle = title;



		if(subpage) {
			new Effect.Opacity ('link-box', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 });
			new Effect.Opacity ('content-box', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 });
			new Effect.Opacity ('content-box2', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 });
			new Effect.Opacity ('content-box3', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 });
			setTimeout("updateStuff()", 1100);
		}
		else {


			new Effect.Move ('main-nav', {x: 0, y: -200, mode: 'absolute'})

			setTimeout("new Effect.Opacity ('content-box', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 })",800);
			setTimeout("new Effect.Opacity ('content-box2', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 })",800);
			setTimeout("new Effect.Opacity ('content-box3', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 })",800);		
			setTimeout("new Effect.Opacity ('link-box', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 })",800);
                                                document.getElementById('thumbnail-box').style.display='none';

			setTimeout("new Effect.Opacity ('logo-box', {duration: 1.0, transition: Effect.Transitions.linear, from: 1, to: 0 })", 800);       	   	
			setTimeout("new Effect.Move ('page-bg-top', {x: 0, y: -1200, mode: 'absolute'})", 2000);
			setTimeout("new Effect.Move ('page-bg-bottom', {x: -1200, y: 0, mode: 'relative'})", 2000);	
			setTimeout("setActiveStyleSheet('" + mystylesheet + "')", 3000);
			setTimeout("new Effect.Move ('page-bg-top', {x: 0, y: 0, mode: 'absolute'})", 3000);
			setTimeout("new Effect.Move ('page-bg-bottom', {x: 0, y: -590, mode: 'absolute'})", 3000);	
			setTimeout("updateStuff()", 4000);
			setTimeout("new Effect.Move ('main-nav', {x: " + navx + ", y: " + navy + ", mode: 'absolute'})", 5000);

		}	
	}
	
	return false;

}

function updateStuff() {

	disableLinks();
	
                document.getElementById('sub-outer').innerHTML = mysub;
	document.getElementById('content-box-outer').innerHTML = mycontent;


	new Effect.Opacity ('link-box', {duration: 1.0, transition: Effect.Transitions.linear, from: 0, to: 1 });       	   
	new Effect.Opacity ('content-box', {duration: 4.0, transition: Effect.Transitions.linear, from: 0, to: 1 });       	   
	new Effect.Opacity ('logo-box', {duration: 4.0, transition: Effect.Transitions.linear, from: 0, to: 1 });       	  
	new Effect.Opacity ('thumbnail-box', {duration: 4.0, transition: Effect.Transitions.linear, from: 0, to: 1 });   

	setTimeout("new Effect.Opacity ('content-box2', {duration: 4.0, transition: Effect.Transitions.linear, from: 0, to: 1 })", 500);        
	setTimeout("new Effect.Opacity ('content-box3', {duration: 4.0, transition: Effect.Transitions.linear, from: 0, to: 1 })", 1000);
	setTimeout("enableLinks()", 2000);

	document.title = mytitle;


}

function setActiveStyleSheet(title) {
   var i, a, main;
   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
     if(a.getAttribute("rel").indexOf("style") != -1
        && a.getAttribute("title") ) {
       a.disabled = true;
       if(a.getAttribute("title") == title) a.disabled = false;
     }
   }
}

function enableLinks() {
                document.body.style.cursor = 'auto';
	locked = false;
	return true;
}

function disableLinks() {
                document.body.style.cursor = 'wait';
	locked = true;
	return true;
}


//VERTICAL ALIGN IN PAGE
function vAlign() {

  var myWidth = 0;
  var myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientHeight ) ) {
    //IE 4 compatible
    myHeight = document.body.clientHeight;
  }
  
  if(document.getElementById('spacer') && myHeight > 630) {
    document.getElementById('spacer').style.height = ((Math.round(myHeight - 630) / 2)) + "px";
  }



}
