function KHR_navHorcen( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#cde6f7';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#fff';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#fff';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#fff';
				}
		}
	}
}

function KHR_navHor( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#8ebae5';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#fff';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#37618d';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#fff';
				}
		}
	}
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* most popular module tab functions */
function MpStories( intWhich ) {
	if (intWhich == 1) {
		document.getElementById("MpStories1").className="active";
		document.getElementById("MparticleTab1").className="select";
		
		document.getElementById("MpStories2").className="closed";
		document.getElementById("MparticleTab2").className="article_table";
		
		document.getElementById("MpStories3").className="closed";
		document.getElementById("MparticleTab3").className="article_table";
		
		document.getElementById("MpStories4").className="closed";
		document.getElementById("MparticleTab4").className="article_table";
		
		document.getElementById("MpStories5").className="closed";
		document.getElementById("MparticleTab5").className="article_table";
		
		$('MparticleTab1').blur();
	}
	if (intWhich == 2) {
		document.getElementById("MpStories2").className="active";
		document.getElementById("MparticleTab2").className="select";
		
		document.getElementById("MpStories1").className="closed";
		document.getElementById("MparticleTab1").className="article_table";
		
		document.getElementById("MpStories3").className="closed";
		document.getElementById("MparticleTab3").className="article_table";
		
		document.getElementById("MpStories4").className="closed";
		document.getElementById("MparticleTab4").className="article_table";
		
		document.getElementById("MpStories5").className="closed";
		document.getElementById("MparticleTab5").className="article_table";
		
		$('MparticleTab2').blur();
	}
	if (intWhich == 3) {
		document.getElementById("MpStories3").className="active";
		document.getElementById("MparticleTab3").className="select";
		
		document.getElementById("MpStories1").className="closed";
		document.getElementById("MparticleTab1").className="article_table";
		
		document.getElementById("MpStories2").className="closed";
		document.getElementById("MparticleTab2").className="article_table";
		
		document.getElementById("MpStories4").className="closed";
		document.getElementById("MparticleTab4").className="article_table";
		
		document.getElementById("MpStories5").className="closed";
		document.getElementById("MparticleTab5").className="article_table";
		
		
		
		
		
		$('MparticleTab3').blur();
	}
	
	if (intWhich == 4) {
		document.getElementById("MpStories4").className="active";
		document.getElementById("MparticleTab4").className="select";
				
		document.getElementById("MpStories1").className="closed";
		document.getElementById("MparticleTab1").className="article_table";
		
		document.getElementById("MpStories2").className="closed";
		document.getElementById("MparticleTab2").className="article_table";
		
		document.getElementById("MpStories3").className="closed";
		document.getElementById("MparticleTab3").className="article_table";
		
		document.getElementById("MpStories5").className="closed";
		document.getElementById("MparticleTab5").className="article_table";
		
		
		
		
		
		$('MparticleTab4').blur();
	}
	
	if (intWhich == 5) {
		document.getElementById("MpStories5").className="active";
		document.getElementById("MparticleTab5").className="select";
		
		document.getElementById("MpStories1").className="closed";
		document.getElementById("MparticleTab1").className="article_table";
		
		document.getElementById("MpStories2").className="closed";
		document.getElementById("MparticleTab2").className="article_table";
		
		document.getElementById("MpStories3").className="closed";
		document.getElementById("MparticleTab3").className="article_table";
		
		document.getElementById("MpStories4").className="closed";
		document.getElementById("MparticleTab4").className="article_table";
		
		
		
		
		
		
		
		$('MparticleTab5').blur();
	}
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* most popular module
========================================================================= */





var Mpstories = 'stories';
var Mpvideo = 'video';
var Mptopic = 'topic';
var MpActiveId = 'stories';

function ToggleMP(idShow) {

	var elHide = $(MpActiveId);
	var elShow = $(idShow);

	// hide the red header
	var HideHead = idShow ;
	$(HideHead).className="active";
	

				

	new Effect.Parallel(
	[
		new Effect.SlideUp(elHide),
		new Effect.SlideDown(elShow)
	], {
		duration: 0.5
	});

	// show the previously active red header
	var ShowHead = MpActiveId;
	$(ShowHead).className = "closed";

	// reset the active id
	MpActiveId = idShow;

}

function ToggleMPIE(idShow) {
	
	

	if (Mpstories  != idShow) {
		if (Mpvideo  != idShow) {
			   document.getElementById("stories").className="closed";
			   document.getElementById("video").className="closed";
			   document.getElementById("topic").className="active";
			   
			   	
		}
	}
	
	if (Mptopic  != idShow) {
		if (Mpvideo  != idShow) {
			   document.getElementById("stories").className="active";
			   document.getElementById("video").className="closed";
			   document.getElementById("topic").className="closed";
			   	
		}
	}
	
	if (Mpstories  != idShow) {
		if (Mptopic  != idShow) {
			   document.getElementById("stories").className="closed";
			   document.getElementById("video").className="active";
			   document.getElementById("topic").className="closed";
			   	
		}
	}
	
}

/*========================================================================= */
/* main page video box (domestic & intl) 
===================================================================== */
var cnnMpVpCurPage = 1;
var cnnMpVpCurPage1 = 1;
var cnnMpVpCurPage2 = 1;
var cnnMpVpCurPage3 = 1;
var cnnMpVpLock = false;
var cnnMpVpLock1 = false;
var cnnMpVpLock2 = false;
var cnnMpVpLock3 = false;

function cnnMpVpBlur( lnk ) {
	try {
		lnk.blur();
	} catch(e) {};
}

function cnnMpVpBlur1( lnk ) {
	try {
		lnk.blur();
	} catch(e) {};
}

function cnnMpVpBlur2( lnk ) {
	try {
		lnk.blur();
	} catch(e) {};
}

function cnnMpVpBlur3( lnk ) {
	try {
		lnk.blur();
	} catch(e) {};
}
/*
 * cnnMpVpNext() and cnnMpVpPrev()
 * are called from previous and next buttons
 */
function cnnMpVpNext( lnk ) {
	cnnMpVpBlur( lnk );
	if((cnnMpVpCurPage < 3)&&(!cnnMpVpLock)) {
		cnnMpVpSlideLeft();
	}
}

function cnnMpVpNext1( lnk ) {
	cnnMpVpBlur1( lnk );
	if((cnnMpVpCurPage1 < 3)&&(!cnnMpVpLock1)) {
		cnnMpVpSlideLeft1();
	}
}

function cnnMpVpNext2( lnk ) {
	cnnMpVpBlur2( lnk );
	if((cnnMpVpCurPage2 < 3)&&(!cnnMpVpLock2)) {
		cnnMpVpSlideLeft2();
	}
}

function cnnMpVpNext3( lnk ) {
	cnnMpVpBlur3( lnk );
	if((cnnMpVpCurPage3 < 3)&&(!cnnMpVpLock3)) {
		cnnMpVpSlideLeft3();
	}
}

/********************************/
function cnnMpVpPrev( lnk ) {
	cnnMpVpBlur( lnk );
	if((cnnMpVpCurPage > 1)&&(!cnnMpVpLock)) {
		cnnMpVpSlideRight();
	}
}

function cnnMpVpPrev1( lnk ) {
	cnnMpVpBlur1( lnk );
	if((cnnMpVpCurPage1 > 1)&&(!cnnMpVpLock1)) {
		cnnMpVpSlideRight1();
	}
}

function cnnMpVpPrev2( lnk ) {
	cnnMpVpBlur2( lnk );
	if((cnnMpVpCurPage2 > 1)&&(!cnnMpVpLock2)) {
		cnnMpVpSlideRight2();
	}
}
function cnnMpVpPrev3( lnk ) {
	cnnMpVpBlur3( lnk );
	if((cnnMpVpCurPage3 > 1)&&(!cnnMpVpLock3)) {
		cnnMpVpSlideRight3();
	}
}
/*
 * cnnMpVpPage( intPage )
 * called from clicking on gray dot icon
 */
function cnnMpVpPage( intPage, lnk ) {
	cnnMpVpBlur( lnk );
	if((cnnMpVpCurPage != intPage)&&(!cnnMpVpLock)) {
		if(cnnMpVpCurPage < intPage) {
			if((intPage - cnnMpVpCurPage) > 1) {
				cnnMpVpSlideDoubleLeft();
			}
			else {
				cnnMpVpSlideLeft();
			}
		}
		else {
			if((cnnMpVpCurPage - intPage) > 1) {
				cnnMpVpSlideDoubleRight();
			}
			else {
				cnnMpVpSlideRight();
			}
		}
	}
}

function cnnMpVpPage1( intPage, lnk ) {
	cnnMpVpBlur1( lnk );
	if((cnnMpVpCurPage1 != intPage)&&(!cnnMpVpLock1)) {
		if(cnnMpVpCurPage1 < intPage) {
			if((intPage - cnnMpVpCurPage1) > 1) {
				cnnMpVpSlideDoubleLeft1();
			}
			else {
				cnnMpVpSlideLeft1();
			}
		}
		else {
			if((cnnMpVpCurPage1 - intPage) > 1) {
				cnnMpVpSlideDoubleRight1();
			}
			else {
				cnnMpVpSlideRight1();
			}
		}
	}
}


function cnnMpVpPage2( intPage, lnk ) {
	cnnMpVpBlur2( lnk );
	if((cnnMpVpCurPage2 != intPage)&&(!cnnMpVpLock2)) {
		if(cnnMpVpCurPage2 < intPage) {
			if((intPage - cnnMpVpCurPage2) > 1) {
				cnnMpVpSlideDoubleLeft2();
			}
			else {
				cnnMpVpSlideLeft2();
			}
		}
		else {
			if((cnnMpVpCurPage2 - intPage) > 1) {
				cnnMpVpSlideDoubleRight2();
			}
			else {
				cnnMpVpSlideRight2();
			}
		}
	}
}

function cnnMpVpPage3( intPage, lnk ) {
	cnnMpVpBlur3( lnk );
	if((cnnMpVpCurPage3 != intPage)&&(!cnnMpVpLock3)) {
		if(cnnMpVpCurPage3 < intPage) {
			if((intPage - cnnMpVpCurPage3) > 1) {
				cnnMpVpSlideDoubleLeft3();
			}
			else {
				cnnMpVpSlideLeft3();
			}
		}
		else {
			if((cnnMpVpCurPage3 - intPage) > 1) {
				cnnMpVpSlideDoubleRight3();
			}
			else {
				cnnMpVpSlideRight3();
			}
		}
	}
}
/**************************/


function cnnLockMpVp( intDur ) {
	var cnnLockDur = intDur * 100;
	cnnMpVpLock = true;
	setTimeout(function() { cnnMpVpLock = false; },cnnLockDur);
}

function cnnLockMpVp1( intDur ) {
	var cnnLockDur1 = intDur * 100;
	cnnMpVpLock1 = true;
	setTimeout(function() { cnnMpVpLock1 = false; },cnnLockDur1);
}

function cnnLockMpVp2( intDur ) {
	var cnnLockDur2 = intDur * 100;
	cnnMpVpLock2 = true;
	setTimeout(function() { cnnMpVpLock2 = false; },cnnLockDur2);
}

function cnnLockMpVp3( intDur ) {
	var cnnLockDur3 = intDur * 100;
	cnnMpVpLock3 = true;
	setTimeout(function() { cnnMpVpLock3 = false; },cnnLockDur3);
}
/************/

function cnnMpVpSlideLeft() {
	cnnLockMpVp(3);
	new Effect.MoveBy( 'cnnMpVidCtnt0', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt1', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt2', 0, -335 , {duration: 0.8} );
	cnnMpVpCurPage++;
	cnnMpVpMoveDot();
	cnnMpVpUpdateBtns();
}

function cnnMpVpSlideLeft1() {
	cnnLockMpVp1(3);
	new Effect.MoveBy( 'cnnMpVidCtnt10', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt11', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt12', 0, -335 , {duration: 0.8} );
	cnnMpVpCurPage1++;
	cnnMpVpMoveDot1();
	cnnMpVpUpdateBtns1();
}

function cnnMpVpSlideLeft2() {
	cnnLockMpVp2(3);
	new Effect.MoveBy( 'cnnMpVidCtnt20', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt21', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt22', 0, -335 , {duration: 0.8} );
	cnnMpVpCurPage2++;
	cnnMpVpMoveDot2();
	cnnMpVpUpdateBtns2();
}

function cnnMpVpSlideLeft3() {
	cnnLockMpVp3(3);
	new Effect.MoveBy( 'cnnMpVidCtnt30', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt31', 0, -335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt32', 0, -335 , {duration: 0.8} );
	cnnMpVpCurPage3++;
	cnnMpVpMoveDot3();
	cnnMpVpUpdateBtns3();
}

/************************/

function cnnMpVpSlideDoubleLeft() {
	cnnLockMpVp(6);
	new Effect.MoveBy( 'cnnMpVidCtnt0', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt1', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt2', 0, -670 , {duration: 1.6} );
	cnnMpVpCurPage++;
	cnnMpVpCurPage++;
	cnnMpVpMoveDot();
	cnnMpVpUpdateBtns();
}

function cnnMpVpSlideDoubleLeft1() {
	cnnLockMpVp1(6);
	new Effect.MoveBy( 'cnnMpVidCtnt10', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt11', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt12', 0, -670 , {duration: 1.6} );
	cnnMpVpCurPage1++;
	cnnMpVpCurPage1++;
	cnnMpVpMoveDot1();
	cnnMpVpUpdateBtns1();
}

function cnnMpVpSlideDoubleLeft2() {
	cnnLockMpVp2(6);
	new Effect.MoveBy( 'cnnMpVidCtnt20', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt21', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt22', 0, -670 , {duration: 1.6} );
	cnnMpVpCurPage2++;
	cnnMpVpCurPage2++;
	cnnMpVpMoveDot2();
	cnnMpVpUpdateBtns2();
}

function cnnMpVpSlideDoubleLeft3() {
	cnnLockMpVp3(6);
	new Effect.MoveBy( 'cnnMpVidCtnt30', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt31', 0, -670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt32', 0, -670 , {duration: 1.6} );
	cnnMpVpCurPage3++;
	cnnMpVpCurPage3++;
	cnnMpVpMoveDot3();
	cnnMpVpUpdateBtns3();
}

/****************************/
function cnnMpVpSlideRight() {
	cnnLockMpVp(3);
	new Effect.MoveBy( 'cnnMpVidCtnt0', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt1', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt2', 0, 335 , {duration: 0.8} );
	cnnMpVpCurPage--;
	cnnMpVpMoveDot();
	cnnMpVpUpdateBtns();
}

function cnnMpVpSlideRight1() {
	cnnLockMpVp1(3);
	new Effect.MoveBy( 'cnnMpVidCtnt10', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt11', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt12', 0, 335 , {duration: 0.8} );
	cnnMpVpCurPage1--;
	cnnMpVpMoveDot1();
	cnnMpVpUpdateBtns1();
}

function cnnMpVpSlideRight2() {
	cnnLockMpVp2(3);
	new Effect.MoveBy( 'cnnMpVidCtnt20', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt21', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt22', 0, 335 , {duration: 0.8} );
	cnnMpVpCurPage2--;
	cnnMpVpMoveDot2();
	cnnMpVpUpdateBtns2();
}

function cnnMpVpSlideRight3() {
	cnnLockMpVp3(3);
	new Effect.MoveBy( 'cnnMpVidCtnt30', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt31', 0, 335 , {duration: 0.8} );
	new Effect.MoveBy( 'cnnMpVidCtnt32', 0, 335 , {duration: 0.8} );
	cnnMpVpCurPage3--;
	cnnMpVpMoveDot3();
	cnnMpVpUpdateBtns3();
}

/************************/

function cnnMpVpSlideDoubleRight() {
	cnnLockMpVp(6);
	new Effect.MoveBy( 'cnnMpVidCtnt0', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt1', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt2', 0, 670 , {duration: 1.6} );
	cnnMpVpCurPage--;
	cnnMpVpCurPage--;
	cnnMpVpMoveDot();
	cnnMpVpUpdateBtns();
}

function cnnMpVpSlideDoubleRight1() {
	cnnLockMpVp1(6);
	new Effect.MoveBy( 'cnnMpVidCtnt10', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt11', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt12', 0, 670 , {duration: 1.6} );
	cnnMpVpCurPage1--;
	cnnMpVpCurPage1--;
	cnnMpVpMoveDot1();
	cnnMpVpUpdateBtns1();
}

function cnnMpVpSlideDoubleRight2() {
	cnnLockMpVp2(6);
	new Effect.MoveBy( 'cnnMpVidCtnt20', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt21', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt22', 0, 670 , {duration: 1.6} );
	cnnMpVpCurPage2--;
	cnnMpVpCurPage2--;
	cnnMpVpMoveDot2();
	cnnMpVpUpdateBtns2();
}

function cnnMpVpSlideDoubleRight3() {
	cnnLockMpVp3(6);
	new Effect.MoveBy( 'cnnMpVidCtnt30', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt31', 0, 670 , {duration: 1.6} );
	new Effect.MoveBy( 'cnnMpVidCtnt32', 0, 670 , {duration: 1.6} );
	cnnMpVpCurPage3--;
	cnnMpVpCurPage3--;
	cnnMpVpMoveDot3();
	cnnMpVpUpdateBtns3();
}
/*************************/
function cnnMpDotMouseOver( id ) {
	$(id).src = 'images/gray_active_status.gif';
}

function cnnMpDotMouseOver1( id ) {
	$(id).src = 'images/gray_active_status.gif';
}

function cnnMpDotMouseOver2( id ) {
	$(id).src = 'images/gray_active_status.gif';
}
function cnnMpDotMouseOver3( id ) {
	$(id).src = 'images/gray_active_status.gif';
}
/**************************/
// image change functions
function cnnMpVpMoveDot() {
	for(i=1;i<4;i++) {
		$('cnnMpVidDot'+i).src = 'images/gray_status.gif';
		$('cnnMpVidDot'+i).onmouseover = function() {this.src = 'images/gray_active_status.gif';}
		$('cnnMpVidDot'+i).onmouseout = function() {this.src = 'images/gray_status.gif';}
	}
	$('cnnMpVidDot'+cnnMpVpCurPage).src = 'images/gray_active_status.gif';
	$('cnnMpVidDot'+cnnMpVpCurPage).onmouseover = function() {}
	$('cnnMpVidDot'+cnnMpVpCurPage).onmouseout = function() {}
}

function cnnMpVpMoveDot1() {
	for(i=1;i<4;i++) {
		$('cnnMpVidDot1'+i).src = 'images/gray_status.gif';
		$('cnnMpVidDot1'+i).onmouseover = function() {this.src = 'images/gray_active_status.gif';}
		$('cnnMpVidDot1'+i).onmouseout = function() {this.src = 'images/gray_status.gif';}
	}
	$('cnnMpVidDot1'+cnnMpVpCurPage1).src = 'images/gray_active_status.gif';
	$('cnnMpVidDot1'+cnnMpVpCurPage1).onmouseover = function() {}
	$('cnnMpVidDot1'+cnnMpVpCurPage1).onmouseout = function() {}
}

function cnnMpVpMoveDot2() {
	for(i=1;i<4;i++) {
		$('cnnMpVidDot2'+i).src = 'images/gray_status.gif';
		$('cnnMpVidDot2'+i).onmouseover = function() {this.src = 'images/gray_active_status.gif';}
		$('cnnMpVidDot2'+i).onmouseout = function() {this.src = 'images/gray_status.gif';}
	}
	$('cnnMpVidDot2'+cnnMpVpCurPage2).src = 'images/gray_active_status.gif';
	$('cnnMpVidDot2'+cnnMpVpCurPage2).onmouseover = function() {}
	$('cnnMpVidDot2'+cnnMpVpCurPage2).onmouseout = function() {}
}

function cnnMpVpMoveDot3() {
	for(i=1;i<4;i++) {
		$('cnnMpVidDot3'+i).src = 'images/gray_status.gif';
		$('cnnMpVidDot3'+i).onmouseover = function() {this.src = 'images/gray_active_status.gif';}
		$('cnnMpVidDot3'+i).onmouseout = function() {this.src = 'images/gray_status.gif';}
	}
	$('cnnMpVidDot3'+cnnMpVpCurPage3).src = 'images/gray_active_status.gif';
	$('cnnMpVidDot3'+cnnMpVpCurPage3).onmouseover = function() {}
	$('cnnMpVidDot3'+cnnMpVpCurPage3).onmouseout = function() {}
}

/**************************/
function cnnMpVpUpdateBtns() {
	if(cnnMpVpCurPage > 1) {
		$('cnnMpVidBtnL').style.cursor ='auto';
		$('cnnMpVidBtnL').src = 'images/left_red_btn.gif';
		$('cnnMpVidBtnL').onmouseover = function() { this.src='images/left_red_btn.gif'; }
		$('cnnMpVidBtnL').onmouseout = function() { this.src='images/left_red_btn.gif'; }
	}
	else {
		$('cnnMpVidBtnL').style.cursor ='default';
		$('cnnMpVidBtnL').src = 'images/left_gray_btn.gif';
		$('cnnMpVidBtnL').onmouseover = function() {}
		$('cnnMpVidBtnL').onmouseout = function() {}
	}

	if(cnnMpVpCurPage < 3) {
		$('cnnMpVidBtnR').style.cursor ='auto';
		$('cnnMpVidBtnR').src = 'images/right_red_btn.gif';
		$('cnnMpVidBtnR').onmouseover = function() {this.src = 'images/right_red_btn.gif';}
		$('cnnMpVidBtnR').onmouseout = function() {this.src = 'images/right_red_btn.gif';}
	}
	else {
		$('cnnMpVidBtnR').style.cursor ='default';
		$('cnnMpVidBtnR').src = 'images/right_gray_btn.gif';
		$('cnnMpVidBtnR').onmouseover = function() {}
		$('cnnMpVidBtnR').onmouseout = function() {}
	}
}

function cnnMpVpUpdateBtns1() {
	if(cnnMpVpCurPage1 > 1) {
		$('cnnMpVidBtnL1').style.cursor ='auto';
		$('cnnMpVidBtnL1').src = 'images/left_red_btn.gif';
		$('cnnMpVidBtnL1').onmouseover = function() { this.src='images/left_red_btn.gif'; }
		$('cnnMpVidBtnL1').onmouseout = function() { this.src='images/left_red_btn.gif'; }
	}
	else {
		$('cnnMpVidBtnL1').style.cursor ='default';
		$('cnnMpVidBtnL1').src = 'images/left_gray_btn.gif';
		$('cnnMpVidBtnL1').onmouseover = function() {}
		$('cnnMpVidBtnL1').onmouseout = function() {}
	}

	if(cnnMpVpCurPage1 < 3) {
		$('cnnMpVidBtnR1').style.cursor ='auto';
		$('cnnMpVidBtnR1').src = 'images/right_red_btn.gif';
		$('cnnMpVidBtnR1').onmouseover = function() {this.src = 'images/right_red_btn.gif';}
		$('cnnMpVidBtnR1').onmouseout = function() {this.src = 'images/right_red_btn.gif';}
	}
	else {
		$('cnnMpVidBtnR1').style.cursor ='default';
		$('cnnMpVidBtnR1').src = 'images/right_gray_btn.gif';
		$('cnnMpVidBtnR1').onmouseover = function() {}
		$('cnnMpVidBtnR1').onmouseout = function() {}
	}
}

function cnnMpVpUpdateBtns2() {
	if(cnnMpVpCurPage2 > 1) {
		$('cnnMpVidBtnL2').style.cursor ='auto';
		$('cnnMpVidBtnL2').src = 'images/left_red_btn.gif';
		$('cnnMpVidBtnL2').onmouseover = function() { this.src='images/left_red_btn.gif'; }
		$('cnnMpVidBtnL2').onmouseout = function() { this.src='images/left_red_btn.gif'; }
	}
	else {
		$('cnnMpVidBtnL2').style.cursor ='default';
		$('cnnMpVidBtnL2').src = 'images/left_gray_btn.gif';
		$('cnnMpVidBtnL2').onmouseover = function() {}
		$('cnnMpVidBtnL2').onmouseout = function() {}
	}

	if(cnnMpVpCurPage2 < 3) {
		$('cnnMpVidBtnR2').style.cursor ='auto';
		$('cnnMpVidBtnR2').src = 'images/right_red_btn.gif';
        $('cnnMpVidBtnR2').onmouseover = function() {this.src = 'images/right_red_btn.gif';}
		$('cnnMpVidBtnR2').onmouseout = function() {this.src = 'images/right_red_btn.gif';}
	}
	else {
		$('cnnMpVidBtnR2').style.cursor ='default';
		$('cnnMpVidBtnR2').src = 'images/right_gray_btn.gif';
		$('cnnMpVidBtnR2').onmouseover = function() {}
		$('cnnMpVidBtnR2').onmouseout = function() {}
	}
}

function cnnMpVpUpdateBtns3() {
	if(cnnMpVpCurPage3 > 1) {
		$('cnnMpVidBtnL3').style.cursor ='auto';
		$('cnnMpVidBtnL3').src = 'images/left_red_btn.gif';
		$('cnnMpVidBtnL3').onmouseover = function() { this.src='images/left_red_btn.gif'; }
		$('cnnMpVidBtnL3').onmouseout = function() { this.src='images/left_red_btn.gif'; }
	}
	else {
		$('cnnMpVidBtnL3').style.cursor ='default';
		$('cnnMpVidBtnL3').src = 'images/left_gray_btn.gif';
		$('cnnMpVidBtnL3').onmouseover = function() {}
		$('cnnMpVidBtnL3').onmouseout = function() {}
	}

	if(cnnMpVpCurPage3 < 3) {
		$('cnnMpVidBtnR3').style.cursor ='auto';
		$('cnnMpVidBtnR3').src = 'images/right_red_btn.gif';
        $('cnnMpVidBtnR3').onmouseover = function() {this.src = 'images/right_red_btn.gif';}
		$('cnnMpVidBtnR3').onmouseout = function() {this.src = 'images/right_red_btn.gif';}
	}
	else {
		$('cnnMpVidBtnR3').style.cursor ='default';
		$('cnnMpVidBtnR3').src = 'images/right_gray_btn.gif';
		$('cnnMpVidBtnR3').onmouseover = function() {}
		$('cnnMpVidBtnR3').onmouseout = function() {}
	}
}

/* end main page video box
===================================================================== */



