");
*/
var KimsonPopupCheck = getPopUpFlag(window.open('','iwin','left=0,top=0,width=100,height=100,scrollbars=yes,status=yes'));
KimsonPopupCheck.document.write("
미리보기
\
");
}
function imgpreview2(id,uid)
{
var KimsonPopupCheck = getPopUpFlag(window.open('','iwin','left=0,top=0,width=100,height=100,scrollbars=yes,status=yes'));
KimsonPopupCheck.document.write("
미리보기
\
");
}
function showInvWin(url)
{
getPopUpFlag(window.open(url , 'articlewin' , 'left=0,top=0,width=800,height=600,scrollbars=yes,status=yes'));
}
function zoom(uid)
{
window.open('../../_system/module/shop/zoom.php?uid=' + uid,'','left=0,top=0,width=480,height=555,scrollbars=no,status=yes');
}
function getTpriceLoyaltyJs(tprice,val)
{
var tmpval = val ? val : 1;
return parseInt(Math.floor(parseInt(tprice)/tmpval ) * tmpval);
}
function getLoginNeed()
{
if(confirm('로그인하셔야 이용하실 수 있습니다. \n\n지금 로그인하시겠습니까?'))
{
location.href = "./login.php?referer=" + escape(location.href);
}
}
function sendprint(uid)
{
getPopUpFlag(window.open('../../_system/module/print/print.htm?uid=' + uid , 'printwin' , 'top=0,left=0,width=650,height=600,scrollbars=yes,status=yes'));
}
function sendemail(id,uid)
{
getPopUpFlag(window.open('../../_system/module/email/email.php?id='+id+'&uid=' + uid , 'emailwin' , 'top=0,left=0,width=650,height=600,scrollbars=no,status=yes'));
}
function statview(id)
{
getPopUpFlag(window.open('bbs.php?q=stat&newwin=Y&id='+id , 'bbsstatwin' , 'top=0,left=0,width=650,height=600,scrollbars=no,status=yes'));
}
function singo(table,uid,userid,mbid)
{
if (mbid == "")
{
alert('ȸ α ּ. ');
return;
}
getPopUpFlag(window.open("bbs.php?q=singo&xsite=busangolf&newwin=Y&id=report&tbl=" + table + "&suid=" + uid + "&userid="+userid, "singowin" , "left=0,top=0,width=550,height=330,scrollbars=no,status=yes"));
}
function shopsingo(table,uid,userid,mbid)
{
if (mbid == "")
{
alert('ȸ α ּ. ');
return;
}
getPopUpFlag(window.open("bbs.php?q=shop&xsite=busangolf&newwin=Y&id=report&tbl=" + table + "&suid=" + uid + "&userid="+userid, "singowin" , "left=0,top=0,width=550,height=330,scrollbars=no,status=yes"));
}
function getDivWidth(width,div)
{
var maxsize = parseInt(width);
var content = document.getElementById(div);
var img = content.getElementsByTagName("img");
for(i=0; i maxsize') )
{
var heightSize = ( eval('img[' + i + '].height')*maxsize )/eval('img[' + i + '].width') ;
eval('img[' + i + '].width = maxsize') ;
eval('img[' + i + '].height = heightSize') ;
}
}
content.innerHTML = content.innerHTML.replace(/Image View\
");
}
//페이징처리
function getPageLink(lnum,p,tpage,imgpath)
{
var g_p1 = " Prev ";
var g_p2 = " Prev ";
var g_n1 = " Next ";
var g_n2 = " Next ";
var g_cn = " ";
var g_q = " Start ";
if(p < lnum+1) { g_q += g_p1; }
else{
var pp = parseInt((p-1)/lnum)*lnum;
g_q += ""+g_p2+"";
}
g_q += g_cn;
var st1 = parseInt((p-1)/lnum)*lnum + 1;
var st2 = st1 + lnum;
for(var jn = st1; jn < st2; jn++)
if ( jn <= tpage)
(jn == p)? g_q += ""+jn+""+g_cn : g_q += ""+jn+""+g_cn;
if(tpage < lnum || tpage < jn) { g_q += g_n1; }
else{var np = jn; g_q += ""+g_n2+""; }
g_q += " End ";
document.write(g_q);
}
//페이징처리
function getPageLink2(lnum,p,tpage,imgpath)
{
var g_p1 = "<";
var g_p2 = "<";
var g_n1 = ">";
var g_n2 = ">";
var g_cn = " ";
var g_q = "