//
// Copyright (c) 2004 ZenSoft
// All Rights Reserved
// ZenSoft Web Site: www.zensoft.com
//
// Without limiting the rights under the copyright reserved above, no part of
// this work may be reproduced, stored in or introduced into a retrieval
// system (with the single exception of caching systems for the sole purpose
// of reducing network load by eliminating redundant data transmission), or
// transmitted, in any form, or by any means (electronic, mechanical, 
// recording, or otherwise, with the two exceptions of proxy servers and
// network routers), without the prior written permission of the copyright
// owner. Except to the extent expressly licensed by us, we have and reserve
// the exclusive copyright and other right, title, and interest to this work.
//

var GOQO,GQOQ;var OQOQ;var OQQQQQ;var OQOQO;var OQQQOO=10; var OQOOOO=0;var OQQQQ=(NumImages)*(ImageWidth+OQQQOO)-650;var OOQQ=10; var O=0;var OOQQQQ=0;var OQQQQO;var OO=1;var OQQQOQ; var OQOQO=new Array(NumImages);var desc=new Array(NumImages); var imageName=new Array(NumImages);var OQQOQQ=new Array(NumImages); function OOOQOQ(){OQOQ+=0.1;if(OQOQ>=0.99){for(var OQQOQO=0;OQQOQO <GOQO.length;++OQQOQO){GQOQ[OQQOQO].src=GOQO[OQQOQO].src;OOQOQ(GOQO[OQQOQO],0.0);}OQOOQ();}else{for(var OQQOQO=0;OQQOQO <GOQO.length;++OQQOQO){OOQOQ(GOQO[OQQOQO],OQOQ);}OQQOQ();}} function OOQOQ(OOOQQ,OQQOO){OOOQQ.style.MozOpacity=OQQOO;OOOQQ.style.opacity=OQQOO;GOOOOQ=Math.floor(OQQOO*100+0.99);OOOQQ.style.filter="alpha(opacity="+GOOOOQ+")";} function OQQOQ(){OQOOQ();OQQQQQ=setTimeout("OOOQOQ()",33);} function OQOOQ(){if(OQQQQQ!=0){clearTimeout(OQQQQQ);OQQQQQ=0;}} function OOQQOQ(){OQOQ=0;OQQOQ();} function OQOOO(GQOOO){return document.getElementById(GQOOO);} function OOQ(OOOQO,OOQOQQ){var OOQQQO=new Array(OOQOQQ);for(var OQQOQO=0;OQQOQO <OOQOQQ;++OQQOQO)OOQQQO[OQQOQO]=OQOOO(OOOQO+""+OQQOQO);return OOQQQO;} function OOQQQ(OOQOOQ){return imageName[OOQOOQ]+".jpg";} function OOQOQO(OOQOOQ,OOOOQ,OOOOO){return OOQOOQ <OOOOQ?OOOOQ:OOQOOQ>OOOOO?OOOOO:OOQOOQ;} function OOO(OOQQO,OQOQOO){OOQQO=OOQOQO(OOQQO,0,NumImages-1);OQOQOO=OOQOQO(OQOQOO,0,NumImages-1);for(OQQOQO=OOQQO;OQQOQO <=OQOQOO;++OQQOQO){if(!OQQOQQ[OQQOQO]){OQOQO[OQQOQO]=new Image();OQOQO[OQQOQO].src="http://images.zaxxoids.com/tut/m/"+OOQQQ(OQQOQO);OQQOQQ[OQQOQO]=1;}}} function OQOQQQ(OOQOOQ){OOO(OOQOOQ-4,OOQOOQ+4);if(OOQOOQ==OQQQQO)return false;OQQQQO=OOQOOQ;OQQQ(OQQQQO);OQOOO("desc").innerHTML=desc[OOQOOQ];OQOOO("step").innerHTML="Step "+(OOQOOQ+1)+" of "+NumImages;GOQO=OOQ("tl",1);if (GOQO[0].src!=OQOQO[OOQOOQ].src){OQOOQ();GQOQ=OOQ("bl",3);GQOQ[0].src=GOQO[0].src;OOQOQ(GOQO[0],0.0);GOQO[0].src=OQOQO[OOQOOQ].src;OOQQOQ();}for(OQQOQO=0;OQQOQO <NumImages;++OQQOQO){OQOOO("t"+OQQOQO).style.border=(OQQOQO==OOQOOQ)?"2px solid #C03":"2px solid #AAA";OQOOO("s"+OQQOQO).style.color=(OQQOQO==OOQOOQ)?"#C03":"#666";}OQ();return false;} function Init(){OQOQQQ(0);OQOO();} function Restart(){return OQOQQQ(0);} function Next(OOOOOQ){GOQOG=OQQQQO;++GOQOG;if(GOQOG==NumImages)GOQOG=OOOOOQ?0:NumImages-1;OQOQQQ(GOQOG);return false;} function Previous(){GOQOG=OQQQQO;--GOQOG;if(GOQOG==-1)GOQOG=0;OQOQQQ(GOQOG);return false;} function OQOQOQ(OQOOQQ,OOOOOO,OOOQ){if(OQOOQQ <OOOQ){OQOOQQ+=OOOOOO;if(OQOOQQ>OOOQ)OQOOQQ=OOOQ;}else if(OQOOQQ>OOOQ){OQOOQQ-=OOOOOO;if (OQOOQQ <OOOQ)OQOOQQ=OOOQ;}return OQOOQQ;} function OQQ(){if(OOQQQQ){OQOOOO=OQOQOQ(OQOOOO,OOQQ,OQQQOQ);OOQQ+=O;}GQQQ=""+OQOOOO+"px";OQOOO('thumbs').style.left=GQQQ;OQOO();if(OOQQQQ&&OQOOOO!=OQQQOQ)setTimeout("OQQ()",33);else OOQQQQ=0;} function OQQQ(OOQOOQ){OOQQ=10;O=3;OQQQOQ=(OOQOOQ-2)*-(ImageWidth+OQQQOO);if(OQQQOQ>0)OQQQOQ=0;if(OQQQOQ <-OQQQQ)OQQQOQ=-OQQQQ;if(OOQQQQ==0){OOQQQQ=1;OQQ();}} function OOQO(OQQQQQQ,OQOOQO){OOQOQ(OQOOO(OQQQQQQ),OQOOQO?1.0:0.3);} function OQOO(){if(OO){OOQO('leftarrow',OQQQQO!=0);OOQO('rightarrow',OQQQQO!=NumImages-1);}else{OOQO('leftarrow',OQOOOO!=0);OOQO('rightarrow',OQOOOO!=-OQQQQ);}} function OOOOQO(OQQQQQQ,OQOOQO){OQOOO(OQQQQQQ).style.display=OQOOQO?"block":"none";} function OQ(){OOOOQO('previ',OQQQQO!=0);if(OQQQQO!=(NumImages-1)){OQOOO('nexti').innerHTML="Next";OQOOO('restart').style.display="none";}else{OQOOO('nexti').innerHTML="Restart";OQOOO('restart').style.display="block";}OOOOQO('nexti',1);} function OOQQOO(OQQO){OOQQ=10;O=0;OQQQOQ=OQQO?-OQQQQ:0;if(OOQQQQ==0){OOQQQQ=1;OQQ();}}