function roll_over_on(obj) {
obj.style.backgroundColor="#FFFFFF";
}
function roll_over_off(obj) {
obj.style.backgroundColor="#EEEEEE";
}
function main_article_admin(value) {
var article_admin = window.open("/default/main_article_admin.php?article_code="+value, "main_article_admin","scrollbars=yes, width=940, height=900, left=0, top=0");
article_admin.focus();
}
function main_article_admin1(stat) {
var article_admin = window.open("/default/main_article_admin.php?stat="+stat, "main_article_admin","scrollbars=yes, width=940, height=600, left=0, top=0");
article_admin.focus();
}
function article_admin() {
window.open("./article_admin.htm", "print","scrollbars=yes, width=940, height=600, left=0, top=0");
}
function all_news(){
var all_news = window.open("all_news.php","all_news","width=1200 height=1000 resizable=yes scroolbars=yes");
}
//경로 복사
function print_link(str){
window.clipboardData.setData("Text", str);
alert("주소가 복사되었습니다.");
}
function img_view(value) {
window.open("index_view_img.php?img="+value, "","scrollbars=yes, width=500, height=450");
}
//뉴스 삭제
function news_del(value1, value2, return_url) {
var choice = confirm( '영구히 삭제하시겠습니까?');
if(choice) {
location.href="mypage_editer_del.php?board_data="+value1+"&search_items="+value2+"&return_url="+return_url;
}
}
//관련기사
function news_relation(idx) {
var news_relation_w;
news_relation_w = window.open("news_relation.php?idx="+idx,"news_relation_w","scrollbars=yes, width=940, height=900, left=0, top=0");
news_relation_w.focus();
}
function openNewsWin(openUrl) {
var winObj;
winObj = window.open(openUrl,"sendNewsWin","width=800, height=600, scrollbars=yes");
winObj.focus();
}
function nl2br(str){
return str.replace(/\n/g, "
");
}