//<script language="JavaScript" type="text/JavaScript">
//<!--

function getMembUrlStr(url)
{
	var quote_page = "https://www.caapets.com/cfl/qstep1.aspx?ws=ON&marketingCode=SCOM";
	return quote_page;	
}

function getNonMembUrlStr(url)
{
	var quote_page = "https://www.caapets.com/cfl/qstep1.aspx?ws=ON&marketingCode=SCON";
	return quote_page;
}
if (window.screen) {
    var clientW = Math.floor(screen.availWidth);
    var clientH = Math.floor(screen.availHeight);
}



function intit()
{
    var clientW = Math.floor(screen.availWidth);
    var clientH = Math.floor(screen.availHeight);
}



function openQuoteWindow(url, w, h){//customizable size with no tool bars, for calculators, amicus deposit register info, pavilion locator,...etc
// window.name = "main";
intit();
var Window2;
Window2=window.open(url,'Window2','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width='+w+',height='+h+',top='+((clientH-h)/2)+',left='+((clientW-w)/2));
Window2.focus();

}
// popup fix for flash
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function flash_get_quote_370x45_DoFSCommand(command, args) {
	var flash_get_quote_370x45Obj = isInternetExplorer ? document.all.flash_get_quote_370x45 : document.flash_get_quote_370x45;
	//
	{if(command=="openWindow"){ openNewWindow()}}
function openNewWindow(){setTimeout(
window.open('https://www.petplan.com/cfl/qstep1.aspx','newwindow',
'height=580,width=720,toolbar=yes,menubar=no,scrollbars=yes')),0}
	//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub flash_get_quote_370x45_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call flash_get_quote_370x45_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
function flash_get_quote_105x105_DoFSCommand(command, args) {
	var flash_get_quote_105x105Obj = isInternetExplorer ? document.all.flash_get_quote_105x105 : document.flash_get_quote_105x105;
	//
{if(command=="openWindow"){ openNewWindow()}}
function openNewWindow(){setTimeout(
window.open('https://www.petplan.com/cfl/qstep1.aspx','newwindow',
'height=580,width=720,toolbar=yes,menubar=no,scrollbars=yes')),0}
	//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub flash_get_quote_105x105_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call flash_get_quote_105x105_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}


//-->
//</script>