Solved

Javascript Question

Posted on 2007-11-21
10
197 Views
Last Modified: 2012-06-27
In my application I ma getting the error saying that Object expected. I just do not know what is going on
<script>document.getElementById('intPluginIDs_select').style.height = '220px'; document.getElementById('intTemplateID_select').style.width = '300px';</script><script>if (document.getElementById('intLayoutID_select').selectedIndex == 0) {jsSelectLayout();}</script>

Open in new window

0
Comment
Question by:erikTsomik
  • 5
  • 2
  • 2
10 Comments
 
LVL 17

Expert Comment

by:gops1
ID: 20330019
give it inside onload
<script>
window.onload=function(){
document.getElementById('intPluginIDs_select').style.height = '220px'; document.getElementById('intTemplateID_select').style.width = '300px';</script><script>if (document.getElementById('intLayoutID_select').selectedIndex == 0) {jsSelectLayout();}
}
</script>

Open in new window

0
 
LVL 17

Expert Comment

by:gops1
ID: 20330029
Take this ignore previous
<script language="javascript">
	window.onload=function(){
		document.getElementById('intPluginIDs_select').style.height = '220px'; 
		document.getElementById('intTemplateID_select').style.width = '300px';
		if (document.getElementById('intLayoutID_select').selectedIndex == 0) {
			jsSelectLayout();
		}
	}
</script>

Open in new window

0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 20330100
erikTsomik,

That error should specify a line too.  Look at the browser's html source and see what line and code that is.  Provide us with the details and we can probably help.  Also does this occur when the page loads or at some other point (e.g. on click or some other event)?

Let me know if you have any questions or need more information.

b0lsc0tt
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 19

Author Comment

by:erikTsomik
ID: 20330143
It is occuring when the page load
0
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 20330210
Move the script into a function called init.  For example ...

function init() {
    // the JS code you had
}

Then in the body tag use ...

<body onload="init();">

You can't run the script before the page loads completely or the elements will not be "there."  Each browser will be a little different with this and so it is best to use the method above if you have to "work" with the page after load.

bol
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 20330228
If you still have a problem then separate the code out on different line so you can narrow down the cause.  The line in the snippet is actually many JS lines and is not real helpful in that format when there is a problem.

Provide details if you still have a problem or question.

bol
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 20330309
I can give you the full browser code
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>Hot Banana </title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="shortcut icon" href="favicon.ico"> 
		<link href="hb5_style.css" rel="stylesheet" type="text/css">
		<script language='JavaScript' src='hb5_java.js' type='text/javascript'></script>
		<script language="javascript" type="text/javascript" src="./HBRTE/HBRTE.js"></script>
		<script language="javascript" type="text/javascript">
			// This function is called by body's onload event.
			function init() {
				// The order of loading matters, do not change it.
				hbrte.addComps("SymbolMap,Anchor,PasteWord,CodeView,ContextMenu,Table");
			}
			
			function dispose() {
				hbrte.dispose();
				hbrte = null;
			}
			
			/*
			window.onerror = function (strError) {
				window.event.returnValue = (strError.toLowerCase().indexOf('unspecified error') >= 0);
			}
			*/
			
		</script>
	</head>
 
	
				<script language="JavaScript">
					var trail = parent.parent.document.getElementById('webTitle');
					if (trail != undefined) trail.innerHTML = 'Web Sites';
				</script>
			
			<body onload="init();" onunload="dispose();">	
			   	
			       	<div id="sub1" style="position:absolute; left:0px; top:0px; width:504px; height:15px; z-index:2; visibility: hidden;">
						
								<img src="images/btn_tab_on_new.gif" width="126" height="17">
							
					</div>
			   	
	
				<div id="sub" style="position:absolute; left:0px; top:0px; width:554px; height:15px; z-index:3;">
					<table border="0" cellspacing="0" cellpadding="0" class="tab">	
						<tr>
							
									<td class="tabYl"><img src="images/shim.gif" width="8" height="17"></td>
									<td class="tabYc"><a href="tabs.cfm?navid=10&cid=1&tabid=1&subid=0" onclick="P7_autoLayers(1,'tab1')">Web Sites</a></td>
									<td class="tabYr"><img src="images/shim.gif" width="11" height="17"></td>
									
						</tr>
					</table>
				</div>
	
			   	<div id="mainScreenBevel" class="bevelBack1" style="position:absolute; left:0px; top:16px; width:553px; height:369px; z-index:1;">
					<div id="mainScreenEmboss" class="bevelEmboss">
			  			
<style type="text/css" id="cssCustomStyles">
<!--
table { font-size: 1.0em; }
.tableNoBorder { font-size: 1.0em; border: 0; }
table.tableSingleBorder { border: 1px solid #000000; }
table.tableSingleBorder td { border: 1px solid #000000; }
table.tableDoubleBorder { border: 2px solid #000000; }
table.tableDoubleBorder td { border: 2px solid #000000; }
.clickToEnlarge { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; font-style: normal; font-weight: normal; }
-->
</style>
<div id="status" style="position:absolute; left:0px; top:294px; width:393px; height:15px; z-index:5" class="bevelEmbossStatus"><img src="images/shim.gif" width="3" height="13" align="absmiddle"><font color="#CC0000"></font></div><div id="fakepagination" style="position:absolute; left:396px; top:294px; width:82px; height:15px; z-index:0" class="bevelEmbossStatus"></div><div id="faketotal" style="position:absolute; left:481px; top:294px; width:62px; height:15px; z-index:0" class="bevelEmbossStatus"></div>
<script language="JavaScript">
var jsValidationRequired = true;
function jsValidate() {
// when they click delete, set jsValidationRequired to false and it won't validate the page.
if (!jsValidationRequired) return true;
if (document.frmAddEdit.txtTitle != undefined && document.frmAddEdit.txtTitle.disabled == false && !document.frmAddEdit.txtTitle.value) {
alert("Web Site Title is required.");
mydiv = document.getElementById('txtTitle');
try {
document.frmAddEdit.txtTitle.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtDatasource != undefined && document.frmAddEdit.txtDatasource.disabled == false && !document.frmAddEdit.txtDatasource.value) {
alert("Datasource is required.");
mydiv = document.getElementById('txtDatasource');
try {
document.frmAddEdit.txtDatasource.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtWeb != undefined && document.frmAddEdit.txtWeb.disabled == false && !document.frmAddEdit.txtWeb.value) {
alert("Web Site URL is required.");
mydiv = document.getElementById('txtWeb');
try {
document.frmAddEdit.txtWeb.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtHBWeb != undefined && document.frmAddEdit.txtHBWeb.disabled == false && !document.frmAddEdit.txtHBWeb.value) {
alert("Hot Banana URL is required.");
mydiv = document.getElementById('txtHBWeb');
try {
document.frmAddEdit.txtHBWeb.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtPath != undefined && document.frmAddEdit.txtPath.disabled == false && !document.frmAddEdit.txtPath.value) {
alert("Web Site Path is required.");
mydiv = document.getElementById('txtPath');
try {
document.frmAddEdit.txtPath.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtHBPath != undefined && document.frmAddEdit.txtHBPath.disabled == false && !document.frmAddEdit.txtHBPath.value) {
alert("Hot Banana Path is required.");
mydiv = document.getElementById('txtHBPath');
try {
document.frmAddEdit.txtHBPath.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtEmail != undefined && document.frmAddEdit.txtEmail.disabled == false && !document.frmAddEdit.txtEmail.value) {
alert("Default Email is required.");
mydiv = document.getElementById('txtEmail');
try {
document.frmAddEdit.txtEmail.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.txtTransCaption != undefined && document.frmAddEdit.txtTransCaption.disabled == false && !document.frmAddEdit.txtTransCaption.value) {
alert("Translation Caption is required.");
mydiv = document.getElementById('txtTransCaption');
try {
document.frmAddEdit.txtTransCaption.focus();
} catch (e) {}
return false;
}
if (document.frmAddEdit.intTemplateID != undefined && document.frmAddEdit.intTemplateID.disabled == false && !document.frmAddEdit.intTemplateID.value) {
alert("Content Template ID is required.");
mydiv = document.getElementById('intTemplateID');
try {
document.frmAddEdit.intTemplateID.focus();
} catch (e) {}
return false;
}
return true;
}
</script>
<script language="JavaScript">
var submitted = false;
function jsConfirmNotification() {
if (confirm('Send Update Notification to Subscribers?')) {
document.frmAddEdit.HB_sendNotification.value = 1;
}
return true;
}
function jsCarefulSubmit() {
var valid = jsValidate();
if (valid) {
if (submitted) return false;
document.body.onbeforeunload = null;
submitted = true;
}
return valid;
}
</script>
<table border="0" cellpadding="0" cellspacing="0">
<form name="frmAddEdit" action="tabs.cfm?navid=10&cid=1" method="post" enctype="multipart/form-data" onSubmit="return jsCarefulSubmit();" >
<tr>
<td>
<div id="edit1" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(1);">Info</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(2);">Package</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(3);">Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(4);">Marketing Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(5);">Modules</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(6);">Support Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(7);"><img src="images/btn_next.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="6" height="15"></td>
</tr>
</table>
</div>
<div id="edit2" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(1);">Info</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(2);">Package</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(3);">Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(4);">Marketing Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(5);">Modules</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(6);">Support Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(7);"><img src="images/btn_next.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="6" height="15"></td>
</tr>
</table>
</div>
<div id="edit3" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(1);">Info</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(2);">Package</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(3);">Options</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(4);">Marketing Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(5);">Modules</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(6);">Support Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(7);"><img src="images/btn_next.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="6" height="15"></td>
</tr>
</table>
</div>
<div id="edit4" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(1);">Info</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(2);">Package</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(3);">Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(4);">Marketing Options</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(5);">Modules</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(6);">Support Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(7);"><img src="images/btn_next.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="6" height="15"></td>
</tr>
</table>
</div>
<div id="edit5" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(1);">Info</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(2);">Package</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(3);">Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(4);">Marketing Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(5);">Modules</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(6);">Support Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(7);"><img src="images/btn_next.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="6" height="15"></td>
</tr>
</table>
</div>
<div id="edit6" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(1);">Info</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(2);">Package</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(3);">Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(4);">Marketing Options</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlNc"><a onclick="jsTabSwitch(5);">Modules</a></td>
<td class="tabsmlNr"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(6);">Support Options</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(7);"><img src="images/btn_next.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="6" height="15"></td>
</tr>
</table>
</div>
<div id="edit7" style="position:absolute; left:5px; top:-15px; width:525px; height:15px; z-index:3;">
<table border="0" cellspacing="0" cellpadding="0" align="right" class="tabSmall">
<tr>
<td><img src="images/shim.gif" width="6" height="15"></td>
<td valign="top"><a onclick="jsTabSwitch(6);"><img src="images/btn_back.gif" title="more"></a></td>
<td><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYl"><img src="images/shim.gif" width="11" height="15"></td>
<td class="tabsmlYc"><a onclick="jsTabSwitch(7);">FTP Info</a></td>
<td class="tabsmlYr"><img src="images/shim.gif" width="11" height="15"></td>
</tr>
</table>
</div>
<div id="innerTab7" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="top">
<div id="txtFTPURL" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">URL or IP:
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtFTPURL" id="txtFTPURL_text" size="50" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="txtFTPPath" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Relative Path FROM FTP Root:
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtFTPPath" id="txtFTPPath_text" size="50" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="top">
<div id="txtFTPUserName" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">FTP User Name:
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtFTPUserName" id="txtFTPUserName_text" size="50" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="txtFTPPassword" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">FTP Password:
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" size="50" style="width: 225px;" type="password" name="txtFTPPassword" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<div id="innerTab6" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="top">
<div id="txtSupportCaption" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Support Tab Caption:
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtSupportCaption" id="txtSupportCaption_text" size="50" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="txtSupportLink" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Support Link:
</td>
</tr>
<tr>
<td valign="top" align="left">
<input style="width: 225px;" class="formTextbox" type="Text" name="txtSupportLink" id="txtSupportLink_text" size="50" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<div id="blnShowSupportTab" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnShowSupportTab_check" name="blnShowSupportTab" value="on"> Show Support Tab
</td>
</tr>
</table>
</div>
</td>
<td>&nbsp;</td></tr>
</table>
</div>
<div id="innerTab5" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="top">
<div id="intPluginIDs" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Module Access:
</td>
</tr>
<tr>
<td valign="top" align="left">
<select class="formTextarea" name="intPluginIDs" id="intPluginIDs_select" style="width: 225px;" multiple size="5">
<option value="">Please select one...</option>
<option value="36">
Advanced Event Calendar
</option>
<option value="42">
Aggregate Content
</option>
<option value="12">
Communication Archive
</option>
<option value="13">
Communication Forward
</option>
<option value="14">
Communication Subscription
</option>
<option value="44">
Email To A Friend
</option>
<option value="41">
ESignature
</option>
<option value="35">
Event Calendar
</option>
<option value="16">
Event Viewer
</option>
<option value="31">
Extranet Login
</option>
<option value="32">
Extranet User Info
</option>
<option value="38">
Journal
</option>
<option value="39">
Journal Subscribe
</option>
<option value="33">
List Manager
</option>
<option value="34">
Media Release
</option>
<option value="45">
Photo Gallery
</option>
<option value="37">
Product Catalog Manager
</option>
<option value="40">
RSS XML
</option>
<option value="27">
Search
</option>
<option value="29">
Sitemap
</option>
<option value="17">
Web Forms
</option>
<option value="28">
XHTML Search
</option>
<option value="30">
XHTML Sitemap
</option>
</select>
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="intHomePluginID" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Home Page Module:
</td>
</tr>
<tr>
<td valign="top" align="left">
<select class="formTextarea" name="intHomePluginID" id="intHomePluginID_select" style="width: 225px;">
<option value="">No Module</option>
<option value="36">
Advanced Event Calendar
</option>
<option value="42">
Aggregate Content
</option>
<option value="12">
Communication Archive
</option>
<option value="13">
Communication Forward
</option>
<option value="14">
Communication Subscription
</option>
<option value="44">
Email To A Friend
</option>
<option value="41">
ESignature
</option>
<option value="35">
Event Calendar
</option>
<option value="16">
Event Viewer
</option>
<option value="31">
Extranet Login
</option>
<option value="32">
Extranet User Info
</option>
<option value="38">
Journal
</option>
<option value="39">
Journal Subscribe
</option>
<option value="33">
List Manager
</option>
<option value="34">
Media Release
</option>
<option value="45">
Photo Gallery
</option>
<option value="37">
Product Catalog Manager
</option>
<option value="40">
RSS XML
</option>
<option value="27">
Search
</option>
<option value="29">
Sitemap
</option>
<option value="17">
Web Forms
</option>
<option value="28">
XHTML Search
</option>
<option value="30">
XHTML Sitemap
</option>
</select>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<div id="innerTab4" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="bottom">
<div id="blnExtranet" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnExtranet_check" name="blnExtranet" value="on"> Extranet
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="bottom">
<div id="blnAdvancedCommunicator" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnAdvancedCommunicator_check" name="blnAdvancedCommunicator" value="on"> Email Manager
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<div id="blnEventsManager" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnEventsManager_check" name="blnEventsManager" value="on"> Events Manager
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="bottom">
<div id="blnBlog" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnBlog_check" name="blnBlog" value="on"> Page Blog
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<div id="blnContactManager" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnContactManager_check" name="blnContactManager" value="on"> Subscription Manager
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="bottom">
<div id="blnContentContainers" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnContentContainers_check" name="blnContentContainers" value="on"> Content Containers
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<div id="blnNotification" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnNotification_check" name="blnNotification" value="on"> Page Update Alert
</td>
</tr>
</table>
</div>
</td>
<td>&nbsp;</td></tr>
</table>
</div>
<div id="innerTab3" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="bottom">
<div id="blnMainSite" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnMainSite_check" name="blnMainSite" value="on"> Main Site
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="bottom">
<div id="blnSSL" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnSSL_check" name="blnSSL" value="on"> SSL
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<div id="blnDCE" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnDCE_check" name="blnDCE" value="on"> Dynamic Content Engine
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="bottom">
<div id="blnStaging" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnStaging_check" name="blnStaging" value="on"> Staging
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<div id="innerTab2" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="top">
<div id="intTemplateID" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Content Template ID:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<select class="formTextarea" name="intTemplateID" id="intTemplateID_select" style="width: 225px;"size="15" onChange="jsGenerateimage(this.selectedIndex);jsSelectLayout();">
</select>
</td>
</tr>
</table>
</div>
</td>
<td>&nbsp;</td></tr>
</table>
</div>
<div id="innerTab1" style="overflow:none; position:absolute; left:0px; top:0px; width:543px; height:263px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td width="50%" valign="top">
<div id="txtTitle" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Web Site Title:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtTitle" id="txtTitle_text" size="50" value="" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="txtDatasource" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Datasource:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtDatasource" id="txtDatasource_text" size="50" value="HotBananaDEV" maxlength="500" readonly>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="top">
<div id="txtWeb" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Web Site URL:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtWeb" id="txtWeb_text" size="50" value="http://olympus.scs.jhu.edu" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="txtHBWeb" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Hot Banana URL:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtHBWeb" id="txtHBWeb_text" size="50" value="http://olympus.scs.jhu.edu/hotbanana" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="top">
<div id="txtPath" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Web Site Path:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtPath" id="txtPath_text" size="50" value="D:\DevWeb" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="txtHBPath" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Hot Banana Path:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtHBPath" id="txtHBPath_text" size="50" value="D:\DevWeb\hotbanana" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="top">
<div id="txtEmail" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Default Email:<span class="txtRequired">&nbsp;*</span>
</td>
</tr>
<tr>
<td valign="top" align="left">
<input class="formTextbox" style="width: 225px;" type="Text" name="txtEmail" id="txtEmail_text" size="50" value="theemail@domain.com" maxlength="500">
</td>
</tr>
</table>
</div>
</td>
<td width="50%" valign="top">
<div id="intLayoutID" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" width="225">Layout:
</td>
</tr>
<tr>
<td valign="top" align="left">
<select class="formTextarea" name="intLayoutID" id="intLayoutID_select" style="width: 225px;" onChange="jsSelectLayout();">
<option value="">Please select one...</option>
<option value="12">
eSignature Layout
</option>
<option value="11">
Journal Template
</option>
<option value="1">
templateHB1
</option>
<option value="2">
templateHB11
</option>
<option value="3">
templateHB13
</option>
<option value="4">
templateHB2
</option>
<option value="5">
templateHB5
</option>
<option value="6">
templateHB9
</option>
</select>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<div id="blnAllowReset" style="display:block; padding-left:20px; padding-top:12px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="formCaption">
<tr>
<td valign="top" align="left">
<input type="checkbox" id="blnAllowReset_check" name="blnAllowReset" value="on"> Development Mode (De-select for production)
</td>
</tr>
</table>
</div>
</td>
<td>&nbsp;</td></tr>
</table>
</div>
<script language="JavaScript">
var tabList = new Array();
tabList[1] = 'Info';
tabList[2] = 'Package';
tabList[3] = 'Options';
tabList[4] = 'Marketing Options';
tabList[5] = 'Modules';
tabList[6] = 'Support Options';
tabList[7] = 'FTP Info';
function jsTabSwitch(tab) {
document.body.onbeforeunload = null;
P7_autoLayers(4,'edit' + tab,'edit','innerTab' + tab);
if (tab == 1) {
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'block';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'block';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'block';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'block';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'block';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'block';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'block';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'block';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'block';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'none';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'none';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'none';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'none';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'none';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'none';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'none';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'none';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'none';
}
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'none';
}
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'none';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'none';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'none';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'none';
}
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'none';
}
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'none';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'none';
}
}
if (tab == 2) {
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'block';
}
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'none';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'none';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'none';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'none';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'none';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'none';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'none';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'none';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'none';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'none';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'none';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'none';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'none';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'none';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'none';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'none';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'none';
}
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'none';
}
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'none';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'none';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'none';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'none';
}
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'none';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'none';
}
}
if (tab == 3) {
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'block';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'block';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'block';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'block';
}
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'none';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'none';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'none';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'none';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'none';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'none';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'none';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'none';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'none';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'none';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'none';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'none';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'none';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'none';
}
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'none';
}
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'none';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'none';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'none';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'none';
}
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'none';
}
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'none';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'none';
}
}
if (tab == 4) {
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'block';
}
if (document.getElementById('blnCommunicator') != undefined) {
document.getElementById('blnCommunicator').style.display = 'block';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'block';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'block';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'block';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'block';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'block';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'block';
}
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'none';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'none';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'none';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'none';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'none';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'none';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'none';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'none';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'none';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'none';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'none';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'none';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'none';
}
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'none';
}
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'none';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'none';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'none';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'none';
}
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'none';
}
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'none';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'none';
}
}
if (tab == 5) {
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'block';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'block';
}
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'none';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'none';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'none';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'none';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'none';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'none';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'none';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'none';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'none';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'none';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'none';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'none';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'none';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'none';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'none';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'none';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'none';
}
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'none';
}
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'none';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'none';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'none';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'none';
}
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'none';
}
}
if (tab == 6) {
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'block';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'block';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'block';
}
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'none';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'none';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'none';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'none';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'none';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'none';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'none';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'none';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'none';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'none';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'none';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'none';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'none';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'none';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'none';
}
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'none';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'none';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'none';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'none';
}
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'none';
}
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'none';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'none';
}
}
if (tab == 7) {
if (document.getElementById('txtFTPURL') != undefined) {
document.getElementById('txtFTPURL').style.display = 'block';
}
if (document.getElementById('txtFTPPath') != undefined) {
document.getElementById('txtFTPPath').style.display = 'block';
}
if (document.getElementById('txtFTPUserName') != undefined) {
document.getElementById('txtFTPUserName').style.display = 'block';
}
if (document.getElementById('txtFTPPassword') != undefined) {
document.getElementById('txtFTPPassword').style.display = 'block';
}
if (document.getElementById('txtTitle') != undefined) {
document.getElementById('txtTitle').style.display = 'none';
}
if (document.getElementById('txtDatasource') != undefined) {
document.getElementById('txtDatasource').style.display = 'none';
}
if (document.getElementById('txtWeb') != undefined) {
document.getElementById('txtWeb').style.display = 'none';
}
if (document.getElementById('txtHBWeb') != undefined) {
document.getElementById('txtHBWeb').style.display = 'none';
}
if (document.getElementById('txtPath') != undefined) {
document.getElementById('txtPath').style.display = 'none';
}
if (document.getElementById('txtHBPath') != undefined) {
document.getElementById('txtHBPath').style.display = 'none';
}
if (document.getElementById('txtEmail') != undefined) {
document.getElementById('txtEmail').style.display = 'none';
}
if (document.getElementById('txtTransCaption') != undefined) {
document.getElementById('txtTransCaption').style.display = 'none';
}
if (document.getElementById('intLayoutID') != undefined) {
document.getElementById('intLayoutID').style.display = 'none';
}
if (document.getElementById('blnAllowReset') != undefined) {
document.getElementById('blnAllowReset').style.display = 'none';
}
if (document.getElementById('blnCampaign') != undefined) {
document.getElementById('blnCampaign').style.display = 'none';
}
if (document.getElementById('blnExtranet') != undefined) {
document.getElementById('blnExtranet').style.display = 'none';
}
if (document.getElementById('blnAdvancedCommunicator') != undefined) {
document.getElementById('blnAdvancedCommunicator').style.display = 'none';
}
if (document.getElementById('blnEventsManager') != undefined) {
document.getElementById('blnEventsManager').style.display = 'none';
}
if (document.getElementById('blnFormBuilder') != undefined) {
document.getElementById('blnFormBuilder').style.display = 'none';
}
if (document.getElementById('blnMediaRelease') != undefined) {
document.getElementById('blnMediaRelease').style.display = 'none';
}
if (document.getElementById('blnCalendar') != undefined) {
document.getElementById('blnCalendar').style.display = 'none';
}
if (document.getElementById('blnProductCatalog') != undefined) {
document.getElementById('blnProductCatalog').style.display = 'none';
}
if (document.getElementById('blnBlog') != undefined) {
document.getElementById('blnBlog').style.display = 'none';
}
if (document.getElementById('blnContactManager') != undefined) {
document.getElementById('blnContactManager').style.display = 'none';
}
if (document.getElementById('blnCopyResourceCentre') != undefined) {
document.getElementById('blnCopyResourceCentre').style.display = 'none';
}
if (document.getElementById('blnCopyContent') != undefined) {
document.getElementById('blnCopyContent').style.display = 'none';
}
if (document.getElementById('blnCopyThemes') != undefined) {
document.getElementById('blnCopyThemes').style.display = 'none';
}
if (document.getElementById('blnContentContainers') != undefined) {
document.getElementById('blnContentContainers').style.display = 'none';
}
if (document.getElementById('blnVerity') != undefined) {
document.getElementById('blnVerity').style.display = 'none';
}
if (document.getElementById('blnMainSite') != undefined) {
document.getElementById('blnMainSite').style.display = 'none';
}
if (document.getElementById('blnSSL') != undefined) {
document.getElementById('blnSSL').style.display = 'none';
}
if (document.getElementById('blnDCE') != undefined) {
document.getElementById('blnDCE').style.display = 'none';
}
if (document.getElementById('blnStaging') != undefined) {
document.getElementById('blnStaging').style.display = 'none';
}
if (document.getElementById('blnSharedResources') != undefined) {
document.getElementById('blnSharedResources').style.display = 'none';
}
if (document.getElementById('blnNotification') != undefined) {
document.getElementById('blnNotification').style.display = 'none';
}
if (document.getElementById('txtSupportCaption') != undefined) {
document.getElementById('txtSupportCaption').style.display = 'none';
}
if (document.getElementById('txtSupportLink') != undefined) {
document.getElementById('txtSupportLink').style.display = 'none';
}
if (document.getElementById('blnShowSupportTab') != undefined) {
document.getElementById('blnShowSupportTab').style.display = 'none';
}
if (document.getElementById('intTemplateID') != undefined) {
document.getElementById('intTemplateID').style.display = 'none';
}
if (document.getElementById('intPluginIDs') != undefined) {
document.getElementById('intPluginIDs').style.display = 'none';
}
if (document.getElementById('intHomePluginID') != undefined) {
document.getElementById('intHomePluginID').style.display = 'none';
}
}
switch(tabList[tab].toLowerCase()) {
case 'overview':
document.getElementById('settingsOverviewChanged').value = 1;
break;
case 'extranet':
document.getElementById('settingsExtranetChanged').value = 1;
break;
case 'sharing':
document.getElementById('settingsSharingChanged').value = 1;
break;
case 'workflow':
document.getElementById('settingsWorkflowChanged').value = 1;
break;
case 'conversion':
document.getElementById('settingsConversionChanged').value = 1;
break;
case 'campaign':
document.getElementById('settingsCampaignChanged').value = 1;
break;
case 'blog':
document.getElementById('settingsBlogChanged').value = 1;
break;
case 'webtrends&reg;':
document.getElementById('settingsWTODChanged').value = 1;
break;
case 'google sitemaps':
document.getElementById('settingsGoogleSitemapChanged').value = 1;
break;
}
}
P7_autoLayers(4,'edit7','edit','innerTab7');
P7_autoLayers(4,'edit6','edit','innerTab6');
P7_autoLayers(4,'edit5','edit','innerTab5');
P7_autoLayers(4,'edit4','edit','innerTab4');
P7_autoLayers(4,'edit3','edit','innerTab3');
P7_autoLayers(4,'edit2','edit','innerTab2');
P7_autoLayers(4,'edit1','edit','innerTab1');
jsTabSwitch(1);
</script>
<div id="Buttons" style="position:absolute; left:-1px; top:269px; width:544px; height:22px; z-index:16" align="right">
<input type="hidden" name="HB_sendNotification" value="0">
<input name="button" type="submit" class="buttons" value="Add"
>
</div>
</td>
</tr>
</form>
</table>
<script>document.getElementById('intPluginIDs_select').style.height = '220px'; document.getElementById('intTemplateID_select').style.width = '300px';</script><script>if (document.getElementById('intLayoutID_select').selectedIndex == 0) {jsSelectLayout();}</script>
					</div>
			   	</div>
				<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> 
				
			</body>
		
</html> 

Open in new window

0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 20330395
Thanks.  No way for me to test with it but nice to have the info.  According to that code I don't see that you used my suggestion.  There is already a function named init() so you would need to use a different name or add the script to the function.  If you use a different name (e.g. init2) then you can call the function in the onload with something like ...

onload="init(); init2();"

Please try my suggestion.  The code you posted in the question body is at the end of the html and I assume it is where the error is.  However that method will not work usually.  As I mentioned above the onload method is best over placing the code at the end of the html or even using the defer property in the script tag.  The latter two methods just aren't reliable in many cases.

Let me know if you don't know what I am suggesting.  Please be specific if you have some question about what I have said.  I tried to be specific in the fix in my last comment and I don't see that it was followed at all or a question about it.

bol
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 20360550
erikTsomik,

I noticed you closed this with a B grade.  Did you still have a question or need some help with this?  If so let me know and I will be happy to do what I can.  I can certainly help more and thought my comments were complete and informative.  It is nice to have a chance to earn the A or at least know why it wasn't.  Let me know the status of this or reason for the grade because it was a surprise to me.

Thanks for the fun question and I'm glad I could help.

bol
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question