var fullback=new Image();fullback.src="img/fullbackground.jpg";var thelogo=new Image();thelogo.src="img/logo.png";var thelogo2=new Image();thelogo2.src="img/clogo.png";var thegrey=new Image();thegrey.src="img/midgray.jpg";var menu1on=new Image();menu1on.src="img/menu1on.png";var menu1off=new Image();menu1off.src="http://mirror.fishslates.com/img/menu1off.png";var menu2on=new Image();menu2on.src="img/menu2on.png";var menu2bon=new Image();menu2bon.src="img/menu2bon.png";var menu2off=new Image();menu2off.src="img/menu2off.png";var menu3on=new Image();menu3on.src="img/menu3on.png";var menu3off=new Image();menu3off.src="http://mirror.fishslates.com/img/menu3off.png";var menu4on=new Image();menu4on.src="http://mirror.fishslates.com/img/menu4on.png";var menu4off=new Image();menu4off.src="img/menu4off.png";var menu5on=new Image();menu5on.src="img/menu5on.png";var menu5off=new Image();menu5off.src="http://mirror.fishslates.com/img/menu5off.png";var backprod1on=new Image();backprod1on.src="img/backprod1on.jpg";var backprod1off=new Image();backprod1off.src="img/backprod1off.jpg";var backprod2on=new Image();backprod2on.src="img/backprod2on.jpg";var backprod2off=new Image();backprod2off.src="img/backprod2off.jpg";var backprod3on=new Image();backprod3on.src="img/backprod3on.jpg";var backprod3off=new Image();backprod3off.src="img/backprod3off.jpg";var backprod4on=new Image();backprod4on.src="img/backprod4on.jpg";var backprod4off=new Image();backprod4off.src="img/backprod4off.jpg";var backprod5on=new Image();backprod5on.src="img/backprod5on.jpg";var backprod5off=new Image();backprod5off.src="img/backprod5off.jpg";var backprod6on=new Image();backprod6on.src="img/backprod6on.jpg";var backprod6off=new Image();backprod6off.src="img/backprod6off.jpg";var backprod7on=new Image();backprod7on.src="img/backprod7on.jpg";var backprod7off=new Image();backprod7off.src="img/backprod7off.jpg";var arrowrighton=new Image();arrowrighton.src="img/arrowrighton.png";var arrowrightoff=new Image();arrowrightoff.src="img/arrowrightoff.png";var arrowlefton=new Image();arrowlefton.src="img/arrowlefton.png";var arrowleftoff=new Image();arrowleftoff.src="img/arrowleftoff.png";var contacton=new Image();contacton.src="http://mirror.fishslates.com/img/contacton.png";var contactoff=new Image();contactoff.src="img/contactoff.png";var orderbuttonon=new Image();orderbuttonon.src="http://mirror.fishslates.com/img/orderbuttonon.png";var orderbuttonoff=new Image();orderbuttonoff.src="http://mirror.fishslates.com/img/orderbuttonoff.png";var sendon=new Image();sendon.src="http://mirror.fishslates.com/img/sendon.png";var sendoff=new Image();sendoff.src="http://mirror.fishslates.com/img/sendoff.png";var cancelon=new Image();cancelon.src="http://mirror.fishslates.com/img/cancelon.png";var canceloff=new Image();canceloff.src="img/canceloff.png";var listenon=new Image();listenon.src="http://mirror.fishslates.com/img/listenon.png";var listenoff=new Image();listenoff.src="http://mirror.fishslates.com/img/listenoff.png";var reloadon=new Image();reloadon.src="http://mirror.fishslates.com/img/reloadon.png";var reloadoff=new Image();reloadoff.src="http://mirror.fishslates.com/img/reloadoff.png";function myOn(myImgName){document[myImgName].src=eval(myImgName+'on').src;}
function myOut(myImgName){document[myImgName].src=eval(myImgName+'off').src;}
function mybig(myImgName){document[myImgName].style.width='105px';document[myImgName].style.height='105px';}
function mysmall(myImgName){document[myImgName].style.width='100px';document[myImgName].style.height='100px';}
function myOn2(myImgName){document[myImgName].src=eval(myImgName+'on').src;document['menu2'].src=eval('menu2b'+'on').src;toggle('dropmenu','open');}
function myOn3(myImgName){document[myImgName].src=eval(myImgName+'on').src;document['menu2'].src=eval('menu2b'+'on').src;toggle('dropmenu','open');}
function myOut2(myImgName){document[myImgName].src=eval(myImgName+'off').src;document['menu2'].src=eval('menu2'+'off').src;pausecomp('20');toggle('dropmenu','close');}
function myOut3(myImgName){document[myImgName].src=eval(myImgName+'off').src;document['menu2'].src=eval('menu2'+'on').src;pausecomp('20');toggle('dropmenu','close');}
function toggle(id,openclose)
{var ele1=document.getElementById(id);if(openclose=='open')
{ele1.style.visibility="visible";}
else if(openclose=='close')
{ele1.style.visibility="hidden";}}
function popitup(url){newwindow=window.open(url,'name','height=600,width=800,resizable=no,scrollbars=no, toolbar=no');if(window.focus){newwindow.focus()}
return false;}
var mystep=1;function slideit(direction){if(!document.images)
return;var a=mystep;if(mystep=='1'&&direction=='right'){a=2;slideto='rl'}
if(mystep=='2'&&direction=='right'){a=3;slideto='rl'}
if(mystep=='3'&&direction=='right'){a=4;slideto='rl'}
if(mystep=='4'&&direction=='right'){a=5;slideto='rl'}
if(mystep=='5'&&direction=='right'){a=6;slideto='rl'}
if(mystep=='6'&&direction=='right'){a=7;slideto='rl'}
if(mystep=='7'&&direction=='right'){a=1;slideto='rl'}
if(mystep=='1'&&direction=='left'){a=7;slideto='lr'}
if(mystep=='2'&&direction=='left'){a=1;slideto='lr'}
if(mystep=='3'&&direction=='left'){a=2;slideto='lr'}
if(mystep=='4'&&direction=='left'){a=3;slideto='lr'}
if(mystep=='5'&&direction=='left'){a=4;slideto='lr'}
if(mystep=='6'&&direction=='left'){a=5;slideto='lr'}
if(mystep=='7'&&direction=='left'){a=6;slideto='lr'}
mystep=a;if(mystep=='1'){myalt='Fish Identification Slates Of South East Asia - Standard Edition';mydescription='Over 200 underwater photos taken around South East Asia, printed onto PVC comprise one of the most popular fish and marine life slates available today. These robust fish identification slates are 100% waterproof making them ideal for scuba diving and snorkeling. Each set consists of 2 double sided slates and a split ring to hold them together.';}
if(mystep=='2'){myalt='Fish Identification Slates Of South East Asia - Deluxe Edition';mydescription='Continuing the theme this 3slates edition is a new product for 2011 consisting of the original set of 2 slates plus one extra with over 90 new species. There are now 270 species spread across these 3 slates over 6 sides. These were designed with the keen amateur marine biologist in mind.';}
if(mystep=='3'){myalt='Fish Identification Slates Of South East Asia - Special Edition';mydescription='Having decided that it was nigh on impossible to squeeze any more species onto 2 slates, I inevitably produced a third slate. This has allowed me to show the species I never had space for before and to cover the major families more thoroughly. This slate is available on its own, for those who already own the original set or as part of a new set';}
if(mystep=='4'){myalt='Marine Life of South East Asia Poster';mydescription='Marine Life of South East Asia A1 Poster - comprehensive listing of the most common marine species in South East Asia including corals, invertebrates, crustaceans and fish. More than 300 photographs printed onto 190 gms semi-gloss paper. Each Poster comes supplied with a mailing tube.';}
if(mystep=='5'){myalt='Logbook Stickers';mydescription='Marine Life of South East Asia onto individual stickers. Ideal for snorkelers, Scuba Divers, Logbooks, Educational Projects';}
if(mystep=='6'){myalt='Custom Fish Slates Asian/Amazonian Freshwater Edition';mydescription='Thailand has long held the record for World Largest Freshwater Fish. Designed with the freshwater river monster angler in mind these slates include the most popular freshwater sport fish to be found primarily in Thailand and to a lesser extent the Amazon basin. Both habitats support a very similar array of species. Languages: English, Latin and Thai. These slates are not currently for sale, they merely serve to illustrate possible future products.';}
if(mystep=='7'){myalt='Custom Fish Slates, European Freshwater Edition';mydescription='Another service we offer is custom fish slates design. Due to complications arising from currency fluctuations, haulage and import duty it can be more advantageous for us to simply design a set of Fish Slates and then you have them printed in your own country. This set was designed for Olaf Tritel in Germany in German and English. We can provide most languages, including Thai.';}
if(direction=='none')
{document.getElementById('alternatetext').innerHTML=mydescription;document.getElementById('slide1').alt=myalt;document.getElementById('fronttext').alt=myalt;}
else
{image_slide=eval("frontimage"+a+".src");image_text=eval("fronttext"+a+".src");document.getElementById('alternatetext').innerHTML=mydescription;crossfade2(document.getElementById('fronttext'),image_text,'0.3',myalt);crossfade(document.getElementById('slide1'),image_slide,'0.3',myalt);}}
function gotoprod(){if(mystep=='1'){thepage='fishslates2.html'}
if(mystep=='2'){thepage='fishslates3.html'}
if(mystep=='3'){thepage='fishslates1.html'}
if(mystep=='4'){thepage='fishposters.html'}
if(mystep=='5'){thepage='fishstickers.html'}
if(mystep=='6'){thepage='fishasia.html'}
if(mystep=='7'){thepage='fisheurope.html'}
document.location=thepage;}
var ixf={'clock':null,'count':1}
ixf.imgs=[];ixf.imgsLen=ixf.imgs.length;ixf.cache=[];for(var i=0;i<ixf.imgsLen;i++)
{ixf.cache[i]=new Image;ixf.cache[i].src=ixf.imgs[i];}
function crossfade()
{if(ixf.clock==null)
{ixf.obj=arguments[0];ixf.src=arguments[1];if(typeof ixf.obj.style.opacity!='undefined')
{ixf.type='w3c';}
else if(typeof ixf.obj.style.MozOpacity!='undefined')
{ixf.type='moz';}
else if(typeof ixf.obj.style.KhtmlOpacity!='undefined')
{ixf.type='khtml';}
else if(typeof ixf.obj.filters=='object')
{ixf.type=(ixf.obj.filters.length>0&&typeof ixf.obj.filters.alpha=='object'&&typeof ixf.obj.filters.alpha.opacity=='number')?'ie':'none';}
else
{ixf.type='none';}
if(typeof arguments[3]!='undefined'&&arguments[3]!='')
{ixf.obj.alt=arguments[3];}
if(ixf.type!='none')
{ixf.newimg=document.getElementsByTagName('body')[0].appendChild((typeof document.createElementNS!='undefined')?document.createElementNS('http://www.w3.org/1999/xhtml','img'):document.createElement('img'));ixf.newimg.className='idupe';ixf.newimg.src=ixf.src
ixf.newimg.style.left=ixf.getRealPosition(ixf.obj,'x')+'px';ixf.newimg.style.top=ixf.getRealPosition(ixf.obj,'y')+'px';ixf.length=arguments[2]*1000;ixf.resolution=arguments[2]*20;ixf.clock=setInterval('ixf.crossfade()',ixf.length/ixf.resolution);}
else
{ixf.obj.src=ixf.src;}}};ixf.crossfade=function()
{ixf.count-=(1/ixf.resolution);if(ixf.count<(1/ixf.resolution))
{clearInterval(ixf.clock);ixf.clock=null;ixf.count=1;ixf.obj.src=ixf.src;}
switch(ixf.type)
{case'ie':ixf.obj.filters.alpha.opacity=ixf.count*100;ixf.newimg.filters.alpha.opacity=(1-ixf.count)*100;break;case'khtml':ixf.obj.style.KhtmlOpacity=ixf.count;ixf.newimg.style.KhtmlOpacity=(1-ixf.count);break;case'moz':ixf.obj.style.MozOpacity=(ixf.count==1?0.9999999:ixf.count);ixf.newimg.style.MozOpacity=(1-ixf.count);break;default:ixf.obj.style.opacity=(ixf.count==1?0.9999999:ixf.count);ixf.newimg.style.opacity=(1-ixf.count);}
ixf.newimg.style.visibility='visible';ixf.newimg.style.left=ixf.getRealPosition(ixf.obj,'x')+'px';ixf.newimg.style.top=ixf.getRealPosition(ixf.obj,'y')+'px';if(ixf.count==1)
{ixf.newimg.parentNode.removeChild(ixf.newimg);}};ixf.getRealPosition=function()
{this.pos=(arguments[1]=='x')?arguments[0].offsetLeft:arguments[0].offsetTop;this.tmp=arguments[0].offsetParent;while(this.tmp!=null)
{this.pos+=(arguments[1]=='x')?this.tmp.offsetLeft:this.tmp.offsetTop;this.tmp=this.tmp.offsetParent;}
return this.pos;};var ixf2={'clock':null,'count':1}
ixf2.imgs=[];ixf2.imgsLen=ixf2.imgs.length;ixf2.cache=[];for(var i=0;i<ixf2.imgsLen;i++)
{ixf2.cache[i]=new Image;ixf2.cache[i].src=ixf2.imgs[i];}
function crossfade2()
{if(ixf2.clock==null)
{ixf2.obj=arguments[0];ixf2.src=arguments[1];if(typeof ixf2.obj.style.opacity!='undefined')
{ixf2.type='w3c';}
else if(typeof ixf2.obj.style.MozOpacity!='undefined')
{ixf2.type='moz';}
else if(typeof ixf2.obj.style.KhtmlOpacity!='undefined')
{ixf2.type='khtml';}
else if(typeof ixf2.obj.filters=='object')
{ixf2.type=(ixf2.obj.filters.length>0&&typeof ixf2.obj.filters.alpha=='object'&&typeof ixf2.obj.filters.alpha.opacity=='number')?'ie':'none';}
else
{ixf2.type='none';}
if(typeof arguments[3]!='undefined'&&arguments[3]!='')
{ixf2.obj.alt=arguments[3];}
if(ixf2.type!='none')
{ixf2.newimg=document.getElementsByTagName('body')[0].appendChild((typeof document.createElementNS!='undefined')?document.createElementNS('http://www.w3.org/1999/xhtml','img'):document.createElement('img'));ixf2.newimg.className='idupe';ixf2.newimg.src=ixf2.src
ixf2.newimg.style.left=ixf2.getRealPosition(ixf2.obj,'x')+'px';ixf2.newimg.style.top=ixf2.getRealPosition(ixf2.obj,'y')+'px';ixf2.length=arguments[2]*1000;ixf2.resolution=arguments[2]*20;ixf2.clock=setInterval('ixf2.crossfade()',ixf2.length/ixf2.resolution);}
else
{ixf2.obj.src=ixf2.src;}}};ixf2.crossfade=function()
{ixf2.count-=(1/ixf2.resolution);if(ixf2.count<(1/ixf2.resolution))
{clearInterval(ixf2.clock);ixf2.clock=null;ixf2.count=1;ixf2.obj.src=ixf2.src;}
switch(ixf2.type)
{case'ie':ixf2.obj.filters.alpha.opacity=ixf2.count*100;ixf2.newimg.filters.alpha.opacity=(1-ixf2.count)*100;break;case'khtml':ixf2.obj.style.KhtmlOpacity=ixf2.count;ixf2.newimg.style.KhtmlOpacity=(1-ixf2.count);break;case'moz':ixf2.obj.style.MozOpacity=(ixf2.count==1?0.9999999:ixf2.count);ixf2.newimg.style.MozOpacity=(1-ixf2.count);break;default:ixf2.obj.style.opacity=(ixf2.count==1?0.9999999:ixf2.count);ixf2.newimg.style.opacity=(1-ixf2.count);}
ixf2.newimg.style.visibility='visible';ixf2.newimg.style.left=ixf2.getRealPosition(ixf2.obj,'x')+'px';ixf2.newimg.style.top=ixf2.getRealPosition(ixf2.obj,'y')+'px';if(ixf2.count==1)
{ixf2.newimg.parentNode.removeChild(ixf2.newimg);}};ixf2.getRealPosition=function()
{this.pos=(arguments[1]=='x')?arguments[0].offsetLeft:arguments[0].offsetTop;this.tmp=arguments[0].offsetParent;while(this.tmp!=null)
{this.pos+=(arguments[1]=='x')?this.tmp.offsetLeft:this.tmp.offsetTop;this.tmp=this.tmp.offsetParent;}
return this.pos;};function getWidth()
{var xWidth=null;if(document.body!=null)
xWidth=document.body.clientWidth;if(window.screen!=null)
xWidth=window.screen.availWidth;if(window.innerWidth!=null)
xWidth=window.innerWidth;return xWidth;}
function getHeight(){var xHeight=null;if(document.body!=null)
xHeight=document.body.clientHeight;if(window.screen!=null)
xHeight=window.screen.availHeight;if(window.innerHeight!=null)
xHeight=window.innerHeight;return xHeight;}
function addcount(myproduct,myprice){var thefield='count_'+myproduct;var oldvalue=document.getElementById(thefield).value;oldvalue=parseInt(oldvalue);if(oldvalue<1000){var newvalue=oldvalue+1;document.getElementById(thefield).value=newvalue;var thetotal=newvalue*myprice;var idtotal='tot_'+myproduct;document.getElementById(idtotal).value=thetotal;thegrandtotal();}
return false;}
function subcount(myproduct,myprice){var thefield='count_'+myproduct;var oldvalue=document.getElementById(thefield).value;oldvalue=parseInt(oldvalue);if(oldvalue>0){var newvalue=oldvalue-1;document.getElementById(thefield).value=newvalue;var thetotal=newvalue*myprice;var idtotal='tot_'+myproduct;document.getElementById(idtotal).value=thetotal;thegrandtotal();}
return false;}
function newcount(myproduct,myprice){var thefield='count_'+myproduct;var idtotal='tot_'+myproduct;var oldvalue=parseInt(document.getElementById(thefield).value);if(isNaN(oldvalue)||oldvalue<0){document.getElementById(thefield).value='0';document.getElementById(idtotal).value='0';}
else if(oldvalue>=0&&oldvalue<=1000){var newvalue=oldvalue;document.getElementById(thefield).value=newvalue;var thetotal=newvalue*myprice;document.getElementById(idtotal).value=thetotal;}
thegrandtotal();return false;}
function thegrandtotal(){document.getElementById('grandtotal').value=parseInt(document.getElementById('tot_standard').value)+parseInt(document.getElementById('tot_deluxe').value)+parseInt(document.getElementById('tot_special').value)+parseInt(document.getElementById('tot_poster').value)+parseInt(document.getElementById('tot_stickers').value);}
function pausecomp(millis)
{var date=new Date();var curDate=null;do{curDate=new Date();}
while(curDate-date<millis);}
