var bDev=false;
var sDocumentDomain="myfuncards.com";
var sProdName="MyFunCards";
var sLoginUrl="http://gc.myfuncards.com/registration/login.jhtml?returnUrl=http%3A%2F%2Fecards.myfuncards.com%2Fmyfuncards%2Fsplash.jhtml";
var sUrchinUrl="http://www.google-analytics.com/urchin.js";
var sDownloadUrl="http://myfuncards.smileycentral.com/download/index.jhtml";
var sInstallUrl="http://myfuncards.smileycentral.com/download/browser_check.jhtml";
var sImgPath="http://ak.imgfarm.com/images/mfc/";
var sGalleryBaseUrl="http://ecards.myfuncards.com/myfuncards/";
var sGalleryBaseUrlEscaped="http%3A%2F%2Fecards.myfuncards.com%2Fmyfuncards%2F";
var sRetrieveCardUrl="RetrieveCard.jhtml";
var sPickupCardUrl="PickupCard.jhtml";
var sComposeCardUrl="ComposeCard.jhtml";
var sComposePromoUrl="ComposePromo.jhtml";
var sRedirectCookieName="mfc_redir";
var sChash="";
var sCustomSuccessUrl="http://ecards.myfuncards.com/myfuncards/SendCard.jhtml?customcard=1";
var sRetrieveSuccessUrl="http://ecards.myfuncards.com/myfuncards/RetrieveCard.jhtml";
var CardCreatorSwfUrl="http://ak.imgfarm.com/images/fwp/customcards/card_creator_main.swf?v=6";
var CardViewerSwfUrl="http://ak.imgfarm.com/images/fwp/customcards/card_creator_viewer.swf?v=3";
var sMfcDetectUrl="http://www.funwebproducts.com/mfc_detect/detect.html";
//this is deprecated, only here for backwards compatibility
var HAS_TOOLBAR = false;
if ( !oToolbarController.bInstalled ){
//alert("TEST: no toolbar detected");
location.href="http://www.myfuncards.com";
}
var headerNav = new Array();
var footerNav = new Array();
/**
* object for nav
*/
function navItem(url,text,img){
this.pageUrl = url;
this.imgUrl = "";
this.linkText = "";
if ( img != null ){
this.imgUrl = img;
}
if ( text != null ){
this.linkText = text;
}
}
/**
* add navItems to header nav
*/
mfc_logo = new navItem(sGalleryBaseUrl+"splash.jhtml","MyFunCards",sImgPath+"mfc-logo.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"splash.jhtml","",sImgPath+"home_on.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"Birthday/splash.jhtml","",sImgPath+"birthday_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"CareConcern/splash.jhtml","",sImgPath+"careconcern_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"Everyday/splash.jhtml","",sImgPath+"everyday_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"Friendship/splash.jhtml","",sImgPath+"friendship_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"Holidays/splash.jhtml","",sImgPath+"holidays_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"LoveDating/splash.jhtml","",sImgPath+"lovedating_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"Occasions/splash.jhtml","",sImgPath+"occasions_off.gif");
headerNav[headerNav.length] = new navItem(sGalleryBaseUrl+"ThankYou/splash.jhtml","",sImgPath+"thankyou_off.gif");
footerNav[footerNav.length] = new navItem("http://buzz.smileycentral.com","Smiley Buzz","");
footerNav[footerNav.length] = new navItem("http://www.funwebproducts.com/policies.jsp","Policies","");
footerNav[footerNav.length] = new navItem("http://help.myfuncards.com/","Help & Feedback","");
footerNav[footerNav.length] = new navItem("#","Press Releases","");
/**
* display MFC Header
*/
function dispMFCHeader(){
var html = "";
var idx = 0;
html += "
| ";
//logo
html += "";
html += " ";
//navigation
for ( idx=0; idx < headerNav.length; idx++ ){
html += "" +
" ";
html += "";
html += " |
| "; document.write(html); } /** * display MFC Footer */ function dispMFCFooter(){ var html = ""; var idx = 0; //bottom bar html += ""; //close the outer table html += " |