function getRequest(cats,requesttype){var request=createRequest();request.wantText=document.getElementById("txtWantText").value;request.totalGuestCount=document.getElementById("totalGuests").value;for(var i=0;i<cats.length;++i){if(cats[i]=="1"){request.bandRequest=getBandRequest();}else{if(cats[i]=="2"){request.cakeRequest=getCakeRequest();
}else{if(cats[i]=="3"){request.cateringRequest=getCateringRequest();}else{if(cats[i]=="4"){request.ceremonyMusicRequest=getCeremonyMusicRequest();}else{if(cats[i]=="5"){request.favorRequest=getFavorRequest();}else{if(cats[i]=="7"){request.djRequest=getDJRequest();}else{if(cats[i]=="8"){request.floristRequest=getFloristRequest();
}else{if(cats[i]=="9"){request.officiantRequest=getOfficiantRequest();}else{if(cats[i]=="10"){request.photographyRequest=getPhotographyRequest();}else{if(cats[i]=="11"){request.venueRequest=getVenueRequest();if(requesttype==1){request.maxDistanceCount=document.getElementById("venueWithinMiles").value;
request.misc=document.getElementById("venueCity").value+", "+document.getElementById("venueState").value;}}else{if(cats[i]=="12"){request.rentalRequest=getRentalRequest();}else{if(cats[i]=="13"){request.transportationRequest=getTransportationRequest();}else{if(cats[i]=="14"){request.videographyRequest=getVideoRequest();
}else{if(cats[i]=="15"){request.plannerRequest=getPlannerRequest();}else{if(cats[i]=="16"){request.beautyRequest=getBeautyRequest();}else{if(cats[i]=="17"){request.dressRequest=getDressRequest();}else{if(cats[i]=="18"){request.invitationRequest=getInvitationRequest();}else{if(cats[i]=="19"){request.jewelryRequest=getJewelryRequest();
}else{if(cats[i]=="20"){request.otherRequest=getOtherRequest();}}}}}}}}}}}}}}}}}}}}request.wantText=document.getElementById("txtWantText").value;request.notWantText="";return request;}function createRequest(){var request=new Object();request.matchFlag=false;request.id=0;request.idEncrypt="";request.displayId="";
request.statusType="";request.deadlineDate="";request.region="";request.regionCode="";request.maxDistanceCount="";request.maxDistanceZipCode="";request.requestAmount="";request.createdDateTime="";request.submittedDateTime="";request.submittedUserId="";request.approvedDateTime="";request.approvedUserId="";
request.processingDateTime="";request.processingUserId="";request.processedDateTime="";request.processedUserId="";request.closedDateTime="";request.closedUserId="";request.quotes="";request.quotesApproved="";request.quotesChosen="";request.quotesDeclined="";request.quotesDeclinedUser="";request.numQuotesReceived="";
request.expired="";request.render="";request.wantText="";request.notWantText="";request.totalGuestCount=0;request.bandRequest=null;request.beautyRequest=null;request.cakeRequest=null;request.cateringRequest=null;request.ceremonyMusicRequest=null;request.djRequest=null;request.favorRequest=null;request.floristRequest=null;
request.dressRequest=null;request.invitationRequest=null;request.jewelryRequest=null;request.officiantRequest=null;request.otherRequest=null;request.photographyRequest=null;request.plannerRequest=null;request.rentalRequest=null;request.transportationRequest=null;request.venueRequest=null;request.videographyRequest=null;
return request;}function initForm(cat){switch(cat){case"9":break;case"13":break;}}function details(id,type){var elem=document.getElementById("span"+id);if(elem==null){return;}if(elem.style.display==""){elem.style.display="none";}else{elem.style.display="";}}function validateRequiredFields(cats,requesttype){var value;
var err="";region=otherRegionCode;if(region!=-1||vid.length!=0){if(cats.length==0){err+="Please select a Service you need.<br>";}}else{err+="Please select a region first, then a service you need.<br>";}if(!validateCurrency(budgetAmount.value)||parseFloat(stripCurrency(budgetAmount.value))<=1){err+="Your Estimated Budget must be a number that is greater than 1.<br>";
}else{if(isNaN(parseInt(stripCurrency(budgetAmount.value)))){err+="Your Estimated Budget must begin with a number or a $.<br>";}}value=document.getElementById("totalGuests").value;if(!verifyIntReq(value)||value<=2){err+="Number of guests must be a number that is greater than 2.<br>";}if(document.getElementById("txtDate").value==""||document.getElementById("txtDate").value.length==0||!isDate(document.getElementById("txtDate").value)){err+="Please put the date in the valid format of mm/dd/yyyy. e.g. 01/01/2007.<br>";
}if(document.getElementById("hourCere").value=="-"||document.getElementById("hourRecp").value=="-"){err+="Enter a valid ceremony and reception time.<br>";}var phoneRegex=new RegExp("[(]?\\d{3}[)-.]?\\d{3}[-.]?\\d{4}");var phone=document.getElementById("txtPhone").value.trim();phone=stripCharsInBag(phone," ");
if(!phone.match(phoneRegex)){err+="Please put the phone number in a valid format. e.g. 123-456-7890.<br>";}for(var i=0;i<cats.length;++i){if(cats[i].length==0){err+="Please select a Service you need.<br>";}if(cats[i]=="1"){value=document.getElementById("totalHoursBand").value;if(!verifyIntReq(value)){err+="Estimated Hours for the Band must be a number.<br>";
}}else{if(cats[i]=="4"){value=document.getElementById("totalHoursCM").value;if(!verifyIntReq(value)){err+="Estimated Hours for the Ceremony Musicians must be a number.<br>";}}else{if(cats[i]=="7"){value=document.getElementById("totalHoursDJ").value;if(!verifyIntReq(value)){err+="Estimated Hours for the DJ must be a number.<br>";
}}else{if(cats[i]=="10"){value=document.getElementById("totalHours").value;if(!verifyIntReq(value)){err+="Estimated Hours for the Photographer must be a number.<br>";}}else{if(cats[i]=="11"){if(requesttype==1){value=document.getElementById("venueState").value;if(value.length==0||document.getElementById("venueCity").value.length==0){err+="You must select a city and state where you want to look for Venues.<br>";
}}}else{if(cats[i]=="12"){value=document.getElementById("totalHoursRent").value;if(!verifyIntReq(value)){err+="Estimated Hours for the rental must be a number.<br>";}}else{if(cats[i]=="13"){value=document.getElementById("totalHoursTrans").value;if(!verifyIntReq(value)){err+="Estimated Hours for Transportation must be a number.<br>";
}}else{if(cats[i]=="14"){value=document.getElementById("totalHoursVideo").value;if(!verifyIntReq(value)){err+="Estimated Hours for the Videographer must be a number.<br>";}}}}}}}}}if(cats[i]!="11"){if(document.getElementById("cereCity").value==""||document.getElementById("cereCity").value.length==0){err+="Wedding City is not valid.<br>";
}if(document.getElementById("cereState").value==""||document.getElementById("cereState").value.length==0){err+="Wedding State is not valid.<br>";}}}if(err.length>0){showErr("step1",err);return false;}return true;}function validateRequest(cats,request){var value;for(var i=0;i<cats.length;++i){if(cats[i]=="1"){if(!verifyInt(request.bandRequest.totalHoursCount,"Estimated Hours for the Band must be a number.")){return false;
}}if(cats[i]=="2"){if(!verifyInt(request.totalGuestCount,"Total Number of Guests for Cake must be a number.")){return false;}if(!verifyInt(request.cakeRequest.totalTiersCount,"Total Number of tiers for Cake must be a number.")){return false;}}if(cats[i]=="3"){if(!verifyInt(request.totalGuestCount,"Total Number of Guests for Catering must be a number.")){return false;
}}if(cats[i]=="4"){if(!verifyInt(request.ceremonyMusicRequest.totalHoursCount,"Estimated Hours for the Ceremony Musicians must be a number.")){return false;}}if(cats[i]=="7"){if(!verifyInt(request.djRequest.totalHoursCount,"Estimated Hours for the DJ must be a number.")){return false;}}if(cats[i]=="8"){if(!verifyInt(request.floristRequest.centerpieceCount,"Please put a valid number value for your centerpieces.")){return false;
}if(!verifyInt(request.floristRequest.bouquetCount,"Please put a valid number value for your bouquets.")){return false;}if(!verifyInt(request.floristRequest.boutoniereCount,"Please put a valid number value for your boutonieres.")){return false;}if(!verifyInt(request.floristRequest.corsageCount,"Please put a valid number value for your corsages.")){return false;
}}if(cats[i]=="9"){}if(cats[i]=="10"){if(!verifyInt(request.photographyRequest.totalHoursCount,"Estimated Hours for the Photographer must be a number.")){return false;}}if(cats[i]=="11"){if(!verifyInt(request.totalGuestCount,"Total Number of Guests for the Venue must be a number.")){return false;}}if(cats[i]=="12"){if(!verifyInt(request.totalGuestCount,"Total Number of guest for the rental must be a number.")){return false;
}}if(cats[i]=="13"){if(!verifyInt(request.transportationRequest.totalHoursCount,"Estimated Hours for transportation must be a number.")){return false;}if(request.transportationRequest.brideGroomTransportation){if(!verifyInt(request.transportationRequest.transportCountBG,"Total Number of passengers for the Bride and Groom transport must be a numeric value.")){return false;
}}if(request.transportationRequest.bridalPartyTransportation){if(!verifyInt(request.transportationRequest.transportCountBP,"Total Number of passengers for the Bridal party transport must be a numeric value.")){return false;}}if(request.transportationRequest.parentsTransportation){if(!verifyInt(request.transportationRequest.transportCountP,"Total Number of passengers for the parents transport must be a numeric value.")){return false;
}}if(request.transportationRequest.guestsTransportation){if(!verifyInt(request.transportationRequest.transportCountG,"Total Number of passengers for the guests transport must be a numeric value.")){return false;}}}if(cats[i]=="14"){if(!verifyInt(request.videographyRequest.totalHoursCount,"Estimated Hours for the Videographer must be a number.")){return false;
}if(!verifyInt(request.videographyRequest.totalCopiesCount,"Please put a valid number value for the number of copies you want.")){return false;}}if(cats[i]=="15"){if(!verifyInt(request.totalGuestCount,"The estimate of the total number of guests you will have that the planned must consider, must be a number.")){return false;
}}}return true;}function verifyInt(value,msg){if(value.length==0){value=0;}else{if(!isInteger(value)){showErr("step4",msg);return false;}}return true;}function verifyIntReq(value){if(value.length==0){return false;}else{if(!isInteger(value)){return false;}}return true;}function getBandRequest(){var temp=new Object();
temp.mealFlag=document.getElementById("chkMealBand").checked;temp.emceeFlag=document.getElementById("chkMCBand").checked;temp.totalHoursCount=document.getElementById("totalHoursBand").value;temp.sizeSmallFlag=document.getElementById("chkSmallSizeBand").checked;temp.sizeMediumFlag=document.getElementById("chkMediumSizeBand").checked;
temp.sizeLargeFlag=document.getElementById("chkLargeSizeBand").checked;temp.styleAcousticFlag=document.getElementById("chkStyleAcousticBand").checked;temp.styleBigBandFlag=document.getElementById("chkStyleBigBandBand").checked;temp.styleBluesFlag=document.getElementById("chkStyleBluesBand").checked;temp.styleCalypsoFlag=document.getElementById("chkStyleCalypsoBand").checked;
temp.styleCountryFlag=document.getElementById("chkStyleCountryBand").checked;temp.styleFunkFlag=document.getElementById("chkStyleFunkBand").checked;temp.styleJazzFlag=document.getElementById("chkStyleJazzBand").checked;temp.styleLatinFlag=document.getElementById("chkStyleLatinBand").checked;temp.styleMotownFlag=document.getElementById("chkStyleMotownBand").checked;
temp.styleOldiesFlag=document.getElementById("chkStyleOldiesBand").checked;temp.styleOrchestraFlag=document.getElementById("chkStyleOrchestraBand").checked;temp.styleRbFlag=document.getElementById("chkStyleRBBand").checked;temp.styleReggaeFlag=document.getElementById("chkStyleReggaeBand").checked;temp.styleRockFlag=document.getElementById("chkStyleRockBand").checked;
temp.styleStringsFlag=document.getElementById("chkStyleStringsBand").checked;temp.styleSwingFlag=document.getElementById("chkStyleSwingBand").checked;temp.styleOtherFlag=document.getElementById("chkStyleOtherBand").checked;temp.styleOtherText=document.getElementById("txtStyleOtherBand").value;temp.styleFxText="";
temp.music20sFlag=document.getElementById("chkMusic20sBand").checked;temp.music30sFlag=document.getElementById("chkMusic30sBand").checked;temp.music40sFlag=document.getElementById("chkMusic40sBand").checked;temp.music50sFlag=document.getElementById("chkMusic50sBand").checked;temp.music60sFlag=document.getElementById("chkMusic60sBand").checked;
temp.music70sFlag=document.getElementById("chkMusic70sBand").checked;temp.music80sFlag=document.getElementById("chkMusic80sBand").checked;temp.music90sFlag=document.getElementById("chkMusic90sBand").checked;temp.musicTop40Flag=document.getElementById("chkMusicTop40Band").checked;temp.musicAlternativeFlag=document.getElementById("chkMusicAlternativeBand").checked;
temp.musicBluesFlag=document.getElementById("chkMusicBluesBand").checked;temp.musicClassicRockFlag=document.getElementById("chkMusicClassicRockBand").checked;temp.musicClassicalFlag=document.getElementById("chkMusicClassicalBand").checked;temp.musicCountryFlag=document.getElementById("chkMusicCountryBand").checked;
temp.musicDanceFlag=document.getElementById("chkMusicDanceBand").checked;temp.musicFolkFlag=document.getElementById("chkMusicFolkBand").checked;temp.musicFunkFlag=document.getElementById("chkMusicFunkBand").checked;temp.musicHipHopFlag=document.getElementById("chkMusicHipHopBand").checked;temp.musicIndieFlag=document.getElementById("chkMusicIndieBand").checked;
temp.musicJazzFlag=document.getElementById("chkMusicJazzBand").checked;temp.musicLatinFlag=document.getElementById("chkMusicLatinBand").checked;temp.musicPopFlag=document.getElementById("chkMusicPopBand").checked;temp.musicRbFlag=document.getElementById("chkMusicRBBand").checked;temp.musicReggaeFlag=document.getElementById("chkMusicReggaeBand").checked;
temp.musicRockFlag=document.getElementById("chkMusicRockBand").checked;temp.musicSwingFlag=document.getElementById("chkMusicSwingBand").checked;temp.musicOtherFlag=document.getElementById("chkMusicOtherBand").checked;temp.musicOtherText=document.getElementById("txtMusicOtherBand").value;temp.playCeremonyFlag=document.getElementById("chkPlayCeremonyBand").checked;
temp.playReceptionFlag=document.getElementById("chkPlayReceptionBand").checked;temp.playCocktailFlag=document.getElementById("chkPlayCocktailBand").checked;temp.playAfterPartyFlag=document.getElementById("chkPlayAfterPartyBand").checked;temp.playOtherFlag=document.getElementById("chkPlayOtherBand").checked;
temp.playOtherText=document.getElementById("txtPlayOtherBand").value;temp.introductionsText=document.getElementById("txtintroductionsBand").value;temp.firstDanceText=document.getElementById("txtfirstDanceBand").value;temp.fatherDaughterDanceText=document.getElementById("txtfatherDaughterDanceBand").value;
temp.motherSonDanceText=document.getElementById("txtmotherSonDanceBand").value;temp.bridalPartyDanceText=document.getElementById("txtbridalPartyDanceBand").value;temp.anniversaryDanceText=document.getElementById("txtanniversaryDanceBand").value;temp.cakeCuttingText=document.getElementById("txtcakeCuttingBand").value;
temp.garterTossText=document.getElementById("txtgarterTossBand").value;temp.bouquetTossText=document.getElementById("txtbouquetTossBand").value;temp.lastDanceText=document.getElementById("txtlastDanceBand").value;temp.otherText="";temp.category="";temp.categoryCode="";return temp;}function getBeautyRequest(){var temp=new Object();
temp.serviceFacialFlag=document.getElementById("chkServiceFacialFlag").checked;temp.serviceGymFlag=document.getElementById("chkServiceGymFlag").checked;temp.serviceHairFlag=document.getElementById("chkServiceHairFlag").checked;temp.serviceMakeupFlag=document.getElementById("chkServiceMakeupFlag").checked;
temp.serviceManicureFlag=document.getElementById("chkServiceManicureFlag").checked;temp.servicePedicureFlag=document.getElementById("chkServicePedicureFlag").checked;temp.serviceSpaFlag=document.getElementById("chkServiceSpaFlag").checked;temp.category="";temp.categoryCode=0;return temp;}function getDJRequest(){var temp=new Object();
temp.mealFlag=document.getElementById("chkMealDJ").checked;temp.emceeFlag=document.getElementById("chkMCDJ").checked;temp.totalHoursCount=document.getElementById("totalHoursDJ").value;temp.styleFxText=document.getElementById("txtStyleFXDJ").value;temp.music20sFlag=document.getElementById("chkMusic20sDJ").checked;
temp.music30sFlag=document.getElementById("chkMusic30sDJ").checked;temp.music40sFlag=document.getElementById("chkMusic40sDJ").checked;temp.music50sFlag=document.getElementById("chkMusic50sDJ").checked;temp.music60sFlag=document.getElementById("chkMusic60sDJ").checked;temp.music70sFlag=document.getElementById("chkMusic70sDJ").checked;
temp.music80sFlag=document.getElementById("chkMusic80sDJ").checked;temp.music90sFlag=document.getElementById("chkMusic90sDJ").checked;temp.musicTop40Flag=document.getElementById("chkMusicTop40DJ").checked;temp.musicAlternativeFlag=document.getElementById("chkMusicAlternativeDJ").checked;temp.musicBluesFlag=document.getElementById("chkMusicBluesDJ").checked;
temp.musicClassicRockFlag=document.getElementById("chkMusicClassicRockDJ").checked;temp.musicClassicalFlag=document.getElementById("chkMusicClassicalDJ").checked;temp.musicCountryFlag=document.getElementById("chkMusicCountryDJ").checked;temp.musicDanceFlag=document.getElementById("chkMusicDanceDJ").checked;
temp.musicFolkFlag=document.getElementById("chkMusicFolkDJ").checked;temp.musicFunkFlag=document.getElementById("chkMusicFunkDJ").checked;temp.musicHipHopFlag=document.getElementById("chkMusicHipHopDJ").checked;temp.musicIndieFlag=document.getElementById("chkMusicIndieDJ").checked;temp.musicJazzFlag=document.getElementById("chkMusicJazzDJ").checked;
temp.musicLatinFlag=document.getElementById("chkMusicLatinDJ").checked;temp.musicPopFlag=document.getElementById("chkMusicPopDJ").checked;temp.musicRbFlag=document.getElementById("chkMusicRBDJ").checked;temp.musicReggaeFlag=document.getElementById("chkMusicReggaeDJ").checked;temp.musicRockFlag=document.getElementById("chkMusicRockDJ").checked;
temp.musicSwingFlag=document.getElementById("chkMusicSwingDJ").checked;temp.musicOtherFlag=document.getElementById("chkMusicOtherDJ").checked;temp.musicOtherText=document.getElementById("txtMusicOtherDJ").value;temp.playCeremonyFlag=document.getElementById("chkPlayCeremonyDJ").checked;temp.playReceptionFlag=document.getElementById("chkPlayReceptionDJ").checked;
temp.playCocktailFlag=document.getElementById("chkPlayCocktailDJ").checked;temp.playAfterPartyFlag=document.getElementById("chkPlayAfterPartyDJ").checked;temp.playOtherFlag=document.getElementById("chkPlayOtherDJ").checked;temp.playOtherText=document.getElementById("txtPlayOtherDJ").value;temp.introductionsText=document.getElementById("txtintroductionsDJ").value;
temp.firstDanceText=document.getElementById("txtfirstDanceDJ").value;temp.fatherDaughterDanceText=document.getElementById("txtfatherDaughterDanceDJ").value;temp.motherSonDanceText=document.getElementById("txtmotherSonDanceDJ").value;temp.bridalPartyDanceText=document.getElementById("txtbridalPartyDanceDJ").value;
temp.anniversaryDanceText=document.getElementById("txtanniversaryDanceDJ").value;temp.cakeCuttingText=document.getElementById("txtcakeCuttingDJ").value;temp.garterTossText=document.getElementById("txtgarterTossDJ").value;temp.bouquetTossText=document.getElementById("txtbouquetTossDJ").value;temp.lastDanceText=document.getElementById("txtlastDanceDJ").value;
temp.otherText="";temp.category="";temp.categoryCode=0;return temp;}function getDressRequest(){var temp=new Object();temp.category="";temp.categoryCode="";return temp;}function getFavorRequest(){var temp=new Object();temp.category="";temp.categoryCode="";return temp;}function getInvitationRequest(){var temp=new Object();
temp.category="";temp.categoryCode="";return temp;}function getJewelryRequest(){var temp=new Object();temp.category="";temp.categoryCode="";return temp;}function getOtherRequest(){var temp=new Object();temp.category="";temp.categoryCode="";return temp;}function getPhotographyRequest(){var temp=new Object();
temp.mealFlag=document.getElementById("chkMeal").checked;temp.totalHoursCount=document.getElementById("totalHours").value;temp.photoEngagementFlag=document.getElementById("chkEngagement").checked;temp.photoBridalPortraitFlag=document.getElementById("chkBridal").checked;temp.photoFamilyPortraitFlag=document.getElementById("chkFamily").checked;
temp.photoRehearsalFlag=document.getElementById("chkCeremonyRehearsal").checked;temp.photoRehearsalDinnerFlag=document.getElementById("chkRehearsalDinner").checked;temp.photoBridePrepFlag=document.getElementById("chkBridePrep").checked;temp.photoGroomPrepFlag=document.getElementById("chkGroomPrep").checked;
temp.photoCeremonyFlag=document.getElementById("chkCeremony").checked;temp.photoReceptionFlag=document.getElementById("chkReception").checked;temp.photoAfterPartyFlag=document.getElementById("chkAfterParty").checked;temp.photoOtherFlag=document.getElementById("chkOther").checked;temp.photoOtherText=document.getElementById("txtOtherPhoto").value;
temp.stylePortraitureFlag=document.getElementById("chkStylePortraiturePhoto").checked;temp.stylePhotojournalismFlag=document.getElementById("chkStylePhotojournalismPhoto").checked;temp.styleOtherFlag=document.getElementById("chkStyleOtherPhoto").checked;temp.styleOtherText=document.getElementById("txtStyleOtherPhoto").value;
temp.mediaDigitalFlag=document.getElementById("chkMediaDigitalPhoto").checked;temp.mediaFilmFlag=document.getElementById("chkMediaFilmPhoto").checked;temp.assistantFlag=document.getElementById("chkAssistantPhoto").checked;temp.styleFxText="";temp.category="";temp.categoryCode=0;return temp;}function getVideoRequest(){var temp=new Object();
temp.mealFlag=document.getElementById("chkMealVideo").checked;temp.totalHoursCount=document.getElementById("totalHoursVideo").value;temp.totalCopiesCount=document.getElementById("totalCopiesVideo").value;temp.styleDocumentaryFlag=document.getElementById("chkStyleDocumentaryVideo").checked;temp.styleTraditionalFlag=document.getElementById("chkStyleTraditionalVideo").checked;
temp.styleOtherFlag=document.getElementById("chkStyleOtherVideo").checked;temp.styleOtherText=document.getElementById("txtStyleOtherVideo").value;temp.mediaDvdFlag=document.getElementById("chkMediaDvdVideo").checked;temp.mediaVhsFlag=document.getElementById("chkMediaVhsVideo").checked;temp.videoRehearsalFlag=document.getElementById("chkCeremonyRehearsalVideo").checked;
temp.videoRehearsalDinnerFlag=document.getElementById("chkRehearsalDinnerVideo").checked;temp.videoBridePrepFlag=document.getElementById("chkBridePrepVideo").checked;temp.videoGroomPrepFlag=document.getElementById("chkGroomPrepVideo").checked;temp.videoCeremonyFlag=document.getElementById("chkCeremonyVideo").checked;
temp.videoReceptionFlag=document.getElementById("chkReceptionVideo").checked;temp.videoAfterPartyFlag=document.getElementById("chkAfterPartyVideo").checked;temp.videoOtherFlag=document.getElementById("chkOtherVideo").checked;temp.videoOtherText=document.getElementById("txtOtherVideo").value;temp.category="";
temp.categoryCode=0;return temp;}function getTransportationRequest(){var temp=new Object();temp.totalHoursCount=document.getElementById("totalHoursTrans").value;temp.brideGroomTransportation=document.getElementById("chkBG").checked;temp.transportCountBG=document.getElementById("countBG").value;temp.transportToCeremonyFlagBG=document.getElementById("chkCereBG").checked;
temp.transportCeremonyToReceptionFlagBG=document.getElementById("chkCereRecpBG").checked;temp.transportFromReceptionFlagBG=document.getElementById("chkRecepBG").checked;temp.styleClassicCarFlagBG=document.getElementById("chkStyleClassicCarBG").checked;temp.styleExoticCarFlagBG=document.getElementById("chkStyleExoticCarBG").checked;
temp.styleHorseCarriageFlagBG=document.getElementById("chkStyleHorseCarriageBG").checked;temp.styleLimousineFlagBG=document.getElementById("chkStyleLimousineBG").checked;temp.styleLimousineStretchFlagBG=document.getElementById("chkStyleStretchLimoBG").checked;temp.styleLimousineSuvFlagBG=document.getElementById("chkStyleSUVLimoBG").checked;
temp.styleMotorCoachFlagBG=document.getElementById("chkStyleMCoachBG").checked;temp.styleSedanFlagBG=document.getElementById("chkStyleSedanBG").checked;temp.styleShuttleFlagBG=document.getElementById("chkStyleShuttleBG").checked;temp.styleTrolleyFlagBG=document.getElementById("chkStyleTrolleyBG").checked;
temp.styleVanFlagBG=document.getElementById("chkStyleVanBG").checked;temp.styleOtherFlagBG=document.getElementById("chkStyleOtherBG").checked;temp.styleOtherTextBG=document.getElementById("txtStyleOtherBG").value;temp.bridalPartyTransportation=document.getElementById("chkBP").checked;temp.transportCountBP=document.getElementById("countBP").value;
temp.transportToCeremonyFlagBP=document.getElementById("chkCereBP").checked;temp.transportCeremonyToReceptionFlagBP=document.getElementById("chkCereRecpBP").checked;temp.transportFromReceptionFlagBP=document.getElementById("chkRecepBP").checked;temp.styleClassicCarFlagBP=document.getElementById("chkStyleClassicCarBP").checked;
temp.styleExoticCarFlagBP=document.getElementById("chkStyleExoticCarBP").checked;temp.styleHorseCarriageFlagBP=document.getElementById("chkStyleHorseCarriageBP").checked;temp.styleLimousineFlagBP=document.getElementById("chkStyleLimousineBP").checked;temp.styleLimousineStretchFlagBP=document.getElementById("chkStyleStretchLimoBP").checked;
temp.styleLimousineSuvFlagBP=document.getElementById("chkStyleSUVLimoBP").checked;temp.styleMotorCoachFlagBP=document.getElementById("chkStyleMCoachBP").checked;temp.styleSedanFlagBP=document.getElementById("chkStyleSedanBP").checked;temp.styleShuttleFlagBP=document.getElementById("chkStyleShuttleBP").checked;
temp.styleTrolleyFlagBP=document.getElementById("chkStyleTrolleyBP").checked;temp.styleVanFlagBP=document.getElementById("chkStyleVanBP").checked;temp.styleOtherFlagBP=document.getElementById("chkStyleOtherBP").checked;temp.styleOtherTextBP=document.getElementById("txtStyleOtherBP").value;temp.parentsTransportation=document.getElementById("chkP").checked;
temp.transportCountP=document.getElementById("countP").value;temp.transportToCeremonyFlagP=document.getElementById("chkCereP").checked;temp.transportCeremonyToReceptionFlagP=document.getElementById("chkCereRecpP").checked;temp.transportFromReceptionFlagP=document.getElementById("chkRecepP").checked;temp.styleClassicCarFlagP=document.getElementById("chkStyleClassicCarP").checked;
temp.styleExoticCarFlagP=document.getElementById("chkStyleExoticCarP").checked;temp.styleHorseCarriageFlagP=document.getElementById("chkStyleHorseCarriageP").checked;temp.styleLimousineFlagP=document.getElementById("chkStyleLimousineP").checked;temp.styleLimousineStretchFlagP=document.getElementById("chkStyleStretchLimoP").checked;
temp.styleLimousineSuvFlagP=document.getElementById("chkStyleSUVLimoP").checked;temp.styleMotorCoachFlagP=document.getElementById("chkStyleMCoachP").checked;temp.styleSedanFlagP=document.getElementById("chkStyleSedanP").checked;temp.styleShuttleFlagP=document.getElementById("chkStyleShuttleP").checked;
temp.styleTrolleyFlagP=document.getElementById("chkStyleTrolleyP").checked;temp.styleVanFlagP=document.getElementById("chkStyleVanP").checked;temp.styleOtherFlagP=document.getElementById("chkStyleOtherP").checked;temp.styleOtherTextP=document.getElementById("txtStyleOtherP").value;temp.guestsTransportation=document.getElementById("chkG").checked;
temp.transportCountG=document.getElementById("countG").value;temp.transportToCeremonyFlagG=document.getElementById("chkCereG").checked;temp.transportCeremonyToReceptionFlagG=document.getElementById("chkCereRecpG").checked;temp.transportFromReceptionFlagG=document.getElementById("chkRecepG").checked;temp.styleClassicCarFlagG=document.getElementById("chkStyleClassicCarG").checked;
temp.styleExoticCarFlagG=document.getElementById("chkStyleExoticCarG").checked;temp.styleHorseCarriageFlagG=document.getElementById("chkStyleHorseCarriageG").checked;temp.styleLimousineFlagG=document.getElementById("chkStyleLimousineG").checked;temp.styleLimousineStretchFlagG=document.getElementById("chkStyleStretchLimoG").checked;
temp.styleLimousineSuvFlagG=document.getElementById("chkStyleSUVLimoG").checked;temp.styleMotorCoachFlagG=document.getElementById("chkStyleMCoachG").checked;temp.styleSedanFlagG=document.getElementById("chkStyleSedanG").checked;temp.styleShuttleFlagG=document.getElementById("chkStyleShuttleG").checked;
temp.styleTrolleyFlagG=document.getElementById("chkStyleTrolleyG").checked;temp.styleVanFlagG=document.getElementById("chkStyleVanG").checked;temp.styleOtherFlagG=document.getElementById("chkStyleOtherG").checked;temp.styleOtherTextG=document.getElementById("txtStyleOtherG").value;temp.category="";temp.categoryCode="";
return temp;}function getOfficiantRequest(){var temp=new Object();temp.hearingImpairedFlag=document.getElementById("chkHearingOff").checked;temp.sameSexFlag=document.getElementById("chkSameSexOff").checked;temp.cultureText=document.getElementById("txtCulturalOff").value;temp.foreignLanguageText=document.getElementById("txtForeignLanguageOff").value;
temp.religionSingleFlag=document.getElementById("chkSingleOff").checked;temp.religionInterfaithFlag=document.getElementById("chkInterfaithOff").checked;temp.religionNoneFlag=document.getElementById("chkNone").checked;temp.BReligion=document.getElementById("chkBReligion").checked;temp.religionBahaismFlagB=document.getElementById("chkBahaismB").checked;
temp.religionBuddhistFlagB=document.getElementById("chkBuddhistB").checked;temp.religionChristianNoneFlagB=document.getElementById("chkChristianNoneB").checked;temp.religionChristianBaptistFlagB=document.getElementById("chkChristianBaptistB").checked;temp.religionChristianCatholicFlagB=document.getElementById("chkChristianCatholicB").checked;
temp.religionChristianChurchOfSaintsFlagB=document.getElementById("chkChristianChurchOfSaintsB").checked;temp.religionChristianEasternOrthodoxFlagB=document.getElementById("chkChristianEasternOrthodoxB").checked;temp.religionChristianEpiscopalianFlagB=document.getElementById("chkChristianEpiscopalianB").checked;
temp.religionChristianLutheranFlagB=document.getElementById("chkChristianLutheranB").checked;temp.religionChristianMethodistFlagB=document.getElementById("chkChristianMethodistB").checked;temp.religionChristianPresbyterianFlagB=document.getElementById("chkChristianPresbyterianB").checked;temp.religionChristianQuakerFlagB=document.getElementById("chkChristianQuakerB").checked;
temp.religionChristianOtherFlagB=document.getElementById("chkChristianOtherB").checked;temp.religionChristianOtherTextB=document.getElementById("txtChristianOtherB").value;temp.religionHinduFlagB=document.getElementById("chkHinduB").checked;temp.religionJewishFlagB=document.getElementById("chkJewishB").checked;
temp.religionMuslimFlagB=document.getElementById("chkMuslimB").checked;temp.religionShintoFlagB=document.getElementById("chkShintoB").checked;temp.religionOtherFlagB=document.getElementById("chkOtherB").checked;temp.religionOtherTextB=document.getElementById("txtOtherB").value;temp.GReligion=document.getElementById("chkGReligion").checked;
temp.religionBahaismFlagG=document.getElementById("chkBahaismG").checked;temp.religionBuddhistFlagG=document.getElementById("chkBuddhistG").checked;temp.religionChristianNoneFlagG=document.getElementById("chkChristianNoneG").checked;temp.religionChristianBaptistFlagG=document.getElementById("chkChristianBaptistG").checked;
temp.religionChristianCatholicFlagG=document.getElementById("chkChristianCatholicG").checked;temp.religionChristianChurchOfSaintsFlagG=document.getElementById("chkChristianChurchOfSaintsG").checked;temp.religionChristianEasternOrthodoxFlagG=document.getElementById("chkChristianEasternOrthodoxG").checked;
temp.religionChristianEpiscopalianFlagG=document.getElementById("chkChristianEpiscopalianG").checked;temp.religionChristianLutheranFlagG=document.getElementById("chkChristianLutheranG").checked;temp.religionChristianMethodistFlagG=document.getElementById("chkChristianMethodistG").checked;temp.religionChristianPresbyterianFlagG=document.getElementById("chkChristianPresbyterianG").checked;
temp.religionChristianQuakerFlagG=document.getElementById("chkChristianQuakerG").checked;temp.religionChristianOtherFlagG=document.getElementById("chkChristianOtherG").checked;temp.religionChristianOtherTextG=document.getElementById("txtChristianOtherG").value;temp.religionHinduFlagG=document.getElementById("chkHinduG").checked;
temp.religionJewishFlagG=document.getElementById("chkJewishG").checked;temp.religionMuslimFlagG=document.getElementById("chkMuslimG").checked;temp.religionShintoFlagG=document.getElementById("chkShintoG").checked;temp.religionOtherFlagG=document.getElementById("chkOtherG").checked;temp.religionOtherTextG=document.getElementById("txtOtherG").value;
temp.category="";temp.categoryCode=0;return temp;}function getVenueRequest(){var temp=new Object();temp.serviceCeremonyFlag=document.getElementById("serviceCeremonyFlag").checked;temp.serviceDinnerFlag=document.getElementById("serviceDinnerFlag").checked;temp.serviceReceptionFlag=document.getElementById("serviceReceptionFlag").checked;
temp.cateringOnsiteFlag=document.getElementById("cateringOnsiteFlag").checked;temp.cateringOffsiteFlag=document.getElementById("cateringOffsiteFlag").checked;temp.settingIndoorFlag=document.getElementById("settingIndoorFlag").checked;temp.settingOutdoorFlag=document.getElementById("settingOutdoorFlag").checked;
temp.styleBanquetHallFlag=document.getElementById("styleBanquetHallFlag").checked;temp.styleBoatFlag=document.getElementById("styleBoatFlag").checked;temp.styleCountryClubFlag=document.getElementById("styleCountryClubFlag").checked;temp.styleHistoricFlag=document.getElementById("styleHistoricFlag").checked;
temp.styleHotelFlag=document.getElementById("styleHotelFlag").checked;temp.styleInnFlag=document.getElementById("styleInnFlag").checked;temp.styleManorFlag=document.getElementById("styleManorFlag").checked;temp.styleMuseumFlag=document.getElementById("styleMuseumFlag").checked;temp.styleRestaurantFlag=document.getElementById("styleRestaurantFlag").checked;
temp.styleRusticFlag=document.getElementById("styleRusticFlag").checked;temp.styleVineyardFlag=document.getElementById("styleVineyardFlag").checked;temp.styleWorshipFlag=document.getElementById("styleWorshipFlag").checked;temp.styleOtherFlag=document.getElementById("styleOtherFlag").checked;temp.styleOtherText=document.getElementById("styleOtherText").value;
temp.religionBahaismFlag=document.getElementById("chkBahaism").checked;temp.religionBuddhistFlag=document.getElementById("chkBuddhist").checked;temp.religionChristianNoneFlag=document.getElementById("chkChristianNone").checked;temp.religionChristianBaptistFlag=document.getElementById("chkChristianBaptist").checked;
temp.religionChristianCatholicFlag=document.getElementById("chkChristianCatholic").checked;temp.religionChristianChurchOfSaintsFlag=document.getElementById("chkChristianChurchOfSaints").checked;temp.religionChristianEasternOrthodoxFlag=document.getElementById("chkChristianEasternOrthodox").checked;temp.religionChristianEpiscopalianFlag=document.getElementById("chkChristianEpiscopalian").checked;
temp.religionChristianLutheranFlag=document.getElementById("chkChristianLutheran").checked;temp.religionChristianMethodistFlag=document.getElementById("chkChristianMethodist").checked;temp.religionChristianPresbyterianFlag=document.getElementById("chkChristianPresbyterian").checked;temp.religionChristianQuakerFlag=document.getElementById("chkChristianQuaker").checked;
temp.religionHinduFlag=document.getElementById("chkHindu").checked;temp.religionJewishFlag=document.getElementById("chkJewish").checked;temp.religionMuslimFlag=document.getElementById("chkMuslim").checked;temp.religionShintoFlag=document.getElementById("chkShinto").checked;temp.religionOtherFlag=document.getElementById("chkOther").checked;
temp.religionOtherText=document.getElementById("txtOtherB").value;temp.foodAfricanFlag=document.getElementById("chkFoodAfrican").checked;temp.foodAmericanBarbequeFlag=document.getElementById("chkFoodAmericanBarbeque").checked;temp.foodAmericanCajunFlag=document.getElementById("chkFoodAmericanCajun").checked;
temp.foodAmericanNewFlag=document.getElementById("chkFoodAmericanNew").checked;temp.foodAmericanSouthernFlag=document.getElementById("chkFoodAmericanSouthern").checked;temp.foodAmericanSouthwesternFlag=document.getElementById("chkFoodAmericanSouthwestern").checked;temp.foodAmericanSteakhouseFlag=document.getElementById("chkFoodAmericanSteakhouse").checked;
temp.foodAmericanTraditionalFlag=document.getElementById("chkFoodAmericanTraditional").checked;temp.foodAsianChineseFlag=document.getElementById("chkFoodAsianChinese").checked;temp.foodAsianJapaneseFlag=document.getElementById("chkFoodAsianJapanese").checked;temp.foodAsianKoreanFlag=document.getElementById("chkFoodAsianKorean").checked;
temp.foodAsianThaiFlag=document.getElementById("chkFoodAsianThai").checked;temp.foodAsianVietnameseFlag=document.getElementById("chkFoodAsianVietnamese").checked;temp.foodBritishFlag=document.getElementById("chkFoodBritish").checked;temp.foodCaribbeanFlag=document.getElementById("chkFoodCaribbean").checked;
temp.foodFrenchFlag=document.getElementById("chkFoodFrench").checked;temp.foodGermanFlag=document.getElementById("chkFoodGerman").checked;temp.foodGreekFlag=document.getElementById("chkFoodGreek").checked;temp.foodHawaiianFlag=document.getElementById("chkFoodHawaiian").checked;temp.foodIndianFlag=document.getElementById("chkFoodIndian").checked;
temp.foodItalianFlag=document.getElementById("chkFoodItalian").checked;temp.foodKosherFlag=document.getElementById("chkFoodKosher").checked;temp.foodLatinAmericanFlag=document.getElementById("chkFoodLatinAmerican").checked;temp.foodMediterraneanFlag=document.getElementById("chkFoodMediterranean").checked;
temp.foodMexicanFlag=document.getElementById("chkFoodMexican").checked;temp.foodMiddleEasternFlag=document.getElementById("chkFoodMiddleEastern").checked;temp.foodSeafoodFlag=document.getElementById("chkFoodSeafood").checked;temp.foodSpanishFlag=document.getElementById("chkFoodSpanish").checked;temp.foodVeganFlag=document.getElementById("chkFoodVegan").checked;
temp.foodVegetarianFlag=document.getElementById("chkFoodVegetarian").checked;temp.foodOtherFlag=document.getElementById("chkFoodOther").checked;temp.foodOtherText=document.getElementById("txtFoodOtherText").value;temp.category="";temp.categoryCode=0;return temp;}function getCeremonyMusicRequest(){var temp=new Object();
temp.totalHoursCount=document.getElementById("totalHoursCM").value;temp.styleBrassTrioFlag=document.getElementById("chkStyleBrassTrioCM").checked;temp.styleBrassQuartetFlag=document.getElementById("chkStyleBrassQuartetCM").checked;temp.styleBrassQuintetFlag=document.getElementById("chkStyleBrassQuintetCM").checked;
temp.styleInstrumentSoloFlag=document.getElementById("chkStyleInstrumentSoloCM").checked;temp.styleInstrumentDuoFlag=document.getElementById("chkStyleInstrumentDuoCM").checked;temp.styleInstrumentTrioFlag=document.getElementById("chkStyleInstrumentTrioCM").checked;temp.styleStringTrioFlag=document.getElementById("chkStyleStringTrioCM").checked;
temp.styleStringQuartetFlag=document.getElementById("chkStyleStringQuartetCM").checked;temp.styleStringQuintetFlag=document.getElementById("chkStyleStringQuintetCM").checked;temp.styleOrchestraFlag=document.getElementById("chkStyleOrchestraCM").checked;temp.styleVocalistFlag=document.getElementById("chkStyleVocalistCM").checked;
temp.styleOtherFlag=document.getElementById("chkStyleOtherCM").checked;temp.styleOtherText=document.getElementById("txtStyleOtherCM").value;temp.musicCelloFlag=document.getElementById("chkMusicCelloCM").checked;temp.musicDrumsFlag=document.getElementById("chkMusicDrumsCM").checked;temp.musicFluteFlag=document.getElementById("chkMusicFluteCM").checked;
temp.musicGuitarFlag=document.getElementById("chkMusicGuitarCM").checked;temp.musicHarpFlag=document.getElementById("chkMusicHarpCM").checked;temp.musicOrganFlag=document.getElementById("chkMusicOrganCM").checked;temp.musicPianoFlag=document.getElementById("chkMusicPianoCM").checked;temp.musicTrumpetFlag=document.getElementById("chkMusicTrumpetCM").checked;
temp.musicVocalsFlag=document.getElementById("chkMusicVocalsCM").checked;temp.musicViolaFlag=document.getElementById("chkMusicViolaCM").checked;temp.musicViolinFlag=document.getElementById("chkMusicViolinCM").checked;temp.musicOtherFlag=document.getElementById("chkMusicOtherCM").checked;temp.musicOtherText=document.getElementById("txtMusicOtherCM").value;
temp.playPreCeremonyFlag=document.getElementById("chkPreCeremonyFlagCM").checked;temp.playCocktailFlag=document.getElementById("chkPlayCocktailCM").checked;temp.playOtherFlag=document.getElementById("chkPlayOtherCM").checked;temp.playOtherText=document.getElementById("txtPlayOtherCM").value;temp.preludeText=document.getElementById("txtpreludeCM").value;
temp.processionalText=document.getElementById("txtprocessionalCM").value;temp.recessionalText=document.getElementById("txtrecessionalCM").value;temp.postludeText=document.getElementById("txtpostludeCM").value;temp.otherText=document.getElementById("txtotherSongCM").value;temp.category="";temp.categoryCode=0;
return temp;}function getCakeRequest(){var temp=new Object();temp.totalTiersCount=document.getElementById("totalTiersCake").value;temp.deliveryTypeCode=document.getElementById("deliveryCake").value;temp.otherDessertTypeCode=document.getElementById("otherCake").value;temp.shapeTypeCode=document.getElementById("shapeCake").value;
temp.shapeOtherText=document.getElementById("txtOtherShapeCake").value;temp.flavorAlmondFlag=document.getElementById("chkFlavorAlmondFlagCake").checked;temp.flavorAngelFoodFlag=document.getElementById("chkFlavorAngelFoodFlagCake").checked;temp.flavorBerriesAndCreamFlag=document.getElementById("chkFlavorBerriesAndCreamFlagCake").checked;
temp.flavorCarrotFlag=document.getElementById("chkFlavorCarrotFlagCake").checked;temp.flavorCheesecakeFlag=document.getElementById("chkFlavorCheesecakeFlagCake").checked;temp.flavorChocolateFlag=document.getElementById("chkFlavorChocolateFlagCake").checked;temp.flavorGoldenFlag=document.getElementById("chkFlavorGoldenFlagCake").checked;
temp.flavorLemonFlag=document.getElementById("chkFlavorLemonFlagCake").checked;temp.flavorLiqueursFlag=document.getElementById("chkFlavorLiqueursFlagCake").checked;temp.flavorMochaFlag=document.getElementById("chkFlavorMochaFlagCake").checked;temp.flavorOrangeFlag=document.getElementById("chkFlavorOrangeFlagCake").checked;
temp.flavorRaspberryFlag=document.getElementById("chkFlavorRaspberryFlagCake").checked;temp.flavorSpiceFlag=document.getElementById("chkFlavorSpiceFlagCake").checked;temp.flavorStrawberryFlag=document.getElementById("chkFlavorStrawberryFlagCake").checked;temp.flavorTruffleFlag=document.getElementById("chkFlavorTruffleFlagCake").checked;
temp.flavorVanillaFlag=document.getElementById("chkFlavorVanillaFlagCake").checked;temp.flavorWhiteChocolateFlag=document.getElementById("chkFlavorWhiteChocolateFlagCake").checked;temp.flavorUndecidedFlag=document.getElementById("chkFlavorUndecidedFlagCake").checked;temp.flavorOtherFlag=document.getElementById("chkFlavorOtherFlagCake").checked;
temp.flavorOtherText=document.getElementById("txtFlavorOtherTextCake").value;temp.fillingAlmondFlag=document.getElementById("chkFillingAlmondFlagCake").checked;temp.fillingButtercreamFlag=document.getElementById("chkFillingButtercreamFlagCake").checked;temp.fillingChocolateFlag=document.getElementById("chkFillingChocolateFlagCake").checked;
temp.fillingCoconutFlag=document.getElementById("chkFillingCoconutFlagCake").checked;temp.fillingCreamCheeseFlag=document.getElementById("chkFillingCreamCheeseFlagCake").checked;temp.fillingCustardFlag=document.getElementById("chkFillingCustardFlagCake").checked;temp.fillingDulceLeLecheFlag=document.getElementById("chkFillingDulceLeLecheFlagCake").checked;
temp.fillingFreshFruitFlag=document.getElementById("chkFillingFreshFruitFlagCake").checked;temp.fillingFruitPreservesFlag=document.getElementById("chkFillingFruitPreservesFlagCake").checked;temp.fillingGanacheFlag=document.getElementById("chkFillingGanacheFlagCake").checked;temp.fillingGrandMarnierFlag=document.getElementById("chkFillingGrandMarnierFlagCake").checked;
temp.fillingHazelnutFlag=document.getElementById("chkFillingHazelnutFlagCake").checked;temp.fillingMousseFlag=document.getElementById("chkFillingMousseFlagCake").checked;temp.fillingUndecidedFlag=document.getElementById("chkFillingUndecidedFlagCake").checked;temp.fillingOtherFlag=document.getElementById("chkFillingOtherFlagCake").checked;
temp.fillingOtherText=document.getElementById("txtFillingOtherTextCake").value;temp.category="";temp.categoryCode=0;return temp;}function getCateringRequest(){var temp=new Object();temp.deliveryTime="";temp.mealBreakfastFlag=document.getElementById("chkMealBreakfastCate").checked;temp.mealBrunchFlag=document.getElementById("chkMealBrunchCate").checked;
temp.mealLunchFlag=document.getElementById("chkMealLunchCate").checked;temp.mealTeaFlag=document.getElementById("chkMealTeaCate").checked;temp.mealDinnerFlag=document.getElementById("chkMealDinnerCate").checked;temp.mealDessertFlag=document.getElementById("chkMealDessertCate").checked;temp.mealCocktailsFlag=document.getElementById("chkMealCocktailsCate").checked;
temp.serviceBuffetFlag=document.getElementById("chkServiceBuffetCate").checked;temp.servicePlatedFlag=document.getElementById("chkServicePlatedCate").checked;temp.serviceStationsFlag=false;temp.serviceHorsdouevresTablesFlag=document.getElementById("chkServiceHorsdouevresTablesFlag").checked;temp.serviceHorsdouevresPassedFlag=document.getElementById("chkServiceHorsdouevresPassedFlag").checked;
temp.foodAfricanFlag=document.getElementById("chkFoodAfricanCate").checked;temp.foodAmericanBarbequeFlag=document.getElementById("chkFoodAmericanBarbequeCate").checked;temp.foodAmericanCajunFlag=document.getElementById("chkFoodAmericanCajunCate").checked;temp.foodAmericanNewFlag=document.getElementById("chkFoodAmericanNewCate").checked;
temp.foodAmericanSouthernFlag=document.getElementById("chkFoodAmericanSouthernCate").checked;temp.foodAmericanSouthwesternFlag=document.getElementById("chkFoodAmericanSouthwesternCate").checked;temp.foodAmericanSteakhouseFlag=document.getElementById("chkFoodAmericanSteakhouseCate").checked;temp.foodAmericanTraditionalFlag=document.getElementById("chkFoodAmericanTraditionalCate").checked;
temp.foodAsianChineseFlag=document.getElementById("chkFoodAsianChineseCate").checked;temp.foodAsianJapaneseFlag=document.getElementById("chkFoodAsianJapaneseCate").checked;temp.foodAsianKoreanFlag=document.getElementById("chkFoodAsianKoreanCate").checked;temp.foodAsianThaiFlag=document.getElementById("chkFoodAsianThaiCate").checked;
temp.foodAsianVietnameseFlag=document.getElementById("chkFoodAsianVietnameseCate").checked;temp.foodBritishFlag=document.getElementById("chkFoodBritishCate").checked;temp.foodCaribbeanFlag=document.getElementById("chkFoodCaribbeanCate").checked;temp.foodFrenchFlag=document.getElementById("chkFoodFrenchCate").checked;
temp.foodGermanFlag=document.getElementById("chkFoodGermanCate").checked;temp.foodGreekFlag=document.getElementById("chkFoodGreekCate").checked;temp.foodHawaiianFlag=document.getElementById("chkFoodHawaiianCate").checked;temp.foodIndianFlag=document.getElementById("chkFoodIndianCate").checked;temp.foodItalianFlag=document.getElementById("chkFoodItalianCate").checked;
temp.foodKosherFlag=document.getElementById("chkFoodKosherCate").checked;temp.foodLatinAmericanFlag=document.getElementById("chkFoodLatinAmericanCate").checked;temp.foodMediterraneanFlag=document.getElementById("chkFoodMediterraneanCate").checked;temp.foodMexicanFlag=document.getElementById("chkFoodMexicanCate").checked;
temp.foodMiddleEasternFlag=document.getElementById("chkFoodMiddleEasternCate").checked;temp.foodSeafoodFlag=document.getElementById("chkFoodSeafoodCate").checked;temp.foodSpanishFlag=document.getElementById("chkFoodSpanishCate").checked;temp.foodVeganFlag=document.getElementById("chkFoodVeganCate").checked;
temp.foodVegetarianFlag=document.getElementById("chkFoodVegetarianCate").checked;temp.foodOtherFlag=document.getElementById("chkFoodOtherCate").checked;temp.foodOtherText=document.getElementById("txtFoodOtherText").value;temp.alcoholBarLimitedFlag=document.getElementById("chkAlcoholBarLimitedFlag").checked;
temp.alcoholBarOpenFlag=document.getElementById("chkAlcoholBarOpenFlag").checked;temp.alcoholBeerAndWineFlag=document.getElementById("chkAlcoholBeerAndWineFlag").checked;temp.alcoholChampagneToastFlag=document.getElementById("chkAlcoholChampagneToastFlag").checked;temp.alcoholLiquorFlag=document.getElementById("chkAlcoholLiquorFlag").checked;
temp.alcoholWineWithDinnerFlag=document.getElementById("chkAlcoholWineWithDinnerFlag").checked;temp.category="";temp.categoryCode=0;return temp;}function setHourMinAMPM(time,hrelem,minelem,ampmele){var timesplit=time.split(":");var hour=timesplit[0];var min=timesplit[1];var ampm=time.slice(time.length-2).toLowerCase();
hrelem.value=hour;minelem.value=min;ampmele.value=ampm;}function getPlannerRequest(){var temp=new Object();temp.serviceDayOfCoordinatorFlag=document.getElementById("chkDayOfPlan").checked;temp.serviceFullPlanningFlag=document.getElementById("chkFullPlan").checked;temp.servicePartialPlanningFlag=document.getElementById("chkPartialPlan").checked;
temp.findVendorForBandFlag=document.getElementById("chkFindVendorForBandPlan").checked;temp.findVendorForCakeFlag=document.getElementById("chkFindVendorForCakePlan").checked;temp.findVendorForCateringFlag=document.getElementById("chkFindVendorForCateringPlan").checked;temp.findVendorForCeremonyMusicFlag=document.getElementById("chkFindVendorForCeremonyMusicPlan").checked;
temp.findVendorForCeremonyVenueFlag=document.getElementById("chkFindVendorForCeremonyVenuePlan").checked;temp.findVendorForDinnerVenueFlag=document.getElementById("chkFindVendorForDinnerVenuePlan").checked;temp.findVendorForDjFlag=document.getElementById("chkFindVendorForDjPlan").checked;temp.findVendorForFloristFlag=document.getElementById("chkFindVendorForFloristPlan").checked;
temp.findVendorForOfficiantFlag=document.getElementById("chkFindVendorForOfficiantPlan").checked;temp.findVendorForPhotographyFlag=document.getElementById("chkFindVendorForPhotographyPlan").checked;temp.findVendorForReceptionVenueFlag=document.getElementById("chkFindVendorForReceptionVenuePlan").checked;
temp.findVendorForRentalFlag=document.getElementById("chkFindVendorForRentalPlan").checked;temp.findVendorForTransportationFlag=document.getElementById("chkFindVendorForTransportationPlan").checked;temp.findVendorForVideographyFlag=document.getElementById("chkFindVendorForVideographyPlan").checked;temp.findVendorForOtherFlag=document.getElementById("chkFindVendorForOtherPlan").checked;
temp.findVendorForOtherText=document.getElementById("txtFindVendorForOtherPlan").value;temp.setupCeremonyGuestbookFlag=false;temp.setupCeremonyPewbowsFlag=false;temp.setupCeremonyProgramsFlag=false;temp.setupCeremonyRiceFlag=false;temp.setupCeremonyUnityCandleFlag=false;temp.setupCeremonyOtherFlag=false;
temp.setupCeremonyOtherText="";temp.setupReceptionCandlesFlag=false;temp.setupReceptionCardboxFlag=false;temp.setupReceptionCenterpiecesFlag=false;temp.setupReceptionChaircoversFlag=false;temp.setupReceptionFavorsFlag=false;temp.setupReceptionGuestbookFlag=false;temp.setupReceptionPlacecardsFlag=false;
temp.setupReceptionTableclothsFlag=false;temp.setupReceptionOtherFlag=false;temp.setupReceptionOtherText="";temp.category="";temp.categoryCode=0;return temp;}function getFloristRequest(){var temp=new Object();temp.centerpieceCount=document.getElementById("centerFlor").value;temp.bouquetCount=document.getElementById("bouquetCountFlor").value;
temp.boutoniereCount=document.getElementById("boutoniereCountFlor").value;temp.corsageCount=document.getElementById("corsageCountFlor").value;temp.floralAlterFlag=document.getElementById("chkFloralAlterFlor").checked;temp.floralGarlandsFlag=document.getElementById("chkFloralGarlandsFlor").checked;temp.floralGuestTableFlag=document.getElementById("chkFloralGuestTableFlor").checked;
temp.floralOutsideFlag=document.getElementById("chkFloralOutsideFlor").checked;temp.floralPewFlag=document.getElementById("chkFloralPewFlor").checked;temp.floralRestroomCounterFlag=document.getElementById("chkFloralRestroomCounterFlor").checked;temp.floralSeatingTableFlag=document.getElementById("chkFloralSeatingTableFlor").checked;
temp.floralTrellisFlag=document.getElementById("chkFloralTrellisFlor").checked;temp.floralWreathsFlag=document.getElementById("chkFloralWreathsFlor").checked;temp.floralOtherFlag=document.getElementById("chkFloralOtherFlor").checked;temp.floralOtherText=document.getElementById("txtFloralOtherFlor").value;
temp.styleClassicFlag=document.getElementById("chkStyleClassicFlor").checked;temp.styleCleanFlag=document.getElementById("chkStyleCleanFlor").checked;temp.styleFormalFlag=document.getElementById("chkStyleFormalFlor").checked;temp.styleFunFlag=document.getElementById("chkStyleFunFlor").checked;temp.styleInformalFlag=document.getElementById("chkStyleInformalFlor").checked;
temp.styleModernFlag=document.getElementById("chkStyleModernFlor").checked;temp.styleReservedFlag=document.getElementById("chkStyleReservedFlor").checked;temp.styleRomanticFlag=document.getElementById("chkStyleRomanticFlor").checked;temp.styleTraditionalFlag=document.getElementById("chkStyleTraditionalFlor").checked;
temp.styleWildFlag=document.getElementById("chkStyleWildFlor").checked;temp.styleFallFlag=document.getElementById("chkStyleFallFlor").checked;temp.styleSpringFlag=document.getElementById("chkStyleSpringFlor").checked;temp.styleSummerFlag=document.getElementById("chkStyleSummerFlor").checked;temp.styleWinterFlag=document.getElementById("chkStyleWinterFlor").checked;
temp.styleOtherFlag=document.getElementById("chkStyleOtherFlor").checked;temp.styleOtherText=document.getElementById("txtStyleOtherFlor").value;temp.category="";temp.categoryCode=0;return temp;}function getRentalRequest(){var temp=new Object();temp.deliveryType="";temp.deliveryTypeCode=document.getElementById("deliveryRent").value;
temp.rentBarwareFlag=document.getElementById("chkRentBarwareRent").checked;temp.rentChairsFlag=document.getElementById("chkRentChairsRent").checked;temp.rentChinaFlag=document.getElementById("chkRentChinaRent").checked;temp.rentChocolateFountainFlag=document.getElementById("chkRentChocolateFountain").checked;
temp.rentDanceFloorFlag=document.getElementById("chkRentDanceFloorRent").checked;temp.rentDecorFlag=document.getElementById("chkRentDecorRent").checked;temp.rentFlatwareFlag=document.getElementById("chkRentFlatwareRent").checked;temp.rentFurnitureFlag=document.getElementById("chkRentFurnitureRent").checked;
temp.rentGlasswareFlag=document.getElementById("chkRentGlasswareRent").checked;temp.rentLinensFlag=document.getElementById("chkRentLinensRent").checked;temp.rentPhotoBoothFlag=document.getElementById("chkRentPhotoBoothRent").checked;temp.rentStaffFlag=document.getElementById("chkRentStaffRent").checked;
temp.rentTablesFlag=document.getElementById("chkRentTablesRent").checked;temp.rentTentsFlag=document.getElementById("chkRentTentsRent").checked;temp.rentTentAccessoriesFlag=document.getElementById("chkRentTentAccessoriesRent").checked;temp.rentOtherFlag=document.getElementById("chkRentOtherRent").checked;
temp.rentOtherText=document.getElementById("txtRentOtherRent").value;temp.category="";temp.categoryCode=0;return temp;}