<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// --> 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function change_qty(ob,pr)
{
	var val;
	var txt;
	val=ob.options[ob.selectedIndex].value;
	if(val=="6")
	{
		txt='<input type="hidden" name="price" value="85.00">';
		document.getElementById(pr).innerHTML="$ 85.00 / Half Dozen"+txt;
	}
	if(val=="12")
	{
		txt='<input type="hidden" name="price" value="170.00">';
		document.getElementById(pr).innerHTML="$ 170.00 / Dozen"+txt;
	}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_setTextOfTextfield(objName,x,newText) { //v3.0
  var obj = MM_findObj(objName); if (obj) obj.value = newText;
}
function fchkfrm(){
if (document.form6.email.value == "")
	{
	
		alert("The Email ID field is blank.\nPlease enter your Email ID.")
		document.form6.email.focus();
		//return false;
	}
	else if(document.form6.email.value!="")
	{
				var str=document.form6.email.value;
				var reg1 = /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/; // not valid
				var reg2 = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/; // valid
				if (!(!reg1.test(str) && reg2.test(str))) 
					{
						alert("The Email field  contains invalid character.\nPlease re-enter your Email.");
						document.form6.email.focus();
						//return(false);
					}
					else
					{
						window.open('signup.php?email='+document.form6.email.value,'','width=505,height=120');
						
					}
	}
	
}

function delete_order()
{
var con=confirm('Are you sure you want to delete this order?');
if(con)
  return true;
else
  return false; 
}
function delete_member()
{
var con=confirm('Are you sure you want to delete this member?');
if(con)
  return true;
else
  return false; 
}