jQuery(document).ready(function() {
						   
	var url = jQuery.url.param("show");
	// Settings for the script
	var animation_speed = "slow";
	
	if ( url == "tax_reduction" ) { 
	
	jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/tax_reduction.php").fadeTo(animation_speed, 1);	
		});
	
		jQuery("#about").fadeTo(animation_speed,0);
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/taxReduction.swf"><param name="quality" value="high"><embed src="/flash/taxReduction.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
	jQuery("#about").html("<b>Take advantage of the Federal Government's Tax Incentive and Pay Less Tax</b><br><br>Australia is one of the highest taxed countries on the planet.<br><br> How much do you and your partner get taxed each and every year?<br>How much until you retire?<br><br>Find out in our Tax Calculator, start by selecting your Income to the right.").fadeTo(animation_speed, 1);	
	jQuery("#testimonialss").html("<img src='/images/test2.jpg' />").fadeTo(animation_speed, 1);	
		});
	}
	
	if ( url == "wealth_creation" ) {
		
			jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/wealth_creation.php").fadeTo(animation_speed, 1);	
		});
		
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/wealthCreation.swf"><param name="quality" value="high"><embed src="/flash/wealthCreation.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
			jQuery("#about").html("<b>You may have missed an opportunity to invest in property before, calculate what you could have made using our Interactive Calculator.<br><br>Select the State and Region on the right to begin.</b>").fadeTo(animation_speed, 1);	
			jQuery("#testimonialss").html("<img src='/images/test3.jpg' />").fadeTo(animation_speed, 1);	
		});
	}
	
	if ( url == "save_on_mortgage" ) {
		
		jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/save_on_mortgage.php").fadeTo(animation_speed, 1);	
		});
		
		jQuery("#about").fadeTo(animation_speed,0);
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/saveOnMortgage.swf"><param name="quality" value="high"><embed src="/flash/saveOnMortgage.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
			jQuery("#about").html("<b>Premium Finance Services provides its clients with a loan, and loan structure, that suits them - not one that suits the bank.<br><br>The result speaks for itself, read the example to the right to see what is possible.</b>").fadeTo(animation_speed, 1);	
			jQuery("#testimonialss").html("<img src='/images/test1.jpg' />").fadeTo(animation_speed, 1);	
		});
	}
	
	if ( url == "retirement_options" ) {
		
		jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/retirement_options.php").fadeTo(animation_speed, 1);	
		});
		
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/retirementOptions.swf"><param name="quality" value="high"><embed src="/flash/retirementOptions.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
			jQuery("#about").html("<b>Retirement Calculator Coming Soon</b> - but until then: <br><br>Did you know that just 5% of the Australian population retire with sufficient funds to continue the lifestyle they have become accustomed to during their first 60 or so years on this planet?<br><br>Are you in the 5% that are comfortable, or the 95% who have to change their lifestyle due to their retirement from working life?").fadeTo(animation_speed, 1);	
			jQuery("#testimonialss").html("<img src='/images/test4.jpg' />").fadeTo(animation_speed, 1);	
		});
	}
	
	
	
	// Set the first image in the group
	jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/taxReduction.swf"><param name="quality" value="high"><embed src="/flash/taxReduction.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
	jQuery("#about").html("<b>Take advantage of the Federal Government's Tax Incentive and Pay Less Tax</b><br><br>Australia is one of the highest taxed countries on the planet.<br><br> How much do you and your partner get taxed each and every year?<br>How much until you retire?<br><br>Find out in our Tax Calculator, start by selecting your Income to the right.").fadeTo(animation_speed, 1);	
	jQuery("#testimonialss").html("<img src='/images/test2.jpg' />").fadeTo(animation_speed, 1);	
	jQuery("#subcontent").load("/includes/tax_reduction.php").fadeTo(animation_speed, 1);	
	
	// TAX REDUCTION PANEL
	jQuery("#menuopt_1").click(function() { 
		jQuery("#about").fadeTo(animation_speed,0);
		jQuery("#testimonialss").fadeTo(animation_speed, 0);
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/taxReduction.swf"><param name="quality" value="high"><embed src="/flash/taxReduction.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
	jQuery("#about").html("<b>Take advantage of the Federal Government's Tax Incentive and Pay Less Tax</b><br><br>Australia is one of the highest taxed countries on the planet.<br><br> How much do you and your partner get taxed each and every year?<br>How much until you retire?<br><br>Find out in our Tax Calculator, start by selecting your Income to the right.").fadeTo(animation_speed, 1);	
	jQuery("#testimonialss").html("<img src='/images/test2.jpg' />").fadeTo(animation_speed, 1);	
		});
	});
	
	// WEALTH CREATION PANEL
	jQuery("#menuopt_2").click(function() { 
		jQuery("#about").fadeTo(animation_speed,0);
		jQuery("#testimonialss").fadeTo(animation_speed, 0);
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/wealthCreation.swf"><param name="quality" value="high"><embed src="/flash/wealthCreation.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
			jQuery("#about").html("<b>You may have missed an opportunity to invest in property before, calculate what you could have made using our Interactive Calculator.<br><br>Select the State and Region on the right to begin.</b>").fadeTo(animation_speed, 1);	
			jQuery("#testimonialss").html("<img src='/images/test3.jpg' />").fadeTo(animation_speed, 1);	
		});
	});
	
	// SAVE ON MORTGAGE PANEL
	jQuery("#menuopt_3").click(function() { 
		jQuery("#about").fadeTo(animation_speed,0);
		jQuery("#testimonialss").fadeTo(animation_speed, 0);
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/saveOnMortgage.swf"><param name="quality" value="high"><embed src="/flash/saveOnMortgage.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
			jQuery("#about").html("<b>Premium Finance Services provides its clients with a loan, and loan structure, that suits them - not one that suits the bank.<br><br>The result speaks for itself, read the example to the right to see what is possible.</b>").fadeTo(animation_speed, 1);	
			jQuery("#testimonialss").html("<img src='/images/test1.jpg' />").fadeTo(animation_speed, 1);	
		});
	});
	
	// RETIREMENT OPTIONS PANEL
	jQuery("#menuopt_4").click(function() { 
		jQuery("#about").fadeTo(animation_speed,0);
		jQuery("#testimonialss").fadeTo(animation_speed, 0);
		jQuery("#img_panel").fadeTo(animation_speed,0, function() { 
			jQuery("#img_panel").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="958" height="250"><param name="movie" value="/flash/retirementOptions.swf"><param name="quality" value="high"><embed src="/flash/retirementOptions.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="958" height="250"></embed></object>').fadeTo(animation_speed, 1);
			jQuery("#about").html("<b>Retirement Calculator Coming Soon</b> - but until then: <br><br>Did you know that just 5% of the Australian population retire with sufficient funds to continue the lifestyle they have become accustomed to during their first 60 or so years on this planet?<br><br>Are you in the 5% that are comfortable, or the 95% who have to change their lifestyle due to their retirement from working life?").fadeTo(animation_speed, 1);	
			jQuery("#testimonialss").html("<img src='/images/test4.jpg' />").fadeTo(animation_speed, 1);	
		});
	});
	


	jQuery("#menuopt_1").click(function() { 
		jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/tax_reduction.php").fadeTo(animation_speed, 1);	
		});
	});
	
	jQuery("#menuopt_2").click(function() {
		jQuery("#subcontent").fadeTo(animation_speed,0,function() { 
				jQuery("#subcontent").html("&nbsp;");
				jQuery("#subcontent").load("/includes/wealth_creation.php").fadeTo(animation_speed, 1);
		});
	});
	
	jQuery("#menuopt_3").click(function() { 
		jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/save_on_mortgage.php").fadeTo(animation_speed, 1);	
		});
	});
	
	jQuery("#menuopt_4").click(function() { 
		jQuery("#subcontent").fadeTo(animation_speed,0, function() { 
			jQuery("#subcontent").load("/includes/retirement_options.php").fadeTo(animation_speed, 1);	
		});
	});
	
});


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}