//This is used to toggle the slide display of the Send-to-a-Friend Form $(document).ready(function() { $("h5.SendFriend a").click(function () { $("#SendToAFriend:visible").slideUp(); $("#SendToAFriend:hidden").slideDown(); }); $("#SendToAFriend a.Close").click(function () { $("#SendToAFriend:visible").slideUp(); }); }); // This is used to clear the comment/send to friend forms. function clickclear(thisfield, defaulttext) { if (thisfield.value == defaulttext) { thisfield.value = ""; } } // This is used to clear the comment/send to friend forms. function clickrecall(thisfield, defaulttext) { if (thisfield.value == "") { thisfield.value = defaulttext; } } // This is used to make custom check images in the place of radio buttons function ToggleBG(Container,ElemID,ElemTag,CheckboxID){ var Labels = document.getElementById(Container).getElementsByTagName(ElemTag); for(i=0; i