if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.dropcontent{display:none;}\n')
document.write('</style>\n')
}




function contractall_clip(){
if (document.getElementById){
var inc=0
while (document.getElementById("dropmsg_clip"+inc)){
document.getElementById("dropmsg_clip"+inc).style.display="none"
inc++
}
}
}

if (window.addEventListener)
window.addEventListener("load", expandone_clip, false)
else if (window.attachEvent)
window.attachEvent("onload", expandone_clip)
	
	
function ham_clip(id, video) {
	var s1 = new SWFObject("player.swf","ply","531","450","9","#FFFFFF");
	s1.addParam("allowfullscreen","true");
	s1.addParam("allowscriptaccess","always");
	s1.addParam("flashvars","file="+video+"&image=preview.jpg");
	s1.write(id);
}


function expandone_clip(){
	if (document.getElementById){
		var selectedItem=document.dropmsgform_clip.dropmsgoption_clip.selectedIndex
		contractall_clip()
		document.getElementById("dropmsg_clip"+selectedItem).style.display="block"
	}
}

function expandone_link(id){
	if (document.getElementById){
		//var selectedItem=document.dropmsgform_clip.dropmsgoption_clip.selectedIndex
		contractall_clip()
		document.getElementById("dropmsg_clip"+id).style.display="block"
	}
}