Oldiblog

Fermer
  Créer son blog KaZeo     Rap et RnB     Communauté Ados     Créer un blog gratuit Jeudi 26 novembre 2009   Ste Delphine  
Le monde en prose 
 
Page 1 2 3  

puce Sommaire des articles de cette rubrique

   

puce 123klan (le 15/11/2009 à 15h49)

var b1 = _ge('headersearchbutton1'); b1.parentNode.removeChild(b1); _ge('search_header_form_td').style.paddingBottom = '2px'; _ge('candy_search_button_bar').style.display = 'block'; var f = _ge('headersearchform'); if (f.q.value == 'Rechercher dans la galerie de photos de kingscien') f.q.style.color = '#999'; f.q.onfocus = function() { if (this.value == 'Rechercher dans la galerie de photos de kingscien') this.value = ''; this.style.color = '#222'; if (window.ymap) ymap._disableKeys = true; } f.q.onblur = function() { if (this.value != '') return; this.style.color = '#999'; this.value = 'Rechercher dans la galerie de photos de kingscien'; if (window.ymap) ymap._disableKeys = false; } var _do_header_search = function(w, m, action, s, mt) { var f = _ge('headersearchform'); if (f.q.value == 'Rechercher dans la galerie de photos de kingscien') f.q.value = ''; f.q.value = f.q.value.trim(); // do location search if the location search window is open, or if w == 'location' if (w == 'location' || (_ge('loc_search_div') && _ge('loc_search_div').style.display != 'none')) { if (!_ge('loc_search_div')) { // create the location search crap! var div = document.createElement('div'); div.id = 'loc_search_div'; document.body.appendChild(div); var page_type = 'site'; F.decorate(div, F._loc_search_div).div_go_go_go(page_type); } try {_ge('loc_search_div').div_do_loc_search()} catch(err) {writeDebug(err)};return false; return; } f.w.value = w; f.m.value = (m) ? m : ''; f.s.value = (s) ? s : ''; f.mt.value = (mt) ? mt : ''; f.action = (action) ? action : '/search/'; if (f.m.value == 'tags' && f.q.value && f.q.value.indexOf(' ') == -1) { var alias = 'kingscien'; alias = (alias) ? alias : f.w.value; var turl = '/photos/'; if (f.w.value == 'all') { turl+= 'tags/'+encodeURIComponent(f.q.value); } else { turl+= alias+'/tags/'+encodeURIComponent(f.q.value); } document.location = turl; return; } var qsA = ['q='+encodeURIComponent(f.q.value)]; if (f.w.value) qsA.push('w='+encodeURIComponent(f.w.value)); if (f.m.value) qsA.push('m='+encodeURIComponent(f.m.value)); if (f.s.value) qsA.push('s='+encodeURIComponent(f.s.value)); if (f.mt.value) qsA.push('mt='+encodeURIComponent(f.mt.value)); if (f.referer_searched.value) qsA.push('referer_searched='+encodeURIComponent(f.referer_searched.value)); var surl = f.action+'?'+qsA.join('&'); document.location = surl; }

[ Ajouter un commentaire | 0 commentaire(s) | Imprimer | Permalien ]

Page 1 2 3