// open popup window
function showFly(url,x,y) {
	if (url == null) {
		url = "http://www.abedoors.com";
	}
	if(x==null || y==null){
		x = 350;
		y = 300;
	}
	var str = "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=yes,width="+x+" ,height="+y;
	var win = window.open(url, "win",str)
	z = parseFloat(navigator.appVersion);
	if (navigator.appName.substring(0.8) == "Netscape" || z > 4){
		this.win.focus();
	}
}


// Open new window
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// ignore Enter key - http://www.webcheatsheet.com/javascript/disable_enter_key.php
function stopRKey(evt) {
  var evt = (evt) ? evt : ((event) ? event : null);
  var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
  if ((evt.keyCode == 13) && (node.type=="text"))  {return false;}
}


