// JavaScript Document
$(document).ready(function() {
$(".print").fancybox({'width' :630,'height' : 253,'autoScale' : false,'type' : 'iframe'});
$(".password").fancybox({'width' : 730,'height' : 215,'autoScale' : false,'type' : 'iframe'});


$("a[rel=dg_group]").fancybox({'type' : 'image','titlePosition' : 'over','titleFormat' : function(title, currentArray, currentIndex, currentOpts) {return '';}});
});

$(function() {$(".newsticker-jcarousellite").jCarouselLite({vertical: true,hoverPause:true,visible: 2,auto:2000,speed:400});});


$(function() {
$(".newsticker-jcarousellite1").jCarouselLite({
btnPrev:".prev",btnNext:".next",									  
vertical: false,
hoverPause:true,
visible:6,
auto:2000,
speed:400
});
});

function vis(toHide,toShow){for(i=0; i<toHide.length; i++){$(toHide[i]).hide(0,function(){for(j=0; j<toShow.length; j++){$(toShow[j]).show(0)
}})
}}

function showHide(toHide,toShow){for(i=0; i<toHide.length; i++){$(toHide[i]).fadeOut('fast',function(){for(j=0; j<toShow.length; j++){$(toShow[j]).fadeIn('fast')
}})		
}}

function slide_dg(toHide,toShow){for(d=0; d<toHide.length; d++){$(toHide[d]).slideUp(400,function(){for(g=0; g<toShow.length; g++){$(toShow[g]).slideDown(400)
}})		
}}

function showHide1(toHide,toShow){for(i=0; i<toHide.length; i++){$(toHide[i]).hide('slow',function(){for(j=0; j<toShow.length; j++){$(toShow[j]).show('slow')	
}})
}}

function showHide2(toHide,toShow){for(i=0; i<toHide.length; i++){$(toHide[i]).hide(0,function(){for(j=0; j<toShow.length; j++){$(toShow[j]).show(0)	
}})
}}

jQuery(document).ready(function() {
		 jQuery("div.call").makeFloat({x:"current",y:"current"});
	  });
$(function() {$('#container_tab_dg').tabs();})
$(document).ready(function() {$(".img_head h2").hide(0); 

});

