<!--

function changeDivImage(idname, newImgPath) {

	//"url(images/1_ws.gif)"
	document.getElementById(idname).style.backgroundImage = "url("+newImgPath+")";

}



function showHide(id, pic) { 
		
		block = document.getElementById(id);
  
		if (block.className == "showBlock") { 
			block.className = "hideBlock";
   		} 
		else { 
			block.className = "showBlock"; 

		} 
	}

function confGetAct(text, loc) {
		var answer = confirm(text)
		if (answer){	 
			 window.location=loc;
		}
		
		
}

function popUpFull(URL) {
	var width=screen.width;
	var height=screen.height;
	var left = 0;
	var top = 0;

	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 viewPopup(URL) {

	var width=screen.availWidth;
	var height=screen.availHeight;
	var left = 0;
	var top = 0;
	
	URL=URL+'&w='+width+'&h='+height;

	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 popUp(URL, width, height) {

	var width=screen.width;
	var height=screen.height;
	var left = 0;
	var top = 0;

	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=1,resizable=1,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=0,resizable=1,width='+width+',height='+height+', left = '+left+',top = '+top+'');");
		
}

function confirmation(name, get) {
		//alert ($get)
		var answer = confirm("Are you sure you want to delete: "+name)
		 if (answer){	 
			 window.location = get;
		 }
		
}



function as_Above(sec)
{	
	if (sec=='org'){
	
		document.form_checkout.org_del_address.value  = document.form_checkout.org_address.value;
		document.form_checkout.org_del_suburb.value   = document.form_checkout.org_suburb.value;
		document.form_checkout.org_del_state.value    = document.form_checkout.org_state.value;
		document.form_checkout.org_del_postcode.value = document.form_checkout.org_postcode.value;
	}
	
	if (sec=='don'){
	
		document.form_checkout.charity_del_address.value  = document.form_checkout.charity_address.value;
		document.form_checkout.charity_del_suburb.value   = document.form_checkout.charity_suburb.value;
		document.form_checkout.charity_del_state.value    = document.form_checkout.charity_state.value;
		document.form_checkout.charity_del_postcode.value = document.form_checkout.charity_postcode.value;
	}

}

function showHide(id) { 
		
		block = document.getElementById(id);
  
		if (block.className == "showBlock") { 
			block.className = "hideBlock";

   		} 
		else { 
			block.className = "showBlock"; 

		} 
	}







// -->
