<!--

function checkFieldsml() {
	missinginfo = "";
	if ((document.mlist.mlistemail.value == "") ||
	(document.mlist.mlistemail.value.indexOf('@') == -1) ||
	(document.mlist.mlistemail.value.indexOf('.') == -1)) {
		missinginfo += "\n- Email Address (ie: jane@aol.com)";
	}
	if (missinginfo != "") {
		missinginfo = "________________________________\n" +
		"You did not fill in your:\n" +
		missinginfo + "\n________________________________" +
		"\nPlease re-enter and submit again!";
		alert(missinginfo);
		return false;
	}
	else {
		return true;
	}
}

function setBookmark(url, str){
	if(str == '') {
		str = url;
	}
	if (document.all) {
		window.external.AddFavorite(url, str);
	}
	else { 
		alert('Press CTRL and D to add a bookmark to:\n"'+url+'".');
	}
}

/////////////////////////////////////////////////////
function send_to_checkout(d){  //checks to see if checkbox 'giftcheck' is checked, appends a get variable and redirects
	var checker_guy = document.getElementById('giftcheck');
	var isGift = checker_guy.checked;
	//////////////
	if(isGift == true){
		var t=setTimeout("window.location = 'https://www.fusionbeads.com/checkout/checkout.php?gift=true';",0001);
	}else{
		var t=setTimeout("window.location = 'https://www.fusionbeads.com/checkout/checkout.php?gift=false';",0001);
	}
	
	//var final="https://"+d+"/checkout/checkout.php"+tail;
}	//end function	
/////////////////////////////////////////////////////


/*
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="Function Disabled!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
//alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
//alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("return false")
*/
// -->