uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;OPB=(uagent.indexOf('opera') != -1)?true:false;CRB=(uagent.indexOf('chrome') != -1)?true:false;SFB=(uagent.indexOf('safari') != -1)?true:false;var scompat = document.compatMode;var CDGallerys=null;var CDGallerydescgoster=1;var CDGallerythumbgoster=1;var CDGallerycwidth=0;var CDGallerycheight=0;var CDGallerycalc=0;var CDGallerytam=0;var CDGallerykalan=0;var CDGallerykalany=0;var CDGalleryts="";var CDGalleryds="";var CDGalleryjbtype=0;var CDGalleryrealcurrent=0;var CDGallerytimeo=null;CDGallerythumbs_obj=null;CDGallerymoving_obj=null;CDGalleryTotalThumbWidth=0;CDGalleryTotalThumbHeight=0;CDGalleryMoveIcWidth=0;var TBW=0;var CursorStr="default";var CDGalleryDescCalcWidth=0;var CDGalleryDescCalcHeight=0;var CDGalleryDescCalcIcWidth=0;var CDGalleryDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=400;var ThumbAreaHeight=300;CDGalleryimgarr=new Array();CDGallerythumbimgstr=new Array();CDGalleryimgstr=new Array();CDGallerylinkstr=new Array();CDGalleryclslinkstr=new Array();CDGallerytitarr=new Array();CDGallerydesarr=new Array();CDGalleryimgarr[0]=new Image();CDGalleryimgarr[0].c=0;CDGalleryimgarr[0].onload = CDGallerysecondcomplate;CDGalleryimgarr[0].src=CDGalleryfoldername+'abundance.gif';CDGalleryimgstr[0]=CDGalleryfoldername+'abundance.gif';CDGallerythumbimgstr[0]=CDGalleryfoldername+'abundance.gif';CDGallerylinkstr[0]='<a href="abundance.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[0]='</a>';CDGallerytitarr[0]="Attract Abundance";CDGallerydesarr[0]="This powerful CD will help you harness the Law of Attraction.  You will notice the interconnectedness of all things as you begin to call forth important resources for your success.";CDGalleryimgarr[1]=new Image();CDGalleryimgarr[1].c=0;CDGalleryimgarr[1].onload = CDGallerysecondcomplate;CDGalleryimgarr[1].src=CDGalleryfoldername+'addiction.gif';CDGalleryimgstr[1]=CDGalleryfoldername+'addiction.gif';CDGallerythumbimgstr[1]=CDGalleryfoldername+'addiction.gif';CDGallerylinkstr[1]='<a href="http://www.mindful-measures.com/addictive.php" target="_blank" style="text-decoration: none;">';CDGalleryclslinkstr[1]='</a>';CDGallerytitarr[1]="Overcome Addictive Behavior";CDGallerydesarr[1]="This program will help you recognize and deal with cravings.  You will build a healthy perspective that will help you finally overcome your struggles with alcohol or drugs.";CDGalleryimgarr[2]=new Image();CDGalleryimgarr[2].c=0;CDGalleryimgarr[2].onload = CDGallerysecondcomplate;CDGalleryimgarr[2].src=CDGalleryfoldername+'brain.gif';CDGalleryimgstr[2]=CDGalleryfoldername+'brain.gif';CDGallerythumbimgstr[2]=CDGalleryfoldername+'brain.gif';CDGallerylinkstr[2]='<a href="http://www.mindful-measures.com/brain.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[2]='</a>';CDGallerytitarr[2]="Boost your Brain Power";CDGallerydesarr[2]="Attention parents of school-age children! This CD could be the best investment you could make in your child's education. Improve test scores dramatically! ";CDGalleryimgarr[3]=new Image();CDGalleryimgarr[3].c=0;CDGalleryimgarr[3].onload = CDGallerysecondcomplate;CDGalleryimgarr[3].src=CDGalleryfoldername+'charisma.gif';CDGalleryimgstr[3]=CDGalleryfoldername+'charisma.gif';CDGallerythumbimgstr[3]=CDGalleryfoldername+'charisma.gif';CDGallerylinkstr[3]='<a href="http://www.mindful-measures.com/charisma.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[3]='</a>';CDGallerytitarr[3]="Amplify your Charisma";CDGallerydesarr[3]="Have you ever noticed how some people seem to attract the attention and loyalty of others.  This potent program will help you become one of those magnetic personalities.";CDGalleryimgarr[4]=new Image();CDGalleryimgarr[4].c=0;CDGalleryimgarr[4].onload = CDGallerysecondcomplate;CDGalleryimgarr[4].src=CDGalleryfoldername+'confidence.gif';CDGalleryimgstr[4]=CDGalleryfoldername+'confidence.gif';CDGallerythumbimgstr[4]=CDGalleryfoldername+'confidence.gif';CDGallerylinkstr[4]='<a href="http://www.mindful-measures.com/confidence.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[4]='</a>';CDGallerytitarr[4]="Exude Confidence";CDGallerydesarr[4]="This is a must-have program for anyone in sales, management, or the public eye.  This CD will train your mind to focus on your strengths while projecting a sense of poise.";CDGalleryimgarr[5]=new Image();CDGalleryimgarr[5].c=0;CDGalleryimgarr[5].onload = CDGallerysecondcomplate;CDGalleryimgarr[5].src=CDGalleryfoldername+'goals.gif';CDGalleryimgstr[5]=CDGalleryfoldername+'goals.gif';CDGallerythumbimgstr[5]=CDGalleryfoldername+'goals.gif';CDGallerylinkstr[5]='<a href="http://www.mindful-measures.com/goals.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[5]='</a>';CDGallerytitarr[5]="Achieve Noble Goals";CDGallerydesarr[5]="This vital program will help you take control of your life.  This CD will train you to keep your eye on the prize and teach you how to make your dreams come true.";CDGalleryimgarr[6]=new Image();CDGalleryimgarr[6].c=0;CDGalleryimgarr[6].onload = CDGallerysecondcomplate;CDGalleryimgarr[6].src=CDGalleryfoldername+'health.gif';CDGalleryimgstr[6]=CDGalleryfoldername+'health.gif';CDGallerythumbimgstr[6]=CDGalleryfoldername+'health.gif';CDGallerylinkstr[6]='<a href="http://www.mindful-measures.com/health.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[6]='</a>';CDGallerytitarr[6]="Boost your Health";CDGallerydesarr[6]="This effective CD will enable you to effortlessly overcome unhealthy desires and incorporate a wholesome set of habits.  The result will be the leaner, more vibrant person you want to be.";CDGalleryimgarr[7]=new Image();CDGalleryimgarr[7].c=0;CDGalleryimgarr[7].onload = CDGallerysecondcomplate;CDGalleryimgarr[7].src=CDGalleryfoldername+'improverelationships.gif';CDGalleryimgstr[7]=CDGalleryfoldername+'improverelationships.gif';CDGallerythumbimgstr[7]=CDGalleryfoldername+'improverelationships.gif';CDGallerylinkstr[7]='<a href="http://www.mindful-measures.com/relate.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[7]='</a>';CDGallerytitarr[7]="Cultivate Deeper Relationships";CDGallerydesarr[7]="Whether you are looking for a soul-mate, or are looking to improve your current relationship this program is for you.  The mindset that this CD will help you develop will nurture all of your relationships - romantic, plutonic, and professional.";CDGalleryimgarr[8]=new Image();CDGalleryimgarr[8].c=0;CDGalleryimgarr[8].onload = CDGallerysecondcomplate;CDGalleryimgarr[8].src=CDGalleryfoldername+'joy.gif';CDGalleryimgstr[8]=CDGalleryfoldername+'joy.gif';CDGallerythumbimgstr[8]=CDGalleryfoldername+'joy.gif';CDGallerylinkstr[8]='<a href="http://www.mindful-measures.com/joy.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[8]='</a>';CDGallerytitarr[8]="Live in Joy";CDGallerydesarr[8]="Bliss is a state of mind, and this CD is a bliss factory.  This program will help you maintain a pleasurable emotional state while fostering a deep sense of appreciation.";CDGalleryimgarr[9]=new Image();CDGalleryimgarr[9].c=0;CDGalleryimgarr[9].onload = CDGallerysecondcomplate;CDGalleryimgarr[9].src=CDGalleryfoldername+'reducestress.gif';CDGalleryimgstr[9]=CDGalleryfoldername+'reducestress.gif';CDGallerythumbimgstr[9]=CDGalleryfoldername+'reducestress.gif';CDGallerylinkstr[9]='<a href="http://www.mindful-measures.com/stress.php" target="" style="text-decoration: none;">';CDGalleryclslinkstr[9]='</a>';CDGallerytitarr[9]="Reduce Stress";CDGallerydesarr[9]="This powerful program will help you deal with the stresses of the modern world.  You will discover tools and develop habits that melt away anxiety and instill a sense control.";if((IEB==true)&&(scompat == "BackCompat" )){    CDGallerycwidth=420;    CDGallerycheight=400;}else{    CDGallerycwidth=420-2*(0);    CDGallerycheight=400-2*(0);}var CDGalleryicwidth=420-2*(0);var CDGalleryicheight=400-2*(0);CDGalleryDescCalcWidth=400;CDGalleryDescCalcHeight=65;if((IEB==true)&&(scompat == "BackCompat" )){	CDGalleryDescCalcIcWidth=CDGalleryDescCalcWidth;	CDGalleryDescCalcIcHeight=CDGalleryDescCalcHeight;}else{    CDGalleryDescCalcIcWidth=CDGalleryDescCalcWidth-2*(1)-2*(3);    CDGalleryDescCalcIcHeight=CDGalleryDescCalcHeight-2*(1)-2*(3);}document.write('<div style="position:relative;width:'+CDGallerycwidth+'px;height:'+CDGallerycheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="CDGallerydv" style="position:relative;width:'+CDGalleryicwidth+'px;height:'+CDGalleryicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=1,enabled=false);'+'"'+' onfilterchange=CDGalleryFadeBitti()'+'></div>');for(i=0;i<10;i++){	if(0==0){CDGalleryds=CDGalleryds+CDGallerylinkstr[i];if(CDGallerylinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	CDGalleryds=CDGalleryds+'<div id="CDGallerydesc'+i+'" style="position:absolute;top:'+215+'px;left:'+10+'px;width:'+CDGalleryDescCalcWidth+'px;height:'+CDGalleryDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	CDGalleryds=CDGalleryds+'<div style="position:absolute;left:0px;top:0px;width:'+CDGalleryDescCalcWidth+'px;height:'+CDGalleryDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'FFFFFF'+';opacity: '+'0.25'+';filter:alpha(opacity='+'25'+');-moz-opacity:'+'0.25'+';"></div>';	CDGalleryds=CDGalleryds+'<div style="position:relative;left:0px;top:0px;width:'+CDGalleryDescCalcIcWidth+'px;height:'+CDGalleryDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+1+'px;border-color:#'+'000000'+';color:#'+'000000'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'10px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	CDGalleryds=CDGalleryds+'<span style="color:#'+'800000'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'13px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';">'+CDGallerytitarr[i]+'</span><br />'+CDGallerydesarr[i];	CDGalleryds=CDGalleryds+'</div>';	CDGalleryds=CDGalleryds+'</div>';	if(0==0){CDGalleryds=CDGalleryds+CDGalleryclslinkstr[i];}	}document.write(''+CDGalleryds);function CDGalleryShowCurrentDesc(){	if((CDGallerydescgoster==1)&&( (CDGallerytitarr[CDGalleryrealcurrent].length>0) || (CDGallerydesarr[CDGalleryrealcurrent].length>0)  ))	{		after_des=document.getElementById('CDGallerydesc'+CDGalleryrealcurrent);		after_des.style.visibility="visible";		}}function CDGalleryHideCurrentDesc(){	before_des=document.getElementById('CDGallerydesc'+CDGalleryvcurr);	before_des.style.visibility="hidden";}var Xpos=0;function CDGalleryThumbMoveVert(event){	if(ThumbAreaHeight>=MoveHeight){return;}	var obj= event.target || event.srcElement;	var EX=0;	e=null;	if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))	{		EX=parseInt(event.offsetY);		e=event.srcElement;	}	else	{		EX=parseInt(event.layerY);		e=event.target;	}	if(e.tagName=="IMG")	{		if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true)){TBW=1+2;}else{TBW=0;}		obj2=obj.offsetParent;		Xpos=EX+parseInt(obj2.style.top)+TBW+parseInt(""+CDGallerymoving_obj.style.top);		zz=Xpos-CDGalleryTotalThumbHeight;		oran=(zz/(ThumbAreaHeight-2*CDGalleryTotalThumbHeight));		yy=Xpos-parseInt(oran*CDGalleryMoveIcHeight)-CDGalleryTotalThumbHeight;		if(yy>0){yy=0;}		if(yy<(ThumbAreaHeight-MoveHeight)){yy=ThumbAreaHeight-MoveHeight;}		CDGallerymoving_obj.style.top=""+(yy)+  "px";	}	else	{		if(obj==CDGallerymoving_obj)		{			Xpos=EX+parseInt(""+CDGallerymoving_obj.style.top);			zz=Xpos-CDGalleryTotalThumbHeight;			oran=(zz/(ThumbAreaHeight-2*CDGalleryTotalThumbHeight));			yy=Xpos-parseInt(oran*CDGalleryMoveIcHeight)-CDGalleryTotalThumbHeight;			if(yy>0){yy=0;}			if(yy<(ThumbAreaHeight-MoveHeight)){yy=ThumbAreaHeight-MoveHeight;}			CDGallerymoving_obj.style.top=""+(yy)+  "px";		}		else		{			if(obj)			{				obj2=obj.offsetParent;				if(obj2==CDGallerymoving_obj)				{					if((IEB==true)||(OPB==true)){TBW=1;}else{TBW=0;}					if(OPB==true){TBW=TBW+2;}					Xpos=EX+parseInt(obj.style.top)+TBW+parseInt(""+CDGallerymoving_obj.style.top);					zz=Xpos-CDGalleryTotalThumbHeight;					oran=(zz/(ThumbAreaHeight-2*CDGalleryTotalThumbHeight));					yy=Xpos-parseInt(oran*CDGalleryMoveIcHeight)-CDGalleryTotalThumbHeight;					if(yy>0){yy=0;}					if(yy<(ThumbAreaHeight-MoveHeight)){yy=ThumbAreaHeight-MoveHeight;}					CDGallerymoving_obj.style.top=""+(yy)+  "px";					}			}		}	}}function CDGalleryThumbMoveHor(event){	if(ThumbAreaWidth>=MoveWidth){return;}	var obj= event.target || event.srcElement;	var EX=0;	e=null;	if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))	{		EX=parseInt(event.offsetX);		e=event.srcElement;	}	else	{		EX=parseInt(event.layerX);		e=event.target;	}	if(e.tagName=="IMG")	{		if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true)){TBW=1+2;}else{TBW=0;}		obj2=obj.offsetParent;		Xpos=EX+parseInt(obj2.style.left)+TBW+parseInt(""+CDGallerymoving_obj.style.left);		zz=Xpos-CDGalleryTotalThumbWidth;		oran=(zz/(ThumbAreaWidth-2*CDGalleryTotalThumbWidth));		yy=Xpos-parseInt(oran*CDGalleryMoveIcWidth)-CDGalleryTotalThumbWidth;		if(yy>0){yy=0;}		if(yy<(ThumbAreaWidth-MoveWidth)){yy=ThumbAreaWidth-MoveWidth;}		CDGallerymoving_obj.style.left=""+(yy)+  "px";	}	else	{		if(obj==CDGallerymoving_obj)		{			Xpos=EX+parseInt(""+CDGallerymoving_obj.style.left);			zz=Xpos-CDGalleryTotalThumbWidth;			oran=(zz/(ThumbAreaWidth-2*CDGalleryTotalThumbWidth));			yy=Xpos-parseInt(oran*CDGalleryMoveIcWidth)-CDGalleryTotalThumbWidth;			if(yy>0){yy=0;}			if(yy<(ThumbAreaWidth-MoveWidth)){yy=ThumbAreaWidth-MoveWidth;}			CDGallerymoving_obj.style.left=""+(yy)+  "px";		}		else		{			if(obj)			{				obj2=obj.offsetParent;				if(obj2==CDGallerymoving_obj)				{					if((IEB==true)||(OPB==true)){TBW=1;}else{TBW=0;}					if(OPB==true){TBW=TBW+2;}					Xpos=EX+parseInt(obj.style.left)+TBW+parseInt(""+CDGallerymoving_obj.style.left);					zz=Xpos-CDGalleryTotalThumbWidth;					oran=(zz/(ThumbAreaWidth-2*CDGalleryTotalThumbWidth));					yy=Xpos-parseInt(oran*CDGalleryMoveIcWidth)-CDGalleryTotalThumbWidth;					if(yy>0){yy=0;}					if(yy<(ThumbAreaWidth-MoveWidth)){yy=ThumbAreaWidth-MoveWidth;}					CDGallerymoving_obj.style.left=""+(yy)+  "px";				}			}		}	}}CDGalleryTotalThumbWidth=100+2*2+2*1;CDGalleryTotalThumbHeight=100+2*2+2*1;if(0==0){	ThumbAreaHeight=CDGalleryTotalThumbHeight;	MoveWidth=(10*CDGalleryTotalThumbWidth)+((10-1)*4);	MoveHeight=CDGalleryTotalThumbHeight;}else{	ThumbAreaWidth=CDGalleryTotalThumbWidth;	MoveWidth=CDGalleryTotalThumbWidth;	MoveHeight=(10*CDGalleryTotalThumbHeight)+((10-1)*4);}CDGalleryMoveIcWidth=MoveWidth-2*CDGalleryTotalThumbWidth;CDGalleryMoveIcHeight=MoveHeight-2*CDGalleryTotalThumbHeight;tleft=0;ttop=0;CDGalleryts=CDGalleryts+'<div id="CDGallerythumbsid" style="position:absolute;width:'+ThumbAreaWidth+'px;height:'+ThumbAreaHeight+'px;overflow:hidden;visibility:inherit;top:'+290+'px;left:'+10+'px;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'FFFFFF'+';z-index:30;" onMousemove="CDGalleryThumbMoveHor(event)">';CDGalleryts=CDGalleryts+'<div id="CDGalleryaltid" style="position:absolute;width:'+ThumbAreaWidth+'px;height:'+ThumbAreaHeight+'px;overflow:hidden;visibility:inherit;top:0px;left:0px;border-style:solid;border-width:0px;border-color:#FFFFFF;z-index:31;background:#000000;opacity:0.01;filter:alpha(opacity=1);">';CDGalleryts=CDGalleryts+'</div>';CDGalleryts=CDGalleryts+'<div id="CDGallerymovingdiv" style="position:absolute;top:0px;left:0px;z-index:32;width:'+MoveWidth+'px;height:'+MoveHeight+'px;overflow:visible;visibility:inherit;border-style:solid;border-width:0px;border-color:#00006C;z-index:32;">';for(i=0;i<10;i++){	if(0==0)	{		tleft=((i*CDGalleryTotalThumbWidth)+(i*4));		ttop=0;	}	else	{		tleft=0;		ttop=((i*CDGalleryTotalThumbHeight)+(i*4));	}	CDGalleryts=CDGalleryts+'<div id="CDGallerythumb'+i+'" style="position:absolute;left:'+tleft+'px;top:'+ttop+'px;padding:'+2+'px;border-style:'+'solid'+';border-width:'+1+'px;border-color:'+'999999'+';" onclick="ThumbClick('+i+',this)" onMouseOver="CDGalleryThumbOver(this,'+i+')" onMouseOut="CDGalleryThumbOut(this,'+i+')"><img src="'+CDGallerythumbimgstr[i]+'" style="left:0px;width:'+100+'px;height:'+100+'px;cursor:pointer;" TITLE=""></img></div>';}CDGalleryts=CDGalleryts+'</div>';CDGalleryts=CDGalleryts+'</div>';document.write(''+CDGalleryts);function CDGalleryHighlightCurrTumb(){	if((1==1)&&(0==0))	{		CDGallerybeforethumb=document.getElementById('CDGallerythumb'+CDGalleryvcurr);		CDGalleryafterthumb=document.getElementById('CDGallerythumb'+CDGalleryrealcurrent);		CDGallerybeforethumb.style.borderColor='999999';		CDGalleryafterthumb.style.borderColor='990000';	}}document.write('</div>');function CDGalleryzindx(){	CDGalleryobjn.style.visibility="visible";	CDGalleryobjc.style.zIndex=2;	CDGalleryobjn.style.zIndex=3;    }function CDGalleryThumbOut(tobj,nm){	if((CDGalleryvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function CDGalleryThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function CDGallerySonrakiClick(c,n){	CDGalleryvcurr=c;	CDGalleryvnext=n;			CDGalleryobjc=document.getElementById('CDGalleryd'+CDGalleryvcurr);	CDGalleryobjn=document.getElementById('CDGalleryd'+CDGalleryvnext);}function CDGallerySonraki(){	CDGalleryvcurr=CDGalleryvnext;	CDGalleryvnext=CDGalleryvnext+1;		if(CDGalleryvnext>=10)	{		CDGalleryvnext=0;		CDGallerytam=1;	}		CDGalleryobjc=document.getElementById('CDGalleryd'+CDGalleryvcurr);	CDGalleryobjn=document.getElementById('CDGalleryd'+CDGalleryvnext);		      }function CDGallerysecondcomplate(){	this.c=1;}function CDGallerydevam(fm,pt){	if((CDGalleryimgarr[CDGalleryvnext].c==1)&&(CDGalleryimgarr[CDGalleryvcurr].c==1))	{		CDGallerytimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('CDGallerydevam("'+fm+'")',500);	}	var CDGallerycagain=1;	for(i=0;i<10;i++)	{		if(CDGalleryimgarr[i].c==1){}		else{CDGallerycagain=0;}	}	if(CDGallerycagain==1){CDGallerytam=1;}}function ThumbClick(clicked_img,tobj){	if(CDGalleryjbtype==1){return;}	clearTimeout(CDGallerytimeo);	CDGallerySonrakiClick(CDGalleryrealcurrent,clicked_img);	if(CDGalleryfademi==1)        {            if(IEB==true)            {		if(CDGallerytam==0)		{	    		CDGallerydevam("CDGallerydotrans",6000);		}		else		{			CDGallerydotrans();		}            }            else            {		if(CDGallerytam==0)		{    			CDGallerydevam("CDGallerybeftrans",6000);		}		else		{			CDGallerybeftrans();		}            }        }	else if(CDGalleryfademi==2)	{		if(CDGallerytam==0)		{ 			CDGallerydevam("CDGalleryDoSlide",6000);		}		else		{			CDGalleryDoSlide();		}	}	else if(CDGalleryfademi==3)	{		if(CDGallerytam==0)		{ 			CDGallerydevam("CDGalleryDoScrollUp",6000);		}		else		{			CDGalleryDoScrollUp();		}	}	else if(CDGalleryfademi==4)	{		if(CDGallerytam==0)		{ 			CDGallerydevam("CDGalleryDoBlindX",6000);		}		else		{			CDGalleryDoBlindX();		}	}	else if(CDGalleryfademi==5)	{		if(CDGallerytam==0)		{ 			CDGallerydevam("CDGalleryDoBlindY",6000);		}		else		{			CDGalleryDoBlindY();		}	}	}function CDGallerysl(){CDGalleryfademi=1;CDGalleryvcurr=0;CDGalleryvnext=0;CDGalleryvssdiv=null;stepc=20*(1);CDGallerydif=0.00;CDGalleryop=1.00;CDGallerydif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;'+'left:0px;top:0px;'+'padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+CDGalleryicwidth+'px;height:'+CDGalleryicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'top'+';">';dstr3='<img id="CDGalleryimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'1'+'px;border-color:'+'#CCCCCC'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.CDGallerydotrans=CDGallerydotrans;this.CDGalleryinitte=CDGalleryinitte;this.CDGalleryinitte2=CDGalleryinitte2;this.CDGallerybeftrans=CDGallerybeftrans;this.CDGallerydotransff=CDGallerydotransff;}function CDGalleryFadeBitti(){	CDGalleryjbtype=0;	CDGalleryShowCurrentDesc();	}function CDGallerydotrans(){	CDGalleryjbtype=1;	CDGalleryHideCurrentDesc();	if(IEB==true){CDGalleryvssdiv.filters[0].apply();}	CDGalleryobjc.style.visibility="hidden";	CDGalleryobjn.style.visibility="visible";	if(IEB==true){CDGalleryvssdiv.filters[0].play();}	CDGalleryrealcurrent=CDGalleryvnext;	CDGalleryHighlightCurrTumb();	CDGallerySonraki();			if(CDGallerytam==0){CDGallerydevam("CDGallerydotrans",((1000*1)+6000));}	else	{		CDGallerytimeo=setTimeout('CDGallerydotrans()',((1000*1)+6000));	} 	}function CDGallerydotransff(){	CDGalleryop=CDGalleryop-CDGallerydif;		if(CDGalleryop<(0.00)){CDGalleryop=0.00;}	CDGalleryobjc.style.opacity = CDGalleryop;	CDGalleryobjn.style.opacity = 1.00-CDGalleryop;	if(CDGalleryop>(0.00))	{		setTimeout('CDGallerydotransff()',50);	}	else	{		CDGalleryobjc.style.zIndex=2;		CDGalleryobjn.style.zIndex=3;		CDGalleryrealcurrent=CDGalleryvnext;		CDGalleryShowCurrentDesc();		CDGalleryHighlightCurrTumb();				CDGallerySonraki();			        if(CDGallerytam==0){CDGallerydevam("CDGallerybeftrans",6000);}        	else {CDGallerytimeo=setTimeout('CDGallerybeftrans()',6000);}		CDGalleryjbtype=0;  					}}function CDGallerybeftrans(){	CDGalleryjbtype=1;	CDGalleryHideCurrentDesc();    	CDGalleryop=1.00;	CDGalleryobjc.style.visibility="visible";	CDGalleryobjn.style.visibility="visible";		CDGalleryobjc.style.zIndex=3;	CDGalleryobjn.style.zIndex=2;		CDGalleryobjc.style.opacity = 1.00;		CDGalleryobjn.style.opacity = 1.00;			CDGallerydotransff();	}function CDGalleryDoSlide(){	CDGalleryjbtype=1;	CDGalleryHideCurrentDesc();	CDGallerykalan=CDGallerykalan-Math.ceil(CDGallerykalan/1);	CDGalleryobjc.style.left=""+(CDGallerykalan-CDGalleryicwidth)+"px";	CDGalleryobjn.style.left=""+CDGallerykalan+"px";		if(CDGallerykalan<=0)	{		CDGalleryrealcurrent=CDGalleryvnext;		CDGalleryShowCurrentDesc();		CDGalleryHighlightCurrTumb();    		CDGallerySonraki();		CDGallerykalan=CDGalleryicwidth;		CDGalleryobjn.style.left=""+CDGallerykalan+"px";	        		CDGalleryzindx();          		CDGalleryjbtype=0;        		if(CDGallerytam==0){CDGallerydevam("CDGalleryDoSlide",6000);}		else {CDGallerytimeo=setTimeout('CDGalleryDoSlide()',6000);}	}	else	{		setTimeout('CDGalleryDoSlide()',50);    	} }function CDGalleryDoScrollUp(){	CDGalleryjbtype=1;	CDGalleryHideCurrentDesc();	CDGallerykalan=CDGallerykalan-Math.ceil(CDGallerykalan/1);	CDGalleryobjc.style.top=""+(CDGallerykalan-CDGalleryicheight)+"px";	CDGalleryobjn.style.top=""+CDGallerykalan+"px";	    if(CDGallerykalan<=0)    {	CDGalleryrealcurrent=CDGalleryvnext;	CDGalleryShowCurrentDesc();	CDGalleryHighlightCurrTumb();        CDGallerySonraki();        CDGallerykalan=CDGalleryicheight;	CDGalleryobjn.style.top=""+CDGallerykalan+"px";	        CDGalleryzindx();                 	CDGalleryjbtype=0;        if(CDGallerytam==0){CDGallerydevam('CDGalleryDoScrollUp',6000);}        else{CDGallerytimeo=setTimeout('CDGalleryDoScrollUp()',6000);}        }    else    {        setTimeout('CDGalleryDoScrollUp()',50);        }}function CDGalleryDoBlindX(){	CDGalleryjbtype=1;	CDGalleryHideCurrentDesc();   	CDGallerykalan=CDGallerykalan-Math.ceil(CDGallerykalan/1);	CDGalleryobjc.style.left=""+(CDGalleryicwidth-CDGallerykalan)+"px";	CDGalleryobjn.style.left=""+CDGallerykalan+"px";	    if(CDGallerykalan<=0)    {		CDGalleryrealcurrent=CDGalleryvnext;		CDGalleryShowCurrentDesc();	CDGalleryHighlightCurrTumb();            CDGallerySonraki();        CDGallerykalan=CDGalleryicwidth;	CDGalleryobjn.style.left=""+CDGallerykalan+"px";		    	        CDGalleryzindx();	CDGalleryjbtype=0;                  if(CDGallerytam==0){CDGallerydevam("CDGalleryDoBlindX",6000);}        else{CDGallerytimeo=setTimeout('CDGalleryDoBlindX()',6000);}    }    else    {        setTimeout('CDGalleryDoBlindX()',50);        }}function CDGalleryDoBlindY(){	CDGalleryjbtype=1;	CDGalleryHideCurrentDesc();  	CDGallerykalan=CDGallerykalan-Math.ceil(CDGallerykalan/1);	CDGalleryobjc.style.top=""+(CDGalleryicheight-CDGallerykalan)+"px";	CDGalleryobjn.style.top=""+CDGallerykalan+"px";	    if(CDGallerykalan<=0)    {		CDGalleryrealcurrent=CDGalleryvnext;		CDGalleryShowCurrentDesc();CDGalleryHighlightCurrTumb();        CDGallerySonraki();        CDGallerykalan=CDGalleryicheight;	    CDGalleryobjn.style.top=""+CDGallerykalan+"px";                CDGalleryzindx();                 	CDGalleryjbtype=0;        if(CDGallerytam==0){CDGallerydevam("CDGalleryDoBlindY",6000);}        else{CDGallerytimeo=setTimeout('CDGalleryDoBlindY()',6000);}        }    else    {        setTimeout('CDGalleryDoBlindY()',50);        } }function CDGalleryinitte2(){	CDGallerythumbs_obj=document.getElementById('CDGallerythumbsid');	CDGallerymoving_obj=document.getElementById('CDGallerymovingdiv');	CDGalleryvssdiv=document.getElementById("CDGallerydv");	if(10>0)	{		CDGalleryobjc=document.getElementById('CDGalleryd'+0);			CDGalleryobjc.style.visibility="visible";		}	if(10>1)	{		CDGalleryvcurr=0;		CDGalleryvnext=0;		CDGalleryrealcurrent=0;        if(CDGalleryfademi==0)        {			CDGalleryvcurr=0;			CDGalleryvnext=1;			CDGalleryrealcurrent=0;			setTimeout('CDGallerydotrans()',6000);                }        else if(CDGalleryfademi==1)        {            if(IEB==true)            {	    		CDGallerySonraki();			CDGalleryShowCurrentDesc();			CDGalleryHighlightCurrTumb();	    		CDGallerydevam("CDGallerydotrans",6000);                       }            else            {	    		CDGallerySonraki();			CDGalleryShowCurrentDesc();			CDGalleryHighlightCurrTumb();	    		CDGallerydevam("CDGallerybeftrans",6000);                        }        }         else if(CDGalleryfademi==2)        {		CDGallerykalan=CDGalleryicwidth;     		CDGallerySonraki();		CDGalleryrealcurrent=0;		CDGalleryShowCurrentDesc();		CDGalleryHighlightCurrTumb();		CDGalleryobjn.style.left=""+CDGallerykalan+"px";          			CDGalleryzindx();            		CDGallerydevam("CDGalleryDoSlide",6000);		   	                }        else if(CDGalleryfademi==3)        {		CDGallerykalan=CDGalleryicheight;            		CDGallerySonraki();		CDGalleryrealcurrent=0;		CDGalleryShowCurrentDesc();		CDGalleryHighlightCurrTumb();		CDGalleryobjn.style.top=""+CDGallerykalan+"px";            			CDGalleryzindx();                        		CDGallerydevam("CDGalleryDoScrollUp",6000);               }                  else if(CDGalleryfademi==4)        {                        CDGallerykalan=CDGalleryicwidth;                        CDGallerySonraki();		CDGalleryrealcurrent=0;		CDGalleryShowCurrentDesc();CDGalleryHighlightCurrTumb();        	CDGalleryobjn.style.left=""+CDGallerykalan+"px";	            	            CDGalleryzindx();                                   CDGallerydevam("CDGalleryDoBlindX",6000);                 }            else if(CDGalleryfademi==5)        {                        CDGallerykalan=CDGalleryicheight;                        CDGallerySonraki();		CDGalleryrealcurrent=0;		CDGalleryShowCurrentDesc();CDGalleryHighlightCurrTumb();        	CDGalleryobjn.style.top=""+CDGallerykalan+"px";            	            CDGalleryzindx();                                  CDGallerydevam("CDGalleryDoBlindY",6000);                 }												}}function CDGalleryinitte(){	i=0;	innertxt="";	for(i=0;i<10;i++)	{		innertxt=innertxt+dstr1+"CDGalleryd"+i+dstr2+dstr23+CDGallerylinkstr[i]+dstr3+i+dstr4+CDGalleryimgstr[i]+dstr5+CDGalleryclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('CDGallerydv');	spage.innerHTML=""+innertxt;    setTimeout('CDGalleryinitte2()',100);}function CDGalleryBas(){        CDGallerys=new CDGallerysl();        CDGallerys.CDGalleryinitte();}setTimeout('CDGalleryBas()',100);
