// 2020skincare.com

function CheckSS (formName) {
	var theFrm = document[formName];
	hasDot = theFrm.Email.value.indexOf(".");
	hasAt = theFrm.Email.value.indexOf("@");
	if (hasDot == -1 || hasAt == -1) {
		alert("Please enter a valid email address.");
		theFrm.Email.focus();
		theFrm.Email.select();
		return false;
 	}
	return true;
}

/***********************************************
* Bookmark site script- � Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
function bookmarksite (title, url) {
	if (document.all) {
		window.external.AddFavorite(url, title);
	} else if (window.sidebar) {
		window.sidebar.addPanel(title, url, '');
	}
}

function createBookmark (title, url) {
	if (window.sidebar) {							// Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if ( window.external ) {					// IE Favorite
		window.external.AddFavorite( url, title);
	} else if (window.opera && window.print) {		// Opera Hotlist
		return true;
	}
}

function popUp (url) {
	window.open(url,"pop","width=650,height=500,toolbars=0,scrollbars=1");
}
