function styleSheet()
{
output = " <link rel=\"stylesheet\" type=\"text/css\" href=\"small.css\"/>";
if (screen.width < 1024)
{
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion < 7)
	{
		output += " <link rel=\"stylesheet\" type=\"text/css\" href=\"verysmall.css\" title=\"verysmall\"/>";	
	}
	else
	{
		output += " <link rel=\"stylesheet\" type=\"text/css\" href=\"small.css\" title=\"medium\"/>";
	}
}
else
{
	if (screen.width > 1024)
	{
		{
			output += " <link rel=\"stylesheet\" type=\"text/css\" href=\"large.css\" title=\"large\"/>";	
		}
	}
	else
	{
		if (navigator.appName != "Microsoft Internet Explorer")
		{
			output += " <link rel=\"stylesheet\" type=\"text/css\" href=\"medium.css\" title=\"medium\"/>";		
		}
	}
}
output += " <link rel=\"alternate stylesheet\" type=\"text/css\" href=\"verysmall.css\" title=\"verysmall\"/>";
output += " <link rel=\"alternate stylesheet\" type=\"text/css\" href=\"small.css\" title=\"small\"/>";
output += " <link rel=\"alternate stylesheet\" type=\"text/css\" href=\"medium.css\" title=\"medium\"/>";
output += " <link rel=\"alternate stylesheet\" type=\"text/css\" href=\"large.css\" title=\"large\"/>";
output += " <link rel=\"alternate stylesheet\" type=\"text/css\" href=\"extralarge.css\" title=\"extralarge\"/>";
output += " <script type=\"text/javascript\" src=\"styleswitcher.js\"></script>";
document.write(output);
}	
function navigationLinks()
{
output  = " <table class=\"navigationbox\">";
output += " <tr class=\"navTitle\"><td>Call 07887 920979</td></tr> ";
output += " <tr><td class=\"center\"><img src=\"images/girlonphone128.jpg\" alt=\"Call Mark on 07887 920979\"/></td></tr>";
output += " <tr class=\"navTitle\"><td>Home Pages</td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"index.html\"                 >Commercial</a></td></tr>                      ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"technical.html\"             >Technical</a></td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"http://www.virtualventure.co.uk\"             >Virtual Venture</a></td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"http://www.virtualcharity.co.uk\"             >Virtual Charity</a></td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"http://www.virtual-venue.co.uk\"             >Virtual Venue</a></td></tr> ";
output += " <tr class=\"navTitle\"><td>Commercial&nbsp;Pages</td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"contactus.html\"             >Contact Us</a></td></tr>                ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"findingus.html\"             >Finding Us</a></td></tr>                ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"consultancy.html\"           >Services</a></td></tr>               ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"thefrockfactory.html\"       >Case&nbsp;Studies</a></td></tr>         ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"testimonials.html\"          >Testimonials</a></td></tr>         ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"costs.html\"                 >Costs</a></td></tr>         ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"accessibility.html\"         >Accessibility</a></td></tr>                     ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"expertise.html\"             >Expertise</a></td></tr>                 ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"links.html\"                 >Links</a></td></tr>                     ";
output += " <tr><td> ";                                                                       
output += " <form name=fbsearch method=get action=\"http://ss532.fusionbot.com/cgi-bin/ss_query\">";
output += " <div><font size=2 face=arial><a href=http://www.fusionbot.com target=_blank></a></font><br/>";
output += " <input type=text name=keys SIZE=11> ";
output += " <input type=hidden name=sitenbr value=\"154812612\">";
output += " <input class=\"search\" type=submit value=\"search\"><br/>";
output += " </div> ";
output += " </form><small>" + screen.width + " x " + screen.height + "</small>";
output += " </td></tr></table>";
document.write(output);
}
function technicalNavigation()
{
output  = " <table class=\"navigationbox\"><tr><td>";
output += " <tr><td class=\"spectech\"></td></tr> ";
output += " <tr class=\"navTitle\"><td>Home Pages</td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"index.html\"                 >Commercial</a></td></tr>            ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"technical.html\"             >Technical</a></td></tr>             ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"http://www.virtualventure.co.uk\"             >Virtual Venture</a></td></tr> ";

output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"http://www.virtual-venue.co.uk\"             >Virtual Venue</a></td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"http://www.virtualcharity.co.uk\"             >Virtual Charity</a></td></tr> ";

output += " <tr class=\"navTitle\"><td>Technical Pages</td></tr> ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"sqltrainer/index.php\"       >SQL Trainer</a></td></tr>           ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"operatingsystems.html\"      >Systems</a></td></tr>               ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"partitioning.html\"          >Partitioning</a></td></tr>          ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"paging.html\"                >Paging</a></td></tr>                ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"networks.html\"              >Networks</a></td></tr>              ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"datastructures.html\"        >Data&nbsp;Structures</a></td></tr>  ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"sql.html\"                   >SQL</a></td></tr>                   ";
output += " <tr class=\"select\"><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"feedback.html\"              >Feedback</a></td></tr>              ";
output += " <tr><td> ";                                                                       
output += " <form name=fbsearch method=get action=\"http://ss532.fusionbot.com/cgi-bin/ss_query\">";
output += " <div><font size=2 face=arial><a href=http://www.fusionbot.com target=_blank></a></font><br/>";
output += " <input type=text name=keys SIZE=11> ";
output += " <input type=hidden name=sitenbr value=\"154812612\">";
output += " <input class=\"search\" type=submit value=\"  Search  \"><br/>";
output += " </div> ";
output += " </form>";	
output += " <small>" + screen.width + " x " + screen.height + "</small>";
output += " </td></tr></table>";
document.write(output);
}
function displayHeading()
{
output =  " <table class=\"title\"><tr>";

if (screen.width<1024)
	{
		output += " <td><img src=\"images/logo800.png\"    alt=\"Spectrum CS Logo\" ismap=\"ismap\"/></td>";
		output += " <td class=\"title\">real advice for a <br/>&nbsp;&nbsp;virtual world ...</td>";
	}
else
	{
		output += " <td><img src=\"images/logo.png\"    alt=\"Spectrum CS Logo\" ismap=\"ismap\"/></td>";
		output += " <td class=\"title\">real advice for a virtual world ...</td>";
	}
output += " </td><td class=\"w3\">";
output += "<a href=\"http://validator.w3.org/check?uri=referer\">";
output += " <img  class=\"w3\"src=\"images/w3cvalid.gif\" alt=\"This page validates to the W3C's 'Strict XHTML 1.0' standard. Click on this image to check that it validates.\"/></a>";
output += " </td>";

output += " </td><td class=\"w3\">";
output += " <img  class=\"w3\"src=\"images/vcss.gif\" alt=\"This page validates to the W3C's CSS standard.\"/>";
output += " </td>";

output += " <td class=\"textsize\"> ";
output += " <a href=\"#\" onclick=\"setActiveStyleSheet('verysmall');return false;\"><font size=\"2\">A</font></a>";
output += " <a href=\"#\" onclick=\"setActiveStyleSheet('small');return false;\"><font size=\"4\">A</font></a>";
output += " <a href=\"#\" onclick=\"setActiveStyleSheet('medium');return false;\"><font size=\"5\">A</font></a>";
output += " <a href=\"#\" onclick=\"setActiveStyleSheet('large');return false;\"><font size=\"6\">A</font></a>";
output += " <a href=\"#\" onclick=\"setActiveStyleSheet('extralarge');return false;\"><font size=\"7\">A</font></a>";
output += " </td>";
output += " </p>";
output += "</tr></table></tr>";
document.write(output);
}
function footer()
{
output =  "<p><small><center>";
output += " <a href=\"index.html\"                 >Home</a>                    - ";
output += " <a href=\"contactus.html\"             >Contact&nbsp;Us</a>         - ";
output += " <a href=\"findingus.html\"             >Finding&nbsp; Us</a>        - ";
output += " <a href=\"consultancy.html\"           >Services</a>                - ";
output += " <a href=\"thefrockfactory.html\"       >Case&nbsp;Studies</a>       - ";
output += " <a href=\"testimonials.html\"          >Testimonials</a>            - ";
output += " <a href=\"costs.html\"                 >Costs</a>                   - ";
output += " <a href=\"accessibility.html\"         >Accessibility</a>           - ";
output += " <a href=\"expertise.html\"             >Expertise</a>               - ";
output += " <a href=\"technical.html\"             >Technical</a>               - ";
output += " <a href=\"links.html\"                 >Links</a>                     ";
output += "</center></small></p>";
document.write(output);
}
function caseStudies()
{
output =  "<p><small><center>Click on a case study: ";
output += "<a href=\"woodscoaches.html\"         >Woods Coaches</a>                  - ";
output += "<a href=\"thefrockfactory.html\"      >The Frock Factory</a>                  - ";
output += "<a href=\"claspthecarerscentre.html\" >Clasp the Carers Centre</a>            - ";
output += "<a href=\"douglaspoint.html\"         >227 Environmental</a>           - ";
output += "<a href=\"yogawithnerissa.html\"      >Yoga With Nerissa</a>                  ";
output += "</center></small></p>";
document.write(output);
}
function operatingSystems()
{
output  = "<p><small><center>";
output += "<a href=\"operatingsystems.html\"     >Operating Systems</a>                  - ";
output += "<a href=\"structure.html\"            >Structure</a>                          - ";
output += "<a href=\"userinterface.html\"        >User Interface</a>                     - ";
output += "<a href=\"hardwareinterface.html\"    >Hardware Interface</a>                   ";
output += "</center></small></p>";
document.write(output);
}
function networks()
{
output  = "<p><small><center>";
output += "<a href=\"networks.html\"                >Networks</a>                      - ";
output += "<a href=\"protocols.html\"               >Protocols</a>                     - ";
output += "<a href=\"simpleprotocol.html\"          >Simple Protocol</a>               - ";
output += "<a href=\"clocks.html\"                  >Clocks</a>                        - ";
output += "<a href=\"sequencenumbers.html\"         >Sequence Numbers</a>              - ";
output += "<a href=\"piggybacking.html\"            >Piggy Backing</a>                 - ";
output += "<a href=\"slidingwindowexample.html\"    >Sliding Window</a>                  ";
output += "</center></small></p>";
document.write(output);
}
function transmission()
{
output  = "<p><center>";
output += "<a href=\"transmission.html\"            >Transmission</a>                  - ";
output += "<a href=\"media.html\"                   >Media</a>                         - ";
output += "<a href=\"modulation.html\"              >Modulation</a>                    - ";
output += "<a href=\"bandwidth.html\"               >Bandwidth</a>                     - ";
output += "<a href=\"errordetection.html\"          >Error Detection</a>               - ";
output += "<a href=\"bitparity.html\"               >Bit Parity</a>                    - ";
output += "<a href=\"blockparity.html\"             >Block Parity</a>                  - ";
output += "<a href=\"crc.html\"                     >CRC</a>                             ";
output += "</center></p>";
document.write(output);
}
function sql()
{
output  = "<p><small><center>";
output += "<a href=\"sql.html\"                     >SQL</a>                           - ";
output += "<a href=\"sqltables.html\"               >Tables</a>                        - ";
output += "<a href=\"sqlselect.html\"               >SELECT</a>                        - ";
output += "<a href=\"sqlwhere.html\"                >WHERE Operators</a>               - ";
output += "<a href=\"sqlgroupsandordering.html\"    >GROUP & ORDER BY</a>              - ";
output += "<a href=\"sqlaggregation.html\"          >Aggregation</a>                   - ";
output += "<a href=\"sqljoining.html\"              >Joining</a>                       - ";
output += "<a href=\"sqlsetoperations.html\"        >Set Operations</a>                - ";
output += "<a href=\"sqlview.html\"                 >VIEW</a>                          - ";
output += "<a href=\"sqltransactions.html\"         >Transactions</a>                    ";
output += "</center></small></p>";
document.write(output);
}
function dataStructures()
{
output  = "<p><small><center>";
output += "<a href=\"datastructures.html\"          >Data Structures</a>               - ";
output += "<a href=\"stacks.html\"                  >Stacks</a>                        - ";
output += "<a href=\"armstrongs.html\"              >Armstrong's Axioms</a>            - ";
output += "<a href=\"furtherrules.html\"            >Further Rules</a>                 - ";
output += "<a href=\"sampletables.html\"            >Sample Tables</a>                 - ";
output += "<a href=\"decomposition.html\"           >Decomposition</a>                   ";
output += "</small></center></p>";
document.write(output);
}
function contactUs()
{
output = "<p class=\"centertext\">For futher information please click <a href=\"contactus.html\"       ><ins>contact us</ins></a>.</p>";
document.write(output);
}
function center()
{
output =  "<center>";
document.write(output);
}
function endCenter()
{
output =  "</center>";
document.write(output);
}
function services()
{
output  = " <table class=\"services\">";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"projectmanagement.html\"     >Project Management</a></td></tr>      ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"webdesign.html\"             >Web Design</a></td></tr>              ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"internetmarketing.html\"     >Internet Marketing</a></td></tr>      ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"softwaredevelopment.html\"   >Software Development</a></td></tr>    ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"softwareinstallation.html\"  >Software Installation</a></td></tr>   ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"hardwareinstallation.html\"  >Hardware Installation</a></td></tr>   ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"networking.html\"            >Networking</a></td></tr>              ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"training.html\"              >Training</a></td></tr>             ";
output += " <tr><td><img src=\"images/arrow.bmp\" alt=\"Click on the text!\"/><a href=\"consultancy.html\"           >Consultancy</a></td></tr>             ";
output += " </table>";
document.write(output);
}
function servicesYellow()
{
output  = " <table class=\"services\">";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"projectmanagement.html\"     >Project Management</a></td></tr>      ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"webdesign.html\"             >Web Design</a></td></tr>              ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"internetmarketing.html\"     >Internet Marketing</a></td></tr>      ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"softwaredevelopment.html\"   >Software Development</a></td></tr>    ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"softwareinstallation.html\"  >Software Installation</a></td></tr>   ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"hardwareinstallation.html\"  >Hardware Installation</a></td></tr>   ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"networking.html\"            >Networking</a></td></tr>                 ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"training.html\"              >Training</a></td></tr>             ";
output += " <tr><td><img src=\"images/arrowyb.bmp\" alt=\"Click on the text!\"/><a href=\"consultancy.html\"           >Consultancy</a></td></tr>             ";
output += " </table>";
document.write(output);
}
function languagesRight()
{
output =  "<table class=\"list\"><tr><td><h2>Languages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h2></td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />XHTML</td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />C    </td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />Java        </td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />Javascript  </td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />JSP  </td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />EJB  </td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />PHP </td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />COBOL</td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />Magic</td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />XML</td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />XSQL</td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />XSLT</td></tr>";
output += "<tr><td><img src=\"images/arrowyb.bmp\" alt=\"\" />SQL</td></tr>";
output += "</table>";
document.write(output);
}
function languagesLeft()
{
output =  "<table class=\"list\"><tr><td><h2>&nbsp;&nbsp;Microsoft&nbsp;&nbsp;&nbsp;&nbsp;</h2></td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Visual&nbsp;Basic</td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Access      </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />SQL Server  </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />C#   </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />ASP  </td></tr>";
output += "<tr><td><h2><br/>&nbsp;&nbsp;Platforms&nbsp;&nbsp;&nbsp;&nbsp;</h2></td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Unix    </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Windows </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />GSM     </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Oracle     </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />MySQL     </td></tr>";
output += "</table>";
document.write(output);
}
function platforms()
{
output =  "<table class=\"list\">";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Unix    </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />Windows </td></tr>";
output += "<tr><td>&nbsp;&nbsp;<img src=\"images/arrowyb.bmp\" alt=\"\" />GSM     </td></tr>";
output += "</table>";
document.write(output);
}
function explanation()
{
var height;
var width;
	if (screen.width < 1024)
	{
		height = "200";
		width = "500";
	}
	else
	{
		height = "100";
		width = "400";
	}
output = "<p class=\"centertext\"><img src=\"images/explanation.gif\" name = \"explanation\" alt=\"\"/></p>  ";
document.write(output);
}	
function validate() 
{
	name=mainform.Name.value;
	if (name=='') 
	{
		alert('Your name is a required field. Please try again.');
		event.returnValue=false;
	}
	else
	{
		PhoneNumber=mainform.PhoneNumber.value;
		if (PhoneNumber=='') 
		{
			alert('Your Phone Number is a required field. Please try again.');
			event.returnValue=false;
		}
		else
		{
			email=mainform.email.value;
			if (email=='') 
			{
				alert('Your email is a required field. Please try again.');
				event.returnValue=false;
			}
		}
	}
}
function technicalWindow()
{
	myWindow = window.open("xhtml.html","technicalwindow","status=0,width=350,height=150,titlebar=no,left=200,top=500");
}
function closeWindow()
{
	myWindow.close();
}
