
/* =============================================================
	
	main.js
	
	For LYRICRUSH WEB SITE
	http://www.lyricrush.com
	
============================================================== */

/*==============================================================

	[ /0 ] Include_js Function
	
============================================================= */
include_js("js/smoothscroll.js");
include_js("js/jquery.droppy.js");
include_js("js/facebox.js");

function include_js(js_src)
{
	var js_type, js_char;
	js_type = "text/javascript";
	js_char = "utf-8";
	document.write('<script type="' + js_type + '" src="'  + js_src + '" charset="' + js_char + '"></script>');
}

/* =============================================================
	
	Stripe Function

============================================================== */


$(function(){
	
    $('#main_menu').droppy();
	
	$('ul.stripe').each(function(){
		$(this).find('li:odd').addClass('even');
		$(this).find('li:even').addClass('odd');
	});
	$('dl.stripe').each(function(){
		$(this).find('dd:odd').addClass('even');
		$(this).find('dd:even').addClass('odd');
	});
	$('table').each(function(){
		$(this).find('tr:odd').addClass('even');
		$(this).find('tr:even').addClass('odd');
	});
});


/* =============================================================
	
	FAQ Function

============================================================== */

$(document).ready(function() {
	$("div.qa_container dt").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	$("div.qa_container dd").css("display","none");
	$("div.qa_container dt").click(function(){
		$(this).next().slideToggle("normal");
		});
});


/* =============================================================
	
	facebox Function

============================================================== */

jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox()
}) 


/* =============================================================
	
	spam mail Function

============================================================== */




