/* JavaScript Document
The Func
version: 2.4
Copyright (c) 2007 Hikaru Tamaki (PEARLPUPPY)
http://www.pearlpuppy.com
date: 27 Oct. 2007
last update: 8 Oct 2009
*/


// RollOver IMG
$(rolling);
function rolling() {
	var imgLoad = new Object();
	$('img.ovr').each(function(i) {
		var imgNormal = this.src;
		var dot = this.src.lastIndexOf('.');
		var imgRolling = this.src.substr(0, dot) + '_o' + this.src.substr(dot, 4);
		imgLoad[this.src] = new Image();
		imgLoad[this.src].src = imgRolling;
			$(this).hover(function() { 
			this.src = imgRolling; 
			},
			function() { this.src = imgNormal; 
			});
	});
}


// Open New Window
$(fresher);
function fresher() {
	$('a.openw').click(function() {
	this.target='_blank';
	});
	
}


// Lightbox-like : JLBP
$(function() {
	$('.gal a').lightBox();
});
 

// Striped Table : add class"eve" to even-numbered tags under the class"stripe" with jQuery
$(function() {
		$(".stripe tr:even").addClass("eve");
});

// jQuery Font Effect
$(document).ready(function(){
$(".dswht").FontEffect({
	shadow          :true, // Apply the shadow effect
    shadowColor     :"#fff",// The color of the shadow
    shadowOffsetTop :1,     // The top offset position (px)
    shadowOffsetLeft:0,     // The left offset position (px)
    shadowBlur      :1,     // The shadow blur 1=none,2=low,3=high
    shadowOpacity   :0.3,   // The opacity of the shadow (0=none,1=all)
    })
});

// EOF