function open_usli(which){open(
	'https://secure.usli.com/RetailQuote/Start.aspx'+
		'?WebProductID='+which+
		'&CustomerID=E2C162F6-62BE-48d8-B658-E0204F8235F5'+
		'&Commission=12&CustomerEmail=joyce_king@jebrown.net'
	,'usli_login'
)}

function open_rater(name, which){
	var where = (which? 'http://www.topains.com': '')+'/rating/';
	var page = open(where+'Display_Frame.htm',(which? '': 'rate__')+name,
		'height='+Math.min(600,screen.availHeight-25)+
		',width='+Math.min(750,screen.availWidth-10)+
		',resizable,scrollbars');
	if (screen.availHeight<625||screen.availWidth<760) page.moveTo(0,0);
}

function check_ar_olreg(){if (confirm(
	'In an effort to provide a better experience and in conjunction with a rate decrease,\n'+
	'American Reliable has changed platforms for online HO-3 rating.\n\n'+
	'1) If you already have a login and password for the current American Reliable online\n'+
	'Mobile Home & Dwelling Fire rater, you can now use that login and website to quote\n'+
	'the new HO-3 rates by selecting "OK".\n\n'+  
	'2) If you do not have a login and password for the current online Mobile Home &\n'+
	'Dwelling Fire rater, click "Cancel" and you may request access to the new platform.\n\n'
	)) open_url('https://secure.uwsystems.com/prod-ar/');
	else location= 'am-reliable-reg.aspx';
}

function open_url(which){open(which)}
