
var $j = jQuery.noConflict();   

$j(document).ready(function() {
   
   var settings = {
         verticalDragMinHeight: 20,
	 verticalDragMaxHeight: 20,
         showArrows:true
};
   
   if(('.wh_smaller').length)
   {     
        $j('div.wh_smaller').animate({ 
                 opacity:"1",
                 top:"100px",
                 width:"700px",
                 height:"400px",
                 marginLeft:"0px",
                 padding:"10px",
                 fontSize:"14px"
               }, 2000,function(){
                
                $j('div.wh_smaller').addClass('wh_wrap');//.removeAttr('style');
                
                $j('div.scroll-pane').jScrollPane(settings);
                
                if($j('.jspArrowDown').length)
                  {
                      $j('.jspArrowDown').append('<span></span>');
                      
                      id_time_news_blinks=setInterval("showBlink()",1200);
                      
                  } 
                
               $j('.menu1').slideDown('slow');
                
        });
        
        
        $j('div.wh_smaller img').animate({
         width:"660px",
         height:"3180px"
        },2000);
        
        $j('div.wh_smaller .scroll-pane').animate({
         height:"380px"
        },2000);
        
         $j('.home_pg a').mouseover(function(){
            $j('.menu1 li:first a').addClass('gr_current');
        }).mouseout(function(){
            $j('.menu1 li:first a').removeClass('gr_current');
        });
        
        
   }
   
});

function showBlink() {
    $j('.jspArrowDown span').animate({
                opacity:'0'
             },500,function(){
                 $j('.jspArrowDown span').delay(200).animate({
                 opacity:'1'
                 },500);
             });
}
