uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var sfsintcomplate=0;sfsimgarr=new Array();sfsaltarr=new Array();sfslinkarr=new Array();sfstargetarr=new Array();sfstitarr=new Array();sfsdesarr=new Array();sfsimgarr[0]="";sfsaltarr[0]="";sfslinkarr[0]="";sfstargetarr[0]="";sfstitarr[0]="";sfsdesarr[0]="";sfsimgarr[1]="slide1.jpg";sfsaltarr[1]="";sfslinkarr[1]="index.php?option=com_content&amp;view=article&amp;id=7&amp;Itemid=5";sfstargetarr[1]="_self";sfstitarr[1]="Polyethylene Seacages";sfsdesarr[1]="Designed for sheltered and exposed sites, our proven cage technology is strong, long-lasting and flexible.";sfsimgarr[2]="slide2.jpg";sfsaltarr[2]="";sfslinkarr[2]="index.php?option=com_content&amp;view=article&amp;id=17&amp;Itemid=16";sfstargetarr[2]="_self";sfstitarr[2]="Mooring Systems";sfsdesarr[2]="A full range of mooring services, including design, procurement and installation.";sfsimgarr[3]="slide3.jpg";sfsaltarr[3]="";sfslinkarr[3]="index.php?option=com_content&amp;view=article&amp;id=10&amp;Itemid=9";sfstargetarr[3]="_self";sfstitarr[3]="Nets";sfsdesarr[3]="Supply of a wide range of nets for a variety of aquaculture uses, including net cages and bird nets.";sfsimgarr[4]="slide4.jpg";sfsaltarr[4]="";sfslinkarr[4]="index.php?option=com_content&amp;view=article&amp;id=18&amp;Itemid=15";sfstargetarr[4]="_self";sfstitarr[4]="Fish Farm Essentials & Chandlery";sfsdesarr[4]="A range of chandlery items including specialist rotationally moulded plastic products manufactured in-house.";sfsimgarr[5]="slide5.jpg";sfsaltarr[5]="";sfslinkarr[5]="index.php?option=com_content&amp;view=article&amp;id=9&amp;Itemid=8";sfstargetarr[5]="_self";sfstitarr[5]="Dead Fish Collection Systems";sfsdesarr[5]="Market-leading dead fish collectors, robust and effective.";sfsimgarr[6]="slide6.jpg";sfsaltarr[6]="";sfslinkarr[6]="http://www.micmarine.com.au/";sfstargetarr[6]="_blank";sfstitarr[6]="Marine Inspector & Cleaner (MIC)";sfsdesarr[6]="Designed by fish farmers, for fish farmers, MIC is a high speed, remotely operated net cleaning and inspection system.";var gnrated='';var sfsstepcount=20;var sfscurrstep=10;var sfstimeo=null;var sfshorvert=0;var sfsllllll=0;var sfslllllll=0;var sfsllllllll=0;var sfsll=new Array();var sfslll=new Array();var sfsllll=new Array();var sfsstartposx=new Array();var sfslllll=new Array();var i=0;var sfslllllllll=0;var sfsDescCalcLeftBir=0;var sfsDescCalcLeft=0;var sfsDescCalcWidth=0;var sfsDescCalcHeight=0;var sfsDescCalcIcWidth=0;var sfsDescCalcIcHeight=0;var sfshpiece='';var sfsds="";var sfsIEDescOpacity=100;var sfsFFOpacity=1.0;var sfsDescFadeEffectTimer=null;var sfsAutoPlayTimer=null;var sfsAutoPlayCurrent=1;var sfsicerdemi=0;function sfsWriteDesc(){	if(sfslinkarr[i].length>2){sfsds=sfsds+'<a href="'+sfslinkarr[i]+'" target="'+sfstargetarr[i]+'" style="text-decoration:none;">';}	sfsds=sfsds+'<div id="sfsadesc'+i+'" style="position:absolute;top:'+170+'px;left:0px;width:'+sfsDescCalcWidth+'px;height:'+sfsDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="sfsoutall()">';	sfsds=sfsds+'<div style="position:absolute;left:0px;top:0px;width:'+sfsDescCalcWidth+'px;height:'+sfsDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+0.65+';filter:alpha(opacity='+65+');" onMouseOut="sfsoutall()"></div>';	sfsds=sfsds+'<div style="position:relative;left:0px;top:0px;width:'+sfsDescCalcIcWidth+';height:'+sfsDescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+10+'px;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'990000'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+12+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="sfsoutall()">';	sfsds=sfsds+'<span style="color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'bold'+';text-decoration:'+'none'+';" onMouseOut="sfsoutall()">'+sfstitarr[i]+'</span>';	if(sfstitarr[i].length>0){sfsds=sfsds+'<br />';}			sfsds=sfsds+''+sfsdesarr[i];	sfsds=sfsds+'</div>';	sfsds=sfsds+'</div>';	if(sfslinkarr[i].length>2){sfsds=sfsds+'</a>';}}function sfsinit_doc(fstr,hormuvertmi){	sfsDescCalcLeftBir=60;		if((0==0)&&(sfshorvert==0))	{		sfsDescCalcLeft=60+0;	}	else	{		sfsDescCalcLeft=60;	}	if(0==0)	{		sfsDescCalcWidth=653-60-14;	}	else	{		sfsDescCalcWidth=874-60-14;	}	if((sfshorvert==1)&&(0==1))	{		sfsDescCalcHeight=258-170-18;	}	else	{		sfsDescCalcHeight=258-170-18;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		sfsDescCalcIcWidth=sfsDescCalcWidth;		sfsDescCalcIcHeight=sfsDescCalcHeight;	}	else	{		sfsDescCalcIcWidth=sfsDescCalcWidth-2*(0)-2*(10);		sfsDescCalcIcHeight=sfsDescCalcHeight-2*(0)-2*(10);	}	sfsfolderset=fstr;	var tmpleftpad=0;	var tmptoppad=0;	sfshpiece=sfshpiece+'<div style="position:relative;width:'+874+'px;height:'+258+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'666666'+';">';	sfshpiece=sfshpiece+'<div style="position:relative;width:'+874+'px;height:'+258+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="sfsoutall()" onMouseOut="sfsmouse_divout()">';	if(0==1)	{		for(i=1;i<=6;i++) 		{			sfsWriteDesc();		}	}	for(i=1;i<=6;i++)	{		if(sfshorvert==0)		{			if(i==1){tmpleftpad=0;}else{tmpleftpad=0;}			tmptoppad=0;		}		else		{			tmpleftpad=0;			if(i==1){tmptoppad=0;}else{tmptoppad=0;}		}		gnrated=gnrated+'<div id="sfspo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="sfsmouse_over('+i+')" onMouseOut="sfsoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+sfslinkarr[i]+'" target="'+sfstargetarr[i]+'"><img width="'+653+'" height="'+258+'" src="'+sfsfolderset+sfsimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+sfsaltarr[i]+'"></img></a>';		if(0==0)		{			sfsds="";			sfsWriteDesc();			gnrated=gnrated+sfsds;		}		gnrated=gnrated+'</div></div>';	}	sfshpiece=sfshpiece+gnrated;	if(0==1)	{		sfshpiece=sfshpiece+sfsds;	}	sfshpiece=sfshpiece+'</div>';	sfshpiece=sfshpiece+'</div>';	document.write(''+sfshpiece);	setTimeout("sfsinit_position("+parseInt(hormuvertmi)+")",50);}function sfsinit_position(hv){	sfshorvert=hv;	for(i=1;i<=6;i++)	{		sfsll[i]=document.getElementById('sfspo'+i);		sfslll[i]=document.getElementById('sfsadesc'+i);		if((sfsll[i]==null)||(sfslll[i]==null))		{		    setTimeout("sfsinit_position("+parseInt(hv)+")",200);		    return;		}	}		if(sfshorvert==0)	{		sfsllllll=parseInt(     (874-((6-1)*0))     /(6));		sfslllllll=sfsllllll+0;		sfsllllllll=parseInt(((874-653)/(6-1)));	}	else	{		sfsllllll=parseInt(     (280-((6-1)*0))     /(6));		sfslllllll=sfsllllll+0;		sfsllllllll=parseInt(((280-258)/(6-1)));	}	for(i=1;i<=6;i++)	{		sfsll[i]=document.getElementById('sfspo'+i);		sx=(sfslllllll*(i-1))-0;		if(sfshorvert==0)		{			if(i==1)			{				sfsll[i].style.left="0px";			}			else			{				sfsll[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				sfsll[i].style.top="0px";			}			else			{				sfsll[i].style.top=""+sx+"px";			}		}		sfsstartposx[i]=sx;		sfslllll[i]=sfsstartposx[i];		if(i==1)		{			sfslll[i].style.left=""+sfsDescCalcLeftBir+"px";		}		else		{			sfslll[i].style.left=""+sfsDescCalcLeft+"px";		}			}	sfsintcomplate=1;	if(1==1)	{		sfsDoAutoPlay();	}}function sfsDoAutoPlay(){	sfsmouse_over(sfsAutoPlayCurrent);	sfsAutoPlayCurrent=sfsAutoPlayCurrent+1;	if(sfsAutoPlayCurrent>6)	{		sfsAutoPlayCurrent=1;	}	sfsAutoPlayTimer=setTimeout("sfsDoAutoPlay()",8000);}function sfsdo_FadeAnim(){	if(sfslllllllll<1)	{		return;	}	sfsIEDescOpacity=sfsIEDescOpacity+5;	sfsFFOpacity=sfsFFOpacity+0.05;	if(IEB==true)	{		if(sfsIEDescOpacity>100)		{			sfsIEDescOpacity=100;			return;		}	}	else	{		if(sfsFFOpacity>1.00)		{			sfsFFOpacity=1.00;			return;		}	}	if(IEB==true)	{		sfslll[sfslllllllll].filters.item(0).opacity=sfsIEDescOpacity;	}	else	{		sfslll[sfslllllllll].style.opacity = sfsFFOpacity;	}	sfsDescFadeEffectTimer=setTimeout("sfsdo_FadeAnim()",20);}function sfsdo_anim(){	if(sfscurrstep<=0)	{		if(sfslllllllll>=1)		{			if(sfshorvert==0)			{				if(sfslllllllll==1)				{					sfslll[sfslllllllll].style.left=""+sfsDescCalcLeftBir+"px";				}				else				{					sfslll[sfslllllllll].style.left=""+sfsDescCalcLeft+"px";				}			}			else			{				if(0==0)				{					sfslll[sfslllllllll].style.left=""+(sfsDescCalcLeft+parseInt(sfsll[sfslllllllll].style.left))+"px";					var DesvertTop=0;					if((sfslllllllll>1) &&(sfslllllllll!=6)){DesvertTop=150+0;}else{DesvertTop=150;}					sfslll[sfslllllllll].style.top=""+(DesvertTop)+"px";				}				else				{					sfslll[sfslllllllll].style.left=""+(sfsDescCalcLeft)+"px";					sfslll[sfslllllllll].style.top=""+150+"px";				}			}			if((sfstitarr[sfslllllllll].length>0)||(sfsdesarr[sfslllllllll].length>0))			{				if(2==2)				{					sfsIEDescOpacity=0;					sfsFFOpacity=0.00;					sfsdo_FadeAnim();					sfslll[sfslllllllll].style.visibility="visible";				}				else				{					sfslll[sfslllllllll].style.visibility="visible";				}			}			else			{				sfslll[sfslllllllll].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=6;i++)	{		sfslllll[i] = parseInt(sfslllll[i])+parseInt((sfsllll[i]-sfslllll[i])/sfscurrstep);		if(sfshorvert==0)		{			sfsll[i].style.left=""+sfslllll[i]+"px";		}		else		{			sfsll[i].style.top=""+sfslllll[i]+"px";		}	}	if((2==1)&&(sfslllllllll>=1))	{		var dtop=0;		if((sfstitarr[sfslllllllll].length>0)||(sfsdesarr[sfslllllllll].length>0))		{    		sfslll[sfslllllllll].style.visibility="visible";        }        else        {            sfslll[sfslllllllll].style.visibility="hidden";        }		dtop= 150+        parseInt(sfsDescCalcHeight-      ((sfsDescCalcHeight/sfsstepcount)*(sfsstepcount-(sfscurrstep-1)))         );		sfslll[sfslllllllll].style.top=""+dtop+"px";	}	sfscurrstep--;	setTimeout("sfsdo_anim()",20);}function sfsreposition(g){	for(i=1;i<=6;i++)	{		if(i<=g)		{			if(i==1)			{				sfsllll[i]=0;			}			else			{				sfsllll[i]=parseInt(((i-1)*sfsllllllll)-0);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+sfsllllllll;			}			if(sfshorvert==0)			{				sfsllll[i]=parseInt(((653)+(oncekix)));			}			else			{				sfsllll[i]=parseInt(((258)+(oncekix)));			}		}			}	if((sfshorvert==0)&&(6==g))	{		var bul1=sfsllll[6]+0+653;		var bul2=874-bul1;		sfsllll[6]=sfsllll[6]+bul2;	}	if((sfshorvert==1)&&(6==g))	{		var bul1=sfsllll[6]+0+258;		var bul2=258-bul1;		sfsllll[6]=sfsllll[6]+bul2;	}	sfscurrstep=sfsstepcount;	sfsdo_anim();}function sfsmouse_over(g){	if(sfsintcomplate==0){return;}	if(g==sfslllllllll){return;}	sfslllllllll=g;	clearTimeout(sfstimeo);	if(1==1){if(sfsicerdemi==1){clearTimeout(sfsAutoPlayTimer);}}	for(i=1;i<=6;i++)	{		if(i!=g)		{			sfslll[i].style.visibility="hidden";			if(IEB==true)			{				sfslll[i].filters.item(0).opacity=100;			}			else			{				sfslll[i].style.opacity = 1.0;			}		}	}	sfsreposition(g);}function sfsoutall(){	sfsicerdemi=1;	clearTimeout(sfsAutoPlayTimer);	clearTimeout(sfstimeo);}function sfsmouse_divout2(){	sfsicerdemi=0;	clearTimeout(sfstimeo);	if(1==1)	{		clearTimeout(sfsAutoPlayTimer);		sfsAutoPlayCurrent=1;		sfsDoAutoPlay();	}	else	{	for(i=1;i<=6;i++)	{		sfslll[i].style.visibility="hidden";	}	for(i=1;i<=6;i++)	{		sx=(sfslllllll*(i-1))-0;		if(i==1)		{			sfsllll[i]=0;		}		else		{			sfsllll[i]=sx;		}			}	sfslllllllll=-1;	sfscurrstep=sfsstepcount;	sfsdo_anim();	}}function sfsmouse_divout(){	clearTimeout(sfstimeo);	sfstimeo=setTimeout("sfsmouse_divout2()",300);}
