// Jegas Javascript
////////////////////////////////////////////////////////////////
var win=null;
function NewWindowAdvanced(mypage,myname,w,h,scroll,pos){
	if(pos==null){
		if(w==null){w=screen.width};w=w+'';
		if(h==null){h=screen.height};h=h+'';
    }; 	
	if(pos=="random"){
	  LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
	};
	if(pos=="center"){
	  LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
	}else if((pos!="center" && pos!="random") || pos==null){
	  LeftPosition=0;TopPosition=20
	};
	settings='width='+(w+'')+',height='+(h+'')+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes';
	win=window.open(mypage,myname,settings);
	if(win.focus){
		win.focus();
	};
};
// NewWindowAdvanced(this.href,'Cool','300','200','yes','center');return false
//////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////
// this version is good for DEFAULT Settings. Note - In FireFox - its a new TAB!
function NewWindow(p_url){ window.open(p_url);};

function NoFramesPlease(){if (window != top) top.location.href = document.location;};
function SetFocusById(p_id){try{document.getElementById(p_id).focus();}catch(e){};};

function CreateEmailLink(p_who, p_where){
  document.write('<a href="mailto:' + p_who + '@' + p_where+'">'+p_who+'@'+p_where+'</a>');
  return true;
};


function LTrim(p_s){
  if(p_s == undefined){return p_s};
  if(p_s == null){return null};
  if(p_s==''){return ''};
  var i = 0;
  var s= new String();
  s=String(p_s);
  var LEN=String(s).length;
  while((i<LEN)&&(s.substr(i,1)==" "))i++;
  if ((LEN-i)>0){
    return s.substr(i,LEN-i);
  }else{
    return s;
  };
};

function RTrim(p_s){
  if(typeof(p_s) == "undefined"){return p_s};
  if(p_s == null){return null};
  if(p_s==''){return ''};
  var s = new String();
  s=String(p_s);
  var LEN=String(s).length;
  var i = LEN;
  while((i>0)&&(s.substr(i-1,1)==" "))i--;
  //Response.Write("<br><font face=courier>INSIDE RTrim('"+s+"') Length:");
  //Response.Write(s.length);
  //Response.Write(" LEN="+LEN.toString());
  //Response.Write(" i="+i.toString());
  if(i>-1){
    //Response.Write(" Returning:"+String(s).substr(0,i)+":</font><hr>");
    return s.substr(0,i);
  }else{
    //Response.Write(" Returning:NOTHING but quote quote</font><hr>");
    return '';
  };
};

function Trim(p_s){
  if(p_s == undefined){return p_s};
  if(p_s == null){return null};
  if(p_s==''){return ''};
  return RTrim(LTrim(p_s));
};

function sURIDecode(p_s){
  if(p_s == undefined){return p_s};
  if(p_s == null){return null};
  if(p_s==''){return ''};
  // Actually got a string to play with
  var s,i;
  s = p_s.replace(/\&gt;/g,'>');
  s = s.replace(/\&lt;/g,'<');
  s = s.replace(/\&apos;/g,"'");
  s = s.replace(/\&quot;/g,'"');
  s = s.replace(/\&amp;/g,'&');
  return s;
};

function sReverse(p_s){
  var s,i;
  if(p_s == undefined){return p_s};
  if(p_s == null){return null};
  if(p_s==''){return ''};
  s='';
  for(i=p_s.length;i>-1;i--){
    s = s + p_s.substr(i,1);
  };
  return s;
};

function toRadix(N,radix) {
 var HexN="", Q=Math.floor(Math.abs(N)), R;
 while (true) {
  R=Q%radix;
  HexN = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(R)+HexN;
  Q=(Q-R)/radix; if (Q==0) break;
 };
 return ((N<0) ? "-"+HexN : HexN);
};


//Extremely CHEAP 2 digit number padding subroutine
// give it 0 it gives 00
function sZP(number){
 var s=String(number);
 if (s.length==1){
   return "0" + s;
 }else{
   return s;
 };
};

// Cheap 4 Digit Number Padding
function sZP4(number){
 var s=String(number);
 if (s.length==1){
   return "000" + s;
 }else{
	 if (s.length==2){
	   return "00" + s;
	 }else{
		 if (s.length==3){
		   return "0" + s;
		 }else{
		   return s;
		 };
	 };
 };
};


// This pair of functions (myesc and myunesc) are the same as 
// the standard escape and unescape, with one exception. PLUSES in DATA, 
// when passed to the normal ESCAPE/UNESCAPE routines come back as 
// Spaces... because in a CGI line you can have "Hey Bob" represented in a URL
// as Hey+Bob. Well, that's just fine unless you want to PASS a PLUS!
// So what do I do? (I don't know yet, I haven't written the routine but I'm thinking of 
// ESCAPING pluses with a code if there is one I can snag :)
function myesc(p_s){
  return escape((p_s).replace(/\+/,"\\x2B"));
};
function myunesc(p_s){
  return (unescape(p_s)).replace(/\\x2B/,"+");
};




//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
// Date String to String conversion (can optionally pass date object, but 
// send '?' as p_FormatIn parameter.
//
// REQ PARAMETERS: 
//  p_sDate - DATE IN STRING FORMAT (or date object)
//  p_sFormatOut - DESIRED OUTPUT FORMAT - ZERO makes it return DATE OBJECT
//  p sFormatIn -  Format of date coming in ----  unless date object, in 
//      which case pass '?' or 0, or nothing! 
//
// You CAN pass the values of the following array, either literally or 
// using the array itself, but for speed's sake, and to shave a few bytes 
// out of date intensive works, I set up the function to be smart enough 
// to know WHAT format you want by sending the indexes of this array in 
// place of the string representations!
//
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
  var asDateFormat= new Array(
    '?',                              //0 for when you pass DATE OBJECT, use 
                                      // this as format in, 
                                      //  just so routine doesn't kick you out.

    'MM/DD/YYYY HH:NN AM',            //1 ADO Friendly for SAVING TO MSSQL 
                                      //  5/1/2005 12:00 am (or Zero Padded 
                                      //  not  sure if matters)
                                      
    'MM/DD/YYYY',                     //2 

    'YYYY-MM-DD',                     //3 BlueShoes Date Picker Format for 
                                      //  isoInit and CGI Params

    'DDD MMM DD HH:MM:SS EDT YYYY',   //4

    'DDD, DD MMM YYYY HH:MM:SS',      //5 JavaScript date object - can be used 
                                      //  to set time, I think 

    'DDD, DD MMM YYYY HH:MM:SS UTC',  //6

    'DDDD, DD MMM, YYYY HH:MM:SS AM', //7 javascript date.toLocaleString() 
                                      //  format  DDDD=day name spelled out

    'HH:NN:SS',                       //8

    'HH:NN:SS EDT',                   //9

    'MMM DDD DD YYYY',                //10 'Mon May 20 2002'
    
    'YYYY-MM-DD HH:NN:SS',            //11 '2005-01-30 14:15:12'

    'MM/DD/YY',                       //12 '01/02/06'

    'DD/MMM/YYYY',                    //13 '17/Jan/2007'
    
    'DD/MMM/YYYY HH:MM AM',           //14 '17/Jan/2007 03:08 PM'
    
    'DD/MMM/YYYY HH:MM',              //15 '17/Jan/2007 23:00' Military time
    
    'HH:MM AM',                       //16 '03:08 PM'
    
    'HH:MM'                           //17 '23:00' Military time
    
    );
  var aMonth = new Array ('January','Febuary','March', 'April', 'May','June',
                          'July','August','September','October','November', 
                          'December');
  var aDay = new Array ('Sunday','Monday','Tuesday','Wednesday','Thursday',
                        'Friday','Saturday');

//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////

  function iMilitaryHours(p_sAMPMFLAG, p_sHours){
    if((p_sAMPMFLAG=='PM')&&((p_sHours-0)<12)){return ((p_sHours-0)+12);};//Make Military HOURS
    if((p_sAMPMFLAG=='AM')&&((p_sHours-0)==12)){return 0};//Make Military HOURS
    return (p_sHours-0);
  };
  function iNormalHours(p_sAMPMFLAG, p_sHours){
    if((p_sAMPMFLAG=='PM')&&((p_sHours-0)>12)){return ((p_sHours-0)-12);};//Make Normal Hours
    if((p_sAMPMFLAG=='AM')&&((p_sHours-0)==0)){return 12};//Make normal hours
    return p_sHours -0;
  };
  function iMilitaryToNormalHours(p_sHours){
    if((p_sHours-0)>12){return ((p_sHours-0)-12);}else{if((p_sHours-0)==0){return 12}else{return (p_sHours-0);};};//Make Normal Hours
  };

  function sAMPM(p_iMilitaryHours){if(p_iMilitaryHours>11){return 'PM'}else{return 'AM'};};
  function iMonth(p_sMonthName){
    var s=p_sMonthName.toUpperCase();
    var result=0;var i=0;
    for(i=0;i<aMonth.length;i++){
      if(  String(aMonth[i].substr(0,3)).toUpperCase() === s ){
        return i+1;//set month
      };
    };
    Response.Write('IMONTH:'+p_sMonthName);
    
  };

////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////

function JDate(p_Date, p_sFormatOut,p_sFormatIn){
/*
document.write('<br>\n\nDATE:');
document.write(p_Date);
document.write('<br>\n\nFormatOut:');
document.write(p_sFormatOut);
document.write('<br>\n\nFormatIn:');
document.write(p_sFormatIn);
document.write('<br>\n\n');
*/

  // Three main variables to set up, what we got, what we think it is, what 
  // we want it to become
  var sin = '';
  var iFmt = -1; //in format array index
  var oFmt = -1; //out format array index
  
  if((p_sFormatIn!='?')&&(arguments.length>=3)){
    if(String(p_sFormatIn*1)!='NaN'){// we got a numeral! (well, close enough 
                                     // a test for us!)
      iFmt=p_sFormatIn;
    };
  };
  if(String(p_sFormatOut*1)!='NaN'){//we got a numeral! 
                                   // (well, close enough a test for us!)
    oFmt=p_sFormatOut;
  };

  try{//If passed a date type, try to get into string format
    sin = p_Date.getDay();//THIS command will bust it if not date object! 
                          // (hence the try{}catch thing)
    iFmt = 0; //denote date object coming in
  }catch(e){
    try{//if passed string, cool
      sin = Trim(String(p_Date));
      if(sin.length==0)return '';
      //unless they passed the '?' format!
      if(arguments.length>=3){
        if(p_sFormatIn=='?')return 
          'Question Mark Not Valid In this context JDate()';
      };
    }catch(e){//dont know what they hell I got
      return '';// give them empty string, this is a string type function 
                // afterall
    };
  };
  
  var i=0;
  if(iFmt==-1){
    var sFormatIn = new String(Trim(p_sFormatIn)).toUpperCase();
    for(i=0;i<asDateFormat.length;i++){if(sFormatIn===asDateFormat[i])iFmt=i;};
    if(iFmt==-1)return 'BAD DATE FORMAT IN JDate() - Value Passed:'+sFormatIn;
  };
  if(oFmt==-1){
    var sFormatOut = new String(Trim(p_sFormatOut)).toUpperCase();
    //Make sure all the parameters are cool for this routine
    if(sFormatOut=='?')return 'Question Mark Not Valid for output format parameter, ANYTIME! JDate()';
    for(i=0;i<asDateFormat.length;i++){if(sFormatOut===asDateFormat[i])oFmt=i;};
    if(oFmt==-1)return 'BAD DATE FORMAT OUT JDate() - Value Passed:'+sFormatOut;
  };

  // fill these variables - all date conversion revolve around these being set right
  var m=0;//month (1=January)
  var d=0;//days
  var y=0;//years
  var h=0;//hours
  var n=0;//minutes
  var s=0;//seconds
  var mh=0;//military hours
  
  
  switch (iFmt){
  case 0://date object
    m= p_Date.getMonth()+1;//month (1=January)
    d= p_Date.getDate();//days
    y= p_Date.getYear();//years
    h= iMilitaryToNormalHours(mh=p_Date.getHours());//hours
    n= p_Date.getMinutes();//minutes
    s= p_Date.getSeconds();//seconds
    //military hours
    break;
  case 1://'MM/DD/YYYY HH:NN AM'
    var sp = sin.split(' '); //sp0='mm/dd/yyyy' sp1='hh:nn' sp2='am'
    var dp = sp[0].split('/');//dp0=mm dp1=dd dp2=yyyy
    var tp = sp[1].split(':'); //tp0=hh, tp1=nn 
    m=dp[0]-0;d=dp[1]-0;y=dp[2]-0;//month, day, year
    h=iNormalHours(sp[2],tp[0]);n=tp[1]-0;//s=tp[2]-0;//hours, minutes, possibly seconds
    mh=iMilitaryHours(sp[2],tp[0]);
    break;
  case 2://MM/DD/YYYY
    var dp = sin.split('/');//dp0=mm dp1=dd dp2=yyyy
    m=dp[0]-0;d=dp[1]-0;y=dp[2]-0;//month, day, year
    break;
  case 3://YYYY-MM-DD
    var dp = sin.split('-');
    m=dp[1]-0;d=dp[2]-0;y=dp[0]-0;
    break;
  case 4://'DDD MMM DD HH:MM:SS EDT YYYY'
    //date
    var sp = sin.split(' '); //sp0=ddd, 1=mmm 2=dd 3=hh:mm:ss 4=EDT 5=yyyy
    m=iMonth(sp[1]);d=sp[2]-0;y=sp[5]-0;
    //time
    var tp = sp[3].split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    
    //Response.Write("TP[0]");
    //Response.Write(tp[0]);
    
    mh=tp[0]-0;
    n=tp[1]-0;
    s=tp[2]-0;
    
    
    
    break;
  case 5://'DDD, DD MMM YYYY HH:MM:SS'
    var sp = sin.split(' '); //sp0=ddd, 1=dd 2=mmm 3=yyyy 4=hh:mm:ss
    m=iMonth(sp[2]);d=sp[1]-0;y=sp[3]-0;
    //time
    var tp = String(sp[4]).split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    mh=tp[0]-0;
    nn=tp[1]-0;
    s=tp[2]-0;
    break;
  case 6://'DDDD, DD MMM, YYYY HH:MM:SS AM'
    var sp = sin.split(' '); //sp0=dddd, 1=dd 2=mmm 3=yyyy 4=hh:mm:ss 5=am
    m=iMonth(sp[2]);d=sp[1]-0;y=sp[3]-0;
    //time
    var tp = String(sp[4]).split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    mh=iMilitaryHours(sp[5],tp[0]);
    nn=tp[1]-0;
    s=tp[2]-0;
    break;
  case 7://'DDDD, DD MMM, YYYY HH:MM:SS AM'
    var sp = sin.split(' '); //sp0=dddd, 1=dd 2=mmm 3=yyyy 4=hh:mm:ss 5=am
    m=iMonth(sp[2]);d=sp[1]-0;y=sp[3]-0;
    //time
    var tp = String(sp[4]).split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    mh=iMilitaryHours(sp[5],tp[0]);
    nn=tp[1]-0;
    s=tp[2]-0;
    break;
  case 8://'HH:NN:SS'
    //time
    var tp = sin.split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    mh=tp[0]-0;
    nn=tp[1]-0;
    s=tp[2]-0;
    break;
  case 9://'HH:NN:SS EDT'
    //time
    var tp = sin.split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    mh=tp[0]-0;
    nn=tp[1]-0;
    s=tp[2]-0;
    break;
  case 10://'MMM DDD DD YYYY'
    var sp = sin.split(' '); //sp0=mmm 1=ddd 2=dd 3=yyyy
    m=iMonth(sp[0]);d=sp[2]-0;y=sp[3]-0;
    break;
  case 11://'2005-01-30 14:15:12'
    var sp = sin.split(' ');// sp0='YYYY-MM-DD'  sp1='HH:MM:SS'
    var dp = sp[0].split('-');
    m=dp[1]-0;d=dp[2]-0;y=dp[0]-0;
    var tp = sp[1].split(':'); //tp0=hh, tp1=nn, tp2=seconds 
    h=iMilitaryToNormalHours(tp[0]);
    mh=tp[0]-0;
    nn=tp[1]-0;
    s=tp[2]-0;
    break;
  case 12://'01/02/06'
    var dp = sin.split('/');
    m=dp[0]-0;d=dp[1]-0;y=dp[2]-0;
    break;
  case 13://'17/Jan/2007'
    var sp = sin.split('/'); //sp0=dd 1=mmm 2=yyyy
    m=iMonth(sp[1]);d=sp[0];y=sp[2]-0;
    break;
  case 14:// '17/Jan/2007 03:08 PM'    'DD/MMM/YYYY HH:MM AM'
    var sp = sin.split(' ');// sp0='DD/MMM/YYYY' sp1='HH:MM' sp2='AM'
    var dp = sp[0].split('/');m=iMonth(dp[1]);d=dp[0];y=dp[2]-0;
    var tp = String(sp[1]).split(':'); //tp0=hh, tp1=nn
    h=tp[0];
    mh=iMilitaryHours(sp[2],tp[0]);
    n=tp[1]-0;
    break;
  case 15:// 'DD/MMM/YYYY HH:MM'       '17/Jan/2007 23:00' Military time
    var sp = sin.split(' ');// sp0='DD/MMM/YYYY' sp1='HH:MM' 
    var dp = sp[0].split('/');m=iMonth(dp[1]);d=dp[0];y=dp[2]-0;
    var tp = String(sp[1]).split(':'); //tp0=hh, tp1=nn
    h=iMilitaryToNormalHours(tp[0]);
    mh=tp[0];
    nn=tp[1]-0;
    break;
  case 16:// 'HH:MM AM'                '03:08 PM'
    var sp = sin.split(' '); // sp[0]='HH:MM' sp[1]='PM'
    var tp = String(sp[0]).split(':'); //tp0=hh, tp1=nn
    h=tp[0];
    mh=iMilitaryHours(sp[1],tp[0]);
    n=tp[1]-0;
    break;
  case 17:// 'HH:MM'                   '23:00' Military time
    var tp = sin.split(':'); // tp[0]='HH' tp[1]='MM' 
    h=iMilitaryToNormalHours(tp[0]);
    mh=iMilitaryHours(sp[1],tp[0]);
    n=tp[1]-0;
  };//switch
  
  // TODO: Try This: h=iMilitaryToNormalHours(h+'');// Make sure flip things like 00 to 12

  if(y<20){y+=2000}else{if(y<100){y+=1900}};
  /*
  document.write('<br>Y:');document.write(y.toString());
  document.write('<br>M:');document.write(m.toString());
  document.write('<br>D:');document.write(d.toString());
  document.write('<br>H:');document.write(h.toString());
  document.write('<br>N:');document.write(n.toString());
  document.write('<br>S:');document.write(s.toString());
  document.write('<br>mh:');document.write(mh.toString());
  document.write('<br>');
  */
  
  if(y==1899){return '';};// handle nulls coming in (in ado anyways)

  
  
  
  
  var dtDate = new Date(y,m-1,d,mh,n,s,0);
  switch(oFmt){
  case 0: return dtDate;
  case 1://'MM/DD/YYYY HH:NN AM'
    return sZP(m)+'/'+sZP(d)+'/'+sZP4(y)+' '+sZP(h)+':'+sZP(n)+' '+sAMPM(mh);
  case 2://'MM/DD/YYYY'
    return sZP(m)+'/'+sZP(d)+'/'+sZP4(y)
  case 3://'YYYY-MM-DD'
    return sZP4(y)+'-'+sZP(m)+'-'+sZP(d)
  case 4://'DDD MMM DD HH:MM:SS EDT YYYY'
    return String(dtDate);
  case 5://'DDD, DD MMM YYYY HH:MM:SS'
    var ts=dtDate.toUTCString();
    ts = ts.substr(0,ts.length-4)
    return ts;
  case 6://'DDD, DD MMM YYYY HH:MM:SS UTC'
    return dtDate.toUTCString();
  case 7://'DDDD, DD MMM, YYYY HH:MM:SS AM'
    return dtDate.toLocaleDateString();
  case 8://'HH:NN:SS'
    return sZP(mh)+':'+sZP(n)+':'+sZP(s);
  case 9://'HH:NN:SS EDT'
    return sZP(mh)+':'+sZP(n)+':'+sZP(s)+' EDT';
  case 10://'MMM DDD DD YYYY'
    return String(aMonth[m-1]).substr(0,3)+' '+
      String(aDay[dtDate.getDay()]).substr(0,3)+' '+sZP(d)+' '+sZP4(y);
  case 11://'2005-01-30 14:15:12'
    return sZP4(y)+'-'+sZP(m)+'-'+sZP(d) +' '+sZP(mh)+':'+sZP(n)+':'+sZP(s);
  case 12://'01/02/06'
    return sZP(m)+'/'+sZP(d)+'/'+(sZP(y)).substr(2);
  case 13://'17/Jan/2007'
    //var ts=dtDate.toUTCString();
    var ts = dtDate.toDateString();
    ts = ts.substr(4,3);
    return sZP(d)+'/'+ts+'/'+sZP(y);
  case 14:// '17/Jan/2007 03:08 PM'    'DD/MMM/YYYY HH:MM AM'
    return sZP(d)+'/'+String(aMonth[m-1]).substr(0,3)+'/'+sZP4(y)+' '+sZP(h)+':'+sZP(n)+' '+sAMPM(mh);
  case 15:// 'DD/MMM/YYYY HH:MM'       '17/Jan/2007 23:00' Military time
    return sZP(d)+'/'+String(aMonth[m-1]).substr(0,3)+'/'+sZP4(y)+' '+sZP(mh)+':'+sZP(n);
  case 16:// 'HH:MM AM'                '03:08 PM'
    return sZP(h)+':'+sZP(n)+' '+sAMPM(mh);
  case 17:// 'HH:MM'                   '23:00' Military time
    return sZP(mh)+':'+sZP(n);
  };//switch
};
//////////////////////////////////////////////////////////////////////////////









////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
// Above Code by Jason P Sage, Jegas, LLC http://www.jegas.com







// Below is code borrowed from various sources.
//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////

/*
Extension developed by David G. Miles (www.z3roadster.net/dreamweaver)
To add more shock to your site, visit www.DHTML Shock.com
*/

// begin dHTML SlideShow Script 
currentslide=1; 
maxslides=8; 
slide = new Array(maxslides+1);
speed=4000
ssTimerID = null

function preloadSlideshow()
{
if(document.images) { 

		for(var n=1;n<=maxslides;n++) { 
			slide[n]=new Image(304,232); 
			slide[n].src='images/slide_'+n+'.jpg'; 
		} 
	}
}

function playSlideShow()
	{
	window.clearTimeout(ssTimerID);

	if(currentslide>maxslides) currentslide=1; 
	document.images['slide'].src=slide[currentslide].src; 
	currentslide++; 
	ssTimerID = setTimeout("playSlideShow()",speed);
	}

function pauseSlideShow()
{
	window.clearTimeout(ssTimerID);
}

////////////////////////////////////////////////////////////////
// End of Slide show Script by: David G. Miles (www.z3roadster.net/dreamweaver)
////////////////////////////////////////////////////////////////






