function header() {
	//var header="";
	document.write("<tr height=100>");
	document.write("<td width='20%'><img src='images/USflag.gif' alt='US flag'> </td>");
	document.write("<td align='center'><a href='index.html'><img src='images/Logo1.gif' width=401 height=76 Border='0'></a> </td>");
	document.write("<td><a href='http://www.iabgroup.com/md/index.asp'  target='_blank'><img src='images/iab_logo1.gif' alt='IAB' Border='0'></a></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td> &nbsp; </td>");
	document.write("<td height=25>");
	document.write("<font Face='Verdana,Arial,Helvetica' Style='font-size:12px;' Size='1'>");
	document.write("<strong>We are licensed in the following States/Provinces: Insurance licensed in Maryland, Virginia,");
	document.write(" and Washington D.C.</strong>");
	document.write("</font>");
	document.write("</td>");
	document.write("<td height=25> &nbsp; <br><font Face='Verdana,Arial,Helvetica' Style='font-size:12px;' Size='1'>");
	today(); 
	document.write("&nbsp;</tr>");
	document.write("<tr>");
	document.write("<td colspan=3 align=center> &nbsp;");
	document.write("</td>");
   	document.write("</tr>");
	//document.write(header);
	
}

function menu(page) {
var menuLine="";
menuLine +="<li>";
if (page=="index") {
	menuLine +="<a href='#' onClick='window.location.reload();return false;' >";
} else {
	menuLine +="<a href='#' onClick=\"parent.location='index.html'\" class='accessible'>";
}
menuLine +="Home</a>";
menuLine +="</li>";
menuLine +="<li class='accessible'><a href='#' class='accessible'>Insurance &raquo;</a>";
menuLine +="<ul>";
menuLine +="<li><a href='auto.html'>Auto</a></li>";
menuLine +="<li><a href='home.html'>Home</a></li>";
menuLine +="<li><a href='life.html'>Life</a></li>";
menuLine +="<li><a href='business.html'>Business</a></li>"; 
<!-- menuLine +="<li><a href='retirement.html'>Retirement</a></li>"; -->
menuLine +="<li><a href='boat.html'>Watercraft</a></li>";
menuLine +="</ul>";
menuLine +="</li>";
menuLine +="<li><a href='companies.html'>Companies</a></li>";
menuLine +="<li><a href='coverage.html' class='accessible'>Coverage &raquo;</a>";
menuLine +="<ul>";
menuLine +="<li><a href='coverage_auto.html'>Auto</a></li>";
menuLine +="<li><a href='coverage_home.html'>Home</a></li>";
menuLine +="<li><a href='coverage_life.html'>Life</a></li>";
menuLine +="</ul>";
menuLine +="<li><a href='faq.html' class='accessible'>FAQ &raquo;</a>";
menuLine +="<ul>";
menuLine +="<li><a href='faq_general.html'>General</a></li>";
menuLine +="<li><a href='faq_auto.html'>Auto</a></li>";
menuLine +="<li><a href='faq_home.html'>Home</a></li>";
menuLine +="<li><a href='faq_life.html'>Life</a></li>";
menuLine +="<li><a href='faq_renters.html'>Renters</a></li>";
menuLine +="<li><a href='faq_umbrella.html'>Umbrella</a></li>";
menuLine +="</ul>";
menuLine +="<li><a href='resources.html'>Resources</a></li>";
menuLine +="<li><a href='aboutus.html'>About Us</a></li>";
menuLine +="<li><a href='contactus.html'>Contact Us</a></li>";
menuLine +="<li><a href='findus.html'>How to Find Us</a></li>";
menuLine +="<li><a href='#' class='accessible'>Get a Quote &raquo;</a>";
menuLine +="<ul>";
menuLine +="<li><a href='javascript:GetQuoteUrl(\"Auto\")'>Auto</a></li>";
menuLine +="<li><a href='javascript:GetQuoteUrl(\"Home\")'>Home</a></li>";
menuLine +="<li><a href='javascript:GetQuoteUrl(\"Life\")'>Life</a></li>";
menuLine +="<li><a href='javascript:GetQuoteUrl(\"Business\")'>Business</a></li>";
menuLine +="<li><a href='javascript:GetQuoteUrl(\"Other\")'>Other</a></li>";
menuLine +="</ul>";
menuLine +="</li>";
document.write(menuLine);
}
		

function trailer() {

    var newLine = "<center><br><br>";
        newLine =  "<a class='site' href='index.html'>Home Page</a> &nbsp;|&nbsp;";
        newLine += "<a class='site' href='companies.html'>Companies</a> &nbsp;|&nbsp;";
	newLine += "<a class='site' href='faq.html'>FAQs</a> &nbsp;|&nbsp;";
        newLine += "<a class='site' href='resources.html'>Resources</a> &nbsp;|&nbsp;";
        newLine += "<a class='site' href='aboutus.html'>About Us</a>  &nbsp;|&nbsp;";
        newLine += "<a class='site' href='contactus.html'>Contact Us</a> &nbsp;|&nbsp;";
        newLine += "<a class='site' href='findus.html'>How to Find Us</a> <br>";
	newLine += "<font face='Arial' color=#000000 size=1><br>To contact us:<br>";
	newLine += "<font face='Arial' color=#000000 size=1>Email: <a class='site' href='mailto:insure@ronel.com'>Ronel Associates Insurance</a><br>";
	newLine += "<font face='Arial' color=#000000 size=1>595 Main Street, Suite #235<br>Laurel, Maryland 20707<br></font>";
	newLine += "</center>";
	newLine += "<p align='center'><font size='1'>";
	newLine += "&copy 2000 - 2010 Ronel Insurance</font><br><br></p>";
	document.write(newLine);
}

function trap() {
	if(document.images)
	for(i=0;i<document.images.length;i++)
	document.images[i].onmousedown = protect;
}

function protect(e) {
alert("Sorry, you don't have permission to right-click.");
return false;
}

function lastupdate() {
// document.write(navigator.appVersion+"  "+ navigator.appName);
<!-- hiding script contents
if (navigator.appVersion.substring(0,3) > '4.5'  ||
(navigator.appVersion.substring(0,3) > '4.5' && navigator.appName == 'Netscape')) 
{
   var lmodlen = document.lastModified.length;
   var lmod = document.lastModified;
   document.write("This page was last updated on " + lmod.substring(0, lmodlen - 12));
}
else {
  var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec";
   var lmod = document.lastModified;
   var mon  = (lmod.substring(0,2) * 3);
   document.write("This page was last updated on ");
   document.write(monthNames.substring(mon-3, mon));
   document.write(" " + lmod.substring(3, 5) );
   document.write(", " + lmod.substring(6, 10) );
}
<!-- end hiding script contents -->
}


function run() {
<!-- Begin
var d=new Date();
var gmtstring = d.toGMTString();
var stringlist = gmtstring.split(" ");
var month=stringlist[2];
var year = stringlist[3];
var start = "<a href='";
var end = "' style='text-decoration: none'>";
month=month.toLowerCase();
document.write(start+month+year+".html"+end); 
}
<!-- end hiding script contents -->

function topMenu() {
var newLine =  "<a href='index.html'>Home Page</a> &nbsp;|&nbsp;";
    newLine += "<a href='AboutUs.html'>About Us</a>  &nbsp;|&nbsp;";
    newLine += "<a href='AboutUs.html#ContactUs'>Contact Us</a> &nbsp;|&nbsp;";
    newLine += "<a href='FindUs.html'>How to Find Us</a> &nbsp;|&nbsp;";
    newLine += "<a href='Companies.html'>Companies</a> &nbsp;|&nbsp;";
    newLine += "<a href='Faq.html'>FAQs</a> &nbsp;|&nbsp;";
    newLine += "<a href='Resources.html'>Resources</a><br>";
    document.write(newLine);
 }
 
 function sideMenu() {
 var newLine =  "<a href='index.html'>Home</a><br style='line-height:10px;'>";
     newLine += "<a href='AboutUs.html'>About Us</a><br style='line-height:10px;'>";
     newLine += "<a href='AboutUs.html#ContactUs'>Contact Us</a><br style='line-height:10px;'>";
     newLine += "<a href='FindUs.html'>How to Find Us</a><br style='line-height:10px;'>";
     newLine += "<a href='Companies.html'>Companies</a><br style='line-height:10px;'>";
     newLine += "<a href='Faq.html'>FAQs</a><br style='line-height:10px;'>";
     newLine +=  "<a Href='business.html'>Business </a><br style='line-height:10px;'>";
     newLine += "<a Href='auto.html'>Auto         </a><br style='line-height:10px;'>";
     newLine += "<a Href='home.html'>Home         </a><br style='line-height:10px;'>";
     newLine += "<a Href='life.html'>Life         </a><br style='line-height:10px;'>";
     newLine += "<a Href='investment.html'>Investments </a><br style='line-height:10px;'>";
     newLine += "<a Href='retirement.html'>Retirement  </a><br style='line-height:10px;'>";
     newLine += "<a Href='boat.html'>Watercraft        </a><br style='line-height:10px;'>";
     document.write(newLine);
 }
 
 
 function today()
 {
    MonthName = new Array(12);
    MonthName[0] = "January";
    MonthName[1] = "February";
    MonthName[2] = "March";
    MonthName[3] = "April";
    MonthName[4] = "May";
    MonthName[5] = "June";
    MonthName[6] = "July";
    MonthName[7] = "August";
    MonthName[8] = "September";
    MonthName[9] = "October";
    MonthName[10] = "November";
    MonthName[11] = "December";
    
    WeekdayName = new Array(7);
    WeekdayName[0] = "Sunday";
    WeekdayName[1] = "Monday";
    WeekdayName[2] = "Tuesday";
    WeekdayName[3] = "Wednesday";
    WeekdayName[4] = "Thursday";
    WeekdayName[5] = "Friday";
    WeekdayName[6] = "Saturday";
 
     today = new Date();
     curMonth = today.getMonth();
     curDay = today.getDate();
     curYear = today.getYear();
     if(curYear < 2000) { curYear = curYear + 1900; }
     curWeekday = today.getDay();
 
     document.write(WeekdayName[curWeekday]+'&nbsp;'+MonthName[curMonth]+'&nbsp;');
     document.write(curDay+',&nbsp;'+curYear);
 }
 
 function GetQuoteUrl(s) {
    if (s=="Auto") {
        sUrl = "http://ronelassoc.ConsumerRateQuotes.com/consumer/default.aspx";
        win=window.open(sUrl,"Quote","toolbar=no,scrollbars=yes,status=yes,resizable=yes,width=1000,Height=600");
        if (!win.opener)win.opener=self;
        if (win.focus)win.focus();   
    } else {
       sPath = "https://commercehps.com/sitesshared/quote/frm";
       sExt = ".asp?Email=insure@ronel.com&SiteId=062000-C&CtrlRecord=3210";
       sUrl = sPath + s + sExt; 
       win=window.open(sUrl,"Quote","toolbar=no,scrollbars=yes,status=yes,resizable=yes,width=575,Height=600");
       if (!win.opener)win.opener=self;
       if (win.focus)win.focus();
   }
 }
 
 function GetQuote(theform) {
    num=theform.selTopic.selectedIndex;
    s = theform.selTopic.options[num].value;
 
    periodPos = s.indexOf(".");
 
    if (periodPos != -1){
       sPath = "https://commercehps.com/sitesshared/quote/";
       sUrl = sPath + s;
    }
 
    if (periodPos == -1){
       sPath = "https://commercehps.com/sitesshared/quote/frm";
       sExt = ".asp?Email=insure@ronel.com&SiteId=062000-C&CtrlRecord=3210";
       sUrl = sPath + s + sExt;
    }
 
    if (s=="00") {
       alert("Please select a destination on the site navigator");
       return;
    }
 
    if (num > 0) {
       win=window.open(sUrl,"Quote","toolbar=no,scrollbars=yes,status=yes,resizable=yes,width=575,Height=600");
       if (!win.opener)win.opener=self;
       if (win.focus)win.focus();
    }
 }
 
 function GetQuote2(theform) {
    num=theform.selTopic.selectedIndex;
    s = theform.selTopic.options[num].value;
 
    periodPos = s.indexOf(".");
 
    if (periodPos != -1){
       sPath = "";
       sUrl = sPath + s;
    }
 
    if (periodPos == -1){
       sPath = "";
       sExt = "";
       sUrl = sPath + s + sExt;
    }
 
    if (s=="00") {
       alert("Please select a destination on the site navigator");
       return;
    }
 
    if (num > 0) {
       win=window.open(sUrl,"Quote","toolbar=no,scrollbars=yes,resizable=yes,width=750,Height=600");
       if (!win.opener)win.opener=self;
       if (win.focus)win.focus();
    }
 }

