function window_pop(objId) {
	var obj = document.getElementById(objId);
	if (obj.style.display == 'none') {
		obj.style.display = 'block';
	} else {
		obj.style.display = 'none';
	}
}
//image protect
/*
jQuery.fn.protectImage = function(settings) {
	settings = jQuery.extend({
		image: 'blank.gif',
		zIndex: 10
	}, settings);
	return this.each(function() {
		var position = $(this).position();
		var height = $(this).height();
		var width = $(this).width();
		$('<img />').attr({
			width: width,
			height: height,
			src: settings.image
		}).css({
			border: '1px solid #f00',
			top: position.top,
			left: position.left,
			position: 'absolute',
			zIndex: settings.zIndex
		}).appendTo('body')
	});
};
jQuery(window).bind('load', function() {  
	jQuery('img.protect').protectImage();  
});
*/
//for jQuery
jQuery(document).ready(function() {
	jQuery(".welcome").fadeOut(15000,function(){
		jQuery(".welcome").hide();
	});
	Nifty("li.page_item a","normal");
	Nifty("li.current_page_item a","normal");
	Nifty("li.admintab a","normal");
});
