<!-- hide from older browsers
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000

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

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/meet_one.jpg'
Pic[1] = 'images/meet_two.jpg'
Pic[2] = 'images/meet_three.jpg'
Pic[3] = 'images/meet_four.jpg'
Pic[4] = 'images/meet_five.jpg'
Pic[5] = 'images/meet_six.jpg'
Pic[6] = 'images/meet_seven.jpg'
Pic[7] = 'images/meet_eight.jpg'

// =======================================
// do not edit anything below this line
// =======================================

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=2)"
      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
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

if(navigator.appVersion.charAt(0)>=4 &&
(navigator.appVersion).indexOf("MSIE") != -1) isIE4 = true;
else  isIE4 = false;if(isIE4) 


function setupPage()
 {
 	if (self != top) top.location = self.location;
	fadein(Carson);

}
    
function fadein()
{
	Carson.filters.item(0).apply();
    Carson.style.visibility = "visible";
	Carson.filters.item(0).play();
	
}


if(navigator.appVersion.charAt(0)>=4 &&
(navigator.appVersion).indexOf("MSIE") != -1) isIE4 = true;
else  isIE4 = false;if(isIE4) 

    
function fadein1()
{
	filters.item().apply();
   style.visibility = "visible";
	filters.item().play();
	
}

if(navigator.appVersion.charAt(0)>=4 &&
(navigator.appVersion).indexOf("MSIE") != -1) isIE4 = true;
else  isIE4 = false;if(isIE4) 


function setupPage2()
 {
	fadeout1(fade);

}
    
function fadeout1()
{
	fade.filters.item(0).apply();
    fade.style.visibility = "visible";
	fade.filters.item(0).play();
	
}

/*
Required field(s) validation- By NavSurf
Visit NavSurf.com at http://navsurf.com
Visit http://www.dynamicdrive.com for this script
*/

/* Function that displays status bar messages. */
function MM_displayStatusMsg(msgStr)  { //v3.0
	status=msgStr; document.MM_returnValue = true;
}

/* Functions that finds images. */
function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



function formCheck(formobj){
	//1) Enter name of mandatory fields
	var fieldRequired = Array("EMAIL");
	//2) Enter field description to appear in the dialog box
	var fieldDescription = Array("your e-mail address");
	//3) Enter dialog message
	var alertMsg = "Please complete the following field:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "your e-mail address" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}

function openWindowmsg(url) {
  popupWin = window.open(url, 'remote', 'dependent,width=400,height=450,left=10,top=10')
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



//-->