");
}
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 getDownInfo(uid)
{
window.open('../../_system/module/upload/info.php?uid=' + uid,'','left=0,top=0,width=480,height=555,scrollbars=yes,status=yes');
}
function getMessenger(id)
{
window.open('../../_system/module/messenger/index.php?id=' + id,'','left=0,top=0,width=550,height=650,scrollbars=no,status=yes,resizable=yes');
}
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=webppia&newwin=Y&id=faq&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\