function ajax_tracking_sku_view(site_path,req_type,req_destination,prod_sku){var target_url=site_path+'/tracking';$=jQuery.noConflict();document.getElementById("ajax_loading_div").style.display="block";$('#ajax_loading_div').html('<p><img src="../../../images/ajx_loading9.gif" alt="Loading...." /></p>');$.ajax({type:"POST",url:target_url,data:"req_type="+req_type+"&product_sku_id="+prod_sku,success:function(msg){window.location.href=req_destination;}});}
function ajax_tracking_sku_impressions(site_path,req_type,req_destination,prod_sku,search_track_id){var target_url=site_path+'/tracking';$=jQuery.noConflict();document.getElementById("ajax_loading_div").style.display="block";$('#ajax_loading_div').html('<p><img src="../../../images/ajx_loading9.gif" alt="Loading...." /></p>');$.ajax({type:"POST",url:target_url,data:"req_type="+req_type+"&product_sku_id="+prod_sku+"&search_track_id="+search_track_id,success:function(msg){window.location.href=req_destination;}});}
function ajax_tracking_search_results(site_path,req_type,req_destination,cat_l1_id,cat_l2_id,strkeywords,price_filter,result_count){var target_url=site_path+'/tracking';$=jQuery.noConflict();$.ajax({type:"POST",url:target_url,data:"req_type="+req_type+"&cat_l1_id="+cat_l1_id+"&cat_l2_id="+cat_l2_id+"&strkeywords="+strkeywords,success:function(msg){window.location.href=req_destination;}});}
function ajax_product_search_view(site_path,prod_sku,prod_sku1){var target_url=site_path+'/search';$=jQuery.noConflict();$.ajax({type:"POST",url:target_url,data:"&hidprice="+prod_sku+"&hidprice1="+prod_sku1,success:function(msg){window.location.href=target_url;}});}
function ajax_product_search_price_view(id){ /*prices=id.split(",");var prod_sku=prices[0];var prod_sku1=prices[1];*/ var site_path=document.getElementById("sitepath").value;var start_at=document.getElementById("start_at").value;var end_at=document.getElementById("end_at").value;var pagin_current_page=document.getElementById("pagin_current_page").value;var target_url=site_path+'/search';$=jQuery.noConflict();$.ajax({type:"POST",url:target_url,data:"&hid_pricepointid="+id+"&start_at="+start_at+"&end_at="+end_at+"&pagin_current_page=1",success:function(msg){ window.location.href=target_url;}});}
function ajax_level2_search_price_view(id){ /*prices=id.split(",");var price_start=prices[0];var price_end=prices[1]; document.getElementById("hid_price_start").value=price_start; document.getElementById("hid_price_end").value=price_end; */ document.getElementById("pagin_current_page").value=1; document.getElementById("hid_pricepointid").value=id;document.getElementById("start_at").value=1;document.getElementById("end_at").value=20;  document.pagin_form.submit();}
