');
f.document.write('');
f.document.write('');
f.document.write('<'+'/'+'head'+'>');
f.document.write('<'+'div'+' class="listsheet">');
f.document.write($('#excel_data').html());
f.document.write('<'+'/'+'div'+'>');
f.document.write('<'+'/'+'body'+'><'+'/'+'html'+'>');
f.document.close();
f.location.reload();
setTimeout("f.print()",1000);//익스8을 위해 타임아웃 처리
}else{
var initBody;
window.onbeforeprint = function(){
initBody = document.body.innerHTML;
document.body.innerHTML = document.getElementById('excel_data').innerHTML;
}
window.onafterprint = function(){
document.body.innerHTML = initBody;
}
window.print();
}
/*$("#excel_data").printThis({
debug: true,
importCSS: true,
printContainer: false,
loadCSS: "/css/hub.css",
pageTitle: "prt",
removeInline: false
});*/
}).css('cursor','pointer');
//인쇄버튼 엑셀저장과 같은 영역을 인쇄
$('.print2_btn').click(function(){
//$("#excel_data").printThis();
var agent = navigator.userAgent.toLowerCase();
if ( (navigator.appName == 'Netscape' && navigator.userAgent.search('Trident') != -1) || (agent.indexOf("msie") != -1) ) {//IE
f = window.open('', 'offprint', 'width=1024, height=320, scrollbars=yes');
f.document.open();
f.document.write('<'+'html'+'><'+'head'+'>');
f.document.write('');
f.document.write('');
f.document.write('');
f.document.write('<'+'/'+'head'+'>');
f.document.write('<'+'div'+' class="listsheet">');
f.document.write($('#print_data').html());
f.document.write('<'+'/'+'div'+'>');
f.document.write('<'+'/'+'body'+'><'+'/'+'html'+'>');
f.document.close();
f.location.reload();
setTimeout("f.print()",1000);//익스8을 위해 타임아웃 처리
}else{
var initBody;
window.onbeforeprint = function(){
initBody = document.body.innerHTML;
document.body.innerHTML = document.getElementById('print_data').innerHTML;
}
window.onafterprint = function(){
document.body.innerHTML = initBody;
}
window.print();
}
/*$("#excel_data").printThis({
debug: true,
importCSS: true,
printContainer: false,
loadCSS: "/css/hub.css",
pageTitle: "prt",
removeInline: false
});*/
}).css('cursor','pointer');
$('.print_btn2').click(function(){
f = window.open('', 'offprint', 'width=1024, height=600, scrollbars=yes');
f.location.href="printNoticeView.htm?no="+$(this).attr('data-no')+"&srh_totBidData=";
}).css('cursor','pointer');
$(".submenu").css('display','none');
$('.menu_map').mouseover(function(){
if($(".submenu").css('display') == 'none'){
$(".submenu").slideDown();
}
});
$('.submenu').mouseleave(function() {
if($(".submenu").css('display') == 'block'){
$('.submenu').slideUp();
}
}).css('cursor','pointer');
});
function number_format(num){ //3자리 콤마 찍기 함수
var num_str = num.toString();
var result = "";
for(var i=0; i