//JD Power Module
function jdpowerModule(left){
var position = "position:absolute ;left: -600px;top: -600px;z-index:3000;";
if(left == 1){
    postion = "position:absolute ;left:-600px;top:-600px;z-index:3000;";
}
var popup = "\'300\',\'200\',\'285\',\'200\',\'275\',\'90\',\'300\',\'190\'";
if(left == 1){
    popup = "\'300\',\'200\',\'-85\',\'200\',\'275\',\'190\',\'300\',\'190\'";
}
var strJDPower='';
/* RIGHT COLUMN JD POWER MODULE STARTS */
strJDPower+='<div class="rightcallouts_sep"><img src="/images/hr_lefnav_seperator.gif" alt="" border="0" /></div>';
strJDPower+='<table width="186" border="0" cellspacing="0" cellpadding="0">';
strJDPower+='<tr bgcolor="#ffffff"><td>';
/* JD POWER MODULE TITLE BELOW */
strJDPower+='<div class="textcallout_title">J.D. Power and Associates:</div>';
/* JD POWER MODULE TEXT BELOW */
strJDPower+='<div class="textcallout">Amica received the ranking of &quot;Highest Customer Satisfaction Among National Auto Insurers, 10 years in a Row.*&quot;&nbsp;&nbsp;<a href="#" id="jdpower" onclick="return false;" onmouseover="setLyr(this.id,\'jdpowerpopup\',';
strJDPower+= popup
strJDPower+=');" onmouseout = "handleOut(\'jdpowerpopup\');" ><img src="/images/icon_tooltip.gif" alt="" border="0" /></a></div>';
strJDPower+='</td></tr>';
strJDPower+='</table>';
/* RIGHT COLUMN JD POWER MODULE ENDS */

/* POP-UP SECTION STARTS */
strJDPower+='<div id="jdpowerpopup" style="'
strJDPower+= position 
strJDPower+='">';
strJDPower+='<table width="309" border="0" cellspacing="0" cellpadding="0">';
strJDPower+='<tr>';
strJDPower+='<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
/* POP-UP TITLE BELOW */
strJDPower+='<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Amica Ranks Highest</td>';
strJDPower+='<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
strJDPower+='</tr>';
strJDPower+='<tr>';
strJDPower+='<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
/* POP-UP TEXT BELOW */
strJDPower+='<td valign="top" align="left" bgcolor="#FFFFFF" class="rollovertext">*Amica received the highest numerical score in the proprietary J.D. Power and Associates 2000-2009 National Auto Insurance Satisfaction Studies<sup>SM</sup>. 2009 Study based on 22,930 responses from policyholders of 32 insurance carriers, who were surveyed from March-April 2009 about their experiences and perceptions. jdpower.com</td>';
strJDPower+='<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
strJDPower+='</tr>';
strJDPower+='<tr>';
strJDPower+='<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
strJDPower+='<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
strJDPower+='<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
strJDPower+='</tr>';
strJDPower+='</table>';
strJDPower+='</div>';
/* POP-UP SECTION ENDS */
document.write(strJDPower);
}

  
          