function menuFix() {
var sfEls = document.getElementById("nav").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseDown=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseUp=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),

"");
}
}
}
window.onload=menuFix;

function job_open(url)
{
	open_window = window.open (url, "newwindow", "height=480, width=600, top=200, left=80, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes,location=yes, status=yes");
}
function job_open2(url)
{
	open_window2 = window.open (url, "newwindow", "height=480, width=900, top=100, left=50, toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=no");
	open_window2.focus();
}

/*
* Í¼Æ¬µã»÷ºó±äÊÓÆµ
*/
function pic2video(id,url,w,h){
	document.getElementById(id).innerHTML = '<embed src="http://www.youtube.com/v/' + url + '&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="' + w +'" height="' + h +'"></embed>';
}