");
*/
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 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 = "