  
  (function ($) {

/*$.fn.Jcom = function () {  
  
    //select all the a tag with name equal to modal  
     $('a[name=comment]').click(function(e) {  
         //Cancel the link behavior  
         e.preventDefault();  
         //Get the A tag  
        var id = $(this).attr('href');  
       
         //Get the screen height and width  
         var maskHeight = $(document).height();  
        var maskWidth = $(window).width();  
       
         //Set height and width to mask to fill up the whole screen  
        $('#mask').css({'width':maskWidth,'height':maskHeight});  
          
         //transition effect       
         $('#mask').show();      
         //$('#mask').fadeTo("slow",0.8);    
       
  
       
         //transition effect  
         $(id).fadeIn(400); 
      
       
     });  

    //if mask is clicked  
     $('#mask').click(function () {  
        $(this).hide();  
        $('.hidden_box').hide();  
     });           
       
};*/



$.fn.eFrame = function () {

return this.each(function() {
				 $(this).load(function(){
					iframeContents = $("iframe")[0].contentDocument.body.innerHTML;				   
	               // iframeContents = $("iframe").contents().find('img');
	                //$("#eBoard").fadeTo('slow', 0.5, function() {
                    $("#eBoard").after(iframeContents);
   //});
	            }
				
        );
       return false;
});
};

 
 })(jQuery)
