var h = Array();
			h[0] = 'Cache-Control';
			h[1] = 'no-cache';


function suffle() {
		  
		  var inputs = document.getElementsByTagName("img");
		  var i=0;
		  for (i=0; i<inputs.length; i++) {
		   
		     if(inputs[i].getAttribute('tag') == 'toggle') {
			      var image = inputs[i];
			      
			     
			      
			      image.offImage = new Image();
			      image.offImage.src = image.src;
			      image.onImage = new Image();
			      image.onImage.imageElement = image;
			      if (navigator.userAgent.toLowerCase().indexOf('safari') != - 1) {
			        image.onmouseover = function() { this.src = this.onImage.src; };
			        image.onfocus = function() { this.src = this.onImage.src; };
			        image.onmouseout = function() { this.src = this.offImage.src; };
			        image.onblur = function() { this.src = this.offImage.src; };
			      } else {
			        image.onImage.onload = function() {
			        this.imageElement.onmouseover = function() { this.src = this.onImage.src; };
			        this.imageElement.onfocus = function() { this.src = this.onImage.src; };
			        this.imageElement.onmouseout = function() { this.src = this.offImage.src; };
			        this.imageElement.onblur = function() { this.src = this.offImage.src; };
			      };
			    }
		    
		    	if(image.src.indexOf('.gif')!=-1){
		    
			   		if(image.src.indexOf('hot.')!=-1){
				    	image.onImage.src = image.src.replace(/hot\.gif/, '.gif');
				    }else{
				    	image.onImage.src = image.src.replace(/\.gif/, 'hot.gif');
				    	
              var hotimg = new Image(); 
              hotimg = image.src.replace(/\.gif/, 'hot.gif');
              
				    	 
				    }
				     
			    }
			    
			    if(image.src.indexOf('.png')!=-1){
			    
				    if(image.src.indexOf('hot.')!=-1){
				    	image.onImage.src = image.src.replace(/hot\.png/, '.png');
				    }else{
				    	image.onImage.src = image.src.replace(/\.png/, 'hot.png');
				    	
				    	var hotimg = new Image(); 
              hotimg = image.src.replace(/\.png/, 'hot.png');

				    	
				    }
				    
			    }
			    
			    if(image.src.indexOf('.jpg')!=-1){
			    
				    if(image.src.indexOf('hot.')!=-1){
				    	image.onImage.src = image.src.replace(/hot\.jpg/, '.jpg');
				    }else{
				    	image.onImage.src = image.src.replace(/\.jpg/, 'hot.jpg');
				    	
				    		var hotimg = new Image(); 
              hotimg = image.src.replace(/\.jpg/, 'hot.jpg');

				    	
				    }
				    
			    }
			    
		    }
		}
		
		
		
		  inputs = document.getElementsByTagName("input");
		  i=0;
		  for (i=0; i<inputs.length; i++) {
		   
		     if(inputs[i].getAttribute('type') == 'image') {
			      var image = inputs[i];
			      
			      image.offImage = new Image();
			      image.offImage.src = image.src;
			      image.onImage = new Image();
			      image.onImage.imageElement = image;
			      if (navigator.userAgent.toLowerCase().indexOf('safari') != - 1) {
			        image.onmouseover = function() { this.src = this.onImage.src; };
			        image.onfocus = function() { this.src = this.onImage.src; };
			        image.onmouseout = function() { this.src = this.offImage.src; };
			        image.onblur = function() { this.src = this.offImage.src; };
			      } else {
			        image.onImage.onload = function() {
			        this.imageElement.onmouseover = function() { this.src = this.onImage.src; };
			        this.imageElement.onfocus = function() { this.src = this.onImage.src; };
			        this.imageElement.onmouseout = function() { this.src = this.offImage.src; };
			        this.imageElement.onblur = function() { this.src = this.offImage.src; };
			      };
			    }
		    
		    
		   		if(image.src.indexOf('.gif')!=-1){
		    
			   		if(image.src.indexOf('hot.')!=-1){
				    	image.onImage.src = image.src.replace(/hot\.gif/, '.gif');
				    }else{
				    	image.onImage.src = image.src.replace(/\.gif/, 'hot.gif');
				    }
				     
			    }
			    
			    if(image.src.indexOf('.png')!=-1){
			    
				    if(image.src.indexOf('hot.')!=-1){
				    	image.onImage.src = image.src.replace(/hot\.png/, '.png');
				    }else{
				    	image.onImage.src = image.src.replace(/\.png/, 'hot.png');
				    }
				    
			    }
			    
			    if(image.src.indexOf('.jpg')!=-1){
			    
				    if(image.src.indexOf('hot.')!=-1){
				    	image.onImage.src = image.src.replace(/hot\.jpg/, '.jpg');
				    }else{
				    	image.onImage.src = image.src.replace(/\.jpg/, 'hot.jpg');
				    }
				    
			    }
		    }
		}
		
		
		
		}
		
		window.onload=suffle;
		
		
