//openBrowserWindow

function flashControl(SRC,WIDTH,HEIGHT,FLASHVARS,WMODE,BGCOLOR) {

	while ( FLASHVARS.search(' ') != -1 ) {
		FLASHVARS = FLASHVARS.replace(' ', '%20');
	}

	document.write('<object type="application/x-shockwave-flash" data=' + SRC+ ' width=' + WIDTH + ' height=' + HEIGHT + '>');
	document.write('<!--[if IE]><param name="movie" value=' + SRC+ '>< ![endif]-->');

	if ( FLASHVARS ) { document.write('<param name="flashvars" value=' + FLASHVARS + '>'); }
	if ( WMODE ) { document.write('<param name="wmode" value=' + WMODE + '>'); }
	if ( BGCOLOR ) { document.write('<param name="bgcolor" value=' + BGCOLOR + '>'); }

	document.write('<param name="quality" value="high">');
	document.write('<\/object>');
}


function HelpOpenBrWindow(theURL,winName,wid,heig) { //v2.0

	var posTop = 0;
	var posLeft = 0;

	posTop = parseInt((screen.height/2)-(heig/2));
	posLeft = parseInt((screen.width/2)-(wid/2));

	win = window.open(theURL, winName, "width="+wid+",height="+heig+",left="+posLeft+",top="+posTop+",scrollbars=no,resizable=no");
}

// imgChange

function img_over(img_name,img_src) {
	document[img_name].src=img_src;
}
function img_out(img_name,img_src) {
	document[img_name].src=img_src;
}

// bgColorChange

function onColor(bgcolor) {
	bgcolor.style.backgroundColor='E5F2FF';
}
function offColor(bgcolor) {
	bgcolor.style.backgroundColor='FFF4BC';
}

