
function ZipWindow(ref,what) {
var window_left = (screen.width-640)/2;
var window_top = (screen.height-480)/2;
ref = ref + "?what=" + what;      
window.open(ref,"zipWin",'width=550,height=200,status=no,top=' + window_top + ',left=' + window_left + '');
}

function newWinEx(url,win,xv,yv,scroll) {
var iwidth;
var iheight;

if(win == "viewmember") {
iwidth = 0;
iheight = 0;
}
else {
iwidth = (screen.width-xv)/2;
iheight = (screen.height-yv)/2;
}
str1 = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars="+scroll+",resizable=0,width="+xv+",height="+yv+",top="+iheight+",left="+iwidth;

var popup = window.open(url, win, str1);

if( navigator.appName.substring(0,8) == "Netscape" ) {
popup.location = url;
}
}

function Poll_Chk(num){

var str=document.pollform;
var count=0;

for(i=0;i < num;i++){
if(str.vote[i].checked){
count++;
}
}

if(count!=0){
str.submit();
}else{
alert("¼³¹®À» ¼±ÅÃÇÏ¿© ÁÖ½Ê½Ã¿À");
str.vote[0].focus();
return;
}

}