var text = new Array();var header = new Array();var linka = new Array();var targa = new Array();var paginationa = new Array();var divtext = new Array();var divh = new Array();var llll = new Array();var objs = new Array();var objsh = new Array();var thumbs = new Array();text[0] = "<img src=\"waterskier.jpg\" width=\"440\" height=\"210\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img><BR /><SPAN style=\"font-size:18px;font-weight:bold;\">Yachts, Boats & Toys FREE Digital Magazine</SPAN><BR />Please Register to Receive Your FREE Digital Magaine In Your Inbox Every Month";text[1] = "<img src=\"boat shows.jpg\" width=\"440\" height=\"210\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img><BR /><SPAN style=\"font-size:18px;font-weight:bold;\">Boat Show Dates 2010</SPAN><BR /><li>UK, European and International Boat Show Dates</li><li>Boat Show Previews</li>";text[2] = "<img src=\"YBT Bottom.jpg\" width=\"440\" height=\"210\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img><BR /><SPAN style=\"font-size:18px;font-weight:bold;\">Sell Your Boat For FREE</SPAN><BR /><li>Sell your Yacht, Boat, or Toy for Free</li><li>Register On www.y-b-y.co.uk</li>";text[3] = "<img src=\"Motor cruiser.jpg\" width=\"440\" height=\"210\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img><BR /><SPAN style=\"font-size:18px;font-weight:bold;\">Yachts, Boat & Toys Digital Magazine</SPAN><BR />Please Click To View The Latest Issue";text[4] = "<img src=\"Jeep.jpg\"  width=\"440\" height=\"210\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img><BR /><SPAN style=\"font-size:18px;font-weight:bold;\">Company Of the Month</SPAN><BR />Welcome to the \"Company of the Month\".";header[0] = "";header[1] = "";header[2] = "";header[3] = "";header[4] = "";linka[0] = "http:\/\/www.y-b-t.co.uk/subscribe.htm";linka[1] = "http:\/\/www.y-b-t.co.uk/boat-show-dates-2010.htm";linka[2] = "http:\/\/www.y-b-t.co.uk/used-boatshow-365.htm";linka[3] = "http:\/\/www.scriptocean.com/";linka[4] = "http:\/\/www.y-b-t.co.uk/featured-companies.htm";targa[0] = "_top";targa[1] = "_top";targa[2] = "_top";targa[3] = "_top";targa[4] = "_top";paginationa[0] = "<img src=\"waterskier.jpg\" width=\"80\" height=\"50\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img>";paginationa[1] = "<img src=\"boat shows.jpg\" width=\"80\" height=\"50\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img>";paginationa[2] = "<img src=\"YBT Bottom.jpg\" width=\"80\" height=\"50\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img>";paginationa[3] = "<img src=\"Motor cruiser.jpg\" width=\"80\" height=\"50\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img>";paginationa[4] = "<img src=\"Jeep.jpg\" width=\"80\" height=\"50\" style=\"float:none;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;\"></img>"; var spageObj=null;var LongObj=null;var lll=null;var ll=null;var nextimg=null;var jjjjjjjj=null;var previmg=null;var jjjjjj=null;var jjjjjjjjjjjjjj=null;var prevnextmosrc="";var llllll=null;var lllllll=1;var llllllllllllllll=0;var lllllllllllllllll=0;var llllllllllllllllll=0;uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var kalan=0;var vcurr=0;var vnext=0;var str2='';var mc=0;mc=text.length;stepc=parseInt(50*(200/1000));dif=0.00;op=1.00;dif=(1.00/stepc);llllllll=0;lllllllll=0;llllllllll=0;lllllllllll=0;llllllllllll=0;lllllllllllll=0;llllllllllllll=0;lllllllllllllll=0;var jj=0;var jjj=0;var jjjj=0;var jjjjj=0;var jjjjjjjjjjjjj=null;var EffPart=1;var ClipY=0;var TopClip=0;var RightClip=0;var BottomClip=0;var LeftClip=0;var XStep=0;var YStep=0;var stepsay=0;var clipamount=10;var crrpos=0;var nxtpos=0;var fncname="";if((IEB==true)&&(scompat == "BackCompat" )){jj=550;jjj=285;}else{jj=550-2*(0);jjj=285-2*(0);}jjjj=550-2*(0);jjjjj=285-2*(0);if(1==0){if((IEB==true)&&(scompat == "BackCompat" )){llllllll=0;lllllllll=jjjjj;llllllllll=jjjj-0;}else{llllllll=0-0;lllllllll=jjjjj-0;llllllllll=jjjj-0-95-0;}llllllllllllll=0;lllllllllllllll=0;lllllllllllll=0;llllllllllll=0;lllllllllll=jjjjj;}else if(1==1){if((IEB==true)&&(scompat == "BackCompat" )){llllllll=jjjj;lllllllll=0;llllllllll=jjjj;lllllllllll=jjjjj-0;lllllllllllll=lllllllll;}else{llllllll=jjjj-0;lllllllll=0-0;llllllllll=jjjj-95-0;lllllllllll=jjjjj-0-5;lllllllllllll=0;}llllllllllllll=0;lllllllllllllll=0;llllllllllll=0;}else if(1==2){if((IEB==true)&&(scompat == "BackCompat" )){llllllll=0;lllllllll=jjjjj;llllllllll=jjjj-0;lllllllllll=jjjjj;}else{llllllll=0-0;lllllllll=jjjjj-0;llllllllll=jjjj-0-95-0;lllllllllll=jjjjj;}llllllllllllll=jjjj-0;lllllllllllllll=0;lllllllllllll=0;llllllllllll=0;}else if(1==3){if((IEB==true)&&(scompat == "BackCompat" )){llllllll=jjjj;lllllllll=0;llllllllll=jjjj-0;lllllllllll=jjjjj-0;}else{llllllll=jjjj-0;lllllllll=0-0;llllllllll=jjjj-95-0;lllllllllll=jjjjj-0-5;}llllllllllllll=0;lllllllllllllll=jjjjj-0;lllllllllllll=0;llllllllllll=0;}var tit_visb_str="inherit";if((llllllll==0)||(lllllllll==0)){tit_visb_str="hidden";}str2='';    str2=str2+'<div style="position:relative;width:'+jj+'px;height:'+jjj+'px;left:0px;top:0px;overflow:hidden;visibility:visible;'+'border-style:solid; border-width:0px; border-color:#FFFFFF;'+'">';if(6==1){str2=str2+'<div id="lngdv" style="position:absolute;width:'+(jjjj*mc)+'px;height:'+jjj+'px;left:0px;top:0px;overflow:hidden;visibility:visible;">';}if(6==3){str2=str2+'<div id="lngdv" style="position:absolute;width:'+jj+'px;height:'+(jjjjj*mc)+'px;left:0px;top:0px;overflow:hidden;visibility:visible;">';}for(i=0;i<mc;i++){divh[i]='<div id="dh'+i+'" style="position:absolute;width:'+llllllll+'px; height:'+lllllllll+'px;visibility:'+tit_visb_str+';'+'background-color:#575E64;'+'COLOR:'+'#EEEEEE'+';padding-top:'+0+'px;padding-left:'+0+'px;'+'left:'+llllllllllllll+'px; top:'+lllllllllllllll+'px; FONT-FAMILY: '+'Arial,Arial,Arial'+'; font-size:'+9+'pt; font-style: '+'normal'+'; font-weight: '+'bold'+'; TEXT-DECORATION: '+'none'+';margin:0px; overflow:hidden;text-align:'+'center'+';cursor: default;">';divtext[i]='<div id="d'+i+'" style="position:absolute;width:'+llllllllll+'px;height:'+lllllllllll+'px;left:'+llllllllllll+'px; top:'+lllllllllllll+'px;visibility:inherit;'+''+'COLOR:'+'#757575'+'; '+'padding-top:'+5+'px;padding-left:'+95+'px;'+' padding-right:'+0+';FONT-FAMILY: '+'Arial,Arial,Arial'+'; FONT-SIZE: '+'9'+'pt; font-style: '+'normal'+'; font-weight: '+'normal'+'; margin:0px; TEXT-DECORATION: '+'none'+'; overflow:hidden;vertical-align :text-top;text-align:'+'left'+';cursor: default;" onmouseover="mdivmo('+i+')" onmouseout ="restime('+i+')" onclick="butclick('+i+')">';str2=str2+'<div id="op'+i+'" style="position:absolute;overflow:hidden;visibility:hidden;left:0px;top:0px;width:'+jjjj+'px; height:'+jjjjj+'px;border-style:solid;border-width:0px;">';str2=str2+''+divh[i]+''+header[i]+'</div>'+divtext[i]+''+text[i]+'</div>';str2=str2+'</div>';}if((6==1)||(6==3)){str2=str2+'</div>';}str2=str2+'</div>';function runtransfunc(){if(6==1){llllllllllllllllllll();}if(6==2){llllllllllllllllllll2();}if(6==3){DoScroll();}if(6==4){llllllllllllllllllllll();}if(6==5){lllllllllllllllllllllll();}if(6==6){lllllllllllllllllllll();}if(6==7){llllllllllllllllllllllll();}if(6==8){lllllllllllllllllllllllll();}if(6==9){lllllllllllllllllll();}if(6==10){llllllllllllllllllllllllll();}}function frameover(){lllllllllllllllll=1;}function frameout(){lllllllllllllllll=0;}function mdivmo(gnum){llllllllllllllll=1;if(linka[gnum]!=''){if(!objs[gnum]){return;}objs[gnum].style.color='#AA0000';objs[gnum].style.cursor='pointer';window.status=''+linka[gnum];}   }function restime(gnum2){llllllllllllllll=0;objs[gnum2].style.color='#757575';window.status='';}function butclick(gnum3){	if(linka[gnum3].substring(0,11)=="javascript:")	{eval(""+linka[gnum3]);return;}	if(targa[gnum3]==''){targa[gnum3]='_parent';}	if(IEB)	{		window.open(''+linka[gnum3],''+targa[gnum3]);	}	else	{		if((targa[gnum3].indexOf("_parent")>-1))		{			eval("parent.window.location='"+linka[gnum3]+"'");		}		else if((targa[gnum3].indexOf("_top")>-1))		{			eval("top.window.location='"+linka[gnum3]+"'");					}		else		{			window.open(''+linka[gnum3],''+targa[gnum3]);		}		}}function llllllllllllllllllllllllll(){if((lllllllllllllllll==1)&&(llllllllllllllllll==0)){llllll=setTimeout('llllllllllllllllllllllllll()',4000);return;}if(vnext!=vcurr){llll[vcurr].style.visibility="hidden";llll[vnext].style.visibility="visible";llll[vcurr].style.zIndex=0+2;llll[vnext].style.zIndex=0+3;}Sonraki();highlightthumb(vcurr);if(0==0){llllll=setTimeout('llllllllllllllllllllllllll()',4000);}}function zindx(){llll[vcurr].style.visibility="visible";llll[vnext].style.visibility="visible";llll[vcurr].style.zIndex=0+2;llll[vnext].style.zIndex=0+3;}function bulprevious(){vnext=vcurr-1;if(vnext<0){vnext=mc-1;}}function Sonraki(){vcurr=vnext;vnext=vnext+1;if(vnext>=mc){vnext=0;}}function devam(){if(1!=1){return;}if(0==1){return;}vnext=vcurr+1;if(vnext>=mc){vnext=0;}llllllllllllllllll=0;lllllll=1;clearTimeout(llllll);llllll=setTimeout(fncname+'()',4000);}function highlightthumb(hnum){updatepagenums(hnum);if(1!=1){return;}for(i=0;i<mc;i++){thumbs[i].style.backgroundColor='#E9E9E9';    thumbs[i].style.color='#000000';thumbs[i].style.borderColor='#616161';thumbs[i].style.backgroundImage="";}thumbs[hnum].style.backgroundColor='#606060';    thumbs[hnum].style.color='#F0F0F0';thumbs[hnum].style.borderColor='#96110E';thumbs[hnum].style.backgroundImage="";}function thumbnumberclick(){if(lllllll==1){if(vcurr==this.indx){return;}vnext=this.indx;zindx();if((6!=1)&&(6!=3)){llll[vnext].style.left=""+kalan+"px";}else{}clearTimeout(llllll);llllllllllllllllll=1;runtransfunc();}}function thumbllllllllllllllllllllllllll(indxg){if(1!=1){return;}if(vcurr==indxg){return;}clearTimeout(llllll);tutnext=vnext;vnext=indxg;if(!llll[vcurr]){return;}if(!llll[vnext]){return;}if((6!=1)&&(6!=3)){llll[vcurr].style.left=""+0+"px";llll[vnext].style.left=""+0+"px";}else{if(6==1){LongObj.style.left=""+((-1)*(jjjj*vnext))+"px";}if(6==3){LongObj.style.top=""+((-1)*(jjjjj*vnext))+"px";}}if(6==6){jjjjjjjjjjjjj.style.visibility="hidden";}if(vnext!=vcurr){if((6!=1)&&(6!=3)){llll[vcurr].style.visibility="hidden";llll[vnext].style.visibility="visible";if(tutnext!=vnext){llll[tutnext].style.visibility="hidden";}llll[vcurr].style.zIndex=0+2;llll[vnext].style.zIndex=0+3;llll[vcurr].style.top=""+0+"px";llll[vnext].style.top=""+0+"px";llll[vcurr].style.clip="rect(auto, auto, auto, auto)";llll[vnext].style.clip="rect(auto, auto, auto, auto)";}if(6==5){if(IEB){llll[vcurr].style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";llll[vnext].style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";}else{llll[vcurr].style.opacity=1.00;llll[vnext].style.opacity=1.00;}}}vcurr=vnext;highlightthumb(vcurr);}function thumbover(){thumbllllllllllllllllllllllllll(this.indx);}function thumbout(){devam();}function createthumbs(){jjjjjjjjjj = spageObj.appendChild(document.createElement("DIV"));jjjjjjjjjj.style.position="absolute";jjjjjjjjjj.style.zIndex=0+5;jjjjjjjjjj.style.display="inline-block";jjjjjjjjjj.style.left=""+5+"px";jjjjjjjjjj.style.top=""+5+"px";jjjjjjjjjj.style.borderWidth=""+0+"px";jjjjjjjjjj.style.borderStyle="solid";    jjjjjjjjjj.style.visibility="inherit";jjjjjjjjjj.style.textAlign="left";jjjjjjjjjj.style.overflow="visible";if(1==0){if((5+1000)>=(550-2*0)){jjjjjjjjjj.style.width="auto";}else{jjjjjjjjjj.style.width=""+1000+"px";}jjjjjjjjjj.style.height="auto";}var jjjjjjjjjjj=0;var jjjjjjjjjjjj=0;if((IEB==true)&&(scompat == "BackCompat" )){jjjjjjjjjjj=80+(2*2);jjjjjjjjjjjj=50+(2*2);}else{jjjjjjjjjjj=80-(2*0);jjjjjjjjjjjj=50-(2*0);}for(i=0;i<mc;i++){thumbs[i] = jjjjjjjjjj.appendChild(document.createElement("DIV"));thumbs[i].indx=i;thumbs[i].style.position="relative";    thumbs[i].style.visibility="inherit";thumbs[i].style.zIndex=0+4;thumbs[i].style.padding=""+0+"px";if(1==0){thumbs[i].style.marginRight=""+1+"px";thumbs[i].style.marginBottom=""+1+"px";}else{thumbs[i].style.marginBottom=""+1+"px";thumbs[i].style.marginRight=""+1+"px";}thumbs[i].style.overflow="hidden";thumbs[i].style.width=""+jjjjjjjjjjj+"px";thumbs[i].style.height=""+jjjjjjjjjjjj+"px";if(1==0){thumbs[i].style.display="inline-block";thumbs[i].style.styleFloat="left";thumbs[i].style.cssFloat="left";}else{thumbs[i].style.display="block";thumbs[i].style.styleFloat="none";thumbs[i].style.cssFloat="none";thumbs[i].style.clear="left";}thumbs[i].style.cursor='pointer';thumbs[i].style.backgroundColor='#E9E9E9';    thumbs[i].style.color='#000000';    thumbs[i].style.fontFamily="Arial,Verdana,Tahoma";thumbs[i].style.fontSize=9+"pt";    thumbs[i].style.fontStyle="normal";    thumbs[i].style.fontWeight="normal";thumbs[i].style.borderWidth=""+2+"px";    thumbs[i].style.borderStyle="solid";thumbs[i].style.borderColor='#616161';thumbs[i].style.textAlign="center";if(0==1){if(paginationa[i].length<=0){thumbs[i].innerHTML=""+(i+1);}else{thumbs[i].innerHTML=paginationa[i];}}else{thumbs[i].innerHTML=paginationa[i];}thumbs[i].style.backgroundImage="";thumbs[i].style.backgroundRepeat="no-repeat";thumbs[i].style.backgroundPosition=""+0+"px "+0+"px";thumbs[i].onclick= thumbnumberclick;thumbs[i].onmouseover = thumbover;thumbs[i].onmouseout = thumbout;}}function FadeBitti(){lllllll=1;llllllllllllllllll=0;highlightthumb(vcurr);}function createfadediv(){jjjjjjjjjjjjj = spageObj.appendChild(document.createElement("DIV"));jjjjjjjjjjjjj.style.position="absolute";    jjjjjjjjjjjjj.style.visibility="hidden";jjjjjjjjjjjjj.style.zIndex=0+4;jjjjjjjjjjjjj.style.left=""+0+"px";jjjjjjjjjjjjj.style.top=""+0+"px";jjjjjjjjjjjjj.style.width=""+(550-(2*0))+"px";jjjjjjjjjjjjj.style.height=""+(285-(2*0))+"px";jjjjjjjjjjjjj.style.overflow="hidden";jjjjjjjjjjjjj.style.backgroundColor='#FFFFFF';if(IEB){jjjjjjjjjjjjj.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=0)";}else{jjjjjjjjjjjjj.style.opacity = 0.00;}}function lllllllllllllllllllll(){if((lllllllllllllllll==1)&&(lllllll==1)&&(llllllllllllllllll==0)){llllll=setTimeout('lllllllllllllllllllll()',4000);return;}if(lllllll==1){lllllll=0;llllll=setTimeout('lllllllllllllllllllll()',40);}else{    jjjjjjjjjjjjj.style.visibility="visible";if(EffPart==1){op=op+dif;}else{op=op-dif;}if(op>(1.00)){op=1.00;}if(op<(0.00)){op=0.00;}if(IEB){jjjjjjjjjjjjj.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+Math.round(op*100)+")";}else{jjjjjjjjjjjjj.style.opacity = op;}if(EffPart==1){if(op<(1.00)){llllll=setTimeout('lllllllllllllllllllll()',40);}else{EffPart=2;lllllll=0;highlightthumb(vnext);llll[vcurr].style.visibility="hidden";llll[vnext].style.visibility="visible";llllll=setTimeout('lllllllllllllllllllll()',40);}}else{if(op>(0.00)){llllll=setTimeout('lllllllllllllllllllll()',40);}else{EffPart=1;lllllll=1;jjjjjjjjjjjjj.style.visibility="hidden";Sonraki();llllll=setTimeout('lllllllllllllllllllll()',4000);llllllllllllllllll=0;}}}}function dofirst(){var i=0;LongObj=document.getElementById("lngdv");for(i=0;i<mc;i++){objs[i]=document.getElementById("d"+i);objsh[i]=document.getElementById("dh"+i);llll[i]=document.getElementById("op"+i);if((6!=1)&&(6!=3)){llll[i].style.left="0px";llll[i].style.top="0px";}else{if(6==1){llll[i].style.left=""+(i*jjjj)+"px";llll[i].style.top="0px";}if(6==3){llll[i].style.left="0px";llll[i].style.top=""+(i*jjjjj)+"px";}}if((6==1)||(6==3)){llll[i].style.visibility="visible";}else{llll[i].style.visibility="hidden";}}createbgrounds();lllllll=1;llll[0].style.visibility="visible";highlightthumb(0);op=0.00;if(6==1){fncname="llllllllllllllllllll";}if(6==2){fncname="llllllllllllllllllll2";}if(6==3){fncname="DoScroll";}if(6==4){fncname="llllllllllllllllllllll";}if(6==5){fncname="lllllllllllllllllllllll";}if(6==6){fncname="lllllllllllllllllllll";}if(6==7){fncname="llllllllllllllllllllllll";}if(6==8){fncname="lllllllllllllllllllllllll";}if(6==9){fncname="lllllllllllllllllll";}if(6==10){fncname="llllllllllllllllllllllllll";}if(0==0){llllll=setTimeout(fncname+'()',4000);}updatepagenums(vcurr);}function createlllll(){}function updatepagenums(gcur){if(0!=1){return;}jjjjjjjjjjjjjj.innerHTML=""+""+(gcur+1)+"&nbsp;of&nbsp;"+mc+"";}function createpagenums(){if(0!=1){return;}}function createbgrounds(){if(1==0){spageObj.style.backgroundColor='#FFFFFF';}if(0==1){spageObj.style.backgroundImage="";spageObj.style.backgroundRepeat="no-repeat";spageObj.style.backgroundPosition=""+0+"px "+0+"px";}for(i=0;i<mc;i++){if(0==1){objsh[i].style.backgroundImage="";objsh[i].style.backgroundRepeat="no-repeat";objsh[i].style.backgroundPosition=""+0+"px "+0+"px";}if(0==1){objs[i].style.backgroundImage="";objs[i].style.backgroundRepeat="no-repeat";objs[i].style.backgroundPosition=""+0+"px "+0+"px";}}}function initte(){spageObj=document.getElementById('spage');if(!spageObj){setTimeout('initte()',500);return;}spageObj.innerHTML=str2;if(0==1){createpagenums();}if(0==1){createlllll();}if(1==1){createthumbs();}if((0==1)||(0==1)){createnextprev();}if(6==6){createfadediv();}spageObj.onmouseover = frameover;spageObj.onmouseout = frameout;vnext=1;if(vnext>=mc){vnext=0;}spageObj.style.left="0px";spageObj.style.top="0px";    setTimeout('dofirst()',100);    }setTimeout('initte()',200);              
