// JavaScript Document


var Magazine = new Array();
var Magazine_alt = new Array();
var Magazine_lit = new Array();
var Magazine_big = new Array();
var Magazine_disc = new Array();
var defaultArr = new Array(); 
var num_ber, previous_number,i,cnt=1;
previous_number="0";
num_ber="0";
click = 0;

function blockError(){return true;}
window.onerror = blockError;

Magazine[0] = "Winter-2010.jpg";
Magazine[1] = "Autumn-2010.jpg";
Magazine[2] = "Summer-2010.jpg";
Magazine[3] = "Mar2009-May2009.jpg";
Magazine[4] = "Dec-Feb2009.jpg";
Magazine[5] = "Sept-Nov2008.jpg";
Magazine[6] = "Jun-Aug2008.jpg";
Magazine[7] = "Mar-May2008.jpg";
Magazine[8] = "Dec2007-Feb2008.jpg";
Magazine[9] = "Sept-Nov2007.jpg";
Magazine[10] = "Jun-Aug2007.jpg";
Magazine[11] = "Mar-May2007.jpg";

Magazine_alt[0] = "Winter 2010";
Magazine_alt[1] = "Autumn 2010";
Magazine_alt[2] = "Summer 2010";
Magazine_alt[3] = "Mar2009 - May2009 edition";
Magazine_alt[4] = "Dec2008 - Feb2009 edition";
Magazine_alt[5] = "Sept-Nov2008 edition";
Magazine_alt[6] = "Jun-Aug2008 edition";
Magazine_alt[7] = "Mar-May2008 edition";
Magazine_alt[8] = "Dec 2007-Feb 2008 edition";
Magazine_alt[9] = "Sept-Nov 2007 edition";
Magazine_alt[10] = "Jun-Aug 2007 edition";
Magazine_alt[11] = "Mar-May 2007 edition";

Magazine_lit[0] = "Winter-2010_over.jpg";
Magazine_lit[1] = "Autumn-2010_over.jpg";
Magazine_lit[2] = "Summer-2010_over.jpg";
Magazine_lit[3] = "Mar2009-May2009_over.jpg";
Magazine_lit[4] = "Dec-Feb2009_over.jpg";
Magazine_lit[5] = "Sept-Nov2008_over.jpg";
Magazine_lit[6] = "Jun-Aug2008_over.jpg";
Magazine_lit[7] = "Mar-May2008__over.jpg";
Magazine_lit[8] = "Dec2007-Feb2008_over.jpg";
Magazine_lit[9] = "Sept-Nov2007__over.jpg";
Magazine_lit[10] = "Jun-Aug2007__over.jpg";
Magazine_lit[11] = "Mar-May2007__over.jpg";

Magazine_big[0] = "Winter-2010_b.jpg";
Magazine_big[1] = "Autumn-2010_b.jpg";
Magazine_big[2] = "Summer-2010_b.jpg";
Magazine_big[3] = "Mar2009-May2009_b.jpg";
Magazine_big[4] = "Dec-Feb2009_b.jpg";
Magazine_big[5] = "Sept-Nov2008_b.jpg";
Magazine_big[6] = "Jun-Aug2008_b.jpg";
Magazine_big[7] = "Mar-May2008_b.jpg";
Magazine_big[8] = "Dec2007-Feb2008_b.jpg";
Magazine_big[9] = "Sept-Nov2007_b.jpg";
Magazine_big[10] = "Jun-Aug2007_b.jpg";
Magazine_big[11] = "Mar-May2007_b.jpg";

Magazine_disc[0] = "<ul id='ulalign'><li><strong>Warren Hogan</strong> - ANZ's Chief Economist and Head of Global Markets Research discusses life, family and a career</li><li><strong>Tim and Glenn Cooper</strong> - share an inspiring story of one of Australia's most esteemed family owned businesses, Coopers Brewery </li><li><strong>Camilla Franks </strong> - shares her inspiration for fashion design and success</li><li><strong>Jane Hunt</strong> - talks about leading a rapidly growing not for profit organisation.</li></ul><br /><br /><strong>For a copy of In Private, contact your ANZ Private Banker.</strong>";
Magazine_disc[1] = "<ul id='ulalign'><li><strong>Mick Power</strong> - discusses the trials and tribulations of founding and running an empire</li><li><strong>Simone LeAmon</strong> - recipient of the 2009 Rigg Contemporary Design award </li><li><strong>Don Voelte</strong> - CEO of Woodside Petroleum: one of Australia's corporate heavyweights</li><li><strong>Julie Toop</strong> - Act now in the interests of your family and their future. </li></ul><br /><br /><strong>For a copy of In Private, contact your ANZ Private Banker.</strong>";
Magazine_disc[2] = "<ul id='ulalign'><li>Kevin Armstrong... a man in demand for his intelligent insight into investing</li><li>Mr Muhammed Akhtar Zaman... a client who builds luxury yachts</li><li>John McGrath... the extra 10% with the CEO of McGrath Estate Agents</li><li>Sally and Mark... the relationship between a client and her Private Banker</li><li>Structuring SelfManaged Super Funds</li></ul>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;... and more!<br/><strong>If you haven't received your copy of our new look In Private magazine, please speak to your ANZ Private Banker or <a href='mailto:inprivate@anz.com'>email</a></strong>.";
Magazine_disc[3] = "This edition features an interview with CEO of ANZ Australia, Brian Hartzer, who confirms his optimism for the local economy and excitement towards the merge between Private Bank and ANZ Trustees. Managing Director of ANZ Private Bank, Catherine McDowell shares her views on the global economy and how ANZ Private Bank is helping clients through current market conditions. Plus, complete the <i>In Private</i> reader survey - and you could win an exclusive dining experience.<br /><br /><strong>For a copy of In Private, contact your ANZ Private Banker.</strong>";
Magazine_disc[4] = "This edition features an interview with ANZ Bank CEO, Mike Smith, on his views on the global and Australian economies and his vision for ANZ. Our panel of senior executives from six leading financial institutions provides an overview of the events of the past year. We also take a look at estate planning and ANZ Private Bank’s CIO, Kevin Armstrong, investigates investment strategies in volatile times and we explore what makes us happy.<br /><br /><strong>For a copy of In Private, contact your ANZ Private Banker.</strong>";
Magazine_disc[5] = "This quarter's edition features a debate on the outlook for food and fuel as commodities. Featuring views from economist Julie Toth, Private Bank Regional CIO Kevin Armstrong and Anthony Garvey, Private Bank Research and Technical Manager. There are also articles on the current opportunity in commercial property and the security of online banking, as well as a variety of lifestyle topics including new wine varieties in Australia and collectable watches.<br /><br /><strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong>";
Magazine_disc[6] = "This quarter's edition features an analysis of Alternative Investments how they might benifit your portfolio, as well as an interview with Glen Poswell, CEO of Ellerston Capital on investment strategy. There are also articles on setting up a testamentary trust, tax time perparation as well as a variety of lifestyle topics including starting a wine collection and unique luxury travel experiences.<br /><br /><strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong>";
Magazine_disc[7] = "This quarter's edition features an examination of the sub-prime crisis and how it impacts investment from a panel of Industry Experts.  There are also articles on the outlook for the property market in 2008, superannuation and a variety of lifestyle topics including fine wine, champagne and the winner of the latest ANZ Private Bank Contemporary Art Award.<p> <strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong></p>"; 
Magazine_disc[8] =  "This quarter's edition features a profile on ANZ's new CEO Mike Smith, as well as an in depth look into the Economic outlook for the year ahead from ANZ economists. There are also articles on Private Bank's expatriate offering, how to optimise your frequent flyer points, as well as a variety of lifestyle topics including wine collecting and classic yachts.<p> <strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong></p>";
Magazine_disc[9] = "This edition features an article on offshore investing, which includes both international equities from the emerging BRIC economies and global property investing. Other stories cover asset protection for professionals and optimum structures for family businesses. Lifestyle topics include an exploration of Scotch whisky and the rise of exercise physiologists. <p> <strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong></p>";
Magazine_disc[10] = "This edition features stories on ANZ Chief Economist Saul Eslake's view of the economic outlook for the year, an examination of self managed super funds and a look at investment in the residential property market. Lifestyle features include adventure holidays to broaden your horizons and the use of sports psychology strategies in the boardroom. <p> <strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong></p>";
Magazine_disc[11] = "This quarter features ANZ Chief Economist Saul Eslake's views on the global and domestic prospects for 2007, a look at what is influencing the property market and an investigation into the use of debt to fast track investment returns. Lifestyle articles cover lesser known Australian vineyards and negotiating a sabbatical to avoid career burnout. <p> <strong>For a copy of the latest or previous editions of In Private please contact your ANZ Private Banker.</strong></p>";



function change_content(num_ber)
{ 	
  if(previous_number!=num_ber)
  {
	document.getElementById('magzine_discription').innerHTML=Magazine_disc[num_ber];
	changes_image_brightness('body_ofthe_promo',num_ber);
	document.getElementById('article_image').src='/Images/inprivate/'+Magazine_big[num_ber];
	document.getElementById('article_image').alt=Magazine_alt[num_ber];
	document.getElementById('article'+num_ber).src='/Images/inprivate/'+Magazine_lit[num_ber];	
	document.getElementById('article'+previous_number).src='/Images/inprivate/'+Magazine[previous_number];
	previous_number=num_ber;	
	article_image.alt=Magazine_alt[num_ber];
  }

}

function changes_image_brightness(id, num_ber)
	{ 
    var speed = 10; 
    var timer = 0; 
	for(i = 20; i <= 100; i++)
		{ 
		 setTimeout("image_brightness(" + i + ",'" + num_ber + "','" + id + "')",(timer * speed)); 
	     timer++; 
	    }
    } 
   
function image_brightness(opacity, num_ber, id)
{ 
    var object = document.getElementById(id).style; 
    object.opacity = (opacity / 100); 
    object.MozOpacity = (opacity / 100); 
    object.KhtmlOpacity = (opacity / 100); 
    object.filter = "alpha(opacity=" + opacity + ")"; 
	} 
	
function divHide(temp)
{
	document.getElementById(temp).style.visibility= 'hidden';
	document.getElementById(temp).style.display = 'none';
}

function divShow(temp)
{
	document.getElementById(temp).style.visibility= 'visible';
	document.getElementById(temp).style.display = 'block';
}
	
function imgLeftClick()
{
	divHide('img1');
	divHide('imgLeft');
	divHide('imgRight2');
	divShow('img5');
	divShow('imgLeft2');
	divShow('imgRight');
		
}
function imgLeftClick2()
{	cnt++;
	var str,str1;
	str="img"+cnt;
	divHide(str);
	divHide('imgLeft');
	divHide('imgRight');
	str1="img"+(cnt+4);
	divShow(str1);
	if(Magazine_lit.length==(cnt+4))
	{
		
		divHide('imgLeft2');
		divShow('ins_space');
	}
	divShow('imgRight2');
		
}
function imgRightClick()
{
	divShow('img1');
	divHide('imgLeft2');
	divHide('img5');
	//divHide('imgRight');
	divShow('imgLeft');
	divHide('imgRight2');
}

function imgRightClick2()
{
	cnt--;
	var str,str1;
	str="img"+(cnt+1);
	//alert(str);
	divShow(str);
	str1="img"+(cnt+5);
	//alert(str1);
	divHide(str1);
	if(cnt==0)
	{
		divHide('imgRight2');
	}
	divHide('imgLeft');
	divShow('imgLeft2');
}