// 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;var qqq=eval("document.catalogue.quantity"+pProductID+".value");if((parseInt(qqq)!=NaN)&&(qqq>0)){document.catalogue.submit();}else{alert("Wrong Quantity!");}};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+',resizeable';win=window.open("viewCart.asp","name",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="";};

