function openFullWin(url, title) { 
	if (!window.focus) { 
		return true;
	}
	if (typeof(title) == "undefined") {
	   	title = "";
	}
	var win =window.open(url, title, 'width='+(screen.availWidth - 10)+',innerWidth='+(screen.availWidth - 10)+',height='+(screen.availHeight - 50)+',innerHeight='+(screen.availHeight - 50)+',left=0,screenX=0,top=0,screenY=0,resizable,status=yes,scrollbars=yes'); 
	win.focus(); 
	return false;
} 

/*
LIFE INSURANCE
*/

// en/life_insurance.html
function quoteLifeIns() { 
	openFullWin('https://gemoney.admsinsurance.com.au/forty','GetLifeProtectQuote'); 
}
// en/ife_insurance.html
function applyLifeIns() { 
	openFullWin('https://gemoney.admsinsurance.com.au/forty','GetLifeQuote'); 
}
// en/insurance/life_protect.html
function quoteLifeProtectIns() { 
	openFullWin('https://gemoney.admsinsurance.com.au/getquote','GetLifeProtectQuote'); 
}
// en/insurance/life_protect.html
function applyLifeProtectIns() { 
	openFullWin('https://gemoney.admsinsurance.com.au/renew ','GetLifeQuote'); 
}

/*
INJURY ASSIST
*/
function quoteInjuryIns() { 
	openFullWin('http://gemoney.admsinsurance.com.au/injuryassist','GetInjuryQuote'); 
}

function applyInjuryIns() { 
	openFullWin('http://gemoney.admsinsurance.com.au/injuryassist','GetInjuryQuote'); 
}

// en/ife_insurance.html, en/insurance/life_protect.html
function requestPack() { 
	openFullWin('http://gemoney.admsinsurance.com.au/4826/va=SF-ViewRequestPack', 'RequestPack'); 
} 

function requestCall() { 
	openFullWin('http://gemoney.admsinsurance.com.au/4826/va=SF-ViewRequestCall', 'RequestCall'); 
}

/*
CAR INSURANCE
*/
// en/car_insurance.html
function quoteCarIns(){
	openFullWin('https://ecommerce.disconline.com.au/pc/apply?hPID=PCRQIC&hSty=EXGE&hCenCde=10313&cgpCde=00223', 'CarInsQuote');
}

function applyCarIns(){
	openFullWin('https://ecommerce.disconline.com.au/pc/apply?hPID=PCRQIC&hSty=EXGE&hCenCde=10313&cgpCde=00223');
}
