/**
 * wpbus.js
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * Required Version:
 * 	PHP5 or higher
 * 	WordPress 3.0 or higher
 *
 * If you find my work useful and you want to encourage the development of more free resources,
 * you can do it by donating...
 * 	paypal: yofox2008@163.com
 * 	alipay: yofox2008@163.com
 *
 * @author wpbus team <wpbus2010@163.com>
 * @link http://www.wpbus.com/
 * @copyright Copyright (C) 2010 wpbus.com All rights reserved.
 * @License: GNU General Public License v2.0
 * @License URI:http://www.gnu.org/licenses/gpl-2.0.html
 */

 /* It would be great if you’d leave the link back to my site in the footer */
$(function(){$("a").focus(function(){$(this).blur()})});$(document).ready(function(){$(".switch").click(function(){if($('.user-form').css("display")=="none")$('.user-form').fadeIn('fast');else $('.user-form').fadeOut('slow')})});$(function(){$("#nomatch-s").attr({value:"Put your keywords"}).blur(function(){$(this).val($(this).val())}).focus(function(){$(this).val("")});$(".btn").hover(function(){$(this).addClass("btnon")},function(){$(this).removeClass("btnon")})});jQuery(document).ready(function(){var size=600;var image=jQuery('.post-txt img');for(i=0;i<image.length;i++){var bigWidth=image[i].width;var bigHeight=image[i].height;if(bigWidth>size){var newHeight=bigHeight*size/bigWidth;image[i].width=size;image[i].height=newHeight}}});
