$(function() {
	
	/*content slider*/											
	featuredcontentslider.init({
		id: "slider",  //id of main slider DIV
		contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
		toc: "markup",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
		nextprev: ["", ""],  //labels for "prev" and "next" links. Set to "" to hide.
		revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
		enablefade: [true, 0.1],  //[true/false, fadedegree]
		autorotate: [true, 2000],  //[true/false, pausetime]
		onChange: function(previndex, curindex){  //event handler fired whenever script changes slide
			//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
			//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
		}
	})
	/*content slider*/
	
	/*Dropdown Main Menu*/
	sfHover = function() {
		
		/*buat lytogames*/
		var sfEls = document.getElementById("selgamemenuatas").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"), "");
			}
		}
		/*end buat lytogames*/
	}
	if (window.attachEvent) window.attachEvent("onload", sfHover);
	/*End Dropdown Main Menu*/	

	
});
