// JavaScript Document
function ccd_check(){
	if (window.getSelection){
		txt = "" + window.getSelection();
		if (txt.length > 9) {
			document.getElementById('yoyo').select();
		}
	}
	else if (document.getSelection) {
		txt = "" + document.getSelection();
		if (txt.length > 9) {
			document.getElementById('yoyo').select();
		}
	}
	else if (document.selection){
		txt = "" + document.selection.createRange().text;
		if (txt.length > 9) {
			var r1 = document.body.createTextRange();
			r1.moveToElementText(document.getElementById('yoyo1'));
			r1.setEndPoint("EndToEnd", r1);
			r1.moveStart('character', 0);
			r1.moveEnd('character', 0);
			r1.select();
		}
	}
	else 
		return "Nope";
	return txt;
}


