<!--  Created with the CoffeeCup HTML Editor  -->
<!--        http://www.coffeecup.com/         -->
<!--     Brewed on 06/16/2004 12:33:38 PM     -->
<!--  Copyright 2004 Tier Web Design          -->

/**************************************************************************/
/* Functions for Nav Bar                                                  */ 
/**************************************************************************/
if (document.images) 
  {
  Home = new Image();
  Home.src = "images/navbar/Home.gif";
  HomeMo = new Image();
  HomeMo.src = "images/navbar/HomeMo.gif";

  Portfolio = new Image();
  Portfolio.src = "images/navbar/Portfolio.gif";
  PortfolioMo = new Image();
  PortfolioMo.src = "images/navbar/PortfolioMo.gif";

  Services = new Image();
  Services.src = "images/navbar/Services.gif";
  ServicesMo = new Image();
  ServicesMo.src = "images/navbar/ServicesMo.gif";

  AboutUs = new Image();
  AboutUs.src = "images/navbar/AboutUs.gif";
  AboutUsMo = new Image();

  AboutUsMo.src = "images/navbar/AboutUsMo.gif";

  ContactUs = new Image();
  ContactUs.src = "images/navbar/ContactUs.gif";
  ContactUsMo = new Image();
  ContactUsMo.src = "images/navbar/ContactUsMo.gif";
  }

var webdesign="<div class=heads>Website Design</div><ul>"+
		  "<li>Our developers design &amp; build professional websites with "+
		  "your business or organization goals in mind. Every customer "+
		  "is treated individually to guarantee a uniquely attractive "+
		  "website. We also assure your site will be functional in the "+
		  "main browsers with reasonable download times for all types "+
		  "of internet connection methods.<br> "+  
		  "<li>We are capable of providing programming services for "+
		  "javascript, php, SQL database management and CGI form "+
		  "processing.<br>"+
		  "<li>Once your website is complete, we register it with all the "+
		  "major search engines so your target audience will find you.<br>"+
	  	"</ul>";
webmaint="<div class=heads>Website Maintenance</div><ul>"+
		  "<li>If you&#8217;re finding that your website is quickly out of date "+
		  "and in need of monthly (or weekly) updates, we can provide "+ 
		  "the service to keep your site current!<br>"+
	 	"</ul>";
var logo="<div class=heads>Logo Design</div><ul>"+
		  "<li>A logo is a very important symbol for your company&#8217;s "+
		  "recognition. We can design a logo for you using your ideas "+
		  "and your choice of color schemes.<br>"+
	  	"</ul>";
var domaindesc="<div class=heads>Domain Name Registration and Hosting Recommendations</div><ul>"+
		  "<li>Although we don&#8217;t provide hosting services ourselves, we "+
		  "find the best host available for the services you need at "+
		  "very affordable prices.<br>"+
	  	"</ul>";
var flash="<div class=heads>Flash Animation</div><ul>"+
		  "<li>If you like the lastest in flash animation movies, our "+ 
		  "designers can add provide that extra pizzaz to "+
		  "your website.<br>"+
	  	"</ul>";
var form="<div class=heads>Form Processing</div><ul>"+
	  		"<li>Email forms, etc etc.<br>"+
	  	"</ul>";
var ecommerce="<div class=heads>E-Commerce Solutions</div><ul>"+
			"<li>E-commerce solutions are available to provide trusted sales"+
			"of merchandise using secured transmission methods "+
		  	"<li>Using the latest database technology we can provide "+
		  	"e-commerce solutions for your new or existing business."+
			"<li>If you are starting a new business selling products, we can "+
		  	"set up an online database for your visitors to browse and to "+
		  	"purchase products from.</li>"+
		  	"<li>We offer small, simple, yet effective solutions for "+
		  	"businesses that are just starting out but we leave the "+
		  	"system well documented, allowing for expansion at any time.</li>"+
			"<li> We will design your database, store front and administration "+ 
		  	"interface, program your website to interact with the "+ 
		  	"database and we will also set up your website with your "+
		  	"payment system.</li>"+
	    "</ul>";

/**************************************************************************/
/* Functions                                                              */
/**************************************************************************/
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function switchImages(loc,image) {
  if (document.images) 
  {
  document[loc].src = eval(image + ".src");
  }
}

function greet()
{
   var greeting;
   var curDay = new Date();
   var noon = 12;
   var sixpm = 18;
   var February = 2;

   var time = curDay.getHours();
   var year = curDay.getYear();
   var day = curDay.getDate();
   var month = curDay.getMonth();

   if (time < noon)
   	  {greeting = "Good Morning!";}
   else
      {greeting = (time < sixpm) ? "Good Afternoon!" : "Good Evening!";}

   if ((month == February) && (day == 14))
      {greeting = "Happy Valentines Day";}
  
   document.write("<b>"+greeting+"</b>");
   return;
}

function changeDesc(descript)
{
	 if (document.all)
	    parent.serviceDesc.innerHTML = descript
	 else	
	 	document.getElementById("serviceDesc").innerHTML = descript;
	 return; 
}

function popupURL (theURL,windowname,w,h,oset)
{ 
    var parms="width="+w+",height="+h+"scrollbars=no,status=no,resizable=yes,top="+oset+",left="+oset;
    window.open(theURL,windowname,parms);
	return;
}

function preloadImages() 
{
 	var i,j;                           //counters
	args=preloadImages.arguments;      //get argument list											
    if(document.images) 		 	   //if support rollovers and preloading
	{
	   if(!document.TWDimages) TWDimages=new Array();  //if no array yet, create it
       j=TWDimages.length;             //find the end of the array
	 
	   for(i=0; i<args.length; i++)
	   {   
          if (args[i].indexOf("#")!=0) //if not the last arg
		  	 {TWDimages[j]=new Image;  //make another new image 
		  	  TWDimages[j++].src=args[i]; //store the image
			 }
	   }// end for
	}
}

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array() 
// to add more images, just add to the array below
var i = 0
Pic[i++] = 'Images/intro0.jpg'
Pic[i++] = 'Images/intro1.jpg'
Pic[i++] = 'Images/intro2.jpg'

var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   setTimeout('runSlideShow()', slideShowSpeed)
}
