function clipSelected(w) {
	var clipIndex = cliplinks[w];
	var objhtml = "<object type=\"application/x-shockwave-flash\" data=\"FlowPlayer.swf\" width=\"357\" height=\"300\" id=\"FWplaystos\" />";
	objhtml += "<param name=\"allowScriptAccess\" value=\"sameDomain\" />";
	objhtml += "<param name=\"movie\" value=\"FlowPlayer.swf\" />";
	objhtml += "<param name=\"quality\" value=\"high\" />";
	objhtml += "<param name=\"scale\" value=\"noScale\" />";
	objhtml += "<param name=\"wmode\" value=\"transparent\" />";
	objhtml += "<param name=\"flashvars\" value=\"config={ bufferingAnimationColor: 0x5b211e, controlsAreaBorderColor: 0x761616, progressBarColor1: 0x761616, progressBarColor2: 0xe3953e , progressBarBorderColor1: 0xF4C66F, progressBarBorderColor2: 0xE3953E, bufferBarColor1: 0xf4c66f, bufferBarColor2: 0xE3953E, showMenu: false, showPlayListButtons: false, showFullScreenButton:false, autoPlay: true, loop: false, timeDisplayFontColor: 0xE3953E ,initialScale: 'fit', playList: [ "+clips[clipIndex]+" ] }\" />";
	objhtml += "</object> ";
	fc = document.getElementById("flashcont");
	fc.innerHTML = objhtml;
	myimgname = "th"+w;
	document.images[myimgname].src = clipth[actclip];
	
	cliplinks[w] = actclip;
	
	actclip = clipIndex;
	return false;
}


