CD.SyllabicSound = new Class({
	initialize: function() {
		var obj = new Swiff('syllabicsound.swf?lang=' + CD.Conf.keyboardDialect + '&soundname=CD.PS&path=' +  CD.Conf.path + 'keyboard/&current=' + CD.Conf.currentLayout + '&time=' + $time(),{
			id: 'playIE',
			width: 10,
			height: 10,
			allowScriptAccess: 'sameDomain',
            wmode: "transparent",
			quality: "high",
			name: "play"
		});
		$('divsound').appendChild(obj);
		this.swiff = obj;
	},
	playSound: function(code, shift) {
		if ('On' == CD.Conf.syllabicTableSound) {
			Swiff.remote(this.swiff, 'playSound', code, shift);
		}
	}
	
});
