// DO NOT EDIT THIS FILE
function sortColumn(pSortField,pSortOrder){document.catalogue.sortfield.value=pSortField;document.catalogue.sortorder.value=pSortOrder;document.catalogue.submit();};
function pageTo(pPageNumber){document.catalogue.pagenumber.value=pPageNumber;document.catalogue.submit();};
function addToCart(pProductID){document.catalogue.pid.value = pProductID;document.catalogue.submit();}
var win = null;
function viewCart(w,h,scroll){LeftPosition = (screen.width)?(screen.width - w)/2 : 0;TopPosition = (screen.height)?(screen.height - h)/2 : 0;settings = 'height = ' + h + ',width=' + w + ',top = ' + TopPosition + ',left = ' + LeftPosition + ',scrollbars = ' + scroll + ',resizable, location, status';win = window.open("viewCart.asp","ViewCart",settings);}
function newWindow(mypage,myname,w,h,scroll,st,res){LeftPosition=(screen.width)?(screen.width-w)/2:0;TopPosition=(screen.height)?(screen.height-h)/2:0;settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars'+scroll+',status'+st+',resizable'+res+'';win=window.open(mypage,myname,settings);};
function clearfield(){if(document.search.keyword.value=="Keyword Search")document.search.keyword.value="";};
