// JavaScript Document
jQuery(document).ready(function(){
            jQuery.noConflict();
		jQuery('.pop_lnk').click(function(){
                                var tpop=jQuery(this).parent().parent().find('.pop_csf');
				jQuery(tpop).find('.pop_csg').css('height',jQuery(document).height());
                                jQuery(tpop).find('.pop_csd').css('left',jQuery(document).width()/2-300);
                                jQuery(tpop).fadeIn();
				jQuery(tpop).find('.pop_cls').click(function(){

						jQuery(tpop).fadeOut();
					});
			});
           /* jQuery('html').click(function(){
                if( jQuery('.pop_csf').css('display')=='block')
                    {
                         jQuery('.pop_csf').fadeOut();
                    }
            });
             jQuery('.pop_lnk,.pop_csd').click(function(event){
     event.stopPropagation();
 });*/

        // cmt scrpt

	jQuery('.shw_tgl_lnk').click(function(){
            jQuery('.shw_tgl').fadeToggle();
        });
            jQuery('html').click(function(){
                if( jQuery('.shw_tgl').css('display')=='block')
                    {
                         jQuery('.shw_tgl').fadeOut();
                    }
            });
             jQuery('.shw_tgl_lnk,.shw_tgl').click(function(event){
     event.stopPropagation();
 });
             jQuery('#addrating').click(function(){
     jQuery('.shw_tgl').fadeOut();
 });

	});
