//alert("11");

function JS_viewObj(objhtml) { 
    document.write(objhtml); 
} 

function pop(url){
    win =  "width=660,height=720,toolbars=0,location=0,directories=0,top=0,left=0,menubar=0,scrollbars=1,resizable=0";
    popWindow=window.open(url,"pop1",win);
}	

function pop_resize(url,iw,ih){
    win =  "width="+iw+",height="+ih+",toolbars=0,location=0,directories=0,top="+(screen.availHeight-ih)/2+",left="+(screen.availWidth-iw)/2+",menubar=0,scrollbars=1,resizable=1";
    window.open(url,"pop2",win);
}	

function pop_noresize(url,iw,ih){
    win =  "width="+iw+",height="+ih+",toolbars=0,location=0,directories=0,top="+(screen.availHeight-ih)/2+",left="+(screen.availWidth-iw)/2+",menubar=0,scrollbars=0,resizable=0";
    popWindow=window.open(url,"pop3",win);
}	

function pop_center(url,iw,ih){
	var resizeHeight

	if(ih>screen.availHeight-100) {
		resizeHeight=screen.availHeight-100
	}
	else {
		resizeHeight=ih
	}

    var x = ( screen.availWidth - iw)/2;
    var y = ( screen.availHeight-100 - resizeHeight)/2;

    win =  "width="+iw+",height="+resizeHeight+",left="+x+",top="+y+",toolbars=0,location=0,directories=0,menubar=0,scrollbars=1,resizable=0";
    popWindow=window.open(url,"pop",win);
}	

var ifrContentsTimer; 

function resizeRetry() { //̹ εð ɸ ͵ ε ٽ ѹEE	
	
	if(document.body.readyState == "complete") { 
		clearInterval(ifrContentsTimer); 
	}else { 
		resizeFrame(); 
	} 
} 

function resizeFrame(){ // εǸEٷ E.
	self.resizeTo(document.body.scrollWidth + (document.body.offsetWidth-document.body.clientWidth), parseInt(document.body.scrollHeight)+10); 
} 


function get_mBoard(obj){
	var vArea = obj[obj.selectedIndex].value;
	//alert(vArea);
	if(vArea == "" || vArea == 0 || vArea == 55){
	}else{
		document.goBoard.vArea.value = vArea;
		document.goBoard.method = "get";
		document.goBoard.target = "_top";
		document.goBoard.action = "/primadonna/memberboard.php";
		document.goBoard.submit();

	}
}


