﻿var loginUrl="<h3>Login URL:</h3>The HTML file that contains your bravenet Password Gate code.<br/>(P.S. You should have created this file When you received your Copy-Paste Code.)",pubN="<h3>Pub Number:</h3>You can find your assigned pub number, by looking at your Browsers Address bar, When you're logged in,into your bravenet account.",unA="<h3>Unauthorized Access:</h3>Here you select your desired option when someOne Accesses your protected page directly, without logging in.<br/><br/><strong>Replace Content:</strong>&nbsp;This option will temporary replace your page content, Until the user have logged in.<br/><br/><strong>Redirect To Custom Page:</strong>&nbsp;This option will redirect the browser to your specified URL, If someOne accesses your page directly.<br/><br/><strong>Redirect To Login Page:</strong>&nbsp;The same as above, but instead redirects the browser to your Login Page.",replace="<h3>Replace Page Content:</h3>If you type *Default* the page contents will be replaced Temporary with:<br/><br/><span style=\"color: red; font-weight: bold\">Unauthorized Access!</span>&nbsp;&nbsp;You must login to be able to access this page. *Your Login URL Will Go Here*.<br/><br/>Either use the Default or type your own HTML that will replace the page's contents temporary.<br/><strong>Note:</strong>&nbsp;Single Quotes '' are NOT Allowed!",customUrl="<h3>Custom Redirect URL:</h3>Here you must enter the URL to redirect the browser to, if someOne accesses your page directly.",successA="<h3>Successful Login:</h3>Here you select your desired option, when SomOne has logged in correctly.<br/><br/><strong>Display Alert Message:</strong>&nbsp; This will display an Alert Message, when someOne logged in successfully.<br/><br/><strong>Do Nothing:</strong>&nbsp;Choose this option, if you want no Alert Message, on successful login (Just display the page normally).",defaultM="<h3>Alert Upon Login:</h3>If you type *Default* the message that will popup, upon successful login will be:<br/></br/><strong>You have successfully logged In.</strong><br/></br/>Either use the Default or type your own message.<br/><strong>Note:</strong>&nbsp;HTML & Single Quotes '' are NOT Allowed!",lineBreak="<h3>Line Break:</h3>This will insert the special character combination: <strong>\\n.</strong><br/>Use this character whenEver you want the text to continue<br/>into a new line.<br/>For example typing this:<br/><strong>Welcome Back There!\\nYou have successfully logged in.</strong><br/>Will output this alert:<br/></br><strong>Welcome Back There!<br/>You have successfully logged in.</strong>.",dispconfirm="<h3>Confirmation:</h3>This feature will ad a confirmation to the Log Out Link<br/>Asking weather they truly want to Log Out.&nbsp;If they click YES, They will Log Out, else they'll not.<br/><br/><strong>Yes - Default Confirm:</strong>&nbsp;Select this option if you want<br/>Confirmation with the default confirm message, which is:<br/><strong>Note: You're about to Log Out from your account !<br/>You'll have to re-login to be able to access this page.<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Are You Sure..?</strong><br/><br/><strong>Yes - Custom Confirm:</strong>&nbsp;Select this option if you want<br/>Confirmation but with your Own/Custom message instead of Default.<br/><br/><strong>No Confirmation:</strong>&nbsp;I think this one doesn't need an explanation :-)",warningM="<strong>Note:</strong>&nbsp;HTML & Single Quotes '' are NOT Allowed !!";function insertBr(c,b){var a=document[c][b];a.value+="\\n";a.focus();a.style.borderColor="red"}