  function changLinkFocus(){ 

     var len = document.links.length; 


     for(var i=0;i<len;i++){ 
         document.links[i].onfocus = function(){this.blur();} 
                 
     } 
  }


	function change(form){
		if(form.url.selectedIndex != 0)
			location.href = form.url.options[form.url.selectedIndex].value
	}

	function change2(form){
		//alert(form.keyWord2.options[form.keyWord2.selectedIndex].value);
		//var keyWord2 = document.form.agent;
		if(form.agent.selectedIndex != 0){
			form.action = window.location.pathname+"?keyWord2="+form.agent.options[form.agent.selectedIndex].value+"&keyField=gubun";
			//window.location.pathname+"?agent="+form.agent.options[form.agent.selectedIndex].value+"&keyField="+form.agent.options[form.keyField.selectedIndex].value;
			form.submit();
		}
	}

	function change3(form){
		//alert(form.keyWord2.options[form.keyWord2.selectedIndex].value);
		if(form.keyWord2.selectedIndex != 0){
			form.action = window.location.pathname+"?keyWord2="+form.keyWord2.options[form.keyWord2.selectedIndex].value+"&keyField=company";
			form.submit();
		}
	}

	function change4(form){
		//alert(form.keyWord2.options[form.keyWord2.selectedIndex].value);
		if(form.keyWord2.selectedIndex != 0){
			form.action = window.location.pathname+"?keyWord2="+form.keyWord2.options[form.keyWord2.selectedIndex].value+"&keyField2=company";
			form.submit();
		}
	}

	function setCookie( name, value, expiredays ) 
	{ 
			var todayDate = new Date(); 
			todayDate.setDate( todayDate.getDate() + expiredays ); 
			document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
	} 

	function setCookie2( name, value) 
	{ 
			var todayDate = new Date();
			document.cookie = name + "=" + escape( value ) + "; path=/;" 
	} 


	function getCookie( name ) 
	{ 
        var nameOfCookie = name + "="; 
        var x = 0; 
        while ( x <= document.cookie.length ) 
        { 
                var y = (x+nameOfCookie.length); 
                if ( document.cookie.substring( x, y ) == nameOfCookie ) { 
                        if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) 
                                endOfCookie = document.cookie.length; 
                        return unescape( document.cookie.substring( y, endOfCookie ) ); 
                } 
                x = document.cookie.indexOf( " ", x ) + 1; 
                if ( x == 0 ) 
                        break; 
        } 
        return ""; 
	}
	
	
	function newsPrint(url){
		window.open(url,'print','left=0,top=0, width=675,height=500 resizable=no,scrollbars=yes');
	}


	function newsPrint3(url){
		window.open(url,'print','left=0,top=0, width=675,height=500 resizable=no,scrollbars=yes');
	}

	function popupgo(url,w, h){
		window.open(url,"","width="+w+",height="+h+",status=no,menubar=no,location=no,toolbar=no,scrollbars=no");
	}

	function popupgo2(url,w, h){
		window.open(url,"","width="+w+",height="+h+",status=no,menubar=no,location=no,toolbar=no,scrollbars=yes");
	}
