sfHover = function() {
	var sfElsd = document.getElementById("nav");
	if(sfElsd==null) return;
	
	var sfEls = sfElsd.getElementsByTagName("LI");
	//var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function kamp_pop(type, file, w, h){
	var w = w || false;
	var h = h || false;
	
	var request ='./kampan/tpl/popup.php?type=' + type + '&file=' + file;
	
	if(w && h){
		var props='top=100,left=100,scrollbars=1,width=' + w + ',height=' + h;		
		wink=window.open(request,'kampan',props);
	}else{
		var props='top=100px,left=100px,scrollbars=1';
		wink=window.open(request,'kampan',props);	
	}

	wink.focus();
}


