function opennewwin(url){
	if(url!=""){
		open(url);
	}
	return false;
}
function pop_vi_win(ref,act,w,h){
	var alarm,action,x,y,sfeat,ref,act,w,h;
	x=event.screenX;
	y=event.screenY;
	sfeat="directories=no";
	sfeat+=",height=100";
	sfeat+=",width=100";
	sfeat+=",location=no";
	sfeat+=",menubar=no";
	sfeat+=",scrollbars=yes";
	sfeat+=",resizable=yes";
	sfeat+=",status=no";
	sfeat+=",titlebar=no";
	sfeat+=",toolbar=no";
	sfeat+=",left="+x;
	sfeat+=",top="+y;
	<!--alert(x+" "+y);-->
	if(!ref){
		if(event.srcElement.tagName=="A"){
			ref=event.srcElement.href;
		}else{
			if(event.srcElement.parentElement.tagName=="A"){
				ref=event.srcElement.parentElement.href;
			}
		}		
	}
	if(ref!=""){
		if(act!=""){
			switch(act){
				case "del":
				alarm="ÄãÈ·¶¨Ö´ÐÐÉ¾³ý²Ù×÷Âð?";
				break;
			}
		}
		if(alarm){
			if(confirm(alarm)){
				action=1;
			}
		}else{
			action=1;
		}
	}
	if(action){
		conf_site_vi_win=open(ref,'',sfeat);
	}
	return false;
}
function resize_win(){
	var l,t,w,h,m;
		if(document.all.CtlTab){
			l=screenLeft-4;
			t=screenTop-23;
			w=document.all.CtlTab.clientWidth+10+20;
			h=document.all.CtlTab.clientHeight+30+5;
			if((h+t)>(screen.height-27)){
				if(h>screen.height-27){
					t=0;
					h=screen.height-t-27;
				}else{
					t=screen.height-h-27;
				}
			}
			if((l+w)>screen.width){
				if(w>screen.width){
					w=screen.width;
					l=0;
				}else{
					l=screen.width-w;
				}
			
			}
		}else{
			l=0;
			t=0;
			w=screen.width;
			h=screen.height;
		}
		moveTo(l,t);
		resizeTo(w,h);
}
function max_win(){
	moveTo(0,0);
	resizeTo(screen.availWidth,screen.availHeight);
}