menu1h = new Image;
menu2h = new Image;
menu3h = new Image;
menu4h = new Image;
menu5h = new Image;
menu6h = new Image;
menu7h = new Image;
menu8h = new Image;
menu9h = new Image;
menu10h = new Image;
menu11h = new Image;
menu12h = new Image;
menu13h = new Image;
menu14h = new Image;
menu15h = new Image;
menu16h = new Image;

menu1h.src = "http://www.bgs-soft.com/pics/web_menu2_01.gif";
menu2h.src = "http://www.bgs-soft.com/pics/web_menu2_02.gif";
menu3h.src = "http://www.bgs-soft.com/pics/web_menu2_03.gif";
menu4h.src = "http://www.bgs-soft.com/pics/web_menu2_04.gif";
menu5h.src = "http://www.bgs-soft.com/pics/web_menu2_05.gif";
menu6h.src = "http://www.bgs-soft.com/pics/web_menu2_06.gif";
menu7h.src = "http://www.bgs-soft.com/pics/web_menu2_07.gif";
menu8h.src = "http://www.bgs-soft.com/pics/web_menu2_08.gif";
menu9h.src = "http://www.bgs-soft.com/pics/web_menu2_09.gif";
menu10h.src = "http://www.bgs-soft.com/pics/web_menu2_10.gif";
menu11h.src = "http://www.bgs-soft.com/pics/web_menu2_11.gif";
menu12h.src = "http://www.bgs-soft.com/pics/web_menu2_12.gif";
menu13h.src = "http://www.bgs-soft.com/pics/web_menu2_13.gif";
menu14h.src = "http://www.bgs-soft.com/pics/web_menu2_14.gif";
menu15h.src = "http://www.bgs-soft.com/pics/web_menu2_15.gif";
menu16h.src = "http://www.bgs-soft.com/pics/web_menu2_16.gif";


function hiLite(imgDocID, imgObjName) 
{
document.images[imgDocID].src = eval(imgObjName + ".src");
return true;
}


function writeHeader() 
{
document.writeln('<div align="left" style="width: 100%; overflow: hidden; position:absolute;"><img src="http://bgs-soft.com/pics/bgs_header.jpg"></div>');
document.writeln('<div id="mainmenu" name="mainmenu" align="left" style="top:130; left:10; position:absolute;">');
document.writeln('<a href="http://www.bgs-soft.com" onMouseOver="document.menu1.src=\'http://www.bgs-soft.com/pics/web_menu2_01.gif\'" onMouseOut="document.menu1.src=\'http://www.bgs-soft.com/pics/web_menu_01.gif\'"><IMG name="menu1" SRC="http://www.bgs-soft.com/pics/web_menu_01.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/Products.html" onMouseOver="document.menu2.src=\'http://www.bgs-soft.com/pics/web_menu2_02.gif\'" onMouseOut="document.menu2.src=\'http://www.bgs-soft.com/pics/web_menu_02.gif\'"><IMG name="menu2" SRC="http://www.bgs-soft.com/pics/web_menu_02.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/sgagent" onMouseOver="document.menu3.src=\'http://www.bgs-soft.com/pics/web_menu2_03.gif\'" onMouseOut="document.menu3.src=\'http://www.bgs-soft.com/pics/web_menu_03.gif\'"><IMG name="menu3" SRC="http://www.bgs-soft.com/pics/web_menu_03.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/sgagent/sgflash/sgflash.html" onMouseOver="document.menu4.src=\'http://www.bgs-soft.com/pics/web_menu2_04.gif\'" onMouseOut="document.menu4.src=\'http://www.bgs-soft.com/pics/web_menu_04.gif\'"><IMG name="menu4" SRC="http://www.bgs-soft.com/pics/web_menu_04.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/sgagent/download.asp" onMouseOver="document.menu5.src=\'http://www.bgs-soft.com/pics/web_menu2_05.gif\'" onMouseOut="document.menu5.src=\'http://www.bgs-soft.com/pics/web_menu_05.gif\'"><IMG name="menu5" SRC="http://www.bgs-soft.com/pics/web_menu_05.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/sgagent/faq.html" onMouseOver="document.menu6.src=\'http://www.bgs-soft.com/pics/web_menu2_06.gif\'" onMouseOut="document.menu6.src=\'http://www.bgs-soft.com/pics/web_menu_06.gif\'"><IMG name="menu6" SRC="http://www.bgs-soft.com/pics/web_menu_06.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/spacetuner" onMouseOver="document.menu7.src=\'http://www.bgs-soft.com/pics/web_menu2_07.gif\'" onMouseOut="document.menu7.src=\'http://www.bgs-soft.com/pics/web_menu_07.gif\'"><IMG name="menu7" SRC="http://www.bgs-soft.com/pics/web_menu_07.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/spacetuner/Download.asp" onMouseOver="document.menu8.src=\'http://www.bgs-soft.com/pics/web_menu2_08.gif\'" onMouseOut="document.menu8.src=\'http://www.bgs-soft.com/pics/web_menu_08.gif\'"><IMG name="menu8" SRC="http://www.bgs-soft.com/pics/web_menu_08.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/spacetuner/faq.html" onMouseOver="document.menu9.src=\'http://www.bgs-soft.com/pics/web_menu2_09.gif\'" onMouseOut="document.menu9.src=\'http://www.bgs-soft.com/pics/web_menu_09.gif\'"><IMG name="menu9" SRC="http://www.bgs-soft.com/pics/web_menu_09.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/spacetuner/Release_Notes.html" onMouseOver="document.menu10.src=\'http://www.bgs-soft.com/pics/web_menu2_10.gif\'" onMouseOut="document.menu10.src=\'http://www.bgs-soft.com/pics/web_menu_10.gif\'"><IMG name="menu10" SRC="http://www.bgs-soft.com/pics/web_menu_10.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/Customers.html" onMouseOver="document.menu11.src=\'http://www.bgs-soft.com/pics/web_menu2_11.gif\'" onMouseOut="document.menu11.src=\'http://www.bgs-soft.com/pics/web_menu_11.gif\'"><IMG name="menu11" SRC="http://www.bgs-soft.com/pics/web_menu_11.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/partners.html" onMouseOver="document.menu12.src=\'http://www.bgs-soft.com/pics/web_menu2_12.gif\'" onMouseOut="document.menu12.src=\'http://www.bgs-soft.com/pics/web_menu_12.gif\'"><IMG name="menu12" SRC="http://www.bgs-soft.com/pics/web_menu_12.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/scripts/scripts.html" onMouseOver="document.menu13.src=\'http://www.bgs-soft.com/pics/web_menu2_13.gif\'" onMouseOut="document.menu13.src=\'http://www.bgs-soft.com/pics/web_menu_13.gif\'"><IMG name="menu13" SRC="http://www.bgs-soft.com/pics/web_menu_13.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/links.html" onMouseOver="document.menu14.src=\'http://www.bgs-soft.com/pics/web_menu2_14.gif\'" onMouseOut="document.menu14.src=\'http://www.bgs-soft.com/pics/web_menu_14.gif\'"><IMG name="menu14" SRC="http://www.bgs-soft.com/pics/web_menu_14.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/ContactUs.html" onMouseOver="document.menu15.src=\'http://www.bgs-soft.com/pics/web_menu2_15.gif\'" onMouseOut="document.menu15.src=\'http://www.bgs-soft.com/pics/web_menu_15.gif\'"><IMG name="menu15" SRC="http://www.bgs-soft.com/pics/web_menu_15.gif" border=0></a><br>');
document.writeln('<a href="http://www.bgs-soft.com/UsAndThem.html" onMouseOver="document.menu16.src=\'http://www.bgs-soft.com/pics/web_menu2_16.gif\'" onMouseOut="document.menu16.src=\'http://www.bgs-soft.com/pics/web_menu_16.gif\'"><IMG name="menu16" SRC="http://www.bgs-soft.com/pics/web_menu_16.gif" border=0></a><br>');
document.writeln('</div>');
document.writeln('<div align="left" style="top:140; left:170; position:absolute;" wrap>');
document.writeln('<table width="99%"><tr><td>');
}

function writeFooter() 
{
document.writeln('</td></tr></table></div>');
}


function writeTemplateStart()
{
document.writeln('<body BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 rightmargin="0" bottommargin="0">');
document.writeln('<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('<tr>');
document.writeln('    <td width="50%" height="100%" background="images/back-left.jpg" style="background-repeat:repeat;background-position:top right"><img alt="database tools, oracle, sql server, db2, monitor, monitoring, performance" src="images/spacer.gif" width="1" height="1"></td>');
document.writeln('    <td width="606">');
document.writeln('		<table width="606" height="100%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('		<tr><td colspan="4" width="606"><img src="images/bus.jpg"></td></tr>');
document.writeln('		<tr>');
document.writeln('			<td width="10" height="486" background="images/left.jpg" style="background-repeat:repeat-y;background-position:top left"><img src="images/spacer.gif" width="13" height="1"></td>');
document.writeln('			<td width="200" height="486" background="images/back-up.jpg" style="background-repeat:no-repeat;background-position:top right">');
document.writeln('				<div style="padding-left:8px;padding-top:21px">');
document.writeln('					<table WIDTH=157 BORDER=0 CELLPADDING=0 CELLSPACING=0>');
document.writeln('						<tr><td><a href="index.html" onMouseOver="document.arr1.src=\'images/arr.gif\'" onMouseOut="document.arr1.src=\'images/arr0.gif\'"><img name="arr1" id="arr1" src="images/arr0.gif"><img src="images/menu_home.jpg" alt="home" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="WhoAreWe.html" onMouseOver="document.arr2.src=\'images/arr.gif\'" onMouseOut="document.arr2.src=\'images/arr0.gif\'"><img name="arr2" id="arr2" src="images/arr0.gif"><img src="images/menu_whoarewe.jpg" alt="who are we" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Products.html" onMouseOver="document.arr3.src=\'images/arr.gif\'" onMouseOut="document.arr3.src=\'images/arr0.gif\'"><img name="arr3" id="arr3" src="images/arr0.gif"><img src="images/menu_products.jpg" alt="products" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Products_sgagent.html" onMouseOver="document.arr4.src=\'images/arr.gif\'" onMouseOut="document.arr4.src=\'images/arr0.gif\'"><img name="arr4" id="arr4" src="images/arr0.gif"><img src="images/menu_sgagent.jpg" alt="database product monitor" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Products_space.html" onMouseOver="document.arr5.src=\'images/arr.gif\'" onMouseOut="document.arr5.src=\'images/arr0.gif\'"><img name="arr5" id="arr5" src="images/arr0.gif"><img src="images/menu_spacetuner.jpg" alt="database product reorg" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Products_cap.html" onMouseOver="document.arr6.src=\'images/arr.gif\'" onMouseOut="document.arr6.src=\'images/arr0.gif\'"><img name="arr6" id="arr6" src="images/arr0.gif"><img src="images/menu_cap.jpg" alt="database product capacity planning" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Products_siren.html" onMouseOver="document.arr7.src=\'images/arr.gif\'" onMouseOut="document.arr7.src=\'images/arr0.gif\'"><img name="arr7" id="arr7" src="images/arr0.gif"><img src="images/menu_external.jpg" alt="external alerting device" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Customers.html" onMouseOver="document.arr8.src=\'images/arr.gif\'" onMouseOut="document.arr8.src=\'images/arr0.gif\'"><img name="arr8" id="arr8" src="images/arr0.gif"><img src="images/menu_customers.jpg" alt="customers" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Partners.html" onMouseOver="document.arr9.src=\'images/arr.gif\'" onMouseOut="document.arr9.src=\'images/arr0.gif\'"><img name="arr9" id="arr9" src="images/arr0.gif"><img src="images/menu_partners.jpg" alt="partners" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Links.html" onMouseOver="document.arr10.src=\'images/arr.gif\'" onMouseOut="document.arr10.src=\'images/arr0.gif\'"><img name="arr10" id="arr10" src="images/arr0.gif"><img src="images/menu_links.jpg" alt="links" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="UsAndThem.html" onMouseOver="document.arr11.src=\'images/arr.gif\'" onMouseOut="document.arr11.src=\'images/arr0.gif\'"><img name="arr11" id="arr11" src="images/arr0.gif"><img src="images/menu_competition.jpg" alt="competition us and them" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="scripts/Scripts.html" onMouseOver="document.arr12.src=\'images/arr.gif\'" onMouseOut="document.arr12.src=\'images/arr0.gif\'"><img name="arr12" id="arr12" src="images/arr0.gif"><img src="images/menu_dbascripts.jpg" alt="oracle dba scripts" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="ContactUs.html" onMouseOver="document.arr13.src=\'images/arr.gif\'" onMouseOut="document.arr13.src=\'images/arr0.gif\'"><img name="arr13" id="arr13" src="images/arr0.gif"><img src="images/menu_contactus.jpg" alt="contact us" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('						<tr><td><a href="Maillist.asp" onMouseOver="document.arr14.src=\'images/arr.gif\'" onMouseOut="document.arr14.src=\'images/arr0.gif\'"><img name="arr14" id="arr14" src="images/arr0.gif"><img src="images/menu_maillist.jpg" alt="our mail list" width="157" height="20" border="0"></a></TD></TR>');
document.writeln('					</table>');
document.writeln('				</div>');
document.writeln('				<div style="padding-left:18px;padding-top:0px">');
document.writeln('					<table WIDTH=157 BORDER=0 CELLPADDING=0 CELLSPACING=0>');
writeNews();
document.writeln('					</table>');
document.writeln('				</div>');
document.writeln('			</td>');
document.writeln('			<td width="383" height="486">');
document.writeln('				<table width="383" height="100%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('				<tr><td><img src="images/bus-2.jpg"></td></tr>				');
document.writeln('				<tr>');
document.writeln('					<td height="100%" background="images/back-tab.jpg" style="background-repeat:no-repeat;background-position:top left">');
}


function writeTemplateEnd()
{
document.writeln('					</td>');
document.writeln('				</tr>');
document.writeln('				</table>');
document.writeln('			</td>');
document.writeln('			<td width="13" height="486" background="images/right.jpg" style="background-repeat:repeat-y;background-position:top right"><img src="images/spacer.gif" width="13" height="1"></td>');
document.writeln('		</tr>');
document.writeln('		<tr align="right" valign="top">');
document.writeln('		  <td width="606" height="40" colspan="4" background="images/end.jpg" style="padding-right:34; padding-top:12px "><a href="index-5.html"><img src="images/copyy.jpg" width="144" height="7" border="0"></a></td>');
document.writeln('		</tr>');
document.writeln('		<tr><td colspan="4" width="606" height="100%" background="images/back-left.jpg" style="background-repeat:repeat;background-position:top"><img src="images/spacer.gif" width="1" height="1"></td></tr>');
document.writeln('		</table>');
document.writeln('	</td>');
document.writeln('   <td width="50%" height="100%" background="images/back-right.jpg" style="background-repeat:repeat;background-position:top left"><img src="images/spacer.gif" width="1" height="1"></td>');
document.writeln('</tr>');
document.writeln('</table>');
document.writeln('</body');
}


function writeNews()
{
document.writeln('						<tr><td><img src="images/spacer.gif" width="1" height="8"></td></tr>');
document.writeln('						<tr><td><img src="images/up-1.jpg"></td></tr>');
document.writeln('						<tr>');
document.writeln('							<td height="100%" background="images/back-1.jpg">');
writeNews1('Oct, 2006','Capacity Planning Package for Oracle Database is now included in the monitor!. <a style="font-size:9px;" href="Products_Sgagent.html#oracap">More...</a>');
writeNews1('Jul, 2006','Build a package of the monitor especially to monitor your application and database. Provide a monitoring tool \'built in\' in your product. <a style="font-size:9px;" href="Products_Sgagent.html#oem">More...</a>');
writeNews1('Jul, 2006','New object called "History Keeper" was added to the monitor. This object allows saving history of the monitor into a repository in the database.<br>It\'s possible to define the frequency of saving a sample, and the number of days to keep in the repository.');
writeNews1('Jun, 2006','New electronic equipment called "External alerting device" (made by B.G.S.) was added to the monitor.<br> The device connects to the PC\'s parallel port and can activate a siren & light alert (wired or wireless). It\'s possible to define thresholds and statuses to activate the alert.');
document.writeln('							</td>');
document.writeln('						</tr>');
document.writeln('						<tr><td><img src="images/up-1.jpg"></td></tr>');
document.writeln('						<tr><td bgcolor="#E2E2E2"><img src="images/spacer.gif" width="1" height="1"></td></tr>');
document.writeln('						<tr><td><img src="images/spacer.gif" width="1" height="3"></td></tr>');
}


function writeNews1(p_Date, p_Text)
{
document.writeln('								<div style="font-size:9px;padding-left:10px;padding-right:10px;padding-top:12px;line-height:12px">');
document.writeln('									<strong class="style-r">[ ' + p_Date + ' ]</strong><br>');
document.writeln(p_Text);
document.writeln('								</div>');
document.writeln('								<img src="images/line-1.jpg" style="margin-left:10px;margin-top:10px"><br>');
}


function writeContents1(p_Picture, p_Title, p_Text, p_MoreURL)
{
document.writeln('						<div style=" padding-left:31px;padding-top:2px;padding-right:15px">');
if (p_Picture!='')	document.writeln('							<img src="' + p_Picture + '" align="right" style="margin-right:20px;margin-left:9px;margin-top:6px">');
if (p_Title!='')	document.writeln('							<span class="style-b">' + p_Title + '</span><br><br>');
if (p_Text!='')	document.writeln(p_Text + '<br>');
if (p_MoreURL!='')	document.writeln('<a href="' + p_MoreURL + '"><img src="images/more-1.jpg" style="margin-top:7px"></a><br><br>');
else				document.writeln('							<img src="images/txt-2.jpg" style="margin-top:7px"><br><br>');
document.writeln('						</div>');
}

function writeContents1_border(p_Picture, p_Title, p_Text, p_MoreURL)
{
document.writeln('						<div style=" padding-left:31px;padding-top:2px;padding-right:15px">');
if (p_Picture!='')	document.writeln('							<img src="' + p_Picture + '" align="right" style="border : thin solid #5F9EA0;margin-right:20px;margin-left:9px;margin-top:6px">');
if (p_Title!='')	document.writeln('							<span class="style-b">' + p_Title + '</span><br><br>');
if (p_Text!='')	document.writeln(p_Text + '<br>');
if (p_MoreURL!='')	document.writeln('<a href="' + p_MoreURL + '"><img src="images/more-1.jpg" style="margin-top:7px"></a><br><br>');
else				document.writeln('							<img src="images/txt-2.jpg" style="margin-top:7px"><br><br>');
document.writeln('						</div>');
}


function writeContents1_2pics(p_Picture1, p_Picture2, p_Title, p_Text, p_MoreURL)
{
document.writeln('						<div style=" padding-left:31px;padding-top:2px;padding-right:15px">');
document.writeln('							<img src="' + p_Picture1 + '" align="right" style="border : thin solid #5F9EA0;margin-right:20px;margin-left:9px;margin-top:6px"><img src="' + p_Picture2 + '" align="right" style="border : thin solid #5F9EA0;margin-right:20px;margin-left:9px;margin-top:6px">');
if (p_Title!='')	document.writeln('							<span class="style-b">' + p_Title + '</span><br><br>');
if (p_Text!='')	document.writeln(p_Text + '<br>');
if (p_MoreURL!='')	document.writeln('<a href="' + p_MoreURL + '"><img src="images/more-1.jpg" style="margin-top:7px"></a><br><br>');
else				document.writeln('							<img src="images/txt-2.jpg" style="margin-top:7px"><br><br>');
document.writeln('						</div>');
}


function writeContents2(p_Text)
{
document.writeln('						<div style=" padding-left:31px;padding-top:2px;padding-right:15px">');
//document.writeln('							<span class="style-t">' + p_Text + '</span><br>');
document.writeln('							<h1>' + p_Text + '</h1>');
document.writeln('							<img src="images/txt-2.jpg" style="margin-bottom:7px "><br>');
document.writeln('						</div>');
}


function writeContents_DBAscript(p_Header, p_Title, p_Text)
{
document.writeln('<div style=" padding-left:31px;padding-top:2px;padding-right:15px">');
if (p_Header!='')	document.writeln('<span class="style-b">' + p_Header + '</span><br><br>');
if (p_Title!='')	document.writeln(p_Title + '<br><br>');
document.writeln('<img src="images/txt-2.jpg" style="margin-bottom:7px "><br>');
document.writeln('<span class="style-b">The Script:</span><br>');
document.writeln('<img src="images/txt-2.jpg" style="margin-bottom:7px "><br><br>');
if (p_Text!='')		document.writeln(p_Text + '<br>');
document.writeln('</div>');
}
