// Function to check cookise is enable/not. 
// ==========================================
function cc()
{
 /* check for a cookie */
  if (document.cookie == "") 
  {
    /* if a cookie is not found - alert user -
     change cookieexists field value to false 
	 document.location.href='http://www.religiousjewelryshop.com/enablecookies.cfm';*/
    alert("COOKIES need to be enabled for our website to function properly. Please click 'OK' to read how to enable cookies in your browser. Thank you.");
	
	document.location.href="/enablecookies.cfm";
	/* 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"

  }
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function boxpop()
{	window.alert('This item has been added to your basket for later review');
}

 function submitFunction(i) {
    if (i==1) document.theForm.action=
       "/basket1.cfm";
    if (i==2) document.theForm.action=
       "#cgi.SCRIPT_NAME#";
    document.theForm.submit()
    }

