if ((_root.link != num || _root.readMoreFrameType != readMoreType) && _root.animation == 1)
{
_root.animation = 0;
_root.link_prev = _root.link;
_root.menu["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
_root.menu2["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
if (readMoreType == "privacypolicy")
{
_root.readMoreFrameType = "privacypolicy";
sectionNum = getXmlSection(mainObj, "section", "privacyPolicy");
titleNum = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
textNum = getXmlSection(mainObj.section[sectionNum], "item", "pageText");
_root.readMoreTitle = mainObj.section[sectionNum].item[titleNum].value;
_root.readMoreText = mainObj.section[sectionNum].item[textNum].value;
}
else if (readMoreType == "termsofuse")
{
_root.readMoreFrameType = "termsofuse";
sectionNum = getXmlSection(mainObj, "section", "termsOfUse");
titleNum = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
textNum = getXmlSection(mainObj.section[sectionNum], "item", "pageText");
_root.readMoreTitle = mainObj.section[sectionNum].item[titleNum].value;
_root.readMoreText = mainObj.section[sectionNum].item[textNum].value;
}
else
{
_root.readMoreFrameType = "readmore";
sectionNum = getXmlSection(mainObj, "section", "pages");
linkCount = checkLinkType("readMoreLink", number);
i = 0;
linkTitleNum = getXmlSection(mainObj.section[sectionNum].page[currentPage].link[linkCount], "item", "title");
linkTextNum = getXmlSection(mainObj.section[sectionNum].page[currentPage].link[linkCount], "item", "linkText");
_root.readMoreTitle = mainObj.section[sectionNum].page[currentPage].link[linkCount].item[linkTitleNum].value;
_root.readMoreText = mainObj.section[sectionNum].page[currentPage].link[linkCount].item[linkTextNum].value;
} // end else if
_root.link = num;
_root.play();
} // end if
} // End of the function
function getContactFormText(textObj, textNumber)
{
sectionNum = getXmlSection(mainObj, "section", "contactForm");
textObj.htmlText = mainObj.section[sectionNum].texts[0].pageText[textNumber].value;
textSelectable(textObj);
} // End of the function
function getContactFormText_only(textNumber)
{
sectionNum = getXmlSection(mainObj, "section", "contactForm");
return (htmlText = mainObj.section[sectionNum].texts[0].pageText[textNumber].value);
} // End of the function
function getContactFormParams()
{
sectionNum = getXmlSection(mainObj, "section", "contactForm");
ContactFormParams = new Array();
servNum = getXmlSection(mainObj.section[sectionNum], "item", "serverOption");
recNum = getXmlSection(mainObj.section[sectionNum], "item", "recipient");
ContactFormParams.rec = mainObj.section[sectionNum].item[recNum].value;
ContactFormParams.serv = mainObj.section[sectionNum].item[servNum].value;
return (ContactFormParams);
} // End of the function
function getGallerySystemProperty(propName)
{
sectionNum = getXmlSection(galleryObj, "section", "systemOptions");
propNum = getXmlSection(galleryObj.section[sectionNum], "option", propName);
return (galleryObj.section[sectionNum].option[propNum].value);
} // End of the function
function getGallerySettings(propName)
{
sectionNum = getXmlSection(galleryObj, "section", "settings");
propNum = getXmlSection(galleryObj.section[sectionNum], "option", propName);
return (galleryObj.section[sectionNum].option[propNum].value);
} // End of the function
function getGalleryImage(imageNum, categoryNum)
{
sectionNum = getXmlSection(galleryObj, "section", "imagesData");
imageParams = new Array();
image = galleryObj.section[sectionNum].category[categoryNum].image[imageNum];
nameNum = getXmlSection(image, "item", "imageUrl");
commentNum = getXmlSection(image, "item", "imageComment");
imageParams.name = image.item[nameNum].value;
imageParams.comment = image.item[commentNum].value;
return (imageParams);
} // End of the function
function getCurrentGalleryName(categoryNum)
{
sectionNum = getXmlSection(galleryObj, "section", "imagesData");
return (galleryObj.section[sectionNum].category[categoryNum].name);
} // End of the function
searchResultsFrame = 8;
pagesReadMoreFrame = 7;
firstPageFrame = 1;
var mainObj = _root.parsed_obj;
var galleryObj = _root.gallery_obj;
_root.readMoreFrameType = "readmore";
2020年05月13日 12点05分
4