function flashfix(o){document.write(o)} 
function openNewWindow(URLtoOpen, windowName, windowFeatures)
    {newWindow=window.open(URLtoOpen, windowName, windowFeatures);}
function NewWindow(mid, awid)
{
    url="http://www.awin1.com/pclick.php?p="
    url = url + awid                                               
    url = url + "&a=77300&m="
    url = url + mid
    name = ""
    features = ""
    openNewWindow(url, name, features);
}
function submitlimitform(newlimit)                     
{
  var m = document.createElement('input'); // create an element to pass page number
  m.setAttribute('type', 'hidden');        // set the input type to hidden
  m.setAttribute('name', 'recordlimit');   // set the name 
  m.setAttribute('value', newlimit);       // set the value
  document.limitform.appendChild(m);       // append the input element to the form 
  document.limitform.submit();
}
function submitpageform(newpage)
{
  var m = document.createElement('input'); // create an element to pass pagelimit
  m.setAttribute('type', 'hidden');        // set the input type to hidden
  m.setAttribute('name', 'pagenumber');   // set the name 
  m.setAttribute('value', newpage);       // set the value
  document.pageform.appendChild(m);       // append the input element to the form 
  document.pageform.submit();
}                                                           
