// JavaScript Document








var flash = "newlaunch";

$(document).ready(function(){
	
						   $('input.search').click(function(){ $(this).attr({ value: '' }); });
						   $(".showpr").click(function(){$(".pr").slideToggle(); return false});
						   
$('.qrlinkpop').click(function(){
			$(this).next("img").fadeIn("fast");
			return false;
		});

$('.qrlinkimg').click(function(){
			$(this).fadeOut("fast");
		});


$('.postimages').cycle({
		fx: 'fade',
		speed:    300, 
        timeout:  0,
		pager: '.gallerybuttons',
		pause: 1,
		next:'.next', 
    	prev:'.prev' 
	});

$(".leftcol .wp_favorites li").hover(
  function () {
    $(this).children(".wp_favorites_remove_link").show();
	$(this).children(".wp_favorites_link").css("color","#91B12C");
  },
  function () {
    $(this).children(".wp_favorites_remove_link").hide();
	$(this).children(".wp_favorites_link").css("color","#000000");
  }
);

$('.newsflash .close').click(function(){
			$('.newsflash').slideUp(150);
			$.cookie(flash, 'hide');
			return false;
		});

 if ($.cookie(flash) == 'hide') {  
$(".newsflash").hide();  
}
else{
$('.newsflash').animate({top: '0px'}, 2000).slideDown(150);
};


});

function doClear(theText) {
     if (theText.value == theText.defaultValue) {
         theText.value = ""
     }
 }
 
 function doClear2(theText) {
     if (theText.value == "") {
         theText.value = theText.defaultValue
     }
 }

