<!--
var cookieenabled = getCookie("ycaCheckout");
var clicked = false
var ns4 = ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) ? true : false;
if(ns4){
	window.captureEvents(Event.CLICK);
	window.onclick = function(){clicked = true};
}else{
	document.onclick = function(){clicked = true};
}

function goodbye(){
	if(clicked==false && cookieenabled!="true"){//
//		window.open ('http://192.168.0.3:1126/pop1.htm','Enter','width=600,height=300');
//		window.open ('http://yca.edistrict-private.com/pop1.htm','Enter','width=572,height=300');
		window.open ('http://stage.yourcreditattorney.com/pop1.htm','Enter','width=572,height=300');
//		window.open ('http://192.168.0.3:1126/pop2.htm','Enter','width=300,height=450');
//		window.open ('http://192.168.0.3:1126/pop3.htm','Enter','width=600,height=300');
		// very important: always use an absolute URL.  Breaks in netscape if left out
	}
}

function getCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}
//-->
