From: "Saved by Windows Internet Explorer 7" Subject: Sexes need different dinners, says study (ABC News in Science) Date: Mon, 28 Jul 2008 15:07:34 +1000 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01C8F0C3.A9ECB350" X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C8F0C3.A9ECB350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.abc.net.au/science/articles/2008/07/16/2303985.htm?site=science&topic=enviro Sexes need different dinners, says study = (ABC News in Science)
Skip=20 to navigation | Skip=20 to content
Search the ABC =20

ABC Home | Radio | = Television | News | = Your Local ABC | More Subjects=85 | Shop

News in Science

Print

Sexes need different dinners, says study

Wednesday, 16 July 2008 Dani=20 Cooper
ABC


Food for thought: researchers = believe men=20 and women need dramatically different diets to ensure longevity and = reproductive=20 success (Source: iStockphoto)

Related Stories

  • Mu= m's=20 diet linked to onset of puberty, Science Online, 17 Jun 2008=20
  • Vi= rile=20 cricket is world's top sex machine=20
  • CS= IRO=20 diet gets a grilling=20
  • Map:=20 Randwick 2031

The wisdom of feeding the man meat has been thrown into = question=20 by a study that shows the secret to a long reproductive life in males is = carbohydrates.

A study, published today in Current Biology, suggests it is females who = should be=20 pulling out the steak knife to ensure their reproductive fitness.

Lead author and University of=20 New South Wales biologist, Dr Alexei Maklakov, says his study on = Australian=20 black field crickets is the first of its kind to examine the influence = of gender=20 in determining which diet is best for long life and breeding = success.

And Maklakov says although what's good for the goose isn't = necessarily good=20 for the gander, males and females end up eating a compromise diet that = is less=20 than optimal for both of them.

For the study, which also includes researchers from the University of = Sydney and Massey University = in New=20 Zealand, the male and female crickets were fed a range of different = diets that=20 included different ratios of proteins to carbohydrates.

The researchers then studied the insects' response to the diets in = terms of=20 life span and reproductive fitness.

For the females this meant once a week counting the number of eggs = they laid=20 and for the males measuring the amount of calling noises they made = during the=20 night.

Optimised reproductive success

He says they found the sexes had very different peaks in respect to=20 reproductive fitness and life span under different dietary regimes.

Maklakov, from the Evolution and Ecology Research Centre says = reproductive=20 success in female crickets is optimised by a diet with a one to one = ratio of=20 protein to carbohydrates.

However for males, reproductive success came with a diet favouring=20 carbohydrates over proteins in an eight to one ratio.

He says male crickets maximise their reproductive success by calling = out to=20 prospective mates throughout the night.

"Males don't need much protein," he says. "They just need energy to = basically=20 sit and call out all night."

The researchers then studied what the crickets would eat when given a = choice=20 in diet.

They found however, that instead of selecting food in a sex-specific = manner,=20 males and females ate a "compromise" diet that benefited neither = one.

"It is rather surprising because they are not doing what they are = supposed to=20 do," Maklakov says.

Sexual conflict

"In crickets males and females do not seem to be able to fully = resolve the=20 sexual conflict over what to eat."

For the females the compromise is costly resulting in a 30% reduction = in egg=20 production, he says.

The researchers believe the compromise is due to the failure of some=20 gender-dependent traits to evolve.

Because the sexes share most of their genes this can constrain the = evolution=20 of sex differences in traits as the same genes in both sexes are likely = to be=20 responsible for trait expression.

Evolution and Ecology Research Centre director associate professor = Rob Brooks=20 says the results show more attention needs to be given to individual's = diets in=20 terms of their sex and reproductive stage.

"It underlines the important lesson that what we want to eat, or if = you like,=20 are programmed to eat, is not necessarily best for us," Brook says.

Ramifications

The co-author says although humans and crickets are completely = different=20 organisms, the study does have ramifications.

"It's the first time this kind of [gender difference in diet] has = been=20 shown," he says.

"Humans are even more fundamentally different between males and = females than=20 crickets are.

"In human reproduction the men's role is relatively trivial [while] = for women=20 bringing a baby safely to term requires tremendous amounts of energy and = diet is=20 very important.

"What men and women need to eat might be more dramatically different = than we=20 had realised. However men and women eat very similar diets and our = results=20 suggest our tastes and food preferences could be a shared compromise as = they are=20 in crickets."

Tags: diet-and-nutrition,=20 mens-health,=20 reproduction-and-= contraception,=20 womens-health,=20 biology,=20 evolution

Environment=20 and Nature News

  • Mountain=20 building boosts oxygen=20
  • Aerial=20 surveys 'underestimate' ferals=20
  • Scientists=20 learn what makes auroras flare=20
  • Community=20 control 'key' to windfarms=20
  • Earthquake=20 'not to blame' for mud volcano
Envir= onment=20 and Nature News in Science web feed

Green=20 At Work

Switch= ing off=20 lights is just the start! Find everything you need to green your work, = and see=20 the ABC's own 'greenover', warts-and-all.

Latest=20 Diet and Nutrition news and features

  • Sexes need different dinners, says = study=20
  • Mum's=20 diet linked to onset of puberty=20
  • Mixed=20 results confuse diabetes debate
Die= t and=20 Nutrition news and features web feed

Environment=20 and Nature In Depth

  • Paper=20 towel or electric hand dryers?=20
  • Trees=20 and chairs as carbon sinks=20
  • Forcing=20 printers to print both sides

More features from ABC Online

3DCrude=20Cr= ude: the=20 incredible journey of oil
Spanning 160 million = years=20 of Earth's history

3D"NationalNational=20 Science Week
Australia's largest national festival with = loads of=20 ways to get involved

Plan= et=20 Slayer
Worrier Princess Greena gets the dirt on=20 greenhouse.

3D"ABC

=A9 2008 ABC | Privacy = Policy | Conditions of = Use

'; } processLinks(); processImages(); classRemove(target, 'ajaxLoading'); } }; req.open('GET', url, true); req.send(''); } } // Load content into target container when tab is clicked function tabLoad (tabLink, target, url, onsuccess) { if (typeof target =3D=3D 'string') target =3D = document.getElementById(target); setClassUnsetSiblings(tabLink.parentNode, 'active'); simpleAjax(url, target, onsuccess); if (tabLink.blur) tabLink.blur(); // removes dotted outline from link = in Mozilla browsers return false; } function stateTabLoad (state) { // for state headlines on news home page tabLoad(document.getElementById('t-'+state), 'stateContent', = '/news/indexes/idx-'+state+'/top3.inc', copyFitStateHeadlines); preferenceSet('state', state); return false; } function copyFitStateHeadlines () { // reduce number of state headlines = to make its column similar in height to the top story //document.title=3D'Copy fit'; var minVisible =3D 3; if (document.getElementById('topstory') && = document.getElementById('topstories') && = document.getElementById('stateContent')) { var stateHeadlines =3D = document.getElementById('stateContent').getElementsByTagName('LI'); var numTotal =3D stateHeadlines.length; var numVisible =3D numTotal+0; var done =3D false; while (!done) { if (numVisible <=3D minVisible) done =3D true; else { var difference =3D = document.getElementById('topstories').scrollHeight - = document.getElementById('topstory').scrollHeight; var thisHeight =3D stateHeadlines[numVisible-1].scrollHeight; if (Math.abs(difference-thisHeight) > Math.abs(difference)) done =3D = true; // if removing another headline makes the column closer in height = to the other column else { stateHeadlines[numVisible-1].style.display =3D 'none'; numVisible--; } } } for (var i=3DnumVisible; i>0; i--) { stateHeadlines[numVisible-1].style.display =3D 'block'; } } } /************ MISCELLANEOUS FUNCTIONS **************/ function thumnbailScrollerGenerate (containerid) { var container; var colnames =3D new = Array('column5a','column5b','column5c','column5d','column5e'); if (container =3D document.getElementById(containerid)) { if (!window.highlightScroller) highlightScroller =3D new Object(); var controls =3D document.createElement('DIV'); controls.id =3D containerid+'_controls'; controls.className =3D 'highlightscrollercontrols'; var temp =3D container.childNodes; var divs =3D new Array(); for (var i=3D0; i 5) controls.appendChild(aprev); for (var i=3D0; i 5) controls.appendChild(a); } var anext =3D document.createElement('A'); anext.id =3D containerid+'_show_next'; anext.className =3D 'next'; anext.href =3D 'javascript:highlightScrollerMoveBy("'+containerid+'", = 1);'; anext.onclick =3D function (f) { eval(this.href.replace(/^javascript:/, '')); return false; }; var anextimg =3D document.createElement('IMG'); anextimg.src =3D '/science/css/blank.gif'; anextimg.width =3D 26; anextimg.height =3D 16; anext.appendChild(anextimg); if (divs.length > 5) controls.appendChild(anext); container.parentNode.insertBefore(controls, container.nextSibling); highlightScrollerMoveTo(containerid, 0); } } // Generate a scrollable feature thingy function highlightScrollerGenerate (containerid) { var container; if (container =3D document.getElementById(containerid)) { if (classExists(container, 'thumbnailscroller')) { thumnbailScrollerGenerate(containerid); return; } if (!window.highlightScroller) highlightScroller =3D new Object(); var controls =3D document.createElement('DIV'); controls.id =3D containerid+'_controls'; controls.className =3D 'highlightscrollercontrols'; var temp =3D container.childNodes; var divs =3D new Array(); for (var i=3D0; i 3) controls.appendChild(aprev); for (var i=3D0; i 3) controls.appendChild(a); } var anext =3D document.createElement('A'); anext.id =3D containerid+'_show_next'; anext.className =3D 'next'; anext.href =3D 'javascript:highlightScrollerMoveBy("'+containerid+'", = 1);'; anext.onclick =3D function (f) { eval(this.href.replace(/^javascript:/, '')); return false; }; var anextimg =3D document.createElement('IMG'); anextimg.src =3D '/science/css/blank.gif'; anextimg.width =3D 26; anextimg.height =3D 16; anext.appendChild(anextimg); if (divs.length > 3) controls.appendChild(anext); container.parentNode.insertBefore(controls, container.nextSibling); highlightScrollerMoveTo(containerid, 0); } } function highlightScrollerMoveTo (containerid, num) { highlightScroller[containerid+'_current'] =3D num; = displayThisHideSiblings(containerid+'_'+highlightScroller[containerid+'_c= urrent']); = setClassUnsetSiblings(containerid+'_show_'+highlightScroller[containerid+= '_current'], 'active'); } function highlightScrollerMoveBy (containerid, num) { highlightScroller[containerid+'_current'] +=3D num; if (highlightScroller[containerid+'_current'] >=3D = highlightScroller[containerid+'_length']) = highlightScroller[containerid+'_current'] -=3D = highlightScroller[containerid+'_length']; else if (highlightScroller[containerid+'_current'] < 0) = highlightScroller[containerid+'_current'] +=3D = highlightScroller[containerid+'_length']; = displayThisHideSiblings(containerid+'_'+highlightScroller[containerid+'_c= urrent']); = setClassUnsetSiblings(containerid+'_show_'+highlightScroller[containerid+= '_current'], 'active'); } function displayThisHideSiblings (element) { // 'element' can be a DOM = element or a string representing the ID of a DOM element if (typeof element =3D=3D 'undefined') return; if (typeof element =3D=3D 'string') element =3D = document.getElementById(element); var x =3D element.previousSibling; while (x !=3D null) { if (x.nodeType =3D=3D 1) x.style.display =3D 'none'; x =3D x.previousSibling; } x =3D element.nextSibling; while (x !=3D null) { if (x.nodeType =3D=3D 1) x.style.display =3D 'none'; x =3D x.nextSibling; } element.style.display =3D 'block'; } function setClassUnsetSiblings (element, theclass) { // 'element' can be = a DOM element or a string representing the ID of a DOM element if (element =3D=3D null) return; if (typeof element =3D=3D 'undefined') return; if (typeof element =3D=3D 'string') { if (document.getElementById(element)) element =3D = document.getElementById(element); else return; } var x =3D element.previousSibling; while (x !=3D null) { classRemove(x, theclass); x =3D x.previousSibling; } x =3D element.nextSibling; while (x !=3D null) { classRemove(x, theclass); x =3D x.nextSibling; } classAdd(element, theclass); } /************ COUNTER FUNCTIONS **************/ function setCountersSourceHit() { if (document.getElementById('imgCounter')) { var blnEnabled =3D true; // enable/disable the hit counter var blnValidDomain =3D = (document.URL.indexOf('http://www2b.abc.net.au/') !=3D 0); var blnValidURL =3D (document.URL.indexOf('start_rank') =3D=3D -1); if (blnEnabled && blnValidDomain && blnValidURL) { // set the image source to the counter URL + query string containing = document URL document.getElementById('imgCounter').src =3D = 'http://www2b.abc.net.au/Counters/Client/Hit.aspx?' + = encodeURIComponent(document.URL); } } } addLoadEvent(setCountersSourceHit); ------=_NextPart_000_0000_01C8F0C3.A9ECB350 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.abc.net.au/news/scripts/2007/common.js /*=0A= ABC News common scripts=0A= Created by: Andrew Kesper, October 2006=0A= Modified by: Andrew Kesper, 24 July 2008=0A= */=0A= =0A= news =3D true; // News livery=0A= if (!getQueryStringVariable('site').match(/^(news)?$/)) news =3D false; = // one-story-many-views=0A= =0A= =0A= /************* NEW FUNCTIONS ***************/=0A= // Add new string functions=0A= String.prototype.trim =3D function() { return this.replace(/^\s+|\s+$/g, = ''); };=0A= String.prototype.toTitleCase =3D function() { =0A= var ls =3D this.toLowerCase();=0A= var la =3D ls.split(' ');=0A= for (var i=3D0; i 0) return output;=0A= // If no elements were found, try this alternative method instead...=0A= // Works in Firefox 2, Safari, Opera:=0A= output =3D new Array();=0A= var temp =3D xmlelement.getElementsByTagName(localname);=0A= for (var i=3D0; i3D"Preferences"';=0A= n2.appendChild(pBtn);=0A= }=0A= }=0A= if (news) addLoadEvent(enablePreferences);=0A= =0A= function prefOpen () {=0A= if (!document.domain.match(/^([-a-zA-Z0-9]+\.)?abc\.net\.au$/)) return = true;=0A= if = (document.domain.match(/^(search|upload|blogs|www2b)\.abc\.net\.au$/)) = return true;=0A= var n2;=0A= if (n2 =3D document.getElementById('nav_2nd')) {=0A= var pPanel;=0A= if (pPanel =3D document.getElementById('preferencesPanel')) {=0A= prefClose();=0A= }=0A= else {=0A= pPanel =3D document.createElement('div');=0A= pPanel.id =3D 'preferencesPanel';=0A= pPanel.innerHTML =3D 'Loading, please wait...';=0A= n2.parentNode.insertBefore(pPanel, n2.nextSibling);=0A= simpleAjax('/news/includes/2007/preferences.htm', 'preferencesPanel', = 'prefLoad();');=0A= }=0A= }=0A= return false;=0A= }=0A= =0A= function prefClose () {=0A= var pPanel;=0A= if (pPanel =3D document.getElementById('preferencesPanel')) {=0A= pPanel.parentNode.removeChild(pPanel);=0A= }=0A= }=0A= =0A= function prefLoad () {=0A= for (var e=3D0; e elements; abort=0A= var itemsIndex;=0A= if (guid !=3D null) { // guid specified; use with matching = =0A= for (var i=3D0; i=0A= var url =3D '';=0A= var content =3D getElementsByTagNameScope(items[itemsIndex], 'media', = 'content');=0A= var format =3D preferenceGet('video');=0A= var connection =3D preferenceGet('connection');=0A= if (connection =3D=3D 'lo') var bestbitrate =3D 999999999; else var = bestbitrate =3D 0;=0A= for (var j=3D0; j bestbitrate)) {=0A= bestbitrate =3D content[j].getAttribute('bitrate');=0A= url =3D content[j].getAttribute('url');=0A= }=0A= }=0A= }=0A= var link =3D items[itemsIndex].getElementsByTagName('link');=0A= if (link.length > 0) if (typeof insertafter.href !=3D 'undefined') if = (insertafter.href.indexOf('.htm') !=3D -1) if = (link[0].firstChild.nodeValue !=3D insertafter.href) var transcript =3D = link[0].firstChild.nodeValue;=0A= if (url !=3D '') {=0A= if (format =3D=3D 'inpage') showVideo_play(url, insertafter, width, = autoplay, transcript);=0A= else location =3D url;=0A= }=0A= else { // preferred format not available=0A= if (typeof insertafter.href !=3D 'undefined') location =3D = insertafter.href;=0A= }=0A= }=0A= else location =3D insertafter.href; // Media RSS file not available=0A= }=0A= }=0A= =0A= function showVideo_play (url, insertafter, width, autoplay, transcript) {=0A= classAdd(insertafter, 'active');=0A= if (width.indexOf('%') !=3D -1) var height =3D = Math.round((parseInt(width, = 10)/100)*insertafter.parentNode.scrollWidth/16*9); // width is a = percentage=0A= else var height =3D Math.round(parseInt(width, 10)/16*9); // assume = width is in pixels=0A= var div =3D document.createElement('DIV');=0A= div.id =3D inpageplayer;=0A= div.className =3D 'videoplayer';=0A= insertafter.parentNode.insertBefore(div, insertafter.nextSibling);=0A= window.onresize =3D function () {=0A= resize16x9(inpageplayer+'Object');=0A= };=0A= swfurl =3D 'http://www.abc.net.au/news/swf/flvplayer.swf';=0A= var so =3D new SWFObject(swfurl, inpageplayer+'Object', width, height, = '8', '#000000', true);=0A= so.addParam('allowFullScreen', 'true');=0A= so.addVariable('mediaURL', url);=0A= so.addVariable('autoPlay', autoplay);=0A= so.write(inpageplayer);=0A= resize16x9(inpageplayer+'Object');=0A= if (transcript) {=0A= if (!transcript.match(/news(_dev)?\/(audio|video)\//)) {=0A= var p =3D document.createElement('P');=0A= p.innerHTML =3D 'View Transcript';=0A= div.insertBefore(p, null);=0A= }=0A= }=0A= }=0A= =0A= function showAudio (mediaUrl, insertafter, width, autoplay, guid) {=0A= if (!mediaUrl) return true;=0A= if (!insertafter) return true;=0A= if (typeof insertafter =3D=3D 'string') insertafter =3D = document.getElementById(insertafter);=0A= if (!width) var width =3D '100%';=0A= if (!autoplay) var autoplay =3D 'true';=0A= if (!guid) var guid =3D null;=0A= if (temp =3D document.getElementById(inpageplayer)) {=0A= if (temp.previousSibling !=3D null) classRemove(temp.previousSibling, = 'active');=0A= temp.parentNode.removeChild(temp);=0A= delete temp;=0A= }=0A= if (typeof nowPlaying !=3D 'undefined' && nowPlaying =3D=3D = mediaUrl+'?'+guid) {=0A= // was already playing this item - don't want to play it again=0A= delete nowPlaying;=0A= }=0A= else {=0A= nowPlaying =3D mediaUrl+'?'+guid;=0A= if (mediaUrl.indexOf('.mp3') !=3D -1) { // already know the MP3 file=0A= showAudio_play(mediaUrl, insertafter, width, autoplay);=0A= }=0A= else if (mediaUrl.indexOf('.xml') !=3D -1 || mediaUrl.indexOf('.rss') = !=3D -1) { // need to read Media RSS file to determine MP3 file=0A= mediaUrl +=3D (mediaUrl.indexOf('?') =3D=3D -1 ? '?' : '&') + = Math.floor(new Date().getTime()/(1000*60*2));=0A= var ajaxobj =3D new XMLHttpRequest();=0A= ajaxobj.onreadystatechange =3D function() {showAudio_ajax(ajaxobj, = insertafter, width, autoplay, guid);};=0A= ajaxobj.open('GET', mediaUrl, true);=0A= ajaxobj.send('');=0A= }=0A= else { // assume we are directly linking to another type of media file = (e.g. asx, ram)=0A= delete nowPlaying;=0A= location =3D mediaUrl;=0A= }=0A= }=0A= if (insertafter.blur) insertafter.blur(); // removes dotted outline = from link in Mozilla browsers=0A= return false;=0A= }=0A= function showAudio_ajax (ajaxobj, insertafter, width, autoplay, guid) {=0A= if (ajaxobj.readyState =3D=3D 4) { // only if "loaded"=0A= if (ajaxobj.status =3D=3D 200 || ajaxobj.status =3D=3D 304) { // only = if "OK"=0A= var mediarss =3D ajaxobj.responseXML; // this is a document node=0A= var items =3D mediarss.getElementsByTagName('item');=0A= if (items.length < 1) return true; // No elements; abort=0A= var itemsIndex;=0A= if (guid !=3D null) { // guid specified; use with matching = =0A= for (var i=3D0; i=0A= var url =3D '';=0A= var content =3D getElementsByTagNameScope(items[itemsIndex], 'media', = 'content');=0A= var format =3D preferenceGet('audio');=0A= for (var j=3D0; j 0) if (typeof insertafter.href !=3D 'undefined') if = (insertafter.href.indexOf('.htm') !=3D -1) if = (link[0].firstChild.nodeValue !=3D insertafter.href) var transcript =3D = link[0].firstChild.nodeValue;=0A= if (url !=3D '') {=0A= if (format =3D=3D 'inpage') showAudio_play(url, insertafter, width, = autoplay, transcript);=0A= else location =3D url;=0A= }=0A= else { // preferred format not available=0A= if (typeof insertafter.href !=3D 'undefined') location =3D = insertafter.href;=0A= }=0A= }=0A= else location =3D insertafter.href; // Media RSS file not available=0A= }=0A= }=0A= =0A= function showAudio_play (url, insertafter, width, autoplay, transcript) {=0A= classAdd(insertafter, 'active');=0A= if (width.indexOf('%') !=3D -1) width =3D Math.round((parseInt(width, = 10)/100)*insertafter.parentNode.scrollWidth);=0A= // Standard size of audio player is 285x40 pixels. Should be no bigger = than this=0A= if (width > 285) width =3D 285;=0A= var height =3D Math.round(width/285*40);=0A= var div =3D document.createElement('DIV');=0A= div.id =3D inpageplayer;=0A= div.className =3D 'audioplayer';=0A= insertafter.parentNode.insertBefore(div, insertafter.nextSibling);=0A= window.onresize =3D function () {};=0A= var swfurl =3D 'http://www.abc.net.au/news/swf/mp3player.swf';=0A= var so =3D new SWFObject(swfurl, inpageplayer+'Object', width, height, = '8', '#FFFFFF', true);=0A= so.addParam('allowFullScreen', 'true');=0A= so.addVariable('mediaURL', url);=0A= so.addVariable('autoPlay', autoplay);=0A= so.write(inpageplayer);=0A= if (transcript) {=0A= if (!transcript.match(/news(_dev)?\/(audio|video)\//)) {=0A= var p =3D document.createElement('P');=0A= p.innerHTML =3D 'View Transcript';=0A= div.insertBefore(p, null);=0A= }=0A= }=0A= }=0A= =0A= function showPhotos (mediaUrl) {=0A= if (!mediaUrl) return true;=0A= if (mediaUrl.indexOf('.xml') !=3D -1 || mediaUrl.indexOf('.rss') !=3D = -1) { // assume mediaUrl is a Media RSS file=0A= var ajaxobj =3D new XMLHttpRequest();=0A= ajaxobj.onreadystatechange =3D function() {showPhotos_ajax(ajaxobj);};=0A= ajaxobj.open('GET', mediaUrl, true);=0A= ajaxobj.send('');=0A= }=0A= else { // can't do anything with mediaUrl=0A= return true;=0A= }=0A= return false;=0A= }=0A= =0A= function showPhotos_ajax (ajaxobj) {=0A= if (ajaxobj.readyState =3D=3D 4) { // only if "loaded"=0A= if (ajaxobj.status =3D=3D 200 || ajaxobj.status =3D=3D 304) { // only = if "OK"=0A= slideshow =3D new Array();=0A= slideshowIndex =3D 0;=0A= // Load existing image into slideshow=0A= var img;=0A= if (img =3D document.getElementById('storyPhotosImg')) {=0A= slideshow[slideshow.length] =3D new StoryPhoto(img.src, img.width, = img.height, (document.getElementById('storyPhotosCaption') ? = document.getElementById('storyPhotosCaption').innerHTML : img.alt));=0A= }=0A= delete img;=0A= // Load rest of items into slideshow=0A= var mediarss =3D ajaxobj.responseXML; // this is a document node=0A= var items =3D mediarss.getElementsByTagName('item');=0A= for (var i=3D0; i = parseInt(content[tallest].getAttribute('height'), 10)) tallest =3D m;=0A= versions[versions.length] =3D new = StoryPhotoVersion(content[m].getAttribute('url'), = parseInt(content[m].getAttribute('width'), 10), = parseInt(content[m].getAttribute('height'), 10));=0A= }=0A= for (var k=3D0; k 0 ? ' ('+source[0].firstChild.nodeValue+')' : ''), versions);=0A= addToSlideshow =3D false;=0A= }=0A= }=0A= }=0A= }=0A= slideshowInit();=0A= }=0A= }=0A= }=0A= =0A= function slideshowInit () {=0A= if (typeof slideshow =3D=3D 'undefined') return;=0A= if (slideshow.length < 1) return;=0A= if (typeof slideshowIndex =3D=3D 'undefined') slideshowIndex =3D 0;=0A= if (slideshow.length > 1) {=0A= var sp;=0A= if (sp =3D document.getElementById('storyPhotos')) {=0A= var p =3D document.createElement('P');=0A= p.id =3D 'storyPhotosNav';=0A= p.innerHTML =3D ' ';=0A= sp.insertBefore(p, sp.firstChild);=0A= }=0A= }=0A= slideshowUpdate();=0A= }=0A= =0A= function slideshowNext () {=0A= if (typeof slideshow =3D=3D 'undefined') return;=0A= if (slideshow.length <=3D 1) return;=0A= if (typeof slideshowIndex =3D=3D 'undefined') slideshowIndex =3D 0;=0A= if (slideshowIndex < slideshow.length-1) slideshowIndex++;=0A= else slideshowIndex =3D 0;=0A= if (slideshowIndex < slideshow.length-2) {=0A= var preload =3D new Image();=0A= preload.src =3D slideshow[slideshowIndex+1].src;=0A= }=0A= slideshowUpdate();=0A= }=0A= =0A= function slideshowPrev () {=0A= if (typeof slideshow =3D=3D 'undefined') return;=0A= if (slideshow.length <=3D 1) return;=0A= if (typeof slideshowIndex =3D=3D 'undefined') slideshowIndex =3D 0;=0A= if (slideshowIndex > 0) slideshowIndex--;=0A= else slideshowIndex =3D slideshow.length-1;=0A= slideshowUpdate();=0A= }=0A= =0A= function slideshowUpdate () {=0A= if (typeof slideshow =3D=3D 'undefined') return;=0A= if (slideshow.length < 1) return;=0A= if (typeof slideshowIndex =3D=3D 'undefined') slideshowIndex =3D 0;=0A= var img, caption, link, navtext;=0A= if (img =3D document.getElementById('storyPhotosImg')) {=0A= if (img.src !=3D slideshow[slideshowIndex].src) {=0A= currentFade =3D new Date().getTime();=0A= opacitySet(img, 0, currentFade);=0A= img.style.visibility =3D 'hidden';=0A= doFade =3D function () {=0A= img.src =3D slideshow[slideshowIndex].src;=0A= img.width =3D slideshow[slideshowIndex].width;=0A= img.height =3D slideshow[slideshowIndex].height;=0A= img.title =3D slideshow[slideshowIndex].caption;=0A= img.alt =3D img.title;=0A= img.onload =3D function () {=0A= img.style.visibility =3D 'visible';=0A= setTimeout("opacityFade('storyPhotosImg', 0, 100, 150, = "+currentFade+")", 100);=0A= };=0A= }=0A= setTimeout("doFade()", 100);=0A= }=0A= }=0A= if (caption =3D document.getElementById('storyPhotosCaption')) {=0A= caption.innerHTML =3D slideshow[slideshowIndex].caption;=0A= }=0A= if (link =3D document.getElementById('storyPhotosLink')) {=0A= link.href =3D = slideshow[slideshowIndex].versions[slideshow[slideshowIndex].biggest].src= ;=0A= link.onclick =3D function () {=0A= var img =3D = slideshow[slideshowIndex].versions[slideshow[slideshowIndex].best];=0A= imgWindow(img.src, null, img.width, img.height, = slideshow[slideshowIndex].caption);=0A= return false;=0A= };=0A= }=0A= if (navtext =3D document.getElementById('storyPhotosNavText')) {=0A= navtext.innerHTML =3D 'Slideshow: Photo '+(slideshowIndex+1)+' of = '+slideshow.length;=0A= }=0A= }=0A= =0A= // StoryPhoto object=0A= function StoryPhoto (src, width, height, caption, versions) {=0A= this.src =3D src;=0A= this.width =3D width;=0A= this.height =3D height;=0A= this.caption =3D caption;=0A= if (versions) {=0A= this.versions =3D versions; // array of StoryPhotoVersion objects=0A= this.biggest =3D 0; // index of biggest version, compared by = width*height=0A= this.best =3D 0; // index of version most suitable for this screen = resolution=0A= for (var i=3D0; i');=0A= w.document.writeln('' + title + = '');=0A= w.document.writeln('');=0A= w.document.writeln('
3D"'+title+'"
');=0A= w.document.writeln('
');=0A= w.document.writeln('

'+caption+'

');=0A= w.document.writeln('

Close Image

');=0A= w.document.writeln('');=0A= w.document.close();=0A= if (window.focus) w.focus();=0A= return false;=0A= }=0A= =0A= function resize16x9 (element) {=0A= if (typeof element =3D=3D 'undefined') return;=0A= if (typeof element =3D=3D 'string') {=0A= if (element =3D document.getElementById(element));=0A= else return;=0A= }=0A= width =3D element.clientWidth;=0A= height =3D Math.round((width/16)*9);=0A= element.style.height =3D height+'px';=0A= }=0A= =0A= /************* SLIDESHOWPRO PHOTO GALLERY *************/=0A= function showGallery (mediaUrl, insertafter, openFirstAlbum) {=0A= if (typeof insertafter =3D=3D 'undefined') return true;=0A= if (typeof insertafter =3D=3D 'string') insertafter =3D = document.getElementById(insertafter);=0A= if (typeof openFirstAlbum =3D=3D 'undefined') var openFirstAlbum =3D = false;=0A= var div =3D document.createElement('DIV');=0A= div.id =3D inpageplayer;=0A= div.className =3D 'galleryplayer';=0A= insertafter.parentNode.insertBefore(div, insertafter.nextSibling);=0A= mediaUrl +=3D encodeURIComponent((mediaUrl.indexOf('?') =3D=3D -1 ? '?' = : '&') + Math.floor(new Date().getTime()/(1000*60*2))); // ensures fresh = request every 2 minutes=0A= var so =3D new SWFObject('/news/swf/slideshow.swf', 'slideshowpro', = '100%', 460, '8', '#000000', true);=0A= so.addParam('allowFullScreen', 'true');=0A= if (typeof mediaUrl !=3D 'undefined') so.addVariable('xmlFilePath', = mediaUrl);=0A= if (openFirstAlbum) so.addVariable('startMode', 'album');=0A= so.write(inpageplayer);=0A= }=0A= =0A= =0A= /************* MAPPING ***************/=0A= =0A= function showMap (insertafter, width, latitude, longitude, caption) {=0A= if (!insertafter) return true;=0A= if (!width) var width =3D '100%';=0A= if (!latitude) return true;=0A= if (!longitude) return true;=0A= if (!caption) var caption =3D '';=0A= if (insertafter.nextSibling !=3D null && = classExists(insertafter.nextSibling, 'map')) { // collapse video player = if already open=0A= if (insertafter !=3D null) classRemove(insertafter, 'active');=0A= = insertafter.nextSibling.parentNode.removeChild(insertafter.nextSibling);=0A= }=0A= else {=0A= classAdd(insertafter, 'active');=0A= var div =3D document.createElement('DIV');=0A= div.className =3D 'map';=0A= div.style.width =3D width;=0A= div.style.height =3D '1px';=0A= insertafter.parentNode.insertBefore(div, insertafter.nextSibling);=0A= resize16x9(div);=0A= div.innerHTML =3D ('');=0A= }=0A= if (insertafter.blur) insertafter.blur(); // removes dotted outline = from link in Mozilla browsers=0A= return false;=0A= }=0A= =0A= /************* COOKIES ***************/=0A= =0A= function setCookie(name, value, expires, path, domain, secure) {=0A= document.cookie=3D name + "=3D" + escape(value) +=0A= ((expires) ? "; expires=3D" + expires.toGMTString() : "") +=0A= ((path) ? "; path=3D" + path : "") +=0A= ((domain) ? "; domain=3D" + domain : "") +=0A= ((secure) ? "; secure" : "");=0A= }=0A= =0A= function getCookie(name) {=0A= var dc =3D document.cookie;=0A= var prefix =3D name + "=3D";=0A= var begin =3D dc.indexOf("; " + prefix);=0A= if (begin =3D=3D -1) {=0A= begin =3D dc.indexOf(prefix);=0A= if (begin !=3D 0) return null;=0A= } else {=0A= begin +=3D 2;=0A= }=0A= var end =3D document.cookie.indexOf(";", begin);=0A= if (end =3D=3D -1) {=0A= end =3D dc.length;=0A= }=0A= return unescape(dc.substring(begin + prefix.length, end));=0A= }=0A= =0A= function deleteCookie(name, path, domain) {=0A= if (getCookie(name)) document.cookie =3D name + "=3D" + ((path) ? "; = path=3D" + path : "") + ((domain) ? "; domain=3D" + domain : "") + "; = expires=3DThu, 01-Jan-70 00:00:01 GMT";=0A= }=0A= =0A= =0A= /************* OPACITY ***************/=0A= // (adapted from: http://www.brainerror.net/scripts_js_blendtrans.php)=0A= =0A= // Fade from one opacity setting to another=0A= function opacityFade (object, opacStart, opacEnd, millisec, thisFade) {=0A= if (!thisFade) var thisFade =3D new Date().getTime();=0A= currentFade =3D thisFade;=0A= =0A= //speed for each frame=0A= var skip =3D 10;=0A= var speed =3D Math.round((millisec / 100) * skip);=0A= var timer =3D 0;=0A= =0A= //determine the direction for the blending, if start and end are the = same nothing happens=0A= if (opacStart > opacEnd) {=0A= for (var i=3DopacStart; i>=3DopacEnd; i-=3Dskip) {=0A= setTimeout("opacitySet('" + object + "', " + i + ", = "+thisFade+")",(timer * speed));=0A= timer++;=0A= }=0A= } =0A= else if (opacStart < opacEnd) {=0A= for (var i=3DopacStart; i<=3DopacEnd; i+=3Dskip) {=0A= setTimeout("opacitySet('" + object + "', " + i + ", = "+thisFade+")",(timer * speed));=0A= timer++;=0A= }=0A= }=0A= }=0A= =0A= // Change the opacity for different browsers=0A= function opacitySet (object, opacity, thisFade) {=0A= if (thisFade && typeof currentFade !=3D 'undefined') {=0A= if (thisFade !=3D currentFade) {=0A= return;=0A= }=0A= }=0A= if (typeof object =3D=3D 'string') object =3D = document.getElementById(object);=0A= object =3D object.style;=0A= object.opacity =3D (opacity / 100);=0A= object.MozOpacity =3D (opacity / 100);=0A= object.KhtmlOpacity =3D (opacity / 100);=0A= object.filter =3D (opacity < 100 ? "alpha(opacity=3D" + opacity + ")" : = "none");=0A= }=0A= =0A= /************* ENABLE WATCHLIST AND CLIPPINGS ***************/=0A= =0A= if (news) addLoadEvent(enableMyStuff);=0A= =0A= function enableMyStuff () {=0A= var x; // items will be inserted after this element=0A= if (document.body.id =3D=3D 'newshome') x =3D = document.getElementById('tools').lastChild;=0A= else x =3D document.getElementById('search');=0A= if (x) {=0A= // My Stories=0A= if (!document.getElementById('clippings')) {=0A= var cDiv =3D document.createElement('DIV');=0A= cDiv.className =3D 'section';=0A= cDiv.innerHTML =3D 'Help

My Stories

';=0A= x.parentNode.insertBefore(cDiv, x.nextSibling);=0A= }=0A= // My Tags=0A= if (!document.getElementById('watchlist')) {=0A= var wDiv =3D document.createElement('DIV');=0A= wDiv.className =3D 'section';=0A= wDiv.innerHTML =3D 'Help

My Tags

';=0A= x.parentNode.insertBefore(wDiv, x.nextSibling); =0A= }=0A= }=0A= }=0A= =0A= =0A= /************* WATCHLIST FUNCTIONALITY ***************/=0A= =0A= if (news) addLoadEvent(populateWatchlist);=0A= =0A= // Cookie format: tag1;tag2;tag3 etc.=0A= =0A= var watchlistCookie =3D 'newsMyTags';=0A= =0A= function watchlistAdd (title) {=0A= lbHide_do();=0A= if (watchlistExists(title)) return false;=0A= // If we have reached this point, we need to set the cookie=0A= var exp =3D new Date().getTime();=0A= exp +=3D 1000*60*60*24*31; // expire 1 month from now=0A= exp =3D new Date(exp);=0A= var cookieData =3D getCookie(watchlistCookie);=0A= setCookie(watchlistCookie, (cookieData=3D=3Dnull || = cookieData.trim()=3D=3D'' ? '' : cookieData+';')+title, exp, '/', = '.abc.net.au');=0A= if (!watchlistExists(title)) {=0A= var cookieData =3D getCookie(watchlistCookie);=0A= if (cookieData =3D=3D null || cookieData =3D=3D '') alert('Sorry, this = tag could not be added.\n\nPlease ensure that cookies are enabled in = your web browser.');=0A= else alert('Sorry, this tag could not be added.\n\nYou may have too = many items in My Tags.');=0A= }=0A= else populateWatchlist(title);=0A= return false;=0A= }=0A= =0A= function watchlistRemove (title) {=0A= lbHide_do();=0A= var cookieData =3D getCookie(watchlistCookie);=0A= if (cookieData =3D=3D null) {=0A= return false;=0A= }=0A= var removed =3D false;=0A= var watchlist =3D cookieData.split(';');=0A= for (var i=3D0; i'+watchlist[i].replace(/-/g, '-')+'';=0A= }=0A= if (html!=3D'') html =3D '
    '+html+'
';=0A= }=0A= if (html=3D=3D'' || cookieData=3D=3DdefaultWatchlist) html +=3D = '

Add Tag Page links here to follow news categories important to = you.

';=0A= html +=3D '

View all tags | Tag = cloud

';=0A= w.innerHTML =3D html;=0A= tagPageMyTags();=0A= }=0A= processLinks();=0A= }=0A= =0A= function tagPageMyTags () {=0A= if (document.URL.match(/\/tag\/[^\.]+\//)) { // if currently on a tag = page=0A= tagname =3D document.URL;=0A= tagname =3D tagname.replace(/^.*\/tag\//, '');=0A= tagname =3D tagname.replace(/\/.*$/, '');=0A= var wla;=0A= var tl;=0A= if (wla =3D document.getElementById('watchlistAdd')) {=0A= if (watchlistExists(tagname)) {=0A= wla.onclick =3D function () { return watchlistRemove(tagname) };=0A= wla.innerHTML =3D 'Remove from My Tags';=0A= }=0A= else {=0A= wla.onclick =3D function () { return watchlistAdd(tagname) };=0A= wla.innerHTML =3D 'Add to My Tags';=0A= }=0A= }=0A= if (tl =3D document.getElementById('tl')) {=0A= var tp;=0A= if (tp =3D document.getElementById('tp')) tp.innerHTML =3D '';=0A= else {=0A= tp =3D document.createElement('P');=0A= tl.parentNode.insertBefore(tp, tl);=0A= }=0A= if (watchlistExists(tagname)) tp.innerHTML =3D 'Remove \''+tagname.replace(/-/g, = '-')+'\' from My Tags';=0A= else tp.innerHTML =3D 'Add \''+tagname.replace(/-/g, = '-')+'\' to My Tags';=0A= }=0A= }=0A= }=0A= =0A= =0A= /************* CLIPPINGS FUNCTIONALITY ***************/=0A= =0A= if (news) addLoadEvent(populateClippings);=0A= =0A= // Cookie format: url1~title1;url2~title2;url3~title3 etc.=0A= =0A= var clippingsCookie =3D 'newsMyStories';=0A= =0A= function clippingAdd (url, title) {=0A= lbHide_do();=0A= url =3D url.replace(/^[a-z]+:\/\/[^\/]+/, ''); // discard the domain = name, we only need the path to the web page=0A= title =3D title.replace(/(<[^>]+>|Related Story:)/ig, '').trim(); // = discard HTML tags and "Related Story:" in title=0A= if (clippingExists(url)) return false;=0A= // If we have reached this point, we need to set the cookie=0A= var exp =3D new Date().getTime();=0A= exp +=3D 1000*60*60*12; // expire 12 hours from now=0A= exp =3D new Date(exp);=0A= var cookieData =3D getCookie(clippingsCookie);=0A= setCookie(clippingsCookie, (cookieData=3D=3Dnull || = cookieData.trim()=3D=3D'' ? '' : cookieData+';')+url+'~'+title, exp, = '/', '.abc.net.au');=0A= if (!clippingExists(url)) {=0A= var cookieData =3D getCookie(clippingsCookie);=0A= if (cookieData =3D=3D null || cookieData =3D=3D '') alert('Sorry, this = story could not be added.\n\nPlease ensure that cookies are enabled in = your web browser.');=0A= else alert('Sorry, this story could not be added.\n\nYou may have too = many items in My Stories.');=0A= }=0A= else populateClippings(url);=0A= storytools();=0A= return false;=0A= }=0A= =0A= function clippingRemove (url) {=0A= lbHide_do();=0A= var cookieData =3D getCookie(clippingsCookie);=0A= if (cookieData =3D=3D null) {=0A= return false;=0A= }=0A= var removed =3D false;=0A= var clippings =3D cookieData.split(';');=0A= for (var i=3D0; i'+x[1]+'';=0A= }=0A= c.innerHTML =3D '
    '+html+'
';=0A= }=0A= }=0A= processLinks();=0A= }=0A= =0A= function lbHide () {=0A= lbTimeout =3D window.setTimeout('lbHide_do();', 1500);=0A= }=0A= =0A= function lbHide_do () {=0A= var lb;=0A= if (lb =3D document.getElementById('linkButton')) = lb.parentNode.removeChild(lb);=0A= }=0A= =0A= function lbHide_abort () {=0A= if (window.lbTimeout) window.clearTimeout(lbTimeout);=0A= }=0A= =0A= function processLinks () {=0A= var links =3D document.getElementsByTagName('A');=0A= var storyPageRegex =3D = /(news|news_dev)\/(items|newsitems|stories|video|audio|photos)\/[0-9]{4}.= */;=0A= var tagPageRegex =3D /(news|news_dev)\/tag\/[-'A-Za-z0-9]+\/?$/;=0A= for (var i=3D0; i]+>)/ig, '').trim() !=3D '' && = !classExists(links[i], 'more')) myStoriesLink(links[i]);=0A= else if (tagPageRegex.test(links[i].href) && = links[i].innerHTML.replace(/(<[^>]+>)/ig, '').trim() !=3D '' && = !classExists(links[i], 'more')) myTagsLink(links[i]);=0A= }=0A= }=0A= =0A= function myStoriesLink (link) {=0A= link.onmouseout =3D function (e) {=0A= if (typeof lbHide =3D=3D 'function') lbHide();=0A= };=0A= link.onmouseover =3D function (e) {=0A= if (typeof lbHide_abort =3D=3D 'function') lbHide_abort();=0A= if (typeof lbHide_do =3D=3D 'function') lbHide_do();=0A= var side =3D 'right';=0A= if (link.parentNode.nodeName.match(/^(li|h[1-6])$/i)) {=0A= var parentText =3D link.parentNode.innerHTML.replace(/<[^>]+>/g, = '').trim();=0A= var linkText =3D link.innerHTML.replace(/<[^>]+>/g, '').trim();=0A= if (parentText.indexOf(linkText) =3D=3D 0) side =3D 'left';=0A= }=0A= if (link.parentNode.scrollWidth =3D=3D link.scrollWidth) {=0A= side =3D 'left';=0A= }=0A= var lb =3D document.createElement('A');=0A= lb.id =3D 'linkButton';=0A= lb.appendChild(document.createTextNode(' '));=0A= lb.onmouseover =3D function (f) {=0A= if (typeof lbHide_abort =3D=3D 'function') lbHide_abort();=0A= };=0A= lb.onmouseout =3D function (f) {=0A= if (typeof lbHide =3D=3D 'function') lbHide();=0A= };=0A= if (typeof clippingExists =3D=3D 'function' && = clippingExists(this.href)) {=0A= lb.className =3D 'lb_'+side+'_remove_blue';=0A= lb.title =3D 'Remove from My Stories';=0A= lb.alt =3D lb.title;=0A= lb.href =3D = 'javascript:void(clippingRemove("'+this.href.replace(/"/g, '\"')+'"));';=0A= }=0A= else {=0A= lb.className =3D 'lb_'+side+'_add_blue';=0A= lb.title =3D 'Add to My Stories';=0A= lb.alt =3D lb.title;=0A= lb.href =3D 'javascript:void(clippingAdd("'+this.href.replace(/"/g, = '\"')+'","'+this.innerHTML.replace(/(<[^>]+>|Related Story:)/ig, = '').trim().replace(/"/g, '\"')+'"));';=0A= }=0A= lb.onclick =3D function (f) {=0A= eval(unescape(this.href).replace(/^javascript:/, ''));=0A= return false;=0A= };=0A= this.parentNode.insertBefore(lb, (side=3D=3D'left' ? this : = this.nextSibling));=0A= }=0A= }=0A= =0A= function myTagsLink (link) {=0A= link.onmouseout =3D function (e) {=0A= if (typeof lbHide =3D=3D 'function') lbHide();=0A= };=0A= link.onmouseover =3D function (e) {=0A= if (typeof lbHide_abort =3D=3D 'function') lbHide_abort();=0A= if (typeof lbHide_do =3D=3D 'function') lbHide_do();=0A= var side =3D 'right';=0A= if (link.parentNode.nodeName.match(/^(li|h[1-6])$/i)) {=0A= var parentText =3D link.parentNode.innerHTML.replace(/<[^>]+>/g, = '').trim();=0A= var linkText =3D link.innerHTML.replace(/<[^>]+>/g, '').trim();=0A= if (parentText.indexOf(linkText) =3D=3D 0) side =3D 'left';=0A= }=0A= if (link.parentNode.scrollWidth =3D=3D link.scrollWidth) {=0A= side =3D 'left';=0A= }=0A= var tagname =3D this.href;=0A= tagname =3D tagname.replace(/^.*\/tag\//, '');=0A= tagname =3D tagname.replace(/\/.*$/, '');=0A= var lb =3D document.createElement('A');=0A= lb.id =3D 'linkButton';=0A= lb.appendChild(document.createTextNode(' '));=0A= lb.onmouseover =3D function (f) {=0A= if (typeof lbHide_abort =3D=3D 'function') lbHide_abort();=0A= };=0A= lb.onmouseout =3D function (f) {=0A= if (typeof lbHide =3D=3D 'function') lbHide();=0A= };=0A= if (typeof watchlistExists =3D=3D 'function' && = watchlistExists(tagname)) {=0A= lb.className =3D 'lb_'+side+'_remove_green';=0A= lb.title =3D "Remove '"+tagname+"' from My Tags";=0A= lb.alt =3D lb.title;=0A= lb.href =3D 'javascript:void(watchlistRemove("'+tagname.replace(/"/g, = '\"')+'"));';=0A= }=0A= else {=0A= lb.className =3D 'lb_'+side+'_add_green';=0A= lb.title =3D "Add '"+tagname+"' to My Tags";=0A= lb.alt =3D lb.title;=0A= lb.href =3D 'javascript:void(watchlistAdd("'+tagname.replace(/"/g, = '\"')+'"));';=0A= }=0A= lb.onclick =3D function (f) {=0A= eval(unescape(this.href).replace(/^javascript:/, ''));=0A= return false;=0A= };=0A= this.parentNode.insertBefore(lb, (side=3D=3D'left' ? this : = this.nextSibling));=0A= }=0A= }=0A= =0A= function storytools () {=0A= var st;=0A= if (st =3D document.getElementById('storytools')) {=0A= var html =3D '';=0A= html +=3D 'Print = Email';=0A= if = (document.URL.match(/(news|news_dev)\/(items|newsitems|stories|video|audi= o|photos)\/[0-9]{4}.*/)) {=0A= if (clippingExists(document.URL)) html +=3D ' Remove from My = Stories';=0A= else html +=3D ' Add to My Stories';=0A= }=0A= var com;=0A= if (com =3D document.getElementById('comments')) {=0A= html +=3D ' '+com.getElementsByTagName('H2')[0].innerHTML+'';=0A= }=0A= st.innerHTML =3D html;=0A= }=0A= }=0A= if (news) addLoadEvent(storytools);=0A= =0A= =0A= function printStory () {=0A= printStoryClose();=0A= var sp, sc, o;=0A= sp =3D document.getElementById('storyPhotos');=0A= sc =3D document.getElementById('comments');=0A= o =3D new Array();=0A= if (sp) {=0A= o[o.length] =3D ' ';=0A= }=0A= if (sc) {=0A= o[o.length] =3D ' ';=0A= }=0A= if (o.length > 0) {=0A= var html =3D '

Print Options

'+o.join('
')+'

';=0A= var ps =3D document.createElement('DIV');=0A= ps.id =3D 'printStoryDialog';=0A= ps.className =3D 'dialog noprint';=0A= ps.innerHTML =3D html;=0A= var st =3D document.getElementById('storytools');=0A= st.parentNode.insertBefore(ps, st.nextSibling);=0A= }=0A= else {=0A= window.print();=0A= }=0A= }=0A= =0A= function printStoryClose() {=0A= var psd;=0A= if (psd =3D document.getElementById('printStoryDialog')) = psd.parentNode.removeChild(psd);=0A= }=0A= =0A= =0A= /************* IMAGE TOOLTIPS ****************/=0A= =0A= // For each image, if title attribute is empty, set it to equal the alt = attribute=0A= function processImages() {=0A= var images =3D document.getElementsByTagName('IMG');=0A= for (var i=3D0; i';=0A= }=0A= processLinks();=0A= processImages();=0A= classRemove(target, 'ajaxLoading');=0A= }=0A= };=0A= req.open('GET', url, true);=0A= req.send('');=0A= }=0A= }=0A= =0A= // Load content into target container when tab is clicked=0A= function tabLoad (tabLink, target, url, onsuccess) {=0A= if (typeof target =3D=3D 'string') target =3D = document.getElementById(target);=0A= setClassUnsetSiblings(tabLink.parentNode, 'active');=0A= simpleAjax(url, target, onsuccess);=0A= if (tabLink.blur) tabLink.blur(); // removes dotted outline from link = in Mozilla browsers=0A= return false;=0A= }=0A= =0A= function stateTabLoad (state) { // for state headlines on news home page=0A= tabLoad(document.getElementById('t-'+state), 'stateContent', = '/news/indexes/idx-'+state+'/top3.inc', copyFitStateHeadlines);=0A= preferenceSet('state', state);=0A= return false;=0A= }=0A= =0A= function copyFitStateHeadlines () {=0A= copyfit('topstory', 'topstories', = document.getElementById('stateContent').getElementsByTagName('UL')[0], = 3);=0A= }=0A= =0A= // copyfit: Get heights of 'columnA' and 'columnB' as close as possible = by removing items from 'list' (however 'list' will always have at least = 'stopAt' number of items)=0A= function copyfit (columnA, columnB, list, stopAt) {=0A= if (typeof columnA =3D=3D 'string') columnA =3D = document.getElementById(columnA);=0A= if (typeof columnB =3D=3D 'string') columnB =3D = document.getElementById(columnB);=0A= if (typeof list =3D=3D 'string') list =3D document.getElementById(list);=0A= if (typeof list =3D=3D 'undefined') var list =3D = columnA.parentNode.getElementsByTagName('UL')[0];=0A= if (typeof stopAt =3D=3D 'undefined') var stopAt =3D 3;=0A= if (columnA && columnB && list) {=0A= if (contains(columnA, list)) {=0A= var listColumn =3D columnA;=0A= var otherColumn =3D columnB;=0A= }=0A= else if (contains(columnB, list)) {=0A= var listColumn =3D columnB;=0A= var otherColumn =3D columnA;=0A= }=0A= else return; // list sits outside both columns - abort=0A= var items =3D new Array();=0A= for (var i=3D0; i0; i--) items[numVisible-1].style.display = =3D 'block';=0A= }=0A= }=0A= =0A= // Finds out if 'a' is an ancestor of 'b'=0A= function contains (a, b) {=0A= // climb through 'b' parents till we find 'a'=0A= while (b && (a !=3D b) && (b !=3D null)) b =3D b.parentNode;=0A= return a =3D=3D b;=0A= }=0A= =0A= /************ MISCELLANEOUS FUNCTIONS **************/=0A= =0A= // Give focus to the first text/textarea form element in the document=0A= function formFocus () {=0A= var inputs =3D document.getElementsByTagName('INPUT');=0A= for (var i=3D0; i 0) inputs[0].focus();=0A= }=0A= =0A= function thumnbailScrollerGenerate (containerid) {=0A= var container;=0A= var colnames =3D new = Array('column5a','column5b','column5c','column5d','column5e');=0A= if (container =3D document.getElementById(containerid)) {=0A= if (!window.highlightScroller) highlightScroller =3D new Object();=0A= var controls =3D document.createElement('DIV');=0A= controls.id =3D containerid+'_controls';=0A= controls.className =3D 'highlightscrollercontrols';=0A= var temp =3D container.childNodes;=0A= var divs =3D new Array();=0A= for (var i=3D0; i 5) controls.appendChild(aprev);=0A= for (var i=3D0; i 5) controls.appendChild(a);=0A= }=0A= var anext =3D document.createElement('A');=0A= anext.id =3D containerid+'_show_next';=0A= anext.className =3D 'next';=0A= anext.href =3D 'javascript:highlightScrollerMoveBy("'+containerid+'", = 1);';=0A= anext.onclick =3D function (f) {=0A= eval(this.href.replace(/^javascript:/, ''));=0A= return false;=0A= };=0A= var anextimg =3D document.createElement('IMG');=0A= anextimg.src =3D '/news/img/2007/blank.gif';=0A= anextimg.width =3D 26;=0A= anextimg.height =3D 16;=0A= anext.appendChild(anextimg);=0A= if (divs.length > 5) controls.appendChild(anext);=0A= container.parentNode.insertBefore(controls, container.nextSibling);=0A= highlightScrollerMoveTo(containerid, 0);=0A= }=0A= }=0A= =0A= // Generate a scrollable feature thingy=0A= function highlightScrollerGenerate (containerid) {=0A= var container;=0A= if (container =3D document.getElementById(containerid)) {=0A= if (classExists(container, 'thumbnailscroller')) {=0A= thumnbailScrollerGenerate(containerid);=0A= return;=0A= }=0A= if (!window.highlightScroller) highlightScroller =3D new Object();=0A= var controls =3D document.createElement('DIV');=0A= controls.id =3D containerid+'_controls';=0A= controls.className =3D 'highlightscrollercontrols';=0A= var temp =3D container.childNodes;=0A= var divs =3D new Array();=0A= for (var i=3D0; i 2) controls.appendChild(aprev);=0A= for (var i=3D0; i 2) controls.appendChild(a);=0A= }=0A= var anext =3D document.createElement('A');=0A= anext.id =3D containerid+'_show_next';=0A= anext.className =3D 'next';=0A= anext.href =3D 'javascript:highlightScrollerMoveBy("'+containerid+'", = 1);';=0A= anext.onclick =3D function (f) {=0A= eval(this.href.replace(/^javascript:/, ''));=0A= return false;=0A= };=0A= var anextimg =3D document.createElement('IMG');=0A= anextimg.src =3D '/news/img/2007/blank.gif';=0A= anextimg.width =3D 26;=0A= anextimg.height =3D 16;=0A= anext.appendChild(anextimg);=0A= if (divs.length > 2) controls.appendChild(anext);=0A= container.parentNode.insertBefore(controls, container.nextSibling);=0A= highlightScrollerMoveTo(containerid, 0);=0A= }=0A= }=0A= =0A= function highlightScrollerMoveTo (containerid, num) {=0A= highlightScroller[containerid+'_current'] =3D num;=0A= = displayThisHideSiblings(containerid+'_'+highlightScroller[containerid+'_c= urrent']);=0A= = setClassUnsetSiblings(containerid+'_show_'+highlightScroller[containerid+= '_current'], 'active');=0A= }=0A= =0A= function highlightScrollerMoveBy (containerid, num) {=0A= highlightScroller[containerid+'_current'] +=3D num;=0A= if (highlightScroller[containerid+'_current'] >=3D = highlightScroller[containerid+'_length']) = highlightScroller[containerid+'_current'] -=3D = highlightScroller[containerid+'_length'];=0A= else if (highlightScroller[containerid+'_current'] < 0) = highlightScroller[containerid+'_current'] +=3D = highlightScroller[containerid+'_length'];=0A= = displayThisHideSiblings(containerid+'_'+highlightScroller[containerid+'_c= urrent']);=0A= = setClassUnsetSiblings(containerid+'_show_'+highlightScroller[containerid+= '_current'], 'active');=0A= }=0A= =0A= function displayThisHideSiblings (element) { // 'element' can be a DOM = element or a string representing the ID of a DOM element=0A= if (typeof element =3D=3D 'undefined') return;=0A= if (typeof element =3D=3D 'string') element =3D = document.getElementById(element);=0A= var x =3D element.previousSibling;=0A= while (x !=3D null) {=0A= if (x.nodeType =3D=3D 1) x.style.display =3D 'none';=0A= x =3D x.previousSibling;=0A= }=0A= x =3D element.nextSibling;=0A= while (x !=3D null) {=0A= if (x.nodeType =3D=3D 1) x.style.display =3D 'none';=0A= x =3D x.nextSibling;=0A= }=0A= element.style.display =3D 'block';=0A= }=0A= =0A= function setClassUnsetSiblings (element, theclass) { // 'element' can be = a DOM element or a string representing the ID of a DOM element=0A= if (element =3D=3D null) return;=0A= if (typeof element =3D=3D 'undefined') return;=0A= if (typeof element =3D=3D 'string') {=0A= if (document.getElementById(element)) element =3D = document.getElementById(element);=0A= else return;=0A= }=0A= var x =3D element.previousSibling;=0A= while (x !=3D null) {=0A= classRemove(x, theclass);=0A= x =3D x.previousSibling;=0A= }=0A= x =3D element.nextSibling;=0A= while (x !=3D null) {=0A= classRemove(x, theclass);=0A= x =3D x.nextSibling;=0A= }=0A= classAdd(element, theclass);=0A= }=0A= =0A= // Open link in a popup window=0A= function popup (url, width, height, windowname) {=0A= if (!width) var width =3D 600;=0A= if (!height) var height =3D 400;=0A= if (!windowname) var windowname =3D 'abcnewspopup'+new Date().getTime();=0A= if (url.indexOf('?') !=3D -1) url +=3D '&layout=3Dpopup'; else url +=3D = '?layout=3Dpopup';=0A= var left =3D screen.width/2 - width/2;=0A= var top =3D screen.height/2 - height/2;=0A= window.open(url, windowname, = 'width=3D'+width+',height=3D'+height+',toolbar=3D0,resizable=3D1,scrollba= rs=3D1,left=3D'+left+',top=3D'+top);=0A= return false;=0A= }=0A= =0A= /************ NEWSRADIO WIDGET FUNCTIONS **************/=0A= function nrInit () {=0A= if (nr =3D document.getElementById('newsradio-widget-nowplaying')) {=0A= nrText =3D nr.innerHTML.replace(/<[^>]+>/g, '').trim(); // original = text, HTML tags removed=0A= nr.innerHTML =3D nrText;=0A= if (nr.scrollWidth > nr.clientWidth) { // if the text is longer than = the space allocated for it=0A= nrOn =3D false; // ticker enabled?=0A= nrRev =3D false; // reverse direction?=0A= nrSubstr =3D 0; // character position to display text from=0A= nr.onmouseover =3D function () {=0A= if (!nrOn) {=0A= nrOn =3D true;=0A= nrGo();=0A= }=0A= };=0A= nr.onmouseout =3D function () {=0A= nrStop();=0A= };=0A= }=0A= }=0A= }=0A= function nrGo() {=0A= var nrChange =3D false; // change direction?=0A= if (nrRev) {=0A= if (nrSubstr =3D=3D 0) nrChange =3D true; // if start of text is = visible=0A= else nrSubstr--;=0A= }=0A= else {=0A= if (nr.scrollWidth <=3D nr.clientWidth) nrChange =3D true; // if end = of text is visible=0A= else nrSubstr++;=0A= }=0A= if (nrChange) {=0A= nrRev =3D !nrRev;=0A= nrTimeout =3D setTimeout('nrGo();', 2000);=0A= }=0A= else {=0A= //nr.innerHTML =3D nrText.substr(nrSubstr).replace(/ +/, ' ');=0A= nr.style.textIndent =3D '-'+(nrSubstr)+'px';=0A= nrTimeout =3D setTimeout('nrGo();', 30);=0A= }=0A= }=0A= function nrStop() {=0A= clearTimeout(nrTimeout);=0A= //nr.innerHTML =3D nrText;=0A= nr.style.textIndent =3D '0';=0A= nrOn =3D false;=0A= nrRev =3D false;=0A= nrSubstr =3D 0;=0A= }=0A= if (news) addLoadEvent(nrInit);=0A= =0A= =0A= =0A= /************ COUNTER FUNCTIONS **************/=0A= =0A= function setCountersSourceHit() {=0A= if (document.getElementById('imgCounter')) {=0A= var blnEnabled =3D true; // enable/disable the hit counter=0A= var blnValidDomain =3D = (document.URL.indexOf('http://www2b.abc.net.au/') !=3D 0);=0A= var blnValidURL =3D (document.URL.indexOf('start_rank') =3D=3D -1);=0A= if (blnEnabled && blnValidDomain && blnValidURL) {=0A= // set the image source to the counter URL + query string containing = document URL=0A= document.getElementById('imgCounter').src =3D = 'http://www2b.abc.net.au/Counters/Client/Hit.aspx?' + = encodeURIComponent(document.URL);=0A= }=0A= }=0A= }=0A= addLoadEvent(setCountersSourceHit);=0A= =0A= /**=0A= * SWFObject v1.5: Flash Player detection and embed - = http://blog.deconcept.com/swfobject/=0A= *=0A= * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT = License:=0A= * http://www.opensource.org/licenses/mit-license.php=0A= *=0A= */=0A= if(typeof deconcept=3D=3D"undefined"){var deconcept=3Dnew = Object();}if(typeof = deconcept.util=3D=3D"undefined"){deconcept.util=3Dnew = Object();}if(typeof = deconcept.SWFObjectUtil=3D=3D"undefined"){deconcept.SWFObjectUtil=3Dnew = Object();}deconcept.SWFObject=3Dfunction(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!= document.getElementById){return;}this.DETECT_KEY=3D_a?_a:"detectflash";th= is.skipDetect=3Ddeconcept.util.getRequestParameter(this.DETECT_KEY);this.= params=3Dnew Object();this.variables=3Dnew = Object();this.attributes=3Dnew = Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id"= ,id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height= ",h);}if(_5){this.setAttribute("version",new = deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=3Dd= econcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&= &this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=3Dtrue;}if(c= ){this.addParam("bgcolor",c);}var = q=3D_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpress= Install",false);this.setAttribute("doExpressInstall",false);var = _c=3D(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.s= etAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);= }};deconcept.SWFObject.prototype=3D{useExpressInstall:function(_d){this.x= iSWFPath=3D!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInsta= ll",true);},setAttribute:function(_e,_f){this.attributes[_e]=3D_f;},getAt= tribute:function(_10){return = this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=3D_12;= },getParams:function(){return = this.params;},addVariable:function(_13,_14){this.variables[_13]=3D_14;},g= etVariable:function(_15){return = this.variables[_15];},getVariables:function(){return = this.variables;},getVariablePairs:function(){var _16=3Dnew Array();var = key;var _18=3Dthis.getVariables();for(key in = _18){_16[_16.length]=3Dkey+"=3D"+_18[key];}return = _16;},getSWFHTML:function(){var = _19=3D"";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.l= ength){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplay= erType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19=3D"0){_19+=3D"flashvar= s=3D\""+_1c+"\"";}_19+=3D"/>";}else{if(this.getAttribute("doExpressInstal= l")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",t= his.xiSWFPath);}_19=3D"";_19+=3D"";var = _1d=3Dthis.getParams();for(var key in _1d){_19+=3D"";}var = _1f=3Dthis.getVariablePairs().join("&");if(_1f.length>0){_19+=3D"";}_19+=3D"";}return = _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var = _21=3Dnew = deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21= )&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.= setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",es= cape(this.getAttribute("xiRedirectUrl")));document.title=3Ddocument.title= .slice(0,47)+" - Flash Player = Installation";this.addVariable("MMdoctitle",document.title);}}if(this.ski= pDetect||this.getAttribute("doExpressInstall")||this.installedVer.version= IsValid(this.getAttribute("version"))){var n=3D(typeof = _20=3D=3D"string")?document.getElementById(_20):_20;n.innerHTML=3Dthis.ge= tSWFHTML();return = true;}else{if(this.getAttribute("redirectUrl")!=3D""){document.location.r= eplace(this.getAttribute("redirectUrl"));}}return = false;}};deconcept.SWFObjectUtil.getPlayerVersion=3Dfunction(){var = _23=3Dnew = deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeType= s.length){var x=3Dnavigator.plugins["Shockwave = Flash"];if(x&&x.description){_23=3Dnew = deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replac= e(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&nav= igator.userAgent.indexOf("Windows CE")>=3D0){var axo=3D1;var = _26=3D3;while(axo){try{_26++;axo=3Dnew = ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=3Dnew = deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=3Dnull;}}}else{try{var = axo=3Dnew = ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var = axo=3Dnew ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=3Dnew = deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess=3D"always";}catch= (e){if(_23.major=3D=3D6){return _23;}}try{axo=3Dnew = ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=3Dnull= ){_23=3Dnew deconcept.PlayerVersion(axo.GetVariable("$version").split(" = ")[1].split(","));}}}return = _23;};deconcept.PlayerVersion=3Dfunction(_29){this.major=3D_29[0]!=3Dnull= ?parseInt(_29[0]):0;this.minor=3D_29[1]!=3Dnull?parseInt(_29[1]):0;this.r= ev=3D_29[2]!=3Dnull?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototyp= e.versionIsValid=3Dfunction(fv){if(this.majorfv.major){return = true;}if(this.minorfv.minor){return true;}if(this.rev=3D0;i--){_2f[i].style.display=3D"none";for(var x in = _2f[i]){if(typeof = _2f[i][x]=3D=3D"function"){_2f[i][x]=3Dfunction(){};}}}};if(deconcept.SWF= Object.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.pre= pUnload=3Dfunction(){__flash_unloadHandler=3Dfunction(){};__flash_savedUn= loadHandler=3Dfunction(){};window.attachEvent("onunload",deconcept.SWFObj= ectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFO= bjectUtil.prepUnload);deconcept.unloadSet=3Dtrue;}}if(!document.getElemen= tById&&document.all){document.getElementById=3Dfunction(id){return = document.all[id];};}var = getQueryParamValue=3Ddeconcept.util.getRequestParameter;var = FlashObject=3Ddeconcept.SWFObject;var SWFObject=3Ddeconcept.SWFObject;=0A= =0A= /************ DATE FUNCTIONS **************/=0A= =0A= // Return true if dateObj falls within Australian Eastern Daylight Time = (Sydney)=0A= function daylightSavings (dateObj) {=0A= var aedt =3D new Array(=0A= /*'October 29, 1995','March 31, 1996',=0A= 'October 27, 1996','March 30, 1997',=0A= 'October 26, 1997','March 29, 1998',=0A= 'October 25, 1998','March 28, 1999',=0A= 'October 31, 1999','March 26, 2000',=0A= 'August 27, 2000','March 25, 2001',*/=0A= 'October 28, 2001','March 31, 2002',=0A= 'October 27, 2002','March 30, 2003',=0A= 'October 26, 2003','March 28, 2004',=0A= 'October 31, 2004','March 27, 2005',=0A= 'October 30, 2005','April 2, 2006',=0A= 'October 29, 2006','March 25, 2007',=0A= 'October 28, 2007','April 6, 2008',=0A= 'October 26, 2008','April 5, 2009',=0A= 'October 25, 2009','March 28, 2010',=0A= 'October 31, 2010','March 27, 2011',=0A= 'October 30, 2011','March 25, 2012',=0A= 'October 28, 2012','March 31, 2013',=0A= 'October 27, 2013','March 30, 2014',=0A= 'October 26, 2014','March 29, 2015',=0A= 'October 25, 2015','March 27, 2016',=0A= 'October 30, 2016','March 26, 2017');=0A= var dateInt =3D dateObj.getTime();=0A= var ds;=0A= for (var i=3D0; i12 ? = spans[i].ts.getHours()-12 : (spans[i].ts.getHours()=3D=3D0 ? 12 : = spans[i].ts.getHours()))+':'+(spans[i].ts.getMinutes().toString().length=3D= =3D1 ? '0' : '')+spans[i].ts.getMinutes()+(spans[i].ts.getHours()>11 ? = 'pm' : 'am');=0A= }=0A= }=0A= if (classExists(spans[i], 'timestamp') && (typeof spans[i].ts !=3D = 'undefined' || spans[i].innerHTML.match(/^[a-zA-Z]+ [0-9]+, [0-9]{4} = [0-9]{2}:[0-9]{2}:[0-9]{2}$/))) {=0A= var time;=0A= if (typeof spans[i].ts =3D=3D 'undefined') spans[i].ts =3D new = Date(spans[i].innerHTML);=0A= var sec =3D = (servertimestamp.getTime()-spans[i].ts.getTime()+clientTimePadding)/1000;=0A= if (relative && sec < 60*60*12) {=0A= if (sec < 0) {=0A= time =3D '';=0A= }=0A= else if (sec <=3D 60) {=0A= var seconds =3D Math.floor(sec);=0A= time =3D seconds+' second'+(seconds=3D=3D1 ? '' : 's');=0A= }=0A= else if (sec <=3D 60*60) {=0A= var minutes =3D Math.floor(sec/60);=0A= time =3D minutes+' minute'+(minutes=3D=3D1 ? '' : 's');=0A= }=0A= else if (sec <=3D 60*60*24) {=0A= var hours =3D Math.floor(sec/60/60);=0A= var minutes =3D Math.floor(sec/60)%60;=0A= time =3D hours+' hour'+(hours=3D=3D1 ? '' : 's')+' '+minutes+' = minute'+(minutes=3D=3D1 ? '' : 's');=0A= }=0A= else {=0A= var days =3D Math.floor(sec/60/60/24);=0A= var hours =3D Math.floor(sec/60/60)%24;=0A= time =3D days+' day'+(hours=3D=3D1 ? '' : 's')+' '+hours+' = hour'+(hours=3D=3D1 ? '' : 's');=0A= }=0A= if (time =3D=3D '') spans[i].innerHTML =3D '';=0A= else spans[i].innerHTML =3D time+' ago';=0A= }=0A= else {=0A= spans[i].innerHTML =3D weekdays[spans[i].ts.getDay()]+' = '+months[spans[i].ts.getMonth()]+' '+spans[i].ts.getDate()+', = '+spans[i].ts.getFullYear()+' '+(spans[i].ts.getHours()>12 ? = spans[i].ts.getHours()-12 : (spans[i].ts.getHours()=3D=3D0 ? 12 : = spans[i].ts.getHours()))+':'+(spans[i].ts.getMinutes().toString().length=3D= =3D1 ? '0' : '')+spans[i].ts.getMinutes()+(spans[i].ts.getHours()>11 ? = 'pm' : 'am')+' '+(daylightSavings(spans[i].ts) ? 'AEDT' : 'AEST');=0A= }=0A= }=0A= }=0A= relativeTimestampsTimeout =3D window.setTimeout('relativeTimestamps()', = 1000*60);=0A= }=0A= addLoadEvent(relativeTimestamps);=0A= =0A= =0A= function setActiveNav () {=0A= if (document.getElementById('nav_1st') && = document.getElementById('nav_2nd')) {=0A= if (typeof activenav =3D=3D 'string') = setClassUnsetSiblings(document.getElementById('n-'+activenav), 'active');=0A= else if (getQueryStringVariable('section') !=3D '') {=0A= = setClassUnsetSiblings(document.getElementById('n-'+getQueryStringVariable= ('section')), 'active');=0A= }=0A= else if (window.location.pathname =3D=3D '/news/' || = window.location.pathname =3D=3D '/news/default.htm') = setClassUnsetSiblings(document.getElementById('n-newshome'), 'active');=0A= else {=0A= var sections =3D new = Array('justin','australia','world','business','sport','entertainment','we= ather','opinion','blogs','video','audio','photos','feeds','alerts');=0A= for (var i=3D0; i 1) {=0A= for (var i=3D0; i';=0A= setTimeout('if (rHighlightAutomatic) rHighlightGo();', = rHighlightDelay);=0A= }=0A= }=0A= }=0A= =0A= function rHighlightGo (num, now) {=0A= if (typeof num =3D=3D 'undefined') var num =3D rHighlightCurrent+1;=0A= =0A= if (num < 0) num =3D rHighlights.length-1; // negative overflow=0A= else if (num > rHighlights.length-1) num =3D 0; // positive overflow=0A= =0A= if (typeof now =3D=3D 'undefined') var now =3D false;=0A= if (now) rHighlightAutomatic =3D false;=0A= =0A= rHighlightNewObj =3D rHighlights[num];=0A= for (var i=3D0; i

Close'+title+' 

';=0A= lb =3D document.createElement('DIV');=0A= lb.id =3D 'lightbox';=0A= lb.innerHTML =3D html;=0A= document.body.appendChild(lb);=0A= lightboxPos(w, h, pad);=0A= onscroll =3D function () { eval('lightboxPos('+w+', '+h+', '+pad+');') = };=0A= return document.getElementById('lb-content');=0A= }=0A= =0A= function lightboxPos (w, h, pad) {=0A= var lbd, d;=0A= d =3D (typeof document.documentElement !=3D 'undefined' ? = document.documentElement : document.body);=0A= if (lbd =3D document.getElementById('lb-dialog')) {=0A= var x, y;=0A= x =3D (typeof d.scrollLeft !=3D 'undefined' ? d.scrollLeft : = window.pageXOffset) + (typeof d.clientWidth !=3D 'undefined' ? = d.clientWidth : window.innerWidth)/2 - w/2 - pad;=0A= y =3D (typeof d.scrollTop !=3D 'undefined' ? d.scrollTop : = window.pageYOffset) + (typeof d.clientHeight !=3D 'undefined' ? = d.clientHeight : window.innerHeight)/2 - h/2 - pad;=0A= lbd.style.left =3D x+'px';=0A= lbd.style.top =3D y+'px';=0A= }=0A= }=0A= =0A= function lightboxClose () {=0A= var lb;=0A= if (lb =3D document.getElementById('lightbox')) = lb.parentNode.removeChild(lb);=0A= onscroll =3D function () {};=0A= if (typeof nowPlaying !=3D 'undefined') delete nowPlaying;=0A= }=0A= =0A= /************ BEST OF ABC **************/=0A= =0A= function bfbInit () {=0A= var bfb;=0A= if (bfb =3D document.getElementById('bestOfABC')) {=0A= var flvRegex =3D /^[^\?]+\.flv(\?.*)?$/;=0A= var mp3Regex =3D /^[^\?]+\.mp3(\?.*)?$/;=0A= var a =3D bfb.getElementsByTagName('A');=0A= for (var i=3D0; i';showVideo(this.flv,'lb-anchor');return false;};=0A= a[i].href =3D '/news/video/bestofabc.htm?file=3D'+a[i].href;=0A= }=0A= else if (mp3Regex.test(a[i].href)) {=0A= a[i].mp3 =3D a[i].href;=0A= a[i].onclick =3D function(){var lb =3D lightboxCreate(325,50,'Best = of abc.net.au');lb.innerHTML=3D'
';showAudio(this.mp3,'lb-anchor');return = false;};=0A= a[i].href =3D '/news/audio/bestofabc.htm?file=3D'+a[i].href;=0A= }=0A= }=0A= }=0A= }=0A= if (news) addLoadEvent(bfbInit);=0A= ------=_NextPart_000_0000_01C8F0C3.A9ECB350 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.abc.net.au/science/js/clickToExpand.js var temp, temp2, cookieArray, cookieArray2, cookieCount; function initiate(){ cookieCount=3D0; if(document.cookie){ cookieArray=3Ddocument.cookie.split(";"); cookieArray2=3Dnew Array(); for(i in cookieArray){ cookieArray2[cookieArray[i].split("=3D")[0].replace(/ = /g,"")]=3DcookieArray[i].split("=3D")[1].replace(/ /g,""); } } = cookieArray=3D(document.cookie.indexOf("state=3D")>=3D0)?cookieArray2["st= ate"].split(","):new Array(); temp=3Ddocument.getElementById("containerul"); for(var o=3D0;o0= ){ temp2 =3D document.createElement("span"); temp2.className =3D "symbols"; temp2.style.backgroundImage =3D = (cookieArray.length>0)?((cookieArray[cookieCount]=3D=3D"true")?"url(img/i= con_exploreMenuDown.gif)":"url(img/icon_exploreMenuRight.gif)"):"url(img/= icon_exploreMenuRight.gif)"; temp2.onclick=3Dfunction(){ showhide(this.parentNode); writeCookie(); } = temp.getElementsByTagName("li")[o].insertBefore(temp2,temp.getElementsByT= agName("li")[o].firstChild) = temp.getElementsByTagName("li")[o].getElementsByTagName("ul")[0].style.di= splay =3D "none"; if(cookieArray[cookieCount]=3D=3D"true"){ showhide(temp.getElementsByTagName("li")[o]); } cookieCount++; } else{ temp2 =3D document.createElement("span"); temp2.className =3D "symbols"; temp2.style.padding =3D "0"; temp2.style.margin =3D "0"; = temp.getElementsByTagName("li")[o].insertBefore(temp2,temp.getElementsByT= agName("li")[o].firstChild); } } } function showhide(el){ = el.getElementsByTagName("ul")[0].style.display=3D(el.getElementsByTagName= ("ul")[0].style.display=3D=3D"block")?"none":"block"; = el.getElementsByTagName("span")[0].style.backgroundImage=3D(el.getElement= sByTagName("ul")[0].style.display=3D=3D"block")?"url(img/icon_exploreMenu= Down.gif)":"url(img/icon_exploreMenuRight.gif)"; } function writeCookie(){ // Runs through the menu and puts the "states" = of each nested list into an array, the array is then joined together and = assigned to a cookie. cookieArray=3Dnew Array() for(var q=3D0;q0){ = if(temp.getElementsByTagName("li")[q].childNodes[0].nodeName=3D=3D"SPAN" = && = temp.getElementsByTagName("li")[q].getElementsByTagName("ul").length>0){ = cookieArray[cookieArray.length]=3D(temp.getElementsByTagName("li")[q].get= ElementsByTagName("ul")[0].style.display=3D=3D"block"); } } } document.cookie=3D"state=3D"+cookieArray.join(",")+";expires=3D"+new = Date(new Date().getTime() + 365*24*60*60*1000).toGMTString(); } ------=_NextPart_000_0000_01C8F0C3.A9ECB350 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.abc.net.au/science/js/showHide.js // ------------------------------------------ //** Tab Content script v2.0- =A9 Dynamic Drive DHTML code library = (http://www.dynamicdrive.com) //** Updated Oct 7th, 07 to version 2.0. Contains numerous improvements: // -Added Auto Mode: Script auto rotates the tabs based on an = interval, until a tab is explicitly selected // -Ability to expand/contract arbitrary DIVs on the page as the = tabbed content is expanded/ contracted // -Ability to dynamically select a tab either based on its position = within its peers, or its ID attribute (give the target tab one 1st) // -Ability to set where the CSS classname "selected" get assigned- = either to the target tab's link ("A"), or its parent container=20 ////NO NEED TO EDIT BELOW//////////////////////// function ddtabcontent(tabinterfaceid){ this.tabinterfaceid=3Dtabinterfaceid //ID of Tab Menu main container = this.tabs=3Ddocument.getElementById(tabinterfaceid).getElementsByTagName(= "a") //Get all tab links within container this.enabletabpersistence=3Dtrue this.hottabspositions=3D[] //Array to store position of tabs that have = a "rel" attr defined, relative to all tab links, within container this.subcontentids=3D[] //Array to store ids of the sub contents ("rel" = attr values) this.revcontentids=3D[] //Array to store ids of arbitrary contents to = expand/contact as well ("rev" attr values) this.selectedClassTarget=3D"link" //keyword to indicate which target = element to assign "selected" CSS class ("linkparent" or "link") } ddtabcontent.getCookie=3Dfunction(Name){=20 var re=3Dnew RegExp(Name+"=3D[^;]+", "i"); //construct RE to search for = target name/value pair if (document.cookie.match(re)) //if cookie found return document.cookie.match(re)[0].split("=3D")[1] //return its value return "" } ddtabcontent.setCookie=3Dfunction(name, value){ document.cookie =3D name+"=3D"+value+";path=3D/" //cookie value is = domain wide (path=3D/) } ddtabcontent.prototype=3D{ expandit:function(tabid_or_position){ //PUBLIC function to select a tab = either by its ID or position(int) within its peers this.cancelautorun() //stop auto cycling of tabs (if running) var tabref=3D"" try{ if (typeof tabid_or_position=3D=3D"string" && = document.getElementById(tabid_or_position).getAttribute("rel")) //if = specified tab contains "rel" attr tabref=3Ddocument.getElementById(tabid_or_position) else if (parseInt(tabid_or_position)!=3DNaN && = this.tabs[tabid_or_position].getAttribute("rel")) //if specified tab = contains "rel" attr tabref=3Dthis.tabs[tabid_or_position] } catch(err){alert("Invalid Tab ID or position entered!")} if (tabref!=3D"") //if a valid tab is found based on function = parameter this.expandtab(tabref) //expand this tab }, setpersist:function(bool){ //PUBLIC function to toggle persistence = feature this.enabletabpersistence=3Dbool }, setselectedClassTarget:function(objstr){ //PUBLIC function to set which = target element to assign "selected" CSS class ("linkparent" or "link") this.selectedClassTarget=3Dobjstr || "link" }, getselectedClassTarget:function(tabref){ //Returns target element to = assign "selected" CSS class to return (this.selectedClassTarget=3D=3D("linkparent".toLowerCase()))? = tabref.parentNode : tabref }, expandtab:function(tabref){ var subcontentid=3Dtabref.getAttribute("rel") //Get id of subcontent = to expand //Get "rev" attr as a string of IDs in the format = ",john,george,trey,etc," to easily search through var associatedrevids=3D(tabref.getAttribute("rev"))? = ","+tabref.getAttribute("rev").replace(/\s+/, "")+"," : "" this.expandsubcontent(subcontentid) this.expandrevcontent(associatedrevids) for (var i=3D0; i0)? 0 : 1 } } } //END for loop if (persisterror) //if an error has occured while trying to retrieve = persisted tab (based on its position within its peers) this.expandtab(this.tabs[this.hottabspositions[0]]) //Just select = first tab that contains a "rel" attr if (parseInt(this.automodeperiod)>500 && = this.hottabspositions.length>1){ this.automode_currentTabIndex=3Dthis.automode_currentTabIndex || 0 this.autoruntimer=3DsetInterval(function(){tabinstance.autorun()}, = this.automodeperiod) } } //END int() function } //END Prototype assignment // ------------------------------------------ ------=_NextPart_000_0000_01C8F0C3.A9ECB350 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.abc.net.au/science/js/swfobject.js /** * SWFObject v1.4: Flash Player detection and embed - = http://blog.deconcept.com/swfobject/ * * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT = License: * http://www.opensource.org/licenses/mit-license.php * * **SWFObject is the SWF embed script formerly known as FlashObject. = The name was changed for * legal reasons. *//* if(typeof deconcept=3D=3D"undefined"){var deconcept=3Dnew Object();} if(typeof deconcept.util=3D=3D"undefined"){deconcept.util=3Dnew = Object();} if(typeof = deconcept.SWFObjectUtil=3D=3D"undefined"){deconcept.SWFObjectUtil=3Dnew = Object();} deconcept.SWFObject=3Dfunction(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){ if(!document.createElement||!document.getElementById){return;} this.DETECT_KEY=3D_b?_b:"detectflash"; this.skipDetect=3Ddeconcept.util.getRequestParameter(this.DETECT_KEY); this.params=3Dnew Object(); this.variables=3Dnew Object(); this.attributes=3Dnew Array(); if(_1){this.setAttribute("swf",_1);} if(id){this.setAttribute("id",id);} if(w){this.setAttribute("width",w);} if(h){this.setAttribute("height",h);} if(_5){this.setAttribute("version",new = deconcept.PlayerVersion(_5.toString().split(".")));} this.installedVer=3Ddeconcept.SWFObjectUtil.getPlayerVersion(this.getAttr= ibute("version"),_7); if(c){this.addParam("bgcolor",c);} var q=3D_8?_8:"high"; this.addParam("quality",q); this.setAttribute("useExpressInstall",_7); this.setAttribute("doExpressInstall",false); var _d=3D(_9)?_9:window.location; this.setAttribute("xiRedirectUrl",_d); this.setAttribute("redirectUrl",""); if(_a){this.setAttribute("redirectUrl",_a);}}; deconcept.SWFObject.prototype=3D{setAttribute:function(_e,_f){ this.attributes[_e]=3D_f; },getAttribute:function(_10){ return this.attributes[_10]; },addParam:function(_11,_12){ this.params[_11]=3D_12; },getParams:function(){ return this.params; },addVariable:function(_13,_14){ this.variables[_13]=3D_14; },getVariable:function(_15){ return this.variables[_15]; },getVariables:function(){ return this.variables; },getVariablePairs:function(){ var _16=3Dnew Array(); var key; var _18=3Dthis.getVariables(); for(key in _18){ _16.push(key+"=3D"+_18[key]);} return _16; },getSWFHTML:function(){ var _19=3D""; if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){ if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType"= ,"PlugIn");} _19=3D"0){_19+=3D"flashvars=3D\""+_1c+"\"";} _19+=3D"/>"; }else{ if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType"= ,"ActiveX");} _19=3D""; _19+=3D""; var _1d=3Dthis.getParams(); for(var key in _1d){_19+=3D"";} var _1f=3Dthis.getVariablePairs().join("&"); if(_1f.length>0){_19+=3D"";} _19+=3D"";} return _19; },write:function(_20){ if(this.getAttribute("useExpressInstall")){ var _21=3Dnew deconcept.PlayerVersion([6,0,65]); if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsVal= id(this.getAttribute("version"))){ this.setAttribute("doExpressInstall",true); this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl"= ))); document.title=3Ddocument.title.slice(0,47)+" - Flash Player = Installation"; this.addVariable("MMdoctitle",document.title);}} if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installed= Ver.versionIsValid(this.getAttribute("version"))){ var n=3D(typeof _20=3D=3D"string")?document.getElementById(_20):_20; n.innerHTML=3Dthis.getSWFHTML(); return true; }else{ if(this.getAttribute("redirectUrl")!=3D""){document.location.replace(this= .getAttribute("redirectUrl"));}} return false;}}; deconcept.SWFObjectUtil.getPlayerVersion=3Dfunction(_23,_24){ var _25=3Dnew deconcept.PlayerVersion([0,0,0]); if(navigator.plugins&&navigator.mimeTypes.length){ var x=3Dnavigator.plugins["Shockwave Flash"]; if(x&&x.description){_25=3Dnew = deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").rep= lace(/(\s+r|\s+b[0-9]+)/,".").split("."));} }else{try{ var axo=3Dnew ActiveXObject("ShockwaveFlash.ShockwaveFlash"); for(var i=3D3;axo!=3Dnull;i++){ axo=3Dnew ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i); _25=3Dnew deconcept.PlayerVersion([i,0,0]);}} catch(e){} if(_23&&_25.major>_23.major){return _25;} if(!_23||((_23.minor!=3D0||_23.rev!=3D0)&&_25.major=3D=3D_23.major)||_25.= major!=3D6||_24){ try{_25=3Dnew = deconcept.PlayerVersion(axo.GetVariable("$version").split(" = ")[1].split(","));} catch(e){}}} return _25;}; deconcept.PlayerVersion=3Dfunction(_29){ this.major=3DparseInt(_29[0])!=3Dnull?parseInt(_29[0]):0; this.minor=3DparseInt(_29[1])||0; this.rev=3DparseInt(_29[2])||0;}; deconcept.PlayerVersion.prototype.versionIsValid=3Dfunction(fv){ if(this.majorfv.major){return true;} if(this.minorfv.minor){return true;} if(this.rev-1)?q.indexOf("&",_2d):q.length; if(q.length>1&&_2d>-1){ return q.substring(q.indexOf("=3D",_2d)+1,_2e); }}return "";}}; if(Array.prototype.push=3D=3Dnull){ Array.prototype.push=3Dfunction(_2f){ this[this.length]=3D_2f; return this.length;};} var getQueryParamValue=3Ddeconcept.util.getRequestParameter; var FlashObject=3Ddeconcept.SWFObject; // for backwards compatibility var SWFObject=3Ddeconcept.SWFObject; */ /** * SWFObject v1.4.4: Flash Player detection and embed - = http://blog.deconcept.com/swfobject/ * * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT = License: * http://www.opensource.org/licenses/mit-license.php * * **SWFObject is the SWF embed script formerly known as FlashObject. = The name was changed for * legal reasons. */ if(typeof deconcept=3D=3D"undefined"){var deconcept=3Dnew Object();} if(typeof deconcept.util=3D=3D"undefined"){deconcept.util=3Dnew = Object();} if(typeof = deconcept.SWFObjectUtil=3D=3D"undefined"){deconcept.SWFObjectUtil=3Dnew = Object();} deconcept.SWFObject=3Dfunction(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!documen= t.getElementById){return;} this.DETECT_KEY=3D_b?_b:"detectflash"; this.skipDetect=3Ddeconcept.util.getRequestParameter(this.DETECT_KEY); this.params=3Dnew Object(); this.variables=3Dnew Object(); this.attributes=3Dnew Array(); if(_1){this.setAttribute("swf",_1);} if(id){this.setAttribute("id",id);} if(w){this.setAttribute("width",w);} if(h){this.setAttribute("height",h);} if(_5){this.setAttribute("version",new = deconcept.PlayerVersion(_5.toString().split(".")));} this.installedVer=3Ddeconcept.SWFObjectUtil.getPlayerVersion(); if(c){this.addParam("bgcolor",c);} var q=3D_8?_8:"high"; this.addParam("quality",q); this.setAttribute("useExpressInstall",_7); this.setAttribute("doExpressInstall",false); var _d=3D(_9)?_9:window.location; this.setAttribute("xiRedirectUrl",_d); this.setAttribute("redirectUrl",""); if(_a){this.setAttribute("redirectUrl",_a);}}; deconcept.SWFObject.prototype=3D{setAttribute:function(_e,_f){ this.attributes[_e]=3D_f; },getAttribute:function(_10){ return this.attributes[_10]; },addParam:function(_11,_12){ this.params[_11]=3D_12; },getParams:function(){ return this.params; },addVariable:function(_13,_14){ this.variables[_13]=3D_14; },getVariable:function(_15){ return this.variables[_15]; },getVariables:function(){ return this.variables; },getVariablePairs:function(){ var _16=3Dnew Array(); var key; var _18=3Dthis.getVariables(); for(key in _18){_16.push(key+"=3D"+_18[key]);} return _16;},getSWFHTML:function(){var _19=3D""; if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){ if(this.getAttribute("doExpressInstall")){ this.addVariable("MMplayerType","PlugIn");} _19=3D"0){_19+=3D"flashvars=3D\""+_1c+"\"";}_19+=3D"/>"; }else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplaye= rType","ActiveX");} _19=3D""; _19+=3D""; var _1d=3Dthis.getParams(); for(var key in _1d){_19+=3D"";} var _1f=3Dthis.getVariablePairs().join("&"); if(_1f.length>0){_19+=3D"";}_19+=3D"";} return _19; },write:function(_20){ if(this.getAttribute("useExpressInstall")){ var _21=3Dnew deconcept.PlayerVersion([6,0,65]); if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsVal= id(this.getAttribute("version"))){ this.setAttribute("doExpressInstall",true); this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl"= ))); document.title=3Ddocument.title.slice(0,47)+" - Flash Player = Installation"; this.addVariable("MMdoctitle",document.title);}} if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installed= Ver.versionIsValid(this.getAttribute("version"))){ var n=3D(typeof _20=3D=3D"string")?document.getElementById(_20):_20; n.innerHTML=3Dthis.getSWFHTML();return true; }else{if(this.getAttribute("redirectUrl")!=3D""){document.location.replac= e(this.getAttribute("redirectUrl"));}} return false;}}; deconcept.SWFObjectUtil.getPlayerVersion=3Dfunction(){ var _23=3Dnew deconcept.PlayerVersion([0,0,0]); if(navigator.plugins&&navigator.mimeTypes.length){ var x=3Dnavigator.plugins["Shockwave Flash"]; if(x&&x.description){_23=3Dnew = deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replac= e(/(\s+r|\s+b[0-9]+)/,".").split("."));} }else{try{var axo=3Dnew = ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");} catch(e){try{var axo=3Dnew = ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); _23=3Dnew = deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess=3D"always";} catch(e){if(_23.major=3D=3D6){return _23;}}try{axo=3Dnew = ActiveXObject("ShockwaveFlash.ShockwaveFlash");} catch(e){}}if(axo!=3Dnull){_23=3Dnew = deconcept.PlayerVersion(axo.GetVariable("$version").split(" = ")[1].split(","));}} return _23;}; deconcept.PlayerVersion=3Dfunction(_27){ this.major=3D_27[0]!=3Dnull?parseInt(_27[0]):0; this.minor=3D_27[1]!=3Dnull?parseInt(_27[1]):0; this.rev=3D_27[2]!=3Dnull?parseInt(_27[2]):0; }; deconcept.PlayerVersion.prototype.versionIsValid=3Dfunction(fv){ if(this.majorfv.major){return true;} if(this.minorfv.minor){return true;} if(this.rev<\/= scr'+'ipt>'); } else if (wtGroup) { document.write('<\/scr'+= 'ipt>'+ '<\/scr'+= 'ipt>'); } ------=_NextPart_000_0000_01C8F0C3.A9ECB350--