// "Send to a Friend" Popup Script * * * * * * * * * * */
function Send() {
  popupEmailWin = window.open('emailfriend.php', 'send', 'scrollbars=auto,width=500,height=540,left=380,top=50,noresize');
}

function StartFlashDemo(URL) {
      // if resolution is higher than 1024 go top fixed size popup, otherwise go to fullscreen
    if (screen.availWidth > 1024) {
    var nXpos = (screen.availWidth - 1024) / 2;
    var nYpos = (screen.availHeight - 718) / 2;
    var statusPopupMap = window.open(URL,'popupWin','resizable=no,top=' + nYpos + ',left=' + nXpos + ',screenY=' + nYpos + ',screenX=' + nXpos + ',height=718,width=1021');
    } else {
		var statusPopupMap = window.open(URL,'popupWin','resizable=no,scrollbar=no,status=no,top=0,left=0,screenY=0,screenX=0,height=710,width=1020');
    }
	window.location.href="/products/free-trial/emailfriend.php";
}

function overTab(idO,out) {
	var oLink = document.getElementById(idO);
	oLI = oLink.parentNode;		// get link's parent (li)
  if (oLI.className != "liActive") {
	  if (out == 'out') {	oLI.className = "";	}
		else {
		  oLI.className = "liOver";
		  oLink.title="Clcik to see more";
		}
	}
	else {	oLink.title="";	}
	return;
}

function resetForm() {
	for(i=0;i<=12;i++) {
		document.getElementById('field[' + i + ']').value = "";
		document.getElementById('field[' + i + ']').checked = false;
	}
}