

	function portleftover(){
		document.getElementById("portfoliotop").innerHTML = 'Display Previous Portfolio Item';
	}
	function portleftout(){
		document.getElementById("portfoliotop").innerHTML = portfolioname[portfolioindex];
	}
	function portmidover(){
		document.getElementById("portfoliotop").innerHTML = 'Click to toggle the portfolio display';
	}
	function portmidout(){
		document.getElementById("portfoliotop").innerHTML = portfolioname[portfolioindex];
	}
	function portrightover(){
		document.getElementById("portfoliotop").innerHTML = 'Display Next Portfolio Item';
	}
	function portrightout(){
		document.getElementById("portfoliotop").innerHTML = portfolioname[portfolioindex];
	}
	
	function textsize(size){
		var el = new Array('', '', '', '', '', '', '', '');
		if(size == 'sml'){
			document.getElementById('portfoliodetailstext').style.fontSize = '14px';
			document.getElementById('quotemiddle').style.fontSize = '20px';
			document.getElementById('colfloat').style.fontSize = '9px';
			document.getElementById('colusability').style.fontSize = '9px';
			document.getElementById('colstandards').style.fontSize = '9px';
			document.getElementById('colcontent').style.fontSize = '9px';
			document.getElementById('whotext').style.fontSize = '13px';
			document.getElementById('pubbottom').style.fontSize = '13px';
		}
		if(size == 'med'){
			document.getElementById('portfoliodetailstext').style.fontSize = '16px';
			document.getElementById('quotemiddle').style.fontSize = '22px';
			document.getElementById('colfloat').style.fontSize = '11px';
			document.getElementById('colusability').style.fontSize = '11px';
			document.getElementById('colstandards').style.fontSize = '11px';
			document.getElementById('colcontent').style.fontSize = '11px';
			document.getElementById('whotext').style.fontSize = '17px';
			document.getElementById('pubbottom').style.fontSize = '17px';
		}
		if(size == 'lrg'){
		
			document.getElementById('portfoliodetailstext').style.fontSize = '18px';
			document.getElementById('quotemiddle').style.fontSize = '24px';
			document.getElementById('colfloat').style.fontSize = '13px';
			document.getElementById('colusability').style.fontSize = '13px';
			document.getElementById('colstandards').style.fontSize = '13px';
			document.getElementById('colcontent').style.fontSize = '13px';
			document.getElementById('whotext').style.fontSize = '19px';
			document.getElementById('pubbottom').style.fontSize = '19px';
		
		}
	}
	
	
	//who we are stuff
	
	var aboutfloat = '<div id="whospacer"><\/div><strong>Float Solutions<\/strong>, in its current form as a creative web development studio, was incorporated in 2004. Over the past couple of years, we have worked on web design and development projects large and small. We have a strong client base that has delighted in the success of our work, and we are continuing to expand and evolve along with the Internet. We keep up to date with the latest business trends and technologies, and maintain our commitment to creating sustainable, usable web solutions.';	
	var aboutfloatwhoanne = 'url("img/whoanne.jpg")';
	var aboutfloatwhoaidan = 'url("img/whoaidan.jpg")';
	var aboutfloatwhoicon = 'url("img/whoiconhover.gif")';
	
	var aboutanne = '<div id="whospacer"><\/div><strong>Anne Stewart<\/strong> jumped straight out of her overlong student career into the heady world of web copy writing. Six years later, she has racked up a mountain of experience generating unique, stylish content for online businesses and publications. <strong>Anne’s writing combines the storytelling flair of a student of literature with the to-the-point technical style of a professional copywriter<\/strong>. This killer combo makes for web content that is rich in both human appeal and straightforward SEO-friendly data.';	
	var aboutannewhoanne = 'url("img/whoannehover.jpg")';
	var aboutannewhoaidan = 'url("img/whoaidan.jpg")';
	var aboutannewhoicon = 'url("img/whoicon.jpg")';

	var aboutaidan = '<div id="whospacer"><\/div><strong>Aidan McQuay<\/strong> got his first computer at the age of twelve, and since then has been a key player in the evolution of the Internet. Because of his vision and technical skill as an artist, he has settled into developing dynamic web applications fulltime over the last decade. He has worked on everything from open source software to enterprise-level systems. <strong>Aidan specializes in standards-based web development.<\/strong> He regularly publishes articles on web design and PHP programming that further attest to his almost scarily vast knowledge of accessible, usable web solutions.';
	var aboutaidanwhoanne = 'url("img/whoanne.jpg")';
	var aboutaidanwhoaidan = 'url("img/whoaidanhover.jpg")';
	var aboutaidanwhoicon = 'url("img/whoicon.jpg")';
	
	function setaboutfloat(){
		if(whofloatsel == 0){
			whoannesel = 0;
			whoaidansel = 0;
			whofloatsel = 1;
			whoweareobject[0] = aboutfloat;
			whoweareobject[1] = aboutfloatwhoanne;
			whoweareobject[2] = aboutfloatwhoaidan;
			whoweareobject[3] = aboutfloatwhoicon;
			xx = 0;
			whotextfx.toggle();
		}
	}
	function setaboutanne(){
		if(whoannesel == 0){
			whoannesel = 1;
			whoaidansel = 0;
			whofloatsel = 0;
			whoweareobject[0] = aboutanne;
			whoweareobject[1] = aboutannewhoanne;
			whoweareobject[2] = aboutannewhoaidan;
			whoweareobject[3] = aboutannewhoicon;
			xx = 0;
			whotextfx.toggle();
		}
	}
	function setaboutaidan(){
		if(whoaidansel == 0){
			whoannesel = 0;
			whoaidansel = 1;
			whofloatsel = 0;
			whoweareobject[0] = aboutaidan;
			whoweareobject[1] = aboutaidanwhoanne;
			whoweareobject[2] = aboutaidanwhoaidan;
			whoweareobject[3] = aboutaidanwhoicon;
			xx = 0;
			whotextfx.toggle();
		}
	}
	function enableSubmit(){
		document.getElementById('portfoliodetailstext').disabled=false;
	}
      <!-- To load a movie other then the first one listed in the xml file you can specify a movie=# arguement. -->
      <!-- For example, to load the third movie you would do the following: MyProjectName.html?movie=3 -->      
      // <![CDATA[
      var args = new Object();
      var query = location.search.substring(1);
      // Get query string
      var pairs = query.split( "," );
      // Break at comma
      for ( var i = 0; i < pairs.length; i++ )
      {
         var pos = pairs[i].indexOf('=');
         if( pos == -1 )
         {
            continue; // Look for "name=value"
         }
         var argname = pairs[i].substring( 0, pos ); // If not found, skip
         var value = pairs[i].substring( pos + 1 ); // Extract the name
         args[argname] = unescape( value ); // Extract the value
      }
      // ]]>
	function loadmovie1(){
		document.getElementById("flashmovie1").innerHTML = '<div id="flashcontent"><div id="noexpressUpdate"><p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the  latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>.</p></div></div>';		
		  // <![CDATA[          
         var fo = new FlashObject( "1_controller.swf", "1_controller.swf", "635", "328", "7", "#FFFFFF", false, "best" );
         fo.addVariable( "csConfigFile", "1_config.xml"  ); 
         fo.addVariable( "csColor"     , "FFFFFF"           );
         
         if( args.movie )
         {
            fo.addVariable( "csFilesetBookmark", args.movie );
         }
         fo.write("flashcontent"); 		  	  
         // ]]>
	}
	function loadmovie2(){
		document.getElementById("flashmovie2").innerHTML = '<div id="flashcontent2"><div id="noexpressUpdate"><p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the  latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>.</p></div></div>';		
		  // <![CDATA[          
         var fo = new FlashObject( "2_controller.swf", "2_controller.swf", "635", "274", "7", "#FFFFFF", false, "best" );
         fo.addVariable( "csConfigFile", "2_config.xml"  ); 
         fo.addVariable( "csColor"     , "FFFFFF"           );
         
         if( args.movie )
         {
            fo.addVariable( "csFilesetBookmark", args.movie );
         }
         fo.write("flashcontent2"); 		  	  
         // ]]>
	}
	function loadmovie3(){
		document.getElementById("flashmovie3").innerHTML = '<div id="flashcontent3"><div id="noexpressUpdate"><p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the  latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>.</p></div></div>';		
		  // <![CDATA[          
         var fo = new FlashObject( "3_controller.swf", "3_controller.swf", "635", "211", "7", "#FFFFFF", false, "best" );
         fo.addVariable( "csConfigFile", "3_config.xml"  ); 
         fo.addVariable( "csColor"     , "FFFFFF"           );
         
         if( args.movie )
         {
            fo.addVariable( "csFilesetBookmark", args.movie );
         }
         fo.write("flashcontent3"); 		  	  
         // ]]>
	}
	function showsosdetails(){
if (document.getElementById)
{
// this is the way the standards work
var style2 = document.getElementById("sosdetails").style;
style2.display = style2.display? "":"block";
}
else if (document.all)
{
// this is the way old msie versions work
var style2 = document.all["sosdetails"].style;
style2.display = style2.display? "":"block";
}
else if (document.layers)
{
// this is the way nn4 works
var style2 = document.layers["sosdetails"].style;
style2.display = style2.display? "":"block";
}	}
