ï»? function addBookmark(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(''+title, ''+url,"");
} else if( document.all ) {
window.external.AddFavorite(''+url, ''+title);
} else if( window.opera && window.print ) {
return true;
}
}
function changeTabs(n){
$("#tab"+n).addClass("sel");
}
function classOpen(n){
if($("img",$("#Class_"+n)).attr("src").indexOf("_-")!=-1)
{
$("img",$("#Class_"+n)).attr("src","../../images/shop/new_shop_2010/icon_+.jpg");
}
else
{
$("img",$("#Class_"+n)).attr("src","../../images/shop/new_shop_2010/icon_-.jpg");
}
$('[id^=Class_'+n+'_]').toggle();
}
$(document).ready(function(){
$('.search_radio').click(function(){
if($(this)[0].id=='search_ic'){
$('form#frm_searchLeft').attr({
action:shop_site+'?id=33&menuindex=17&stype=search'
})
}else{
$('form#frm_searchLeft').attr({
action:shop_site+'?id=33&menuindex=12&stype=search'
})
}
});
$('form#frm_searchLeft').submit(function(){
var __l = $.trim($('#q', $('#frm_searchLeft')).val()).replace(/[\u4e00-\u9fa5]/g,'aa').length;
if($('#search_ic')[0].checked && __l<4){
alert('输入æœçƒ¦å†…容ä¸å¾—ž®äºŽ4个嗽W¦ã€?);
return false;
}else if($('#search_nic')[0].checked && __l<3){
alert('输入æœçƒ¦å†…容ä¸å¾—ž®äºŽ3个嗽W¦ã€?);
return false;
}
});
$('.btn_search').click(function(){
var d = (typeof $('demand').val() != "undefined") ? $('demand').val() : 0;
$('#frm_corp_search').attr({'action':shop_site+'?id=33&menuindex=7&demand='+d})
$('#frm_corp_search').submit();
});
$('#srch_type').change(function(){
if($(this).val()==1){
$('#q').val('误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„ICåž‹å·').css({'color':'#A1A1A1'});
}else{
$('#q').val('误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„产å“å称或型å?).css({'color':'#A1A1A1'});
}
});
$('#q').focus(function(){
if($(this).val()=='误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„ICåž‹å·' && $('#srch_type').val()==1){
$('#q').val('').css({'color':'#000'});
}else if($(this).val()=='误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„产å“å称或型å? && $('#srch_type').val()==2){
$('#q').val('').css({'color':'#000'});
}
});
$('form[name="frm_corp_search"]').submit(function(){
var v = $('#q', $(this)).val() || "";
var vl = v.replace(/[\u4e00-\u9fa5]/g,"aa").length;
if($('#srch_type').val()==1 && $('#q').val() == '误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„ICåž‹å·'){
alert('误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„产å“!');
return false;
}else if($('#srch_type').val()==2 && $('#q').val() == '误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„产å“å称或型å?){
alert('误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„产å“!');
return false;
}else if(vl<1){
alert('误‚¾“å…¥æ‚¨è¦æŸ¥æ‰„¡š„产å“!');
return false;
}else if(vl<2 && $('#srch_type').val()==2){
alert('误‚¾“入至ž®?个嗽W?');
return false;
}else if(vl<4 && $('#srch_type').val()==1){
alert('误‚¾“入至ž®?个嗽W?');
return false;
}
});
});
function showloginpop(str){
var browserName=navigator.userAgent.toLowerCase();
$("body").append("
"+
"
"+
"
"+
"
"+
"æˆ‘è¦æŠ•ç¥¨
"+
"
")
$("#bgloginpop").show()
$("#bgloginpop").width($("body").width())
$("#bgloginpop").height($("body").height())
if(/chrome/i.test(browserName) && /webkit/i.test(browserName) && /mozilla/i.test(browserName)){
$("#loginpop").css({"top":(document.documentElement.clientHeight-$("#loginpop").height())/2+document.body.scrollTop,"left":($("body").width()/2-$("#loginpop").width()/2)+"px"})
}
else
{
$("#loginpop").css({"top":(document.documentElement.clientHeight-$("#loginpop").height())/2+document.documentElement.scrollTop,"left":($("body").width()/2-$("#loginpop").width()/2)+"px"})
}
}
function closeloginpop(){
$("#loginpop").remove();
if(typeof s=='undefined')
$('#bgloginpop').hide();
}
function closeloginpop2(){
$("#loginpop").remove();
if(typeof s=='undefined')
$('#bgloginpop').show();
}
function showcjpop(s, sjt){
if(sjt) str = '商机�00 626 5285,
邀请好�q?0分钟';
else str = '商机�00 626 5285,详情查看';
var browserName=navigator.userAgent.toLowerCase();
if(s == 3){
$('#cjpoptext').html('您今天已å¯ÒŽ¤å…¬å¸æŠ•è¿‡¼œ¨ï¼Œæ„Ÿè°¢æ‚¨çš„å‚与åQ?br>' + str);
$('#cjpopvote').hide();
}
else if(s == 2){
$('#cjpoptext').html('投票æˆåŠŸåQŒæ„Ÿè°¢æ‚¨çš„å‚与ï¼
' + str);
$('#cjpopvote').hide();
}else if(s == 1){
$('#cjpoptext').html('投票æˆåŠŸåQŒæ„Ÿè°¢æ‚¨çš„å‚与ï¼
' + str);
$('#cjpopvote').show();
}
else {
$('#cjpoptext').html('您好åQ您的è̎寂¿˜æœªé€šè¿‡å®¡æ ¸,
详情误‚”¾p?00 626 5285 è½?18,
' + str);
$('#cjpopvote').hide();
}
$("#startcj").show();
$("#bgloginpop").show();
$("#bgloginpop").width($("body").width())
$("#bgloginpop").height($("body").height())
if(/chrome/i.test(browserName) && /webkit/i.test(browserName) && /mozilla/i.test(browserName)){
$("#startcj").css({"top":(document.documentElement.clientHeight-$("#startcj").height())/2+document.body.scrollTop,"left":($("body").width()/2-$("#startcj").width()/2)+"px"})
}
else
{
$("#startcj").css({"top":(document.documentElement.clientHeight-$("#startcj").height())/2+document.documentElement.scrollTop,"left":($("body").width()/2-$("#startcj").width()/2)+"px"})
}
}
function closecjpop(s){
$("#startcj").hide();
$('#bgloginpop').hide();
location.reload();
}
function clear(v){
$("#bgblack").remove();
$("#popwindow").remove();
if(v==1){
$('#btn_search').focus().select();
}
}
$(function(){
$('#btn_startv').click(function(){
$.get('/zt/pingxuan.php?action=login&mod=qiang&'+Math.random()*1000,function(ret){
ret = $.trim(ret);
if(ret){
alert('æå–œæ‚¨ï¼Œä¸äº†'+ret+'åQŒ\n抽奖所得奖å“客æœäh员将于æ¯å‘¨äº”¾lŸä¸€ä¸ºæ‚¨å‘放åQŒ\n敬请期待åQ?);
}else{
alert('谢谢您的å‚与åQŒæ˜Žå¤©ç‘ô¾l努力å§åQŒå¤§å¥–ç‰æ‚¨æ‹¿å“¦ï¼');
}
closecjpop();
});
});
});
function closeyqpop() {
location.reload();
}
function showsjt() {
var url = '/member/adPhoneInvite.do';
$("#startcj").hide();
$("body").append("");
} 国产高清亚洲精品26u|国产亚洲Aⅴ在线电影91|亚洲日韩av中文字幕|亚洲午夜无码片在线观看影