// JavaScript Document

<!-- 
	 var urlAddress = "http://www.gninsurance.com";
	 var pageName = "Good Neighbor Insurance - International Health and Life Insurance";
	
	 function addToFavorites()
	 {
	  if (window.external)
	  {
	   window.external.AddFavorite(urlAddress,pageName)
	  }
	  else
	  { 
	   alert("Sorry! Your browser doesn't support this function. Press CTRL-D (Firefox) or CTRL-T (Opera) to bookmark page.");
	  }
	 }
	 
function cc()
{
 /* check for a cookie */
  if (document.cookie == "") 
  {
    /* if a cookie is not found - alert user -
     change cookieexists field value to false */
    alert("COOKIES need to be enabled before using this contact form!");

    /* If the user has Cookies disabled an alert will let him know 
        that cookies need to be enabled to log on.*/ 

    document.Form1.cookieexists.value ="false"  
  } else {
   /* this sets the value to true and nothing else will happen,
       the user will be able to log on*/
    document.Form1.cookieexists.value ="true"
  }
}

/* Set a cookie to be sure that one exists.
   Note that this is outside the function*/
document.cookie = 'killme' + escape('nothing')


/* Drop Down Menu - update with superfish 11-10-09 */

/*sfHover = function() {
	var sfEls = document.getElementById("nav_03").getElementsByTagName("DIV");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);*/

// Kill a link without using anchor

function aFunction()
{
	// code here...
}

// -->