// JavaScript Document
function SelectSize (s,size,func){
	var sel = document.getElementById(s);
	sel.style.width = size+'px';
	sel.style.position = 'absolute';
	/////////////////////
	sel.onmousedown = function(){
		if(document.all){
			this.style.width='auto';
		}
	}
	sel.onblur= function (){
		if(document.all){
			this.style.width=size+'px';
		}
	}

	///////////////////////
	sel.onchange= function (){
			this.style.width=size+'px';
	}
	if(func){
		sel.onchange= function (){
			this.style.width=size+'px';
				func();
			}
	}
}


