// NEWS STORIES
var ns_story=new Array();
ns_story[0]=new Array("6th September 2004","FWA Solutions sign distribution agreement with Aperto Networks","./news_000.html");
//ns_story[1]=new Array("12th October 2004","WBNet select FWA Solutions to bring Broadband to Monmouthshire","./news_001.html");
ns_story[1]=new Array("5th November 2004","eHotspot select FWA Solutions to provide their Wireless Installations","./news_002.html");
ns_story[2]=new Array("12th December 2004","FWA Solutions to distribute OSBRiDGE outdoor equipment","./news_003.html");
ns_story[3]=new Array("15th January 2005","Ellis Associate Architects save thousands with wireless communications","./news_004.html");
ns_story[4]=new Array("March 2005","CDS Systems improve public safety with wireless CCTV link","./news_005.html");
ns_story[5]=new Array("10th May 2005","Metranet and Aperto Networks bring Broadband to Brighton","./news_006.html");
ns_story[6]=new Array("29th June 2005","Overhall Aerospace save thousands with lease line alternative","./news_007.html");
ns_story[7]=new Array("20th July 2005","Griffin Internet sign up CommonTime for Wireless Broadband","./news_008.html");
ns_story[8]=new Array("13th February 2006","SAS International use microwave instead of leased line","./news_009.html");
ns_story[9]=new Array("12th July 2006","Gerber Juice Company use high speed Microwave","./news_010.html");
ns_story[10]=new Array("July 2006","FWA Solutions help supply a Nottingham CCTV surveillance network","./news_011.html");
ns_story[11]=new Array("July 2006","FWA Solutions help supply a Bristol CCTV surveillance network","./news_012.html");
ns_story[12]=new Array("May 2006","South Wales Police provide portable video surveillance to the 2006 &quot;Full Ponty&quot;","./news_013.html");
ns_story[13]=new Array("September 2006","Milsoms Hotels use Microwave to run Point of Sale","./news_014.html");
ns_story[14]=new Array("30th October 2006","FWA Solutions Sign up Redline Communications","./news_015.html");
ns_story[15]=new Array("12th December 2006","FWA Solutions sign up GigaBeam","./news_016.html");
ns_story[16]=new Array("March 2007","South West Communications use Microwave","./news_017.html");
ns_story[17]=new Array("May 2007","FWA install Motorola link for Mobile Backhaul","./news_018.html");
ns_story[18]=new Array("7th May 2007","Harris Stratex Networks and FWA Solutions sign strategic partnership","./news_019.html");
ns_story[19]=new Array("June 2007","FWA Solutions commission Welsh Assembly Government Hotspot System","./news_021.html");
ns_story[20]=new Array("8th October 2007","Wi-Manx deploys UKs first commercial WIMAX Service","./news_020.html");
ns_story[21]=new Array("8th July 2008","Airspan Networks appoints FWA Solutions to distribute its WiMAX systems in the UK","./news_023.html");
ns_story[22]=new Array("July 2009", "Caravan holiday park goes WIMAX", "./news_024.html");
ns_story[23] = new Array("January 2010", "FWA Synetrix deliver broadband Wireless for Blackpool City Council", "./news_025.html");

// SELECT RANDOM OR LATEST NEWS STORY (NS or NSNEW)
var ns_total = ns_story.length;
var ns_new = ns_total-1;
var ns_selected = Math.round(Math.random()*(ns_new-1));
var ns_date = ns_story[ns_selected][0];
var ns_text = ns_story[ns_selected][1];
var ns_link = ns_story[ns_selected][2];
var nsnew_date = ns_story[ns_new][0];
var nsnew_text = ns_story[ns_new][1];
var nsnew_link = ns_story[ns_new][2];


// DISPLAY LAST TEN NEWS STORIES
var x = ns_story.length-1;
function nsTen() {
do {
	document.write('<p>'+ns_story[x][0]+'<br><a href="'+ns_story[x][2]+'">'+ns_story[x][1]+'</a></p>');
	x--;
} while (x > -1 && x > ns_story.length-11);
}

// MENU BAR
function doMenuBar() {
// Menu header 1
document.write('<td width=125><a href="./index.html" class=menu title="Go to the FWA Wireless Solutions homepage">home</a></td>');
// Menu header 2
document.write('<td><table width=125 border=0 cellspacing=0 cellpadding=0><tr>');
document.write('<td width=125 onmouseover="document.getElementById('+"'menuBar1'"+').style.visibility='+"'visible'"+'" onmouseout="document.getElementById('+"'menuBar1'"+').style.visibility='+"'hidden'"+'">');
document.write('<a href="./products.html" class="menu" title="Wireless, WiFi, WiMax and Microwave products by Alcatel Lucent, Motorola, Gigabeam, Airspan, Redline, OSBRiDGE, Proxim and Aperto">products</a></td></tr></table><div id="menuBar1" style="position:absolute;z-index:1;visibility:hidden">');
document.write('<table width=170 onmouseover="document.getElementById('+"'menuBar1'"+').style.visibility='+"'visible'"+'" onmouseout="document.getElementById('+"'menuBar1'"+').style.visibility='+"'hidden'"+'" border=0 cellspacing=0 cellpadding=0 bgcolor="aliceblue">');
document.write('<tr><td><img src="./images/pixel.gif" width=170 height=7 border=0></td></tr>');
document.write('<tr><td><a href="./products_alcatel.html" class="menuitem" title="Alcatel-Lucent Enterprise Wireless Solutions">Alcatel Lucent</a></td></tr>');
document.write('<tr><td><a href="./products_motorola.html" class="menuitem" title="Motorola Point to Point Solutions (PTP)">Motorola PTP Solutions</a></td></tr>');
document.write('<tr><td><a href="./products_gigabeam.html" class="menuitem" title="Gigabeam Microwave Links">GigaBeam</a></td></tr>');
document.write('<tr><td><a href="./products_airspan.html" class="menuitem" title="Airspan 3G &amp; 4G WiMax and Professional Wireless Solutions and Equipment">Airspan</a></td></tr>');
document.write('<tr><td><a href="./products_redline.html" class="menuitem" title="Redline Communications Professional Wireless Solutions">Redline Communications</a></td></tr>');
document.write('<tr><td><a href="./products_osbridge.html" class="menuitem" title="OSBRiDGE Cost Effective Wireless Solutions">OSBRiDGE</a></td></tr>');
document.write('<tr><td><a href="./products_proxim.html" class="menuitem" title="Proxim Wireless MESH and Enterprise Solutions">Proxim Wireless</a></td></tr>');
document.write('<tr><td><a href="./products_aperto.html" class="menuitem" title="Aperto Networks Broadband Fixed Wireless Equipment">Aperto Networks</a></td></tr></table></div></td>');
// Menu header 3
document.write('<td><table width=125 border=0 cellspacing=0 cellpadding=0><tr>');
document.write('<td width=125 onmouseover="document.getElementById('+"'menuBar2'"+').style.visibility='+"'visible'"+'" onmouseout="document.getElementById('+"'menuBar2'"+').style.visibility='+"'hidden'"+'">');
document.write('<a href="./services.html" class="menu" title="Design, Planning and Installation of Wireless, WiFi, WiMax, Mesh and Microwave networks">services</a></td></tr></table><div id="menuBar2" style="position:absolute;z-index:1;visibility:hidden">');
document.write('<table width=135 onmouseover="document.getElementById('+"'menuBar2'"+').style.visibility='+"'visible'"+'" onmouseout="document.getElementById('+"'menuBar2'"+').style.visibility='+"'hidden'"+'" border=0 cellspacing=0 cellpadding=0 bgcolor="aliceblue">');
document.write('<tr><td><img src="./images/pixel.gif" width=135 height=7 border=0></td></tr>');
document.write('<tr><td><a href="./services_consultancy.html" class="menuitem" title="3G &amp; 4G Wireless networks consultancy">Consultancy</a></td></tr>');
document.write('<tr><td><a href="./services_design.html" class=menuitem title="Design of 4G Wireless, WiMax, WiFi, Mesh and Microwave networks">Network Design</a></td></tr>');

document.write('<tr><td><a href="./services_modelling.html" class="menuitem" title="How computer modelling can help make your wireless network more reliable">Computer Modelling</a></td></tr>');
document.write('<tr><td><a href="./services_surveys.html" class="menuitem" title="Site surveys ensure reliable connections can be established">Site Surveys</a></td></tr>');
document.write('<tr><td><a href="./services_installation.html" class="menuitem" title="We install 3G &amp; 4G wireless, WiFi, WiMax, Mesh, Microwave and CCTV networks">Installation</a></td></tr>');
document.write('<tr><td><a href="./services_training.html" class="menuitem" title="We can offer wireless installation, networking and equipment training">Training</a></td></tr>');
document.write('<tr><td><a href="./services_maintenance.html" class="menuitem" title="We offer a range of 3G &amp; 4G wireless, WiFi, WiMax, CCTV, Mesh and Microwave networks maintenance contracts">Maintenance</a></td></tr></table></div></td>');
// Menu header 4
document.write('<td width=125><a href="./download.php" class=menu>downloads</a></td>');
// Menu header 5
document.write('<td width=125><a href="./about.html" class=menu title="About FWA Wireless Solutions - Suppliers, Distributors and Installers of 3G &amp; 4G Wireless, WiFI, WiMax, CCTV, Microwave and Mesh networks. Cwmbran (Near Newport), South Wales">about us</a></td>');
// Menu header 6
document.write('<td width=100><a href="./contact.html" class=menu title="Contact FWA Solutions, Cwmbran (Near Cardiff), South Wales">contact us</a></td>');
}


// SELECT RANDOM CUSTOMER PROFILE (CP)
var customer = new Array();
customer[0] = new Array("Gerber Juice Company use high speed Microwave","<b>Gerber Juice Company Ltd recently upgraded their backup network to interconnect all four of their sites using the latest in high speed microwave links.</b><br>The Company had previously used the Orthogon Systems (now part of Motorola) Gemini system to deliver up to 44Mbps connectivity, but now have the latest OS Spectra 300 links, each capable of delivering up to 300Mbps data throughput.  The fast, high performing links can carry the Companys voice &amp; data requirements providing both additional network capacity and full system redundancy.");
// NOTE: Each customer profine needs to be accompanied with an image (230 x 125) called 'customer_profile_x.jpg'
var cp_count = customer.length
var cp_selected = Math.round(Math.random()*(cp_count-1));
var customer_profile = "<img src=./images/customer_profile_"+cp_selected+".jpg width=230 height=125 border=0><img src='./images/pixel.gif' width=1 height=10 border=0><p class=subtitle>"+customer[cp_selected][0]+"</p><p>"+customer[cp_selected][1]+"</p>";

// SELECT RANDOM PRODUCT SHOWCASE (PS)
var ps_tagline = new Array();
ps_tagline[0] = "Looking to expand your business and worried about networking costs ?";
ps_tagline[1] = "Looking for a better network service at lower cost?";
ps_tagline[2] = "Looking for more value from your IT budget?";
ps_tagline[3] = "Looking for a better return on your investment in communications technology?";
ps_tagline[4] = "Looking to provide network communications for corporate or remote events?";
ps_tagline[5] = "Looking to provide network links between remote sites?";

var ps_story = new Array();
ps_story[0] = "Call now for more information:";
ps_story[1] = "Call now to discuss your current and future network needs:";
ps_story[2] = "Call now for a no-obligation network review:";

var ps_customer = new Array();
ps_customer[0] = "to find out how FWA Solutions helped South Wales Police perform the &quot;Full Ponty&quot;";
ps_customer[1] = "to find out how FWA Solutions served up a healthy solution for Gerber Foods";
ps_customer[2] = "to find out how FWA Solutions provided the perfect networking recipe for Gerber Foods";
ps_customer[3] = "to find out how FWA Solutions helped the City of Nottingham with their security problem";
ps_customer[4] = "to find out how FWA Solutions helped Bristol roll out a new wireless CCTV system";
// NOTE: Each customer story needs to be accompanied with an image (230 x 212) called 'product_showcase_x.jpg'

var ps_taglines = ps_tagline.length;
var ps_storys = ps_story.length;
var ps_customers = ps_customer.length;
var ps_selected_tagline = Math.round(Math.random()*(ps_taglines-1));
var ps_selected_story = Math.round(Math.random()*(ps_storys-1));
var ps_selected_customer= Math.round(Math.random()*(ps_customers-1));

var product_showcase = "<p class=subtitle>"+ps_tagline[ps_selected_tagline]+"</p><p>"+ps_story[ps_selected_story]+"</p><p><img src='./images/phone.jpg' width=240 height=50 border=0></p><p><a href='contact.html'>Contact us</a>&nbsp;"+ps_customer[ps_selected_customer]+"</p>";
var ps_picture = "<img src=./images/product_showcase_"+ps_selected_customer+".jpg width=230 height=212 border=0>";


// Check Feedback Form
function checkfeedbackform() {
missinginfo = "";
if (document.feedback.sendername.value == "") {missinginfo += "\n     -  Name"}
if (document.feedback.contactme.checked == "1") {
	if ((document.feedback.senderemail.value == "") || (document.feedback.senderemail.value.indexOf('@') == -1) || (document.feedback.senderemail.value.indexOf('.') == -1)) {missinginfo += "\n     -  Email address"}
}
if(document.feedback.sendercomments.value == "") {missinginfo += "\n     -  Enquiry"}
if (missinginfo != "") {
	missinginfo = "Please correctly enter the following:\n" + missinginfo + "\n_____________________________";
	alert(missinginfo);
	return false;
}
else {
	if (document.feedback.contactme.checked == "1") {missinginfo += "We will contact you as soon as possible."}
	missinginfo = "Thank you for your enquiry or feedback. " + missinginfo;
	alert(missinginfo);
	return true;
	}
}

/* Display site footer */

function displayFooter()
{
document.write("<table width=760 height=24 cellpadding=0 cellspacing=0 border=0><tr><td height=24 bgcolor=whitesmoke valign=middle class=footer><img src=./images/pixel.gif width=10 height=1 border=0 align=absmiddle>Copyright 2010 FWA Solutions Ltd. All rights reserved.<img src=./images/pixel.gif width=12 height=1 border=0 align=absmiddle><a href=terms.html class=footer>Terms of Use</a><img src=./images/pixel.gif width=12 height=1 border=0 align=absmiddle><a href=privacy.html class=footer>Privacy Policy</a></td></tr></table>");
}



/* NEWS TICKER FOR LATEST STORY
var cnt = ns_story.length-1;		// current news item
var i = -1;				// current character being typed
var curr = "";				// string of characters typed so far
function newsticker() {
if (i < ns_story[cnt][0].length - 1) {	// Loop for each character of current item
	i++;
	temp1 = ns_story[cnt][0];
	temp1 = temp1.split('');
	curr = curr+temp1[i];
	temp2 = ns_story[cnt][1];
	mtxt.innerHTML = "<small><a href='"+temp2+"'><font color='#ff0000'>"+curr+"_</small></font></a>";
	setTimeout('newsticker()',10);	// Character timeout
	return;
	}
i = -1; curr = "";
setTimeout('newsticker()',3000);	// News item timeout
}
*/

/* Example submenu
<div id="menuBar1_1" style="position: absolute; margin-top: 68px; margin-left: 30px; z-index: 2; visibility: hidden">
	<table onmouseover="document.getElementById('menuBar1_1').style.visibility='visible'; document.getElementById('menuBar1').style.visibility='visible';" onmouseout="document.getElementById('menuBar1_1').style.visibility='hidden'; document.getElementById('menuBar1').style.visibility='hidden';" width="150" border="1" cellspacing="0" cellpadding="0" bgcolor="aliceblue">
		<tr><td><a href="./link1.html" class="menuitem">Sub-menu 1</a></td></tr>
		<tr><td><a href="./link2.html" class="menuitem">Sub-menu 2</a></td></tr>
	</table>
</div>
	Call submenu:
<tr>
	<td onmouseover="document.getElementById('menuBar1_1').style.visibility='visible';" onmouseout="document.getElementById('menuBar1_1').style.visibility='hidden';">
		<a href="./link0.html" class="menuitem">Parent Text</a>
	</td>
</tr>
*/


/* Horizontal border & Navigation Tree
<tr>
	<td class="borders"><img src="./images/pixel.gif" width="760" height="1" border="0"></td>
</tr>
<tr>
	<td width="760" height="15" valign="top" class="maincopy">you are here :-</td>
</tr>
<tr>
	<td width="760" height="15" valign="top" class="maincopy">
		<script type="text/javascript" src="_navTree.js"></script>
	</td>
</tr>
*/