function goToPage(page) {window.location = page;} /****** FAQ Item Highlighting ******/ function HighlightFAQItem(link) { $("#FAQList > li").removeClass("active"); link.parentNode.className = "active"; } /****** ScreenShotGallery functions ******/ var ScreenShotGalleryCurrentIndex = 0; //current index of scroller var ScreenShotGalleryItemCount; //total number of thumbnails in collection var ScreenShotGalleryDisplayCount = 3; //the number of thumbnails onscreen at one time var ScreenShotGalleryScrollIncrement = 75; //distance to move the scroller on each scroll increment var ScreenShotGalleryItems; //list of urls for screen shot display //var ScreenShotGalleryZoomImages; //list of urls for zoomed screen shot display //relay function to keep html insulated from javascript library implementation function ScreenShotGalleryLoad() { jQuery(ScreenShotGalleryInit); } function ScreenShotGalleryInit() { $("#SSGNext").bind("click", ScreenShotGalleryNext); $("#SSGPrevious").bind("click", ScreenShotGalleryPrevious); //$("#SSGRestore").bind("click", ScreenShotGalleryHome); ScreenShotGalleryItemCount = $("#SSGScroll > *").length; $("#SSGScroll > a").lightBox({ imageLoading: '/app_themes/spritesoftware/components/lightbox/lightbox-ico-loading.gif', imageBtnClose: '/app_themes/spritesoftware/components/lightbox/lightbox-btn-close.gif', imageBtnPrev: '/app_themes/spritesoftware/components/lightbox/lightbox-btn-prev.gif', imageBtnNext: '/app_themes/spritesoftware/components/lightbox/lightbox-btn-next.gif' }); $("#SSGScroll > a").bind("click", ScreenShotGalleryThumbnailClick); } function ScreenShotGalleryNext() { if (ScreenShotGalleryCurrentIndex < ScreenShotGalleryItemCount - ScreenShotGalleryDisplayCount) { ScreenShotGalleryCurrentIndex++; ScreenShotGalleryScroll(); } return false; } function ScreenShotGalleryPrevious() { if (ScreenShotGalleryCurrentIndex != 0) { ScreenShotGalleryCurrentIndex--; ScreenShotGalleryScroll(); } return false; } function ScreenShotGalleryScroll() { var position = "-" + ScreenShotGalleryScrollIncrement * ScreenShotGalleryCurrentIndex + "px"; $("#SSGScroll").animate({ left: position }, 200, "swing"); } function ScreenShotGalleryThumbnailClick() { $("#SSGScroll > a.active").removeAttr("class"); this.className = "active"; if (ScreenShotGalleryItems) { var item = ScreenShotGalleryItems[$("#SSGScroll > a").index(this)]; // $("#SSGScreenShotContainer > img").attr("src", item.medium); // $("#SSGScreenShotContainer > a").attr("href", item.zoom); // $("#SSGScreenShotContainer > a").attr("title", item.title); // $("#SSGNavigation > span").text(item.title); } return false; } function DisplayFeedback() { // var tab_options = {} // tab_options.placement = "left"; // left, right, bottom, hidden // tab_options.color = "#222"; // hex (#FF0000) or color (red) // GSFN.feedback('http://getsatisfaction.com/spritemobile/feedback/topics/new?display=overlay&style=question', tab_options); GSFN.show(); // var content = '
Select "post it privately" for authorisation code, billing questions or technical support (include device type and application version). Otherwise select "Continue".
'; // var ww = window.frames.length; // var xxcx = window.parent; // var cc = $("#fdbk_iframe") // var tyty = document.getElementById("fdbk_iframe").innerHTML; // //var hddf = cc.document; // var hddf = $('#fdbk_iframe').contents().find('#someID').html(); // alert(cc); } var StoreHostName = "https://store.spritesoftware.com"; function ProductTryNowNavigate(btn,productid) { $("#aspnetForm").attr("action", StoreHostName + "/products/download.php?pid=" + productid); document.getElementById(btn).click(); } function SubmitBackupUpgrade(btn) { $("#aspnetForm").attr("action", StoreHostName + "/callbacks/UpgradeQualifyCallback2.pl "); document.getElementById(btn).click(); } function BuyProduct(productid,attribute) { var StoreBaseForm = "
para_attribute
";; var StoreBaseAttribute = ""; var StoreTerminatorAttribute = ""; var StoreCloneAttribute = ""; var ActualForm; ActualForm = StoreBaseForm.replace(/para_hostname/g, StoreHostName); ActualForm = ActualForm.replace(/para_product/g, productid); if (productid == 195) ActualForm = ActualForm.replace(/para_attribute/g, StoreTerminatorAttribute); else if (productid == 181) ActualForm = ActualForm.replace(/para_attribute/g, StoreCloneAttribute); else ActualForm = ActualForm.replace(/para_attribute/g, StoreBaseAttribute); $("body").prepend(ActualForm); $("#frmBuyNow").submit(); } function PostLostCodes() { var x = document.getElementById("txtEmail").value if (x) { $("#aspnetForm").attr("action", StoreHostName + "/lostcontroller.php"); $("#aspnetForm").submit(); } else { $("#lblNoEmail").css("display", "inline"); } } function ShowPageAsModal(url, width, height) { var content = ""; content = content.replace(/URL/g, url); content = content.replace(/WIDTH/g, width); content = content.replace(/HEIGHT/g, height); ShowSpriteModal(content, width, height); } function ShowSpriteModal(innerHTML,width,height) { var modal = "