<!--/ obj /-->
function obj(id)
{
	return document.getElementById(id);
	}
<!--/ End /-->

<!--/ nav-m /-->
function sm(id)
{
	obj(id).style.display="block";
	}
function hm(id)
{
	obj(id).style.display="none";
	}
<!--/ End / -->

<!--/ News /-->
function TagH(n)
{
	for(var i=1;i<=2;i++)
	{
		obj('tag'+i).className="tagF";
		obj('tagAe'+i).className='AeH';
		}
		obj('tag'+n).className="tagN";
		obj('tagAe'+n).className='AeS';
		}
<!--/ End /-->
//callFlash
function flash(ur,w,h){ 
document.write('<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="'+w+'" height="'+h+'">'); 
document.write('<param name="movie" value="'+ur+'">'); 
document.write('<param name="quality" value="high"> '); 
document.write('<param name="wmode" value="transparent"> '); 
document.write('<param name="menu" value="false"> '); 
document.write('<embed src="'+ur+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="'+w+'" height="'+h+'" quality="High" wmode="transparent">'); 
document.write('</embed>'); 
document.write('</object>'); 
} 
//png
//alert(navigator.userAgent.indexOf("MSIE 6.0"));
if(navigator.userAgent.indexOf("MSIE 6.0")>0){
var clear="http://www.ccdaye.com/images/clear.gif"

pngfix=function(){	var els=document.getElementsByTagName('*');var ip=/\.png/i;var i=els.length;while(i-- >0){var el=els[i];var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear;}else{var elb=el.currentStyle.backgroundImage;if(elb.match(ip)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+'px';es.backgroundImage='none';var elkids=el.getElementsByTagName('*');if (elkids){var j=elkids.length;if(el.currentStyle.position!="absolute")es.position='static';while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";}}}}}
window.attachEvent('onload',pngfix);
}


function CallSWF(strURL,nWidth,nHeight,strBkColor,strID,strAlignMode,strQuality,strFlashVars)
{
	var embedTxt;
	embedTxt = "<embed";
	if (strURL==null)
	{
	return;
	}
	embedTxt += ' src="'+strURL+'"';
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	if (nHeight)
	{
	document.write(' height="'+nHeight+'"');
	embedTxt += ' height="'+nHeight+'"';
	}
	if (nWidth)
	{
	document.write(' width="'+nWidth+'"');
	embedTxt += ' width="'+nWidth+'"';
	}
	if (strID)
	{ 
	document.write(' id="'+strID+'"');
	embedTxt += ' name="'+strID+'"';
	}
	if (strAlignMode)
	{
	document.write(' align="'+strAlignMode+'"');
	embedTxt += ' align="'+strAlignMode+'"';
	} 
	document.write('>');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="WMode" value="Transparent">');
	document.writeln('<param name="WMode" value="opaque">'); 
	embedTxt += ' menu="false"';
	document.writeln('<param name="allowScriptAccess" value="always" />');
	embedTxt += ' allowScriptAccess="always"';
	if (strFlashVars)
	{
	document.writeln('<PARAM NAME=FlashVars VALUE="'+strFlashVars+'">');
	embedTxt += ' FlashVars="'+strFlashVars+'"';
	} 
	document.writeln('<param name="movie" value="'+strURL+'" />');
	if (strQuality)
	{
	document.writeln('<param name="quality" value="'+strQuality+'" />');
	embedTxt += ' quality="'+strQuality+'"';
	}
	else
	{
	document.writeln('<param name="quality" value="High" />');
	embedTxt += ' quality="High"';
	}
	if (strBkColor)
	{
	document.writeln('<param name="bgcolor" value="'+strBkColor+'" />');
	embedTxt += ' bgcolor="'+strBkColor+'"';
	}
	embedTxt += ' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect="true" ></embed>';
	document.writeln(embedTxt);
	document.writeln('</object>');
	}

//slideTag
function sTag(n)
{
	for(var i=1;i<=2;i++)
	{
		obj('tag'+i).className="overTag";
		obj('tagAe'+i).className='Hide';
		}
		obj('tag'+n).className="outTag";
		obj('tagAe'+n).className='Show';
		}
