/*
##############################################################################################
#   
#   $Author: Morya Short
#   $Revision: 1
#   $Date: 2006/19/10
##############################################################################################
*/

/**
 * @fileoverview -  This file provides functions for navigating through the text of the site with out
 *	changing the page either through chnaging the innerhtml or by making layers visible and invisible or 
 * changing the stacking order (z-index)
 */
var designtxt = "WebPhases consultants use a specific process to ensure that our customer's web sites" + " achieve their business goals. The process saves our clients time and money as well as ensuring a quality" +  " output. The steps are outlines below:<br / >" +
"<ul class='toplevel'><li>Business objectives translated to Web objectives - The first and most essential" + " step of any web site design is to review your business objectives and from there establish your web" 
+ " site strategy. Once we have your goals we can collaboratively create the content and the design to"  + " support your current and future business needs.<br / >"
+ "<br / ><li>Layout, Colors, Navigation - We create mockups so that our clients can easily visualize their"
+ "site and make choices about layout and colour.<br / >"
+ "<br / > <li>Development - Once the design and navigation is agreed upon the site is developed.<br / >"
+ "<br><li>Testing/User acceptance testing - Once the site is completed extensive testing across multiple"
+ "browsers. Once this is complete the user testing begins followed by the site launch.</ul>";

var customtxt = "Fully customized design means that each element of the design is created specifically" +  " for your site. This type of design typically includes logo, tag line and content. The development"  + " process used is outlined below:<br / ><ul class='toplevel'>" 
+ "<li>Business objectives translated to Web objectives - The first and most essential step of any"
+ " web site design is to review your business objectives and from there establish your web site strategy." + " Once we have your goals we can collaboratively create the content and the design to support your"  +    " current and future business needs.<br / ><br / >"
+"<li>Layout, Colors, Navigation - We create mock ups so that our clients can easily visualize their site" + " and make choices about layout and color.<br / ><br / >"
 + "<li>Development - Once the design and navigation is agreed upon the site is developed.<br / >"
+ "<br / ><li>Testing/User acceptance testing - Once the site is completed extensive testing across"  + " multiple browsers. Once this is complete the user testing begins followed by the site launch.</ul>";

var copytxt = "The home page of your site only has a few seconds to grab the attention of prospective" + " customers, after that they will be hitting the &quot;back&quot; button.<p>What you say and how you" + " organize your information throughout your site is key to long term success. Webphases can write your copy"+ " for you from scratch, or help you edit.</p> ";
					
function navigate (txtname, id){
	
	document.getElementById(id).innerHTML = txtname;
};
	
function naviagteLayer (layerName, id)
{
	document.getElementById(id).style.visibility ="visible";
	lowerInfoLayerInvisible();
	
};
/**
change the style sheet specifed and reopen page
*/

function changeStyle(url,style){
css= style;
window.open(url + "?css=" + style,"_parent")


}

/**
Get the css variable and link the appropriate style sheet
*/
function getStyleSheet(){
	
var urlString = location.href;
var urlparam = (urlString.slice((urlString.length - 1), urlString.length));

		if (urlparam == "1"){
			document.write ("<link href='styles1.css' rel='stylesheet' type='text/css' />");
			css = "1"
			}
		if (urlparam == "2"){
			document.write ("<link href='styles2.css' rel='stylesheet' type='text/css' />");
			css = "2"
			}
		if (urlparam != "2" && urlparam != "1"){
			document.write ("<link href='styles.css' rel='stylesheet' type='text/css' />");
			css = "0"
		}
}