$(document).ready(function(){
    
	if (typeof(InitilizeMap)==='function')
		{
			InitilizeMap();	
		}
    if (typeof(Init_uploadify)==='function')
		{
			Init_uploadify();	
		}
		if (typeof(newpicturesControls)==='function'){
			
            newpicturesControls();
            
		}
        
	 if (typeof(galleryInit)==='function'){
		 
            galleryInit();
		 
         }
     if (typeof(startTabs)==='function'){
         
            startTabs();
         
         }
      
     
      
     if (typeof(contactPage_clickEvents)==='function'){
		    
            contactPage_clickEvents();
     }
     
     
    $(".sub_panel table thead tr td:first-child").addClass('thf');
    $(".sub_panel table tbody tr td:first-child").addClass('tdf');
    $(".sub_panel table td a").text(' ');
     
    $(".pack_panel table td").each(function(){
        if (!$(this).text().trim().length) {
            $(this).addClass("empty");
        }
    });

    $.each(ADAMANTIUM_FRONT_NAMESPACE, function(key, value) {
           var fanction =value;

           fanction();
       });
       
    $('#c_info').lazytooltiper({div_to_show:'#pack_content',close_button:'#close_info',centered:true});  
    
    $('.pack_panel table td').hover(function(){if($(this).hasClass('empty')){return false;}else{$(this).addClass('pch');}},function(){$(this).removeClass('pch');});

});
