




	function SearchQ() {
		var StringQ;
		if (document.getElementById("SearchQstr").value=="") {
		alert ("Please Enter Sesarch term");
		}
		else {
		StringQ = "./display.asp?q=" + document.getElementById("SearchQstr").value + "&amp;title=Search";
		window.location.href=StringQ;
		
		};
	}
	
	function LogAction(dest,orig)
	{
		
		var co = RSExecute("../scripts/LogactionV1.asp","LogAction",dest,orig);
		
	}
	
	function Score(productID,Inc,val)
	{
	
	var d ;
	
	if (Inc == 'p'){
	 
	 d=parseInt(val)+1 ;
	 var scp = RSExecute("../scripts/LogactionV1.asp","Score",productID,d.toString());
	 
	 }else{
	
	 d=parseInt(val)-1;
	 var scd = RSExecute("../scripts/LogactionV1.asp","Score",productID,d.toString());
	
	 };
	 alert("Thank You for Voting")
	 window.location.reload();
	 }
	
	
	
	
	function myCallBack(co)
	{
		alert("CALLBACK\n\n" +
				"status = " + co.status + "\n\n" +
				"message = " + co.message + "\n\n" +
				"context = " + co.context + "\n\n" +
				"data = " + co.data + "\n\n" +
				"return_value = " + co.return_value);
	} 