// JavaScript Documentvar c;function removeHeader(){ 	document.getElementById('header').innerHTML = '&nbsp;';}//thumbsfunction thumbs(){						if ( opa > 0 ) { opa = opa - 20; op = op -.2;opin = opin +.2;opain = opain + 20;		document.getElementById('webCont').style.filter = 'alpha(opacity=' + (opa-20) + ')';		document.getElementById('webCont').style.opacity = op - .2;		document.getElementById('thumbPage').style.filter = 'alpha(opacity=' +( opain+20) + ')';		document.getElementById('thumbPage').style.opacity = opin + .2;		document.getElementById('webCont').style.zIndex = 0;		setTimeout('thumbs(\''+thumbs.arguments[0]+'\')', 0);		}		document.getElementById('view').innerHTML = '<a href="#"  onclick="thumbsOut();" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image9\',\'\',\'images/big_overviewover.gif\',1)"><img src="images/big_overview.gif" name="Image9" border="0" id="Image9" /></a>';		if (cliArr.length > 15)		{			if ((thumbIm - 1) < 0)			{								document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />'			} else {				document.getElementById('back').innerHTML = '<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="thumbBack();"><img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" /></a>'			}			if ((thumbIm + 1) >= (cliArr.length/15))			{				document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';			} else {				document.getElementById('next').innerHTML = '<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="thumbforward();"><img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" /></a>';			}						} else {				document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';				document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />'		}	 }function thumbsOut(){				if ( opa < 100 ) { opa = opa + 20;  op = op +.2;opain = opain - 20;  opin = opin -.2;		document.getElementById('webCont').style.filter = 'alpha(opacity='+(opa+20)+')';		document.getElementById('webCont').style.opacity = op + .2;		document.getElementById('thumbPage').style.filter = 'alpha(opacity='+(opain-20)+')';		document.getElementById('thumbPage').style.opacity = opin - .2;		document.getElementById('webCont').style.zIndex = 10;		setTimeout('thumbsOut(\''+thumbsOut.arguments[0]+'\')', 0);		}	document.getElementById('view').innerHTML = '<a href="#"  onclick="thumbs();" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image9\',\'\',\'images/big_thumbover.gif\',1)"><img src="images/big_thumb.gif" name="Image9" border="0" id="Image9" /></a>';		if (cliArr.length > 4)		{			if((nIm - 1) < 0)			{				document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />';			} else {				document.getElementById('back').innerHTML = '<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="cliBack();"><img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" /></a>';			}			if ((nIm+1) > (cliArr.length/4)){				document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';			} else {				document.getElementById('next').innerHTML = '<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="cliforward();"><img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" /></a>';			}		} else {				document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />';				document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';		}}//infunction IN(t){	document.body.style.background = 'transparent';	document.getElementById('webImages').innerHTML = '';	document.getElementById('thum').innerHTML = '';	document.getElementById('thumbPage').style.top = t;	document.getElementById('thumbPage').style.left = '15px';	document.getElementById('slideShow').style.width = imArr.length*610+"px";	document.getElementById('webImages').style.width = cliArr.length*230+"px";	document.getElementById('thumbPage').style.filter = 'alpha(opacity=0)';	document.getElementById('thumbPage').style.opacity = 0;		for (a = (imArr.length-1); a >=0 ; a--)	{		document.getElementById('slideShow').innerHTML += '<div style="float:left"><div><img src="'+imArr[a][0]+'" style="padding-left:5px; padding-right:5px;" /></div></div>';		if (a == (imArr.length-1)) {			document.getElementById('thum').innerHTML = '<div class="thumbsLayout" ><img src="'+imArr[a][0]+'" width="100" name="im1" onclick="showLarge(this); '+imArr[a][1]+';" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)" style="float:left"  /><div class="textRedSmall" style="padding-left:110px">'+imArr[a][2]+'</div><div class="textWhite" style="padding-left:110px">'+imArr[a][3]+'</div></div>';		} else {			document.getElementById('thum').innerHTML += '<div class="thumbsLayout" ><img src="'+imArr[a][0]+'" width="100" name="im1" onclick="showLarge(this); '+imArr[a][1]+';" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)" style="float:left"  /><div class="textRedSmall" style="padding-left:110px">'+imArr[a][2]+'</div><div class="textWhite" style="padding-left:110px">'+imArr[a][3]+'</div></div>';		}	}		for (l = (cliArr.length-1);l >= 0; l--)	{		document.getElementById('webImages').innerHTML += '<div style="float:left" class="textRedSmall"><a href="#" onclick="showLarge(this); '+cliArr[l][1]+';"><div style=" padding-left:15px; padding-right:15px"><img src="'+cliArr[l][0]+'" border="0"  /></a></div><div style="padding-left:15px; padding-top:7px">'+cliArr[l][2]+'</div></div>';	}		if (cliArr.length < 5)	{	document.getElementById('pageNums').innerHTML = "";		}}//forward back functionsfunction thumbforward(){	document.getElementById('back').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="thumbBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7" /></a>'	if ((thumbIm+1) < (imArr.length/15))	{		thumbIm++;		thumbforward2();	} 	if ((thumbIm +1) >= (cliArr.length/15))	{		document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';	} else {		document.getElementById('next').innerHTML = '<a  style="cursor:pointer" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="thumbforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8"  /></a>';	}		}function thumbforward2(){			if (pt > -(thumbIm*55))				 {				pt--;				pt--;				pt--;				pt--;				pt--;				document.getElementById('thum').style.top = pt +"0px";								c=setTimeout('thumbforward2()', 0);				 }	}function thumbBack(){	document.getElementById('next').innerHTML = '<a  style="cursor:pointer" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="thumbforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8"  /></a>';	if (thumbIm > 0)	{		thumbIm--;		thumbBack2();	}	if ((thumbIm - 1) < 0)	{		document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />'	} else {			document.getElementById('back').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="thumbBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7" /></a>'	}}function thumbBack2(){	if (pt < -(thumbIm*55))				 {				pt++;				pt++;pt++;				pt++;pt++;				document.getElementById('thum').style.top = pt +"0px";				c=setTimeout('thumbBack2()', 0);				 }}function cliforward(){	document.getElementById('back').innerHTML = '<a  style="cursor:pointer" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="cliBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7"  /></a>';			if ((nIm+1) < (cliArr.length/4))	{		nIm++;		cliforward2();	} if ((nIm+1) >= (cliArr.length/4)){		document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';	} else {		document.getElementById('next').innerHTML = '<a  style="cursor:pointer" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="cliforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8"  /></a>';		}}function cliforward2(){		if (pz > -(((nIm*4)*230)/10))		{		pz--;		pz--;pz--;		pz--;			document.getElementById('webImages').style.left = pz +"0px";		c=setTimeout('cliforward2()', 0);			}}function cliBack(){	document.getElementById('next').innerHTML = '<a  style="cursor:pointer" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="cliforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8"  /></a>';	if(nIm > 0)	{		nIm--;		cliBack2();	} 	if((nIm - 1) < 0)	{		document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />';	} else {		document.getElementById('back').innerHTML = '<a  style="cursor:pointer" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="cliBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7"  /></a>';	}}function cliBack2(){		if (pz < -(((nIm*4)*230)/10) )		{		pz++;		pz++;pz++;		pz++;			document.getElementById('webImages').style.left = pz +"0px";		c=setTimeout('cliBack2()', 0);			}}function tesMouseOut(num){	if (nIm != num)	{		document.getElementById('nav'+num).style.color = '#FFFFFF';	} else {		document.getElementById('nav'+num).style.color = '#aa0e14';	}}function teSetNum(num){	document.getElementById('nav'+num).style.color = '#aa0e14';	document.getElementById('nav'+nIm).style.color = '#FFFFFF';		if (num < nIm)	{				if((num+1) != nIm)			{				nIm = (num+1);				teBackQuick();			} else {				nIm = (num + 1);				teBack();			}		 			} else {		if (num > nIm)		{			if ((nIm+1) != num)			{				nIm = (num - 1);				teforwardQuick();			} else {				nIm = (num - 1);				teforward();			}		}	}}	function teforward(){	document.getElementById('back').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="teBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7" /></a>';		if ((nIm+1) < 29)	{		nIm++;		document.getElementById('nav'+nIm).style.color = '#aa0e14';		document.getElementById('nav'+(nIm-1)).style.color = '#FFFFFF';				teforward2();	} if ((nIm+1) >= (cliArr.length)){		document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';	} else {	document.getElementById('next').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="teforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8" /></a>';	}}function teforwardQuick(){	document.getElementById('back').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="teBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7" /></a>';		if ((nIm+1) < 29)	{		nIm++;		document.getElementById('nav'+nIm).style.color = '#aa0e14';		document.getElementById('nav'+(nIm-1)).style.color = '#FFFFFF';				teforward2Quick();	} if ((nIm+1) >= (cliArr.length)){		document.getElementById('next').innerHTML = '<img src="images/scroll_right.gif" name="Image8" border="0" id="Image8" />';	} else {			document.getElementById('next').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="teforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8" /></a>';	}}function teforward2(){		if (pz > -(nIm*450))		{		pz = -(nIm*450);			document.getElementById('webImages').style.left = pz +"px";		}}function teforward2Quick(){		if (pz > -(nIm*450))		{		pz = -(nIm*450);			document.getElementById('webImages').style.left = pz +"px";		}}function teBack(){	document.getElementById('next').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="teforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8" /></a>';	if(nIm > 0)	{		nIm--;		document.getElementById('nav'+nIm).style.color = '#aa0e14';		document.getElementById('nav'+(nIm+1)).style.color = '#FFFFFF';		teBack2();	} 	if((nIm - 1) < 0)	{		document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />';	} else {		document.getElementById('back').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="teBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7" /></a>';	}}function teBack2(){		if (pz < -(nIm*450))		{		pz = -(nIm*450);			document.getElementById('webImages').style.left = pz +"px";		}}function teBackQuick(){	document.getElementById('next').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image8\',\'\',\'images/scroll_rightover.gif\',1)" onmousedown="teforward();"><img src="images/scroll_right_active.gif" name="Image8" border="0" id="Image8" /></a>';	if(nIm > 0)	{		nIm--;		document.getElementById('nav'+nIm).style.color = '#aa0e14';		document.getElementById('nav'+(nIm+1)).style.color = '#FFFFFF';		teBack2Quick();	} 	if((nIm - 1) < 0)	{		document.getElementById('back').innerHTML = '<img src="images/scroll_left.gif" name="Image7" border="0" id="Image7" />';	} else {		document.getElementById('back').innerHTML = '<a style="cursor:pointer"  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'images/scroll_leftover.gif\',1)" onmousedown="teBack();"><img src="images/scroll_left_active.gif" name="Image7" border="0" id="Image7" /></a>';	}}function teBack2Quick(){		if (pz < -(nIm*450))		{		pz = -(nIm*450);			document.getElementById('webImages').style.left = pz +"px";		}}function firstIN(){		document.getElementById('slideShow').style.width = imArr.length*610+"px";	document.getElementById('webImages').style.width = cliArr.length*230+"px";	for (a = 0; a < imArr.length; a++)	{		document.getElementById('slideShow').innerHTML += '<div style="float:left"><div><img src="'+imArr[a][0]+'" style="padding-left:5px; padding-right:5px;" /></div></div>';		if (a == 0) {			document.getElementById('thum').innerHTML = '<div class="thumbsLayout" ><img src="'+imArr[a][0]+'" width="100" name="im1" onclick="showLarge(this); '+imArr[a][1]+';" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)" style="float:left"  /><div class="textRedSmall" style="padding-left:110px">'+imArr[a][2]+'</div><div class="textWhite" style="padding-left:110px">'+imArr[a][3]+'</div></div>';		} else {			document.getElementById('thum').innerHTML += '<div class="thumbsLayout" ><img src="'+imArr[a][0]+'" width="100" name="im1" onclick="showLarge(this); '+imArr[a][1]+';" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)" style="float:left"  /><div class="textRedSmall" style="padding-left:110px">'+imArr[a][2]+'</div><div class="textWhite" style="padding-left:110px">'+imArr[a][3]+'</div></div>';		}	}	for (l = 0;l < cliArr.length; l++)	{		document.getElementById('webImages').innerHTML += '<div style="float:left" class="textRedSmall"><a href="#" onclick="showLarge(this); '+cliArr[l][1]+';"><div style="padding-left:15px; padding-right:15px"><img src="'+cliArr[l][0]+'" border="0"  /></a></div><div style="padding-left:15px; padding-top:7px">'+cliArr[l][2]+'</div></div>';	}	if (imArr.length < 16)	{ 		pageThumbs = "";	} else if (imArr.length < 31)	{		pageThumbs = 'Page <a onclick="goPageThumbs(1);">1</a> <a onclick="goPageThumbs(2);">2</a>';	} else if (imArr.length < 46)	{		pageThumbs = 'Page <a onclick="goPageThumbs(1);">1</a> <a onclick="goPageThumbs(2);">2</a> <a onclick="goPageThumbs(3);">3</a>';	} else if (imArr.length < 61)	{		pageThumbs = 'Page <a onclick="goPageThumbs(1);">1</a> <a onclick="goPageThumbs(2);">2</a> <a onclick="goPageThumbs(3);">3</a> <a onclick="goPageThumbs(4);">4</a>';	}	if (cliArr.length < 5)	{		clientPage = "";	} else if (cliArr.length < 9)	{		clientPage = 'Page <a onclick="goPage(1);">1</a> <a onclick="goPage(2);">2</a>';	} else if (cliArr.length < 13)	{		clientPage = 'Page <a onclick="goPage(1);">1</a> <a onclick="goPage(2);">2</a> <a onclick="goPage(3);">3</a>';	} else if (cliArr.length < 17)	{		clientPage = 'Page <a onclick="goPage(1);">1</a> <a onclick="goPage(2);">2</a> <a onclick="goPage(3);">3</a> <a onclick="goPage(4);">4</a>';	} else if (cliArr.length <21)	{	    clientPage =	'Page <a onclick="goPage(1);">1</a> <a onclick="goPage(2);">2</a> <a onclick="goPage(3);">3</a> <a onclick="goPage(4);">4</a> <a onclick="goPage(5);">5</a>';	}	document.getElementById('pageNums').innerHTML = clientPage;}//mouse overfunction mouseOver(id){	id.style.cursor = 'pointer';	}function mouseOut(id){	id.style.cursor = '';}function mouseOver1(id, nu){	document.getElementById('cl'+nu).style.color = '#FFFFFF';	id.width = '210';	id.style.paddingLeft = '10px';	id.style.paddingRight = '10px';	id.style.paddingTop = '0px';	id.style.paddingBottom = '6px';	}function mouseOut1(id, nu){	document.getElementById('cl'+nu).style.color = '#aa0e14';	id.width = '200';	id.style.paddingLeft = '15px';	id.style.paddingRight = '15px';	id.style.paddingTop = '5px';	id.style.paddingBottom = '11px';}function mouseOverNews(id, nu){	document.getElementById('ima'+nu).width = '210';	document.getElementById('ima'+nu).style.marginLeft = '-5px';	document.getElementById('ima'+nu).style.marginRight = '-5px';	document.getElementById('ima'+nu).style.marginTop = '-5px';	document.getElementById('ima'+nu).style.marginBottom = '-5px';	}function mouseOutNews(id, nu){	document.getElementById('ima'+nu).width = '200';	document.getElementById('ima'+nu).style.marginLeft = '0px';	document.getElementById('ima'+nu).style.marginRight = '0px';	document.getElementById('ima'+nu).style.marginTop = '0px';	document.getElementById('ima'+nu).style.marginBottom = '0px';}