function renewCode(){
	var myRandom = parseInt(Math.random()*99999999);
	$('#c_security_img').attr( 'src', 'security/random.php?what=contact&renew=true&rand=' + myRandom );
}

function setText(a, b)
  {
    x = document.getElementById(a);
    if (x)
      x.innerHTML = b.options[b.selectedIndex].innerHTML;
  }
function validateForm(){
    var x=document.forms["tellFriend"]["sec_field"].value;
   if(x=="" || x==0 || x=="Enter security code>>") {
     alert("fill in security code");
     return false;
   }
   else{
       return true;
   }
}
function movepic(img_name,img_src) {
document[img_name].src=img_src;
}

     

