function addToWishList(productCode,sitePath)
{
		
		var productCode=productCode;
		var sitePath=sitePath;
	//alert("addToWishList--> "+sitePath);
	
	
	$.post(sitePath+"addproducttowishlist.htm",{
			productCode:productCode
	},
									function(data)
									{
									
										eval(data);
										if(obj.user == "no")
										{
											 alert("Kinldy log in to access this functionality!");
											 return false;
										}
										if(obj.productexist=="yes")
										{
											 alert("This product already exist in wishList!");
											 return false;
										}
										
										if(confirm("Product added! Would you like to see this product in wishlist?")){
											//document.frmProduct.action=sitePath+"wishlist.htm";
											//document.frmProduct.submit();
											
											document.location.href=sitePath+"wishlist.htm";
										}
									},
									"html" );
}