function clr(x) {
  document.getElementById(x).value=""
}
function rstr(x,txt) {
  if (document.getElementById(x).value == "") {
    document.getElementById(x).value=txt
  }
}
function change_image(img)
{
 document.getElementById('main_image').src=img;
}

function change_img(img, id)
{
 document.getElementById(id).src=img;
}

<!--
function showdesc()
{
  var saleDescription = document.getElementById('desc_text');
  var saleStats = document.getElementById('specs_text');
  var Desc_color = document.getElementById('today');
  var specs_color = document.getElementById('specs');
  saleDescription.style.display = "block";
  saleStats.style.display = "none";
  Desc_color.style.color="#FBCF30";
  specs_color.style.color="#FFFFFF";
  document.getElementById('desc_img').src = "images/img/b_todayscatch_a.gif";
  document.getElementById('spec_img').src = "images/img/b_productspecs.gif";
}

function showspecs()
{
  var saleDescription = document.getElementById('desc_text');
  var saleStats = document.getElementById('specs_text');
  var Desc_color = document.getElementById('today');
  var specs_color = document.getElementById('specs');
  saleDescription.style.display = "none";
  saleStats.style.display = "block";
  Desc_color.style.color="#FFFFFF";
  specs_color.style.color="#FBCF30";
  document.getElementById('desc_img').src = "images/img/b_todayscatch.gif";
  document.getElementById('spec_img').src = "images/img/b_productspecs_a.gif";
}

function showsmallfishdesc()
{
  var saleDescription = document.getElementById('desc_text');
  var saleStats = document.getElementById('specs_text');
  var Desc_color = document.getElementById('smallfish');
  var specs_color = document.getElementById('specs');
  saleDescription.style.display = "block";
  saleStats.style.display = "none";
  Desc_color.style.color="#FBCF30";
  specs_color.style.color="#FFFFFF";
  document.getElementById('desc_img').src = "images/img/b_desc_a.gif";
  document.getElementById('spec_img').src = "images/img/b_productspecs.gif";
}

function showsmallfishspecs()
{
  var saleDescription = document.getElementById('desc_text');
  var saleStats = document.getElementById('specs_text');
  var Desc_color = document.getElementById('smallfish');
  var specs_color = document.getElementById('specs');
  saleDescription.style.display = "none";
  saleStats.style.display = "block";
  Desc_color.style.color="#FFFFFF";
  specs_color.style.color="#FBCF30";
  document.getElementById('desc_img').src = "images/img/b_desc.gif";
  document.getElementById('spec_img').src = "images/img/b_productspecs_a.gif";
}

function showgoldfishdesc()
{
  var saleDescription = document.getElementById('desc_text');
  var saleStats = document.getElementById('specs_text');
  var Desc_color = document.getElementById('goldfish');
  var specs_color = document.getElementById('specs');
  saleDescription.style.display = "block";
  saleStats.style.display = "none";
  Desc_color.style.color="#FBCF30";
  specs_color.style.color="#FFFFFF";
  document.getElementById('desc_img').src = "images/img/b_desc_a_gold.gif";
  document.getElementById('spec_img').src = "images/img/b_productspecs_gold.gif";
}

function showgoldfishspecs()
{
  var saleDescription = document.getElementById('desc_text');
  var saleStats = document.getElementById('specs_text');
  var Desc_color = document.getElementById('goldfish');
  var specs_color = document.getElementById('specs');
  saleDescription.style.display = "none";
  saleStats.style.display = "block";
  Desc_color.style.color="#FFFFFF";
  specs_color.style.color="#FBCF30";
  document.getElementById('desc_img').src = "images/img/b_desc_gold.gif";
  document.getElementById('spec_img').src = "images/img/b_productspecs_a_gold.gif";
}

function popupWindow(url) {
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=450,height=350,screenX=150,screenY=150,top=150,left=150')
}

function rowOverEffect(object) {
  if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}

function rowOutEffect(object) {
  if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}

function sfscroll() {
  try{
    document.getElementById("scrollnext").click();
    return;
  }catch(e){}
  try{
    var evt = document.createEvent("MouseEvents");
    evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
    document.getElementById("scrollnext").dispatchEvent(evt);
    return;
  }catch(e){}
}
-->

