function isiPhone() {
var osx = window.navigator.appVersion;
//if(osx.indexOf("iPhone") > 0 || osx.indexOf('iPad') > 0 || osx.indexOf('iPod') > 0 || osx.indexOf("Android") > 0) {
if (osx.match(/iPhone|iPad|iPod|Android|Windows CE|BlackBerry|Symbian|Windows Phone|webOS|Opera Mini|Opera Mobi|POLARIS|IEMobile|lgtelecom|nokia|SonyEricsson/i) != null
|| osx.match(/LG|SAMSUNG|Samsung|SKT|Mobile|Phone/) != null )
{
if(osx.indexOf("iPhone") > 0)
return "iPhone";
else if(osx.indexOf('iPad') > 0)
return "iPad";
else if(osx.indexOf("Android") > 0)
return "Android";
} else
return false;
}
function getTotalPageNum() {
return "/ "+totalNum1;
}
function getNowPageNum(){
if(PageNumPrintStart)
{
var tm = 1;
var tn = 0;
}
else
{
var tm = 0;
var tn = 1;
}
var reTotalNujm = (totalNum1 - PageNumPrintStart) + tm;
reXXX2 = (xxx - PageNumPrintStart) + tm;
reXXX1 = (xxx - PageNumPrintStart) - tn;
var inputXXX = "";
if(reXXX1 > 0 && reXXX1 <= reTotalNujm)
inputXXX = reXXX1;
if(reXXX2 > 0 && reXXX2 <= reTotalNujm) {
if(inputXXX) inputXXX +=","+reXXX2;
else inputXXX = reXXX2;
}
return inputXXX;
}
function getAlbumCode()
{
return albumCode;
}
function getUserDumy()
{
return oWnerID;
}
function getMakeDomain()
{
return MakeDomain;
}
function getDbNum()
{
return uDbNum;
}
function getCoverChk()
{
return CoverChk;
}
function getLinkURL()
{
if(searchDataLoad == 1)
{
try{clearTimeout(reglink);}catch(e){}
var LinkHTML;
if(PageData[FirstLimitPage][5] != "i" && PageData[FirstLimitPage][5] != "I") {
src_path = "base/kr/page"+PageData[FirstLimitPage][5]+".gif";
}else{
src_path = "a_mode/pageImage/"+oWnerID+"/"+albumCode+"/"+PageData[FirstLimitPage][1]+"/S_0.jpg";
}
var ImgStr = "";
if(rewritemodule) {
LinkHTML = "