/****************************************
 * Newhost
 * Global JavaScript
 ****************************************/

// Start closure to prevent namespace conflicts
;(function($) {

 if ((!$.browser.msie) || ($.browser.msie && $.browser.version.substr(0,1)>7)) {
Cufon.replace("#top_text, #top_lang, #home_items #item_intro h3 , #all_items #item_intro h3, .block h2, .micdom, ul.planItems div.priceInfo span.price, div.packageFeature div.priceInfo span.price, ul.planItems li h3, div.accordionPanel div.header h4, .pachet_menu, .comppachet, div.fullWidthContent div.column1 div.content h4, div.productsCatelogue ul.productItemsList li p.cost span.price, div.productsCatelogue ul.productItemsList li h4, .sidePanelAccordion h2, .cat_titlu p.subHeading, div.additionalProducts ul.productItems li h3, div.additionalProducts ul.productItems li div.priceInfo span.pricex, .titlu_plus , .coluna h3, .replace-azul, .mainBody h1, .panelBMiddle h3, h1#pageTitle, h3.cont_call, h3.cont_email, h1.titleClients",  {
	hover: true
});
 }

 if (!$.browser.msie) {
Cufon.replace(".intro-scripted h1",  {
	hover: true
});	 
	  }


// Perform initial setup tasks when DOM is ready
$(document).ready( function() {

$('#intro').bxSlider({
 mode: 'fade',
 speed: 1500,
 pause: 6000,
 auto: true,
 controls: true,
 next_text: '&raquo;',
 prev_text: '&laquo;',
 wrapper_class: 'example3_container'
 	});  


// partners fade

$(".partners").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
$(".partners").hover(function(){
$(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout
});

// end of partners fade



});


function setLocation(url){
 window.location.href = url;
}

})(jQuery);