
<!-- Copyright 2003, Sandeep Gangadharan -->
<!-- For more free scripts go to http://sivamdesign.com/scripts/ -->
<!--
var y1 = 20;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt() {
  if (dom) {document.getElementById("tellafriend").style.visibility='hidden';}
}

function showIt() {
  if (dom) {document.getElementById("tellafriend").style.visibility='visible';}
}

function placeIt() {
  if (dom && !document.all) {document.getElementById("tellafriend").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1)) + "px";}
  if (document.all) {document.all["tellafriend"].style.top = document.documentElement.scrollTop + (document.documentElement.clientHeight - (document.documentElement.clientHeight-y1)) + "px";}
  window.setTimeout("placeIt()", 10); }
// -->

<!--

function reset() {
document.tellafriend.name.value="";
document.tellafriend.email.value="";
document.tellafriend.friendmail1.value="";
document.tellafriend.friendmail2.value="";
document.tellafriend.friendmail3.value="";
}

function validate() {


if (document.tellafriend.friendmail1.value.length==0) {
alert("Please enter your friend's email address");
return false;
}

if (document.tellafriend.email.value.length==0) {
alert("Please enter your email address");
return false;
}
if (document.tellafriend.name.value.length==0) {
alert("Please enter your name");
return false;
}

document.tellafriend.submit()
return true;
}

//-->
