jQuery('document').ready(function() {
	
   jQuery("h2").each(function(i){
	    var so2 = new SWFObject(livePath+"swf/title.swf", "h2_"+i, "205", "66", "8", "");
	    so2.addVariable("TTL", $j(this).html());
	    so2.addParam("wmode", "transparent");
	    so2.write(this);   
   });
   
   jQuery("blockquote").each(function(i){
	    var so2 = new SWFObject(livePath+"swf/quote.swf", "q_"+i, "394", "70", "8", "");
	    so2.addVariable("TTL", $j(this).html());
	    so2.addParam("wmode", "transparent");
	    so2.write(this);   
   });
   jQuery(".flash_image").each(function(i){
	   var so1 = new SWFObject(livePath+"swf/picbox.swf", "mymovie_"+i, "286", "100", "8", "");
	   so1.addVariable("TIMG", $j(this).find('img').attr("src"));
       so1.addVariable("LINK", $j(this).find('a').attr("href"));
	   so1.addParam("wmode", "transparent");
	   so1.write(this); 
	   
   });
   
   
   jQuery(".search_input").focus(function(){
   	
   	$value=$j(this).attr('value');
		if($value == 'search'){
			$j(this).attr('value','');
		}   	
   })
   
   jQuery(".search_input").blur(function(){
   	
   	$value=$j(this).attr('value');
   	
		if(!$value){
			$j(this).attr('value','search');
		}   	
   })
   
   jQuery("img.enlarge").click(function(){
   	
   	$img=$j(this).attr('src');
   	
		url="enlarge.php?img="+$img;
		win=window.open (url, "enlarge","location=0,status=1,scrollbars=0,width=300,height=300");
   })
});