
    	var img = '<img src=\"xzy/wp-content/plugins/ml/xyz.gif\" border=\"0\" alt=\"xyz\" />';
    	var dimg = '<img src=\"xzy/wp-content/plugins/ml/dxyz.gif\" border=\"0\" alt=\"xyz\" />';
    	   	
    	function strReplace(s, r, w){
    	return s.split(r).join(w);
		}
    	
    	  	
      	function s_hid(his, me, lang, home) {
      	
      		his.style.display = 'none';
      		dimg = strReplace(dimg,'xzy',home);
      		me.innerHTML=strReplace(dimg,'xyz',lang);
      		
                      
      	}

		function s_toggleDisplaySel(his, me, lang, home) {
          his.style.display = 'block';
          img = strReplace(img,'xzy',home);
          me.innerHTML=strReplace(img,'xyz',lang);
        }

        function s_toggleDisplay(his, me, lang, home) {
        img = strReplace(img,'xzy',home);
        dimg = strReplace(dimg,'xzy',home);
        
        if (his.style.display != 'none') {
          his.style.display = 'none';
          me.innerHTML=strReplace(dimg,'xyz',lang);
        } else {
          his.style.display = 'block';
          me.innerHTML=strReplace(img,'xyz',lang);
        }
      }
