function limitText(limitField, limitCount, limitNum) {
	if (limitField.value.length > limitNum) {
		limitField.value = limitField.value.substring(0, limitNum);
	} else {
		limitCount.value = limitNum - limitField.value.length;
	}
}


function MM_findObj(n, d) { //v4.01
  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);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])?args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) { img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr) for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}

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 mmLoadMenus() {
  if (window.mm_menu_0323155225_0) return;
  window.mm_menu_0323155225_0 = new Menu("root",35,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
  mm_menu_0323155225_0.addMenuItem("Jan","location='calendar_1001.htm'");
  mm_menu_0323155225_0.addMenuItem("Feb","location='calendar_1002.htm'");
  mm_menu_0323155225_0.addMenuItem("Mar","location='calendar_1003.htm'");
  mm_menu_0323155225_0.addMenuItem("Apr","location='calendar_1004.htm'");
  mm_menu_0323155225_0.addMenuItem("May","location='calendar_1005.htm'");
  mm_menu_0323155225_0.addMenuItem("Jun","location='calendar_1006.htm'");
  mm_menu_0323155225_0.addMenuItem("Jul","location='calendar_0907.htm'");
  mm_menu_0323155225_0.addMenuItem("Aug","location='calendar_0908.htm'");
  mm_menu_0323155225_0.addMenuItem("Sep","location='calendar_0909.htm'");
  mm_menu_0323155225_0.addMenuItem("Oct","location='calendar_0910.htm'");
  mm_menu_0323155225_0.addMenuItem("Nov","location='calendar_0911.htm'");
  mm_menu_0323155225_0.addMenuItem("Dec","location='calendar_0912.htm'");
   mm_menu_0323155225_0.hideOnMouseOut=true;
   mm_menu_0323155225_0.menuBorder=1;
   mm_menu_0323155225_0.menuItemBorder=1;
   mm_menu_0323155225_0.menuLiteBgColor='#ffffff';
   mm_menu_0323155225_0.menuBorderBgColor='#999999';
   mm_menu_0323155225_0.bgColor='#ffffff';
  window.mm_menu_0318130340_0 = new Menu("root",119,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
  mm_menu_0318130340_0.addMenuItem("Star&nbsp;Chaser&nbsp;Sailing","location='scs.htm'");
  mm_menu_0318130340_0.addMenuItem("The&nbsp;Crew","location='crew.htm'");
  mm_menu_0318130340_0.addMenuItem("History","location='theyacht.htm'");
  mm_menu_0318130340_0.addMenuItem("Specification","location='specification.htm'");
  mm_menu_0318130340_0.addMenuItem("Interior","location='interior.htm'");
   mm_menu_0318130340_0.hideOnMouseOut=true;
   mm_menu_0318130340_0.menuBorder=1;
   mm_menu_0318130340_0.menuItemBorder=1;
   mm_menu_0318130340_0.menuLiteBgColor='#ffffff';
   mm_menu_0318130340_0.menuBorderBgColor='#999999';
   mm_menu_0318130340_0.bgColor='#ffffff';
    window.mm_menu_0323135011_1_1 = new Menu("Transatlantic",104,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
    mm_menu_0323135011_1_1.addMenuItem("ARC","location='arc.htm'");
    mm_menu_0323135011_1_1.addMenuItem("Caribbean&nbsp;to&nbsp;UK","location='trans.htm'");
     mm_menu_0323135011_1_1.hideOnMouseOut=true;
     mm_menu_0323135011_1_1.menuBorder=1;
     mm_menu_0323135011_1_1.menuItemBorder=1;
     mm_menu_0323135011_1_1.menuLiteBgColor='#ffffff';
     mm_menu_0323135011_1_1.menuBorderBgColor='#999999';
     mm_menu_0323135011_1_1.bgColor='#ffffff';
    window.mm_menu_0323135011_1_2 = new Menu("Racing&nbsp;:&nbsp;UK",151,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
    mm_menu_0323135011_1_2.addMenuItem("Rolex&nbsp;Fastnet&nbsp;Campaign","location='fastnetcamp.htm'");
    mm_menu_0323135011_1_2.addMenuItem("Round&nbsp;The&nbsp;Island","location='rti.htm'");
    mm_menu_0323135011_1_2.addMenuItem("RORC&nbsp;Races","location='rorc_races.htm'");
     mm_menu_0323135011_1_2.hideOnMouseOut=true;
     mm_menu_0323135011_1_2.menuBorder=1;
     mm_menu_0323135011_1_2.menuItemBorder=1;
     mm_menu_0323135011_1_2.menuLiteBgColor='#ffffff';
     mm_menu_0323135011_1_2.menuBorderBgColor='#999999';
     mm_menu_0323135011_1_2.bgColor='#ffffff';
    window.mm_menu_0323135011_1_3 = new Menu("Racing&nbsp;:&nbsp;Caribbean",178,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
    mm_menu_0323135011_1_3.addMenuItem("RORC&nbsp;Caribbean&nbsp;600","location='600.htm'");
    mm_menu_0323135011_1_3.addMenuItem("St&nbsp;Maarten&nbsp;Heineken&nbsp;Regatta","location='stmaarten.htm'");
    mm_menu_0323135011_1_3.addMenuItem("BVI&nbsp;Spring&nbsp;Regatta","location='bvi.htm'");
    mm_menu_0323135011_1_3.addMenuItem("Antigua&nbsp;Sailing&nbsp;Week","location='antigua.htm'");
     mm_menu_0323135011_1_3.hideOnMouseOut=true;
     mm_menu_0323135011_1_3.menuBorder=1;
     mm_menu_0323135011_1_3.menuItemBorder=1;
     mm_menu_0323135011_1_3.menuLiteBgColor='#ffffff';
     mm_menu_0323135011_1_3.menuBorderBgColor='#999999';
     mm_menu_0323135011_1_3.bgColor='#ffffff';
    window.mm_menu_0323135011_1_4 = new Menu("Racing&nbsp;:&nbsp;Offshore",151,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
    mm_menu_0323135011_1_4.addMenuItem("Rolex&nbsp;Fastnet&nbsp;Campaign","location='fastnetcamp.htm'");
    mm_menu_0323135011_1_4.addMenuItem("RORC&nbsp;Caribbean&nbsp;600","location='600.htm'");
     mm_menu_0323135011_1_4.hideOnMouseOut=true;
     mm_menu_0323135011_1_4.menuBorder=1;
     mm_menu_0323135011_1_4.menuItemBorder=1;
     mm_menu_0323135011_1_4.menuLiteBgColor='#ffffff';
     mm_menu_0323135011_1_4.menuBorderBgColor='#999999';
     mm_menu_0323135011_1_4.bgColor='#ffffff';
  window.mm_menu_0323135011_1 = new Menu("root",127,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
  mm_menu_0323135011_1.addMenuItem(mm_menu_0323135011_1_1,"location='ocean.htm'");
  mm_menu_0323135011_1.addMenuItem(mm_menu_0323135011_1_2,"location='uk.htm'");
  mm_menu_0323135011_1.addMenuItem(mm_menu_0323135011_1_3,"location='caribbean.htm'");
  mm_menu_0323135011_1.addMenuItem("Racing&nbsp;:&nbsp;The&nbsp;Med","location='themed.htm'");
  mm_menu_0323135011_1.addMenuItem(mm_menu_0323135011_1_4,"location='fastnetcamp.htm'");
  mm_menu_0323135011_1.addMenuItem("Cruising&nbsp;Europe","location='cruising_europe.htm'");
  mm_menu_0323135011_1.addMenuItem("Cruising&nbsp;Caribbean","location='cruising_caribbean.htm'");
  mm_menu_0323135011_1.addMenuItem("Corporate&nbsp;Sailing","location='corporate.htm'");
   mm_menu_0323135011_1.hideOnMouseOut=true;
   mm_menu_0323135011_1.childMenuIcon="images/navbar/arrows.gif";
   mm_menu_0323135011_1.menuBorder=1;
   mm_menu_0323135011_1.menuItemBorder=1;
   mm_menu_0323135011_1.menuLiteBgColor='#ffffff';
   mm_menu_0323135011_1.menuBorderBgColor='#999999';
   mm_menu_0323135011_1.bgColor='#ffffff';
  window.mm_menu_0706125927_4 = new Menu("root",167,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
  mm_menu_0706125927_4.addMenuItem("ARC&nbsp;2009&nbsp;Blog","location='log.htm'");
  mm_menu_0706125927_4.addMenuItem("UK&nbsp;Algarve&nbsp;Canaries&nbsp;Blog","location='log_09e.htm'");
  mm_menu_0706125927_4.addMenuItem("Rolex&nbsp;Fastnet&nbsp;Blog&nbsp;2009","location='log_09d.htm'");
  mm_menu_0706125927_4.addMenuItem("Transatlantic&nbsp;Blog&nbsp;2009","location='log_09c.htm'");
  mm_menu_0706125927_4.addMenuItem("Antigua&nbsp;Sailing&nbsp;Week&nbsp;Blog","location='log_09b.htm'");
  mm_menu_0706125927_4.addMenuItem("RORC&nbsp;Caribbean&nbsp;600&nbsp;Blog","location='log_09a.htm'");
  mm_menu_0706125927_4.addMenuItem("ARC&nbsp;2008&nbsp;&nbsp;Blog","location='log_08c.htm'");
  mm_menu_0706125927_4.addMenuItem("Hamble&nbsp;to&nbsp;Las&nbsp;Palmas&nbsp;Blog","location='log_08b.htm'");
  mm_menu_0706125927_4.addMenuItem("Transatlantic&nbsp;Blog&nbsp;2008","location='log_08a.htm'");
  mm_menu_0706125927_4.addMenuItem("ARC&nbsp;2007&nbsp;Blog","location='log_07a.htm'");
   mm_menu_0706125927_4.hideOnMouseOut=true;
   mm_menu_0706125927_4.menuBorder=1;
   mm_menu_0706125927_4.menuItemBorder=1;
   mm_menu_0706125927_4.menuLiteBgColor='#ffffff';
   mm_menu_0706125927_4.menuBorderBgColor='#999999';
   mm_menu_0706125927_4.bgColor='#ffffff';
  window.mm_menu_0701100638_4 = new Menu("root",114,20,"Verdana, Arial, Helvetica, sans-serif",10,"#999999","#999999","#ffffff","#000066","left","middle",3,0,500,-5,7,true,true,true,3,true,true);
  mm_menu_0701100638_4.addMenuItem("Crew&nbsp;Testimonials","location='test.htm'");
  mm_menu_0701100638_4.addMenuItem("In&nbsp;The&nbsp;Press","location='inthepress.htm'");
   mm_menu_0701100638_4.hideOnMouseOut=true;
   mm_menu_0701100638_4.menuBorder=1;
   mm_menu_0701100638_4.menuItemBorder=1;
   mm_menu_0701100638_4.menuLiteBgColor='#ffffff';
   mm_menu_0701100638_4.menuBorderBgColor='#999999';
   mm_menu_0701100638_4.bgColor='#ffffff';

  mm_menu_0701100638_4.writeMenus();
} // mmLoadMenus()



// Set valid allDigits i.e "0123456789"
function allDigits(str)
{
	return inValidCharSet(str,"0123456789");
}



// Set valid telDigits i.e "0123456789()<>+- "
function telDigits(str)
{
	return inValidCharSet(str,"0123456789()<>+- ");
}



// Check whether fields are filled with valid characters
function inValidCharSet(str,charset)
{
	var result = true;

	// Note: doesn't use regular expressions to avoid early Mac browser bugs	
	for (var i=0;i<str.length;i++)
		if (charset.indexOf(str.substr(i,1))<0)
		{
			result = false;
			break;
		}
	
	return result;
}



// Check boxes are filled i.e not ""
function validRequired(formField,fieldLabel)
{
	var result = true;
	
	if (formField.value == "")
	{
		alert('Please enter your ' + fieldLabel +'');
		formField.focus();
		result = false;
	}
	
	return result;
}


// Check e-mail address is in valid format
function isEmailAddr(email)
{
	var result = false;
	var theStr = new String(email);
	var index = theStr.indexOf("@");

	if (index > 0)
	{
		var pindex = theStr.indexOf(".",index);
		if ((pindex > index+1) && (theStr.length > pindex+1))
		result = true;
	}
	
	return result;
}



// Check e-mail address is in valid format
function validEmail(formField,fieldLabel,required)
{
	var result = true;
	
	if (required && !validRequired(formField,fieldLabel))
		result = false;

	if (result && ((formField.value.length < 3) || !isEmailAddr(formField.value)) )
	{
		alert("Please enter a valid email address");
		formField.focus();
		result = false;
	}
   
  return result;

}


// Check telephne number is in valid format i.e contains only telDigits "0123456789()<>+- "
function validTelNum(formField,fieldLabel,required)
{
	var result = true;

	if (required && !validRequired(formField,fieldLabel))
		result = false;
  
 	if (result)
 	{
 		if (!telDigits(formField.value))
 		{
 			alert('Please enter a number for your telephone number');
			formField.focus();		
			result = false;
		}
	} 
	
	return result;
}


// Check validity of contact form fields
function validate (contactus)
{
	if (!validRequired(contactus.fname,"Forname"))
		return false;

	if (!validRequired(contactus.lname,"Surname"))
		return false;

	if (!validTelNum(contactus.tel,"Telephone Number",true))
		return false;
		
	if (!validEmail(contactus.email,"Email Address",true))
		return false;
	
	return true;
}


// Check validity of contact form fields
function validate (messageus)
{
	if (!validRequired(messageus.name,"Name"))
		return false;
		
	if (!validEmail(messageus.email,"Email Address",true))
		return false;
	
	return true;
}


/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
 
var fadeimages_index=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages_index[0]=["images/photobar/index/photo_01.jpg", "", ""] 
fadeimages_index[1]=["images/photobar/index/photo_02.jpg", "", ""] 
fadeimages_index[2]=["images/photobar/index/photo_03.jpg", "", ""] 
fadeimages_index[3]=["images/photobar/index/photo_04.jpg", "", ""] 

var fadeimages_arc=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages_arc[0]=["images/photobar/arc/photo_01.jpg", "", ""] 
fadeimages_arc[1]=["images/photobar/arc/photo_02.jpg", "", ""] 

var fadeimages_rorc600=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages_rorc600[0]=["images/photobar/rorc600/photo_01.jpg", "", ""] 

var fadeimages_cruising_caribbean=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages_cruising_caribbean[0]=["images/photobar/cruising_caribbean/photo_01.jpg", "", ""] 
fadeimages_cruising_caribbean[1]=["images/photobar/cruising_caribbean/photo_02.jpg", "", ""] 
fadeimages_cruising_caribbean[2]=["images/photobar/cruising_caribbean/photo_03.jpg", "", ""] 
fadeimages_cruising_caribbean[3]=["images/photobar/cruising_caribbean/photo_04.jpg", "", ""] 
fadeimages_cruising_caribbean[4]=["images/photobar/cruising_caribbean/photo_05.jpg", "", ""] 
fadeimages_cruising_caribbean[5]=["images/photobar/cruising_caribbean/photo_06.jpg", "", ""]

var fadebgcolor="white"

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}