<!--
function popUp(URL, width, height) {

		var left = (screen.width - width) / 2;
		var top = (screen.height - height) / 2;

		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+width+',height='+height+', left = '+left+',top = '+top+'');");
		
		}

function popUpResize(URL, width, height) {

		var left = (screen.width - width) / 2;
		var top = (screen.height - height) / 2;

		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width='+width+',height='+height+', left = '+left+',top = '+top+'');");
		
}

function memberCountryEnDis(countrySelected){
	
	if (countrySelected=="Australia"){			
		document.memberSignUp.memberState.disabled=false;
		document.memberSignUp.memberRegion.disabled=false;		
	}else{
		document.memberSignUp.memberState.disabled=true;
		document.memberSignUp.memberRegion.disabled=true;		
	}
	
}

function showHide(id) { 
		
		
		block = document.getElementById(id);
  
		if (block.className == "showBlock") { 
			block.className = "hideBlock";

   		} 
		else { 
			block.className = "showBlock"; 

		} 
}

function showCar() { 
	//alert('sc');
	c = document.getElementById('car');
	p = document.getElementById('part');
	
	c.className = "showBlock";
	p.className = "hideBlock";

}

function showPart() { 
	//alert('sp');
	
	c = document.getElementById('car');
	p = document.getElementById('part');
	
	c.className = "hideBlock";
	p.className = "showBlock";

}



function changeType($val){
	if ($val=='car'){
		showCar();	
	}
	
	if ($val=='part'){
		showPart();
	}
}



// -->