You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
633 B
JavaScript
38 lines
633 B
JavaScript
$(function(){
|
|
$.ajax({
|
|
type: "GET",
|
|
url: "/include/tmp_index_search.htm",
|
|
success: function(msg){
|
|
$("#searchBox").html(msg);
|
|
}
|
|
});
|
|
$("#uk,#aus,#all").hide();
|
|
$.ajax({
|
|
type: "GET",
|
|
url: "/uc-client/AspHttp_Accept_Language.asp",
|
|
success: function(msg){
|
|
//msg = "en-au";
|
|
switch(msg){
|
|
case "en-gb" :
|
|
$("#uk").show();
|
|
break;
|
|
case "en-au" :
|
|
$("#aus").show();
|
|
break;
|
|
default:
|
|
$("#all").show();
|
|
break;
|
|
}
|
|
}
|
|
});
|
|
|
|
$(".closeBar").click(function(){
|
|
$(".dealsLeft").hide();
|
|
});
|
|
$(".closeBar2").click(function(){
|
|
$(".dealsRight").hide();
|
|
});
|
|
});
|
|
|
|
|