  	var IE = document.all?true:false;			        		 //check if IE or not           					                                        	
    if (!IE)					                                
    {					                                        
        document.captureEvents(Event.MOUSEDOWN);				
    }				                                        	 //the reason here for mouseup is to up the priority of the event under Netscape/FireFox
                					                            
    document.onmouseup = globalMouseDown;		       			
                						                                        
                	function globalMouseDown(e)				                	
                	{					                                        
                		if (IE)				                                    
                		{				                                        
                			resultsArry = ClientControlAttributes.split("#");	 //get the array with cotrol "attributes"
                			for(temp in resultsArry)		                	 //'loop through the array
                			{			                                        
                				resultArryInner=resultsArry[temp].split("@");  //get "sub array" from each element -> this will contain 2 elements: id and javascript which we must execute on id match
                				if (event.srcElement.id == resultArryInner[0])	 //'check if id's match, if yes, execute the script
                					eval(resultArryInner[1]);	                
                				document.releaseCapture();		                 //'optional for IE
                			}			                                        
                		}				                                        
                		else				                                    
                		{				                                        
                			resultsArry = ClientControlAttributes.split("#");	
                			for(temp in resultsArry)			                
                			{			                                        
                				resultArryInner=resultsArry[temp].split("@");	
                				if (e.target.id == resultArryInner[0])		    
                					eval(resultArryInner[1]);	                
                			}			                                        
                		}				                                        
                	}					                                        



