var oHandlers=new Object();oHandlers.Default="#";oHandlers.Download="#";var oGlobal=new Object();oGlobal.strHostName="#";oGlobal.strForumReloadUrl="#";oGlobal.bAsync=false;oGlobal.nPopupCount=0;oGlobal.strRelatedAssetIDs=new Array();oGlobal.strEditRelatedAssetIDs=new Array();oGlobal.arrAssetIDs=new Array();oGlobal.oAssetFilter=new Object();oGlobal.arrActiveXIEFixIDs=new Array();oGlobal.iEnvironmentTypeID=null;oGlobal.iPageSize=15;oGlobal.iQuestionCount=40;oGlobal.iPurchasePageID={MBA2009:1,MBA2009_2010:2,GCET:3};oGlobal.iMediaType={Online:1,Print:2,CD:3};oGlobal.FileTypeID={Image:1,MiscFiles:2,Table:3};oGlobal.ContentTypeIDs={CommonData:1,Question:2,AnswerOption:3,Solution:4,Feedback:5,Instruction:6,Source:7};oGlobal.ImageLocationIDs={left:1,right:2,top:3,bottom:4};oGlobal.Question={IndepenentQuestion:1,SubQuestion:2,GroupQuestion:3};oGlobal.iResourceTabs={Latest:1,Rating:2,Views:3,Comments:4};oGlobal.ResourceCentreCategories={NotAlignedToCategory:0,StratCat:1,SharpenTheSaw:2,PreviousCATs:3,CATInfo:4,InstituteInfo:6,PotPourri:7,CurrentAffairs:8,FunZone:9,Chats:10,Quizzes:11,GameRooms:12,Blackhole:13,GDCapsules:14,DetailedTopicAnalysis:15,NewsStory:16};oGlobal.Functions={GetRequestedQuestion:1,RenderMesssageBlock:2,AddNewPost:3,GetAssetListing:4,GetTestimonialListing:5,GetLatestHappeningList:6,SetAssetFilter:7,GetPollListing:8,DeleteAsset:9,GetManageQODList:10,GetExamLaunchPopup:11,DeleteAssetFromLatestHappening:12,SetUserName:13,GetEmailPopUpUI:14,SendMailPopUp:15,GetUQSolution:16,GetSpeedReport:17,GetAccuracyReport:18,GetTimeAllocationReport:19,GetQuestionSelectionReport:20,SendMailForDoubt:21,GetUserDoubtEnum:22,GetQODPreview:23,GetManageUserList:24,SearchUser:25,ManageUserPagination:26,SendMailFromManageUser:27,GetUserTypeEnum:28,ActivateDeactivateUser:29,ChangeUserType:30,GetTestCenterData:31,GetCatJobCandidateList:32,RegDeregUserType:33,SendPODSolutionMailPopUp:34,GetPODSolutionMailPopUp:35,PlayerUpdateLessonUsage:36,CheckReferralCode:37,AjaxHandlerForPurchaseListing:38,AjaxHandlerForPurchaseDetails:39,AjaxHandlerForAuditTrail:40,AjaxHandlerForPurchaseHistory:41,GetClassSectionEnum:42,UpdateClassSection:43,AjaxHandlerForChangeStatus:44,SubmitWalkinInformation:45,AjaxHandlerForViewInvoice:46,LoginAjax:47,AjaxHandlerForAddUserRating:48,GetWordlistPreview:49,GetPOWPreview:50,SendAnnouncementMail:51,GetSolutionPreview:52,GetEmailSupport:53,VoteForPost:54,GetLoginHistory:55,AddRemoveToCourses:57,SubmitAddRemoveCourses:58,UserActivation:59,PaidUnpaidUser:60,GetQODByDate:61,GetTODPreview:62,AjaxHandlerForReferralListing:63,GetPermissionStatus:64,GetPermissionConfirmationPopUp:65,SavePermissionList:66,GetUsersSolutionPreview:67,AjaxHandlerForManageDoubts:68,ViewUserDoubtMsg:69,MarkAsCorrectSolution:70,UnMarkAsCorrectSolution:71,AddUpdateUserDoubt:72,MarkAsWinner:73,UnMarkAsWinner:74,GetPODBoxInFocusUserSolutionPopUp:75,RefreshCaptchaImage:76,GetLatestHappeningBox:77,ViewDoubtHistory:78,UpdateDoubtStatus:79,GetReferralAjax:80,SendMailYourself:81,SendTestMailYourself:82,GetCurrentQuestion:83,AddAdminComment:84,AddQuestion:85,AddUserPost:86,AddUserAnswer:87,GetDoubtAttachmentFromServer:88,GetMyGamesListing:89,HostGame:90,MailHallTicketAgain:91,JoinAGame:92,GetMyGameLeader:93,GetUserStatistics:94,GetPublicGamesListing:95,PublishChat:96,OpenCloseChat:97,AjaxRequestForNextPages:98,AjaxRequestForRecentQuestion:99,MarkQuestionDeleted:100,SuspendUser:101,AjaxRequestToSendAnswers:102,AjaxRequestToSendComments:103,MarkQuestionUnDeleted:104,AjaxToRefreshAllQuestion:105,AjaxToRefreshRecentQuestion:106,PreviewHomeAnnouncement:107,PreviewQODAnnouncement:108,PreviewPOWAnnouncement:109,DeleteHomeAnnouncement:110,DeletePOWAnnouncement:111,DeleteQODAnnouncement:112,SaveNewsletterSchedule:113,GetNewsletterAdData:114,GetNewsletterAdDetails:115,DeleteNewsletterAd:116,RestoreNewsletterAd:117,DeleteForumAnnouncement:118,AddEditNewsletterAd:119,DeleteCat2008Announcement:120,QuerySites:121,AjaxRequestRenderHomePage:122,DeleteCat2008Main:123,RestartQuerySites:124,RequestUrl:125,AjaxRequestForRecentComments:126,AjaxRequestForCurrentAffairsTab:127,AddNewDebateArgument:131,LoadAdvertisements:132,SaveAssetFile:133,SelectAssetTopicForSubject:134,PartnerSearch:135,AddAnotherCourse:137,AddAnotherCourseSubmit:138,NoOfAvailableKeys:139,GetRequiredKeys:140,GetPostsForNewAssets:141,SaveFlashAsset:142,AccountSummaryRegisteredUser:143,InsertUserKeyInfo:144,GetCommentsForAssets:145,GetAllKeys:146,GetMyResourcesListing:147,GetRecipientListForMail:148,RenderCreateResource:149,GetAssetTypesForCategory:150,DeleteUserResource:151,FetchTopicList:152,AddEditDebate:153,GetPartnerUsersReportSummary:154,RenderStartDebate:155,PartnerOrgFlagPrintedKeys:156,GetPartnerCourseExams:157,EnableDisablePartnerUser:158,GetDebatesListing:159,DeallocateKeys:160,GetLeaderBoardForUserAssets:161,AccountSummaryUnRegisteredUser:162,GetCurrentAffairsData:163,LoadControls:164,GetRecentCommentsForUserAsset:165,LoadTFAdvertisements:166,GetRelatedResources:167,SubmitCollegeInformation:168,LogoutUser:169,GetExamInfo:170,GetPaymentDetails:171,AjaxForMyTT:172,AjaxForRelTT:173,UpdateOMR:174,GetExamNames:175,SaveExamSectionAndQuestions:176,GetSBModuleData:177,DeleteExamSections:178,SaveUserSkillBuilderState:179,GetHallTicket:180,VerifyUserMandatoryData:181,GetCountryStates:182,RegisterNewUser:183,ShowHallTicket:184,StoreUserAdditionalInfo:185,ViewMockCATReports:186,GetNextQuestionPage:187,CheckCouponNumber:188,GetUserInfo:189,LogInAsAnotherUser:190,SubmitTournamentUserChoices:191,GetTournamentLeaders:192,SaveFlashQuiz:193,GetMediaTypes:194,CheckSessionTerminated:195,GetReportsPercentileInfo:196,SaveUserTestCentreState:197,GetPerformanceAnalysisXML:198,SaveUserPreviousYearsOfficialEntranceTestsState:199,SaveUserStudyGuideXML:200,SaveDataToFile:201,SaveGroupPurchaseOrder:202,GetContactInfo:203,SaveContactInfo:204,CheckSubDomainAvailability:205,ChooseWinnerAgain:206,ChooseDailyWinners:207,ConfirmWinner:208,BookmarkWord:209,SavePageBookmark:210,DeletePageBookmark:211,GetPageBookmarkList:212,LoadSavedQuizForEdit:213,GetResourceType:214,ChkForDateAvailabilityForQuiz:215,CheckLoginStatus:216,OpenBookmarkPopup:217,UpdateExistingUserData:218,SaveUserEducationalData:219,SaveUserRegistrationData:220,GetFriendList:221,InviteFriends:222,ShipTrackOrderAddEdit:223,RegisterForTheEvent:224,DoNotShowAnimation:225,ArticleReportAbuse:226,ShipTrackShipmentAddEdit:227,ShipTrackShipmentAdd:228,ShipTrackOrderSearch:229,ShipTrackAddPost:230,ShipTrackShowPost:231,ShipTrackSubmitFeedback:232,ShipTrackSearchShipment:233,ShipTrackRecentPost:234,SendPurchaseReferralMail:235,SaveUserPointsRedeem:236,ShipTrackShipmentDelete:237,ShipTrackOrderDelete:238,RenderUserChoicesForRedemption:239,CancelRedemption:240,GetUserNotifications:241,ShipTrackMarkPostAsRead:242,ShipTrackPackagingReport:243,ShipTrackSendForPackaging:244,ShipTrackDocketDetails:245,GetBalanceRewardPointsDetails:246,GetRedemptionDetails:247,GetUTCDateString:248,UpdateSMSSubscription:249,UpdateMobileNumber:250,SelectExamSlot:251,ValidateUserExamSlot:252,AddTFAnswersQuestion:253,SubmitAnswer:254,SubmitSolution:255,QuestionReportAbuse:256,GetTFAnswersAssetListing:257,AddTFAnswerUserRating:258,RenderTFACommentsBlock:259,ChangeExamDatesDDBox:260,RenderTFASolutionListing:261,AddNewTFAnswersPost:262,FlagUnflagQuestion:263,AjaxRequestForManageChatPagination:264,GetSMSContent:265,SendTestSMS:266,SaveCATSlotData:267,SubmitTournamentAdminChoices:268,GetCourseGroupExams:269,GetProctorCentre:270,SaveUserProctorCentre:271,GetProctorLaunchDetails:272,GetTFAnswersSearchListing:273,SendEventRegEmail:274,GetUserAttemptSCoreXML:275,CreateRankBoosterUserExam:276,AddEditRCPassage:277,GetUserStudyGuideXML:278,GetUserPATXML:279,GetExamCutoffData:280,SetExamCutoffData:281,AssignTerritories:282,SaveTerritoryDetails:283,GetTerritoryAdminListing:284,AssignSubAdmins:285,DeleteTerritory:286,DeleteTerritoryAdmin:287,ChangeDSRStatus:288,SaveDSRStatus:289,AssignCourseKeyToTerritories:290,DeallocateCourseKeysFromTerritories:291,GetTerritoryList:292,MoveCourseKeysToAnotherTerritory:293,UpdatePartnerTestSchedule:294,SelectPartnerAssetTopicForSubject:295,SavePartnerFlashAsset:296,SavePartnerAssetFile:297,ChangePartnerUserType:298,GetDateControl:299,AddEditExamShell:300,GetExamAndLessonIds:301,GetIndividualExamsHTML:302,GetUploadStatus:303,PublishExams:304,GetNumberOfCabFiles:305,UploadFile:306,CreateCabFiles:307,CopyQuestions:308,ExtractPublishDataFiles:309,CopyToCMSQuestions:310,CreateXML:311,RestoreZeusCATLMS_ExamPublish:312,Populate_OnlineDB:313,DetachZeusCATLMS_ExamPublish:314,GenerateSBTC:315,PublishCleanUP:316,StopCurrentPublish:317,ScheduleWebCastEvent:318,GetResourceListing:319,GetMoveResourcePopupHtml:320,GetResourceTypeAndSubjectList:321,MoveResources:322,SetCausesValidation:323,UnScheduleWebCastEvent:324,GetUserRccSubscriptionStatus:325,CheckCouponNumberOld:326,UpdateRccSubscriptionStatus:327,GetCheckSum:328,JoinUserInAGroup:329,UnjoinUserFromAGroup:330,CheckIfUserAlreadyAMember:331,checkForAnotherPubliish:332,DeleteTFAnswersQuestion:333,CheckWebinarStartAvailable:334,AddRecentActivityForQOD:335,GetPublishExamNames:336,AddEditPATGroupDetails:337,CheckValidPATGroupQuestions:338,DeleteExam:339,AddEditGroup:340,CreateExamSectionForPracticeTestExam:341,CheckForForcePublishQuestion:342,GetExamSectionQuestionDetails:343,DeleteGroupNotice:344,AddEditGroupNotice:345,UpdateExamSectionQuestionDetails:346};oGlobal.PopupStyles={blue:"box1",green:"box2",orange:"box3",violet:"box4"};var oMenuGlobal=new Object();function SetBrowserType(){var B=navigator.userAgent.toLowerCase();var D="msie 8.0";var E="msie 7.0";var A="gecko";var C="opera";var F="msie 6.0";oGlobal.IsIE8=oGlobal.IsIE7=oGlobal.IsIE6=oGlobal.IsFireFox=oGlobal.IsOpera=false;oMenuGlobal.IsIE7=oMenuGlobal.IsIE6=oMenuGlobal.IsFireFox=oMenuGlobal.IsOpera=false;if(B.indexOf(D)!=-1){oGlobal.IsIE8=true}else{if(B.indexOf(E)!=-1){oGlobal.IsIE7=true}else{if(B.indexOf(A)!=-1){oGlobal.IsFireFox=true}else{if(B.indexOf(C)!=-1){oGlobal.IsOpera=true}else{if(B.indexOf(F)!=-1){oGlobal.IsIE6=true}}}}}}SetBrowserType();oGlobal.iServerInteractionType={CommandLine:0,Init:1,Intermediate:2,Save:3,Submit:4};oGlobal.iPaymentMode={Cash:1,Cheque:2,DemandDraft:3,BankersCheque:4,Online:5};oGlobal.Error={Success:0,Fail:1,NoData:2,ErrorWhileExecutingSP:3,ErrorWhileQueringDB:4,InvalidRequestFunctionID:5,SessionTimedOut:6,AssetNotFound:8,NoRecordsFound:9,SessionTerminatedByAnotherUser:10,FileNotFound:11,FolderDoNotExists:12,ErrorInSendMail:13,NewsletterNotScheduled:14,PurchaseDetailsDoesNotExist:91,CourseAlreadyPurchased:92,CannotDeregisterAdminUser:76,ReferralUserDoesNotExist:94,ReferralUserCanNotBeChanged:95,OwnReferralCode:96,ReferralLoop:97,PurchaseCouponDoesNotExist:101,PurchaseCouponValidPerionNotYetStarted:102,PurchaseCouponValidPeriodIsOver:103,PurchaseCouponNotApplicableForUser:104,PurchaseDiscountNotApplicableForSelectedCourses:1005,NotIncludedAllCoursesInThisDiscountCode:1006,ExtraCoursesIncludedOtherThenDiscountedCourses:1007,PurchaseDiscountCouponCodesAreOver:113,PurchaseDiscountCommaSeparatedValuesDoesNotMatch:112,AlreadyVoted:55,noForumIDsFound:400,FreeExamCountExceeded:627,SimultaneousWebCastSchedule:628,ScheduledWebCastEvent:629,NoSession:633,UserAlreadyPresentInSomeGroup:1012};oGlobal.ExamStatus={Complete:1,Incomplete:2,NotAttempted:3,CurrentlyLaunched:4,NotAvailable:5};oGlobal.NewsletterTypeID={QodMail:1,PowMail:2,WordlistMail:3,GeneralNewsletter:4,AdhocNewsletter:5};oGlobal.AssetType={NEWS:1,BLOG:2,INTERVIEW:3,SOFTWARE:5,PUZZLE_OF_THE_DAY:6,QUESTION_OF_THE_DAY:7,POLL:8,ARTICLE:9,INTERACTIVE_LEARNING_RESOURCES:11,DOWNLOADS:13,WEBSITE:14,GAME:16,ONLINE_CHAT:17,ONLINE_QUIZ:18,GDPI_STUDENT_SPEAK:21,GDPI_DOWNLOADS:22,TIMELINE:24,VIDEO:25,DEBATE:26,GD_CAPSULE:27,DETAILED_TOPIC_ANALYSIS:28,FLASH_GAME:37,RCPessage:41,VIRTUALGDPI:44};oGlobal.ResourceFilterType={Incomplete:1,Moderated:2,Live:3};oGlobal.EnvironmentType={Online:1,Print:2,CD:3};oGlobal.PageType={SkillBuilder:1,TestCentre:2,PreviousYearsOfficialEntranceTests:3,FreeTests:4,StateLevelTestCentre:5,PartnerExams:6,MATExams:7,TFCelebrationExams:8,FreeCAT09Exams:9,RankBooster:10,RankBooster_PYT:11,RankBooster_CustomExam:12,TestCenter_StateLevel:13,RankBooster_PastExam:14};oGlobal.DemoUserName="demo";oGlobal.UsersDataType={Mandatory:1,Personal:2,AddOn:3,Educational:4,Full:5};oGlobal.PurchaseLink={Default:"#",CD:'javascript: WrapperWindowOpen("#",true,"extra");',StateLevelExams:"#",MATExams:"#",IndividualExams:"#"};oGlobal.ContentDownloadLink={Default:"#",Online:"#",CD:'javascript: WrapperWindowOpen("#",true,"we");'};oGlobal.PublishStep={publish_Start:1,CheckForAnotherPublish:2,CheckForForcePublishQuestion:3,Populate_ExamPublishDB:4,CopyQuestionsFolder:5,CreateQusetionsCAB:6,UploadQuestionsCAB:7,RegenerateQuestionsCAB:8,CopyQuestionsToCMSQuestions:9,CopyTablesTo_ZeusCATLMS_ExamPublish:10,PublishExam:11,Detach_ZeusCATLMS_ExamPublish:12,Generate_ExamVariant_ExamSchedule:13,Generate_SB_TC_XML:14,PublishComplete:15};function setEnvironmentTypeID(){var A=document.getElementById("iEnvironmentTypeID");if(A!=null){oGlobal.iEnvironmentTypeID=parseInt(A.value)}else{oGlobal.iEnvironmentTypeID=oGlobal.EnvironmentType.Online}}var bPageLoadComplete=false;var bUserNameFocused=false;var bPasswordFocused=false;var bSeachHasFocus=false;function ResizeHomeSWF(){var C=window.document.body.offsetWidth;var B=567;if(C<1024){B=(64*C/100)-25-16-25}else{B=596}var A=document.getElementById("oHomeSWFContainerDiv");if(A){A.style.width=parseInt(B)+"px";A.style.positon="relative";A.style.left="0px";A.style.top="0px"}}function RevisedHeight(B,C){var A=document.getElementById("oHomeSWFContainerDiv");if(A){A.getElementsByTagName("div")[0].style.height=B+"px"}}function pageLoad(){bPageLoadComplete=true}function SetFocusToNameFiled(){var A=document.getElementById("strUserName").value;var C=document.getElementById("strPassword").value;var D=document.getElementById(A);var B=document.getElementById(C);D.focus()}function LoginUser(A){var I=document.getElementById("oUserDiv");var H=document.getElementById("txtUserName");var C=document.getElementById("oPassDiv");var B=document.getElementById("txtPassword");var D,F;if(!A){strUserName=document.getElementById("strUserName").value;strPassword=document.getElementById("strPassword").value;D=document.getElementById(strUserName);F=document.getElementById(strPassword)}else{D=document.getElementById("UserName");F=document.getElementById("Password")}var G=document.getElementById("oNameValidator");var E=document.getElementById("oPasswordValidetor");if(D.value.length<=1&&F.value.length<=1){if(I){H.className="invisible";I.className="visible FloatL"}D.focus();G.style.visibility="visible";E.style.visibility="visible";G.className="oRequiredMsg FloatR width3";E.className="oRequiredMsg FloatR width3";return false}if(D.value.length<=1){if(I){H.className="invisible";I.className="visible FloatL"}D.focus();G.className="oRequiredMsg FloatR width3";G.style.visibility="visible";return false}if(F.value.length<=1){if(C){B.className="invisible";C.className="visible FloatL"}F.focus();E.className="oRequiredMsg FloatR width3";E.style.visibility="visible";return false}if(A){document.oLoginForm.submit()}return true}function findPos(A){var B=curtop=0;if(A.offsetParent){do{B+=A.offsetLeft;curtop+=A.offsetTop}while(A=A.offsetParent);return[B,curtop]}}function setPos(C,A,D){var B=C.style;B.position="absolute";B.left=A+"px";B.top=D+"px"}function OpenPopupForGeneralDoubt(){window.location.href="#"}function ChangeWord(G,C,F){var D=1;var A=parseInt(document.getElementById("iWordCount").value);var E;var B=0;for(B=1;B<=A;B++){document.getElementById("oWordDiv_"+B).style.display="none";document.getElementById("oWordDescriptionDiv_"+B).style.display="none"}oNextDiv=document.getElementById("oWordDescriptionDiv_"+C);oNextDiv.style.display="block";document.getElementById("oWordDiv_"+C).style.display="block";if(C==D){document.getElementById("oPreviousQuestion").onclick=function(){ChangeWord(C,A,true)}}else{document.getElementById("oPreviousQuestion").onclick=function(){ChangeWord(C,(C-1),true)}}if(C==A){document.getElementById("oNextQuestion").onclick=function(){ChangeWord(C,D,false)}}else{document.getElementById("oNextQuestion").onclick=function(){ChangeWord(C,(C+1),false)}}}var oTimerForHomeScreen;function ShowScreenTimer(){oTimerForHomeScreen=setTimeout("ShowContentScreen('oContentScreen2','oTab2','oContentScreen1','oTab1',false)",5000)}function ShowContentScreen(K,L,I,J,F){var B="0px";var G=document.getElementById("oTabbedDivID");var H=G.value+"_";if(G.value==""){H=""}var D=document.getElementById(H+K);var E=document.getElementById(L);var A=document.getElementById(H+I);var C=document.getElementById(J);var N="E8FFE8";var P="D4EBD4";var M="EDE0FC";var O="D9CCE8";if(K=="oContentScreen1"&&D.className=="HomeScreen1"&&F==true){clearTimeout(oTimerForHomeScreen);return }if(K=="oContentScreen2"&&D.className=="HomeScreen2"&&F==true){clearTimeout(oTimerForHomeScreen);return }B=(A.offsetHeight-1)+"px";if(K=="oContentScreen1"){A.className="HomeScreen1 invisible";document.getElementById("oTD1").style.borderBottom="solid 1px #"+N;document.getElementById("oTD3").style.borderBottom="solid 1px #"+P;A.style.borderBottom="0px";D.style.borderBottom="solid 1px #"+P}else{A.className="HomeScreen2 invisible";document.getElementById("oTD1").style.borderBottom="solid 1px #"+O;document.getElementById("oTD3").style.borderBottom="solid 1px #"+M;A.style.borderBottom="0px";D.style.borderBottom="solid 1px #"+O;D.style.height=B}if(K=="oContentScreen1"){D.className="HomeScreen1"}else{D.className="HomeScreen2"}if(F){clearTimeout(oTimerForHomeScreen)}else{clearTimeout(oTimerForHomeScreen);if(K=="oContentScreen1"){oTimerForHomeScreen=setTimeout("ShowContentScreen('oContentScreen2','oTab2','oContentScreen1','oTab1',false)",5000)}else{oTimerForHomeScreen=setTimeout("ShowContentScreen('oContentScreen1','oTab1','oContentScreen2','oTab2',false)",5000)}}}function SelectedTopMenu(){var A=getElementsByClassName("topMenuHover");if(A&&A.length>0){A[0].className="topMenuNormal"}var C=document.getElementById("oSelected").value;if(C!=""){var B=document.getElementById("topmenu"+C);if(B){B.childNodes[0].className="topMenuHover"}}}function GetBottomMenuFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C,B,true,RenderBottomMenu)}function RenderBottomMenu(B){var C=B.responseText;var D=document.getElementById("oBottomMenu");D.innerHTML=C;var A=document.getElementById("oMenuRow");if(A!=undefined){SelectedTopMenu()}}function GetPODFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderPOD)}function RenderPOD(A){var B=A.responseText;var C=document.getElementById("oPOD");C.innerHTML=B}function GetQODFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderQOD)}function RenderQOD(A){var B=A.responseText;var C=document.getElementById("oQOD");C.innerHTML=B}function GetRDFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderRD)}function RenderRD(A){var C=A.responseText;var B=document.getElementById("oRD");B.innerHTML=C}function GetTODFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderTOD)}function RenderTOD(A){var C=A.responseText;var B=document.getElementById("oTOD");B.innerHTML=C}function GetWordListFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderWordList)}function RenderWordList(A){var B=A.responseText;var C=document.getElementById("oWordList");C.innerHTML=B}function GetLHFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderLH)}function RenderLH(A){var B=A.responseText;var C=document.getElementById("oLH");C.innerHTML=B}function GetPollFile(C){var B="";var A=new CAjaxZeus();A.PostXmlHTTPRequest(C+"?"+Math.random(),B,true,RenderPOLL)}function RenderPOLL(A){var B=A.responseText;var C=document.getElementById("oPOLL");C.innerHTML=B}function getElementsByClassName(G,F){if(!F){F=document.getElementsByTagName("body")[0]}var A=[];var E=new RegExp("\\b"+G+"\\b");var D=F.getElementsByTagName("*");for(var C=0,B=D.length;C<B;C++){if(E.test(D[C].className)){A.push(D[C])}}return A}function CAjaxZeus(){var A=null;var C;try{A=new XMLHttpRequest()}catch(B){try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(B){A=new ActiveXObject("Microsoft.XMLHTTP")}}CAjaxZeus.prototype.PostXmlHTTPRequest=function(G,D,E,F){C=F;A.onreadystatechange=this.stateChanged;A.open("GET",G+D,true);A.send(null)};CAjaxZeus.prototype.stateChanged=function(){if(A.readyState==4){if(A.status==200){C(A)}else{if(A.status==12030){this.PostXmlHTTPRequest(strURL,strFormData,bAsync,XmlHTTPResponseMethod)}else{}}}}}function OnDivMouseOut(B,A){var D=document.getElementById(B);var C=document.getElementById(A);if(bPasswordFocused==false){C.className="visible LoginBorder FloatL";D.className="invisible"}}function OnClickClearField(C,A,D){if(A=="oUserDiv"){bUserNameFocused=true}else{bPasswordFocused=true}var B=document.getElementById(A);if(B){B.className="visible FloatL"}}function SetField(C,A){var D=Trim(C.value);if(D.length<=0){var B=document.getElementById(A);if(B){if((A=="txtUserName"&&bUserNameFocused==false)||(A=="txtPassword"&&bPasswordFocused==false)){C.value="";C.blur();C.parentNode.className="invisible";B.className="visible LoginBorder FloatL"}}}}function OnBlurSetField(C,A,E){if(A=="txtUserName"){bUserNameFocused=false}else{bPasswordFocused=false}var D=Trim(C.value);if(D.length<=0){var B=document.getElementById(A);if(B){C.value="";C.blur();C.parentNode.className="invisible";B.className="visible LoginBorder FloatL"}}}function ShowHideMenu(A,C){var B=document.getElementById(A);if(B){if(C){B.className="visible"}else{B.className="invisible"}}}function HideMenu(){var A=document.getElementById("oMenu");if(A){A.className="invisible"}}function Trim(A){A=A.replace(/^[ \t]+/,"");A=A.replace(/[ \t]+$/,"");return A}function getHeightByWindowPercentage(D){var F=window.document.documentElement.clientHeight;var E;var C=0,B=0;oTempPopupDiv=new CPopupDiv();oTempPopupDiv.SetBrowserType();if(typeof (window.innerHeight)=="number"){E=window.innerHeight}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){E=document.documentElement.clientHeight}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){E=document.body.clientHeight}}}if(D>0&&D<=100){var A;if(oGl.IsIE6){A=56}else{if(oGl.IsIE7){A=56}else{if(oGl.IsFireFox){A=56}else{A=0}}}E=((D*F)/100)-A;return E}else{E=(80*F)/100;return E}}function getWidthByWindowPercentage(A){var C=window.document.documentElement.clientWidth;var B;if(typeof (window.innerWidth)=="number"){B=window.innerWidth}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){B=document.documentElement.clientWidth}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){B=document.body.clientWidth}}}if(A>0&&A<=100){B=(A*C)/100;return B}else{B=(80*C)/100;return B}}function Clear(C,A){var B=document.getElementById(A);if(B){C.className="invisible";B.className="visible FloatL"}}function OnFocusClear(E,A){if(A=="oUserDiv"){bUserNameFocused=true}else{bPasswordFocused=true}var D=document.getElementById(E);var B=document.getElementById(A);if(B){D.className="invisible";B.className="visible FloatL";for(var C=0;C<B.childNodes.length;C++){if(B.childNodes[C].nodeName!=null){if(B.childNodes[C].nodeName=="INPUT"){B.childNodes[C].focus();break}}}}}function Fill(C,A){var D=Trim(C.value);if(D.length<=0){var B=document.getElementById(A);if(B){C.value="";C.parentNode.className="invisible";B.className="visible LoginBorder FloatL"}}}function OnSearchFocus(C){var B=document.getElementById(C).value;var A=document.getElementById(B);if(A.value=="Search TestFunda.com"){A.value=""}A.focus();bSeachHasFocus=true}function OnSearchMouseOver(C){var B=document.getElementById(C).value;var A=document.getElementById(B);if(A.value=="Search TestFunda.com"){A.value=""}}function OnFocusLost(B){var A=document.getElementById(B).value;bSeachHasFocus=false;OnSearchLoad(B)}function OnSearchMouseOut(B){var A=document.getElementById(B).value;OnSearchLoad(B)}function OnSearchLoad(C){var B=document.getElementById(C).value;var A=document.getElementById(B);if(Trim(A.value)==""){if(bSeachHasFocus==false){A.value="Search TestFunda.com"}}}function SetLoginFocus(B,A){var C,D;if(A){D=document.getElementById(B)}else{C=document.getElementById(B);D=document.getElementById(C.value)}D.focus()}function GoogleSearch(C){var B=document.getElementById(C).value;var A=document.getElementById(B);if(A.value.indexOf("Search TestFunda.com")!=-1){A.value="";A.focus();return false}if(Trim(A.value).length==0){A.value="";A.focus();return false}return true}function RedirectTo(A){window.location.href=A}function SubmitVoteBox(D,F){var A=document.getElementsByName(D);var C;for(var B=0;B<A.length;B++){if(A[B].checked){C=A[B].value}}if(C==null){alert("Please Select Poll Option");return false}document.getElementById("iSelectedPollIDBox").value=D;document.getElementById("iSelectedOptionIDBox").value=C;var E=F+"&PollID="+document.getElementById("iSelectedPollIDBox").value+"&OptionID="+document.getElementById("iSelectedOptionIDBox").value;window.location.href=E}var g_TabId=null;var g_iMenuCount;var g_ClickedTabId;function ExpandDivSubMenu(oElement){var oTd=oElement;var iTdNumber=eval(oTd.id.split("Menu")[1]);var oMenuDiv=document.getElementById(g_TabId+"Div");var oMenuLink=document.getElementById(g_TabId+"Link");g_TabId=oTd.id;oMenuDiv=document.getElementById(g_TabId+"Div");oMenuLink=document.getElementById(g_TabId+"Link");oMenuLink.style.backgroundColor="#ffffff";oTd.style.cursor="pointer";oTd.style.color="#000000";oTd.style.zIndex="2";var bounds=Sys.UI.DomElement.getBounds(oTd);oTd.style.width=bounds.width-2+"px";oMenuDiv.style.display="";oMenuDiv.style.position="absolute";oMenuDiv.style.top=bounds.y+bounds.height+4+"px";oMenuDiv.style.left=bounds.x+"px";oMenuDiv.style.zIndex="0";oMenuLink.style.position="absolute";oMenuLink.style.top=bounds.y+"px";oMenuLink.style.left=bounds.x+"px";oMenuLink.style.width=bounds.width-2+"px";oMenuLink.style.height=24+"px";oMenuLink.style.paddingTop=5+"px";oMenuLink.style.borderLeft="1px solid #c0c0c0";oMenuLink.style.borderTop="1px solid #c0c0c0";oMenuLink.style.borderRight="1px solid #c0c0c0"}function CollaspeDivSubMenu(A){var E=A;g_TabId=E.id;var C=document.getElementById(g_TabId+"Div");var D=document.getElementById(g_TabId+"Link");var B=Sys.UI.DomElement.getBounds(E);var F=document.getElementById("TopMenuTr");C.style.display="none";D.style.height=17+"px";D.style.position="relative";D.style.top=1+"px";D.style.left=0+"px";D.style.borderLeft="";D.style.borderRight="";D.style.borderTop="";D.style.paddingTop=0+"px";D.style.backgroundColor="";E.style.color="#ffffff"}function ExpandTopMenu(E,D,A,C){var G=E;var H="topMenuHover";if(C==1){H="topMenuDivHover"}g_iMenuCount=document.getElementById("oMenuRow").childNodes.length;g_TabId=G.id;if(G.firstChild.className=="topMenuHover"){g_ClickedTabId=G.id}var B=G.getElementsByTagName("div").item(0);if(D){G.className="topMenuHover";G.firstChild.className="topMenuHover"}else{G.className="subMenuHover"}if(B){HideDropdownAndIFrameforMenu();B.className=H;var F=new Array();F=findPos(G);if(D){B.style.marginLeft="10px";B.style.top=F[1]+G.offsetHeight+"px";B.style.left=(F[0]-B.offsetWidth+G.offsetWidth-10)+"px";if(A.toLowerCase()=="right"){B.style.left=F[0]+G.offsetWidth-140+"px"}}else{if(oMenuGlobal.IsIE7||oMenuGlobal.IsIE6){B.style.top=G.parentNode.offsetTop+3+"px";B.style.left=G.parentNode.offsetWidth+"px";if(A.toLowerCase()=="left"){B.style.left=parseInt(B.style.left)-280+"px"}}else{B.style.marginLeft=134+"px";B.style.marginTop="-15px";if(A.toLowerCase()=="left"){B.style.marginLeft=-140+"px"}}}}}function getAbsolutePos(C){var B=0;var A=0;while(C.nodeName!="BODY"){B+=C.offsetLeft;A+=C.offsetTop;C=C.parentNode}return[B,A]}function findPos(A){var C=curtop=0;if(A.offsetParent){do{C+=A.offsetLeft;curtop+=A.offsetTop}while(A=A.offsetParent);var B=document.getElementById("main_container");if(B){B=B.scrollTop;curtop=curtop-B}return[C,curtop]}}function CollapseTopMenu(B){var C=B;var A=C.getElementsByTagName("div").item(0);if(g_ClickedTabId!=C.id){if(C.firstChild.className=="topMenuHover"){C.firstChild.className="topMenuNormal"}C.parentNode.parentNode.style.position=""}if(C.className=="topMenuHover"){C.className="topMenuNormal"}else{C.className="subMenuNormal"}if(A){A.className="topMenuNormal";DisplayDropdownAndIFrameforMenu()}}Array.prototype.contains=function(B){for(var A=0;A<this.length;A++){if(this[A]==B){return true}}return false};function HideDropdownAndIFrameforMenu(){var A=new Array();A[0]="googleSearchFrame";A[1]="oGoogleSearchIFrame";var D;if(oMenuGlobal.IsIE6==true){var C=document.getElementsByTagName("select");for(var B=0;B<C.length;B++){C.item(B).style.visibility="hidden"}var E=document.getElementsByTagName("iframe");for(var B=0;B<E.length;B++){if(A.contains(E.item(B).name)==false){E.item(B).style.visibility="hidden"}}}}function DisplayDropdownAndIFrameforMenu(){if(oMenuGlobal.IsIE6==true){var B=document.getElementsByTagName("select");for(var A=0;A<B.length;A++){B.item(A).style.visibility="visible"}var C=document.getElementsByTagName("iframe");for(var A=0;A<C.length;A++){C.item(A).style.visibility="visible"}}}function WrapperWindowOpen(D,C,A){try{if(C.toString().toLocaleLowerCase()=="true"){C=true;window.external.OpenDefaultBrowser(C,D)}}catch(E){}finally{var B=window.open(D,A);try{B.focus()}catch(E){}}return }function ShowSelection(A){A.style.textDecoration="underline"}function HideSelection(A){A.style.textDecoration=""};
